1 0.9.0.2 -------------------------------------------------------------------
4 conf: lock_file is derived config.
5 jsoninfo: fix a crash when there are no gateways
6 txtinfo: fix a crash when there are no gateways
7 release: fix release script
10 Update version after release of v0.9.0.1
13 0.9.0.1 -------------------------------------------------------------------
16 neighbors: signal link changes when deleting a neighbor
17 jsoninfo: do not output smart-gateway info when not enabled.
18 txtinfo: jsoninfo: do not output smart-gateway info when not enabled.
21 Update version after release of v0.9.0
24 0.9.0 -------------------------------------------------------------------
27 plugins: fix build with musl
28 plugins: fix build on some glibc systems
29 plugins: use previous definition of struct udphdr on Android
30 plugins: fix precompiled syntax
33 build: uberclean must also remove builddata.txt
34 build: add some pud targets
35 Rename 'struct interface' to 'struct interface_olsr'
36 Merge branch 'release-0.6.8'
37 pud: wireformat-java: improve java detection
38 pud: wireformat-java: improve java detection
39 sgw: ensure a bandwidth of 1 does not alias onto 0 when serialising
40 sgw: minor improvement
41 sgw: gwContainer can't be null here
42 dyn_gw: fix a Coverity warning
43 pud: nmealib: fix a Coverity warning
44 pud: nmealib: fix a Coverity warning
45 httpinfo: fix a Coverity warning
46 parser: fix a Coverity warning
47 quagga: minor readability fixes
48 olsr_random: introduce better random functions
49 main: replace random() by our own function
50 unix: replace random() by our own function
51 bsd: replace random() by our own function
52 win32: replace random() by our own function
53 pud: nmealib: replace random() by our own function
54 secure: replace random() by our own function
55 contrib: fix the build
56 contrib: replace random() by our own function
57 olsr_switch: replace random() by our own function
58 olsr_random: need to include time.h
59 pud: nmealib: align nmea_random to olsrd _random
60 pud: nmealib: doc: disable generation of the PDF; pdflatex somehow fails
61 pud: nmealib: doc: upgrade doxygen configuration file
62 sgw: egress file: use full time resolution on Linux
63 sgw: egress: Android is not Linux
65 jsoninfo: some comparison simplifications
66 jsoninfo: clearer distinction between JSON and non-JSON blocks
67 jsoninfo: more comparison simplifications
68 jsoninfo: refactor outputting JSON
69 sgw: fix a shadowing warning
70 jsoninfo: formatting fixup
71 jsoninfo: systemTime and timeSinceStartup can be first
73 jsoninfo: the IP address for a neighbour can also be an IPv6 address
74 jsoninfo: add version, 2hop and sgw. now in sync with txtinfo
75 arprefresh: update the readme
76 dyngw: update the readme
77 dyngw_plain: update the readme
78 httpinfo: update the readme
79 jsoninfo: update the readme
80 secure: update the readme
81 txtinfo: update the readme
82 pud: move the config sample into the readme
83 ipcalc: fix a double slash for IPv6 in olsr_ip_prefix_to_string
84 cfg: make sure lockfile has a default as specified in the cfg file
85 cfgfile_gen: whitespace and typo fixes
86 cfgfile_gen: better LinkQualityMult examples
87 cfgfile_gen: make sure to print IPv6Src as an IPv6 prefix
88 cfgfile_gen: fix default for RtProto
89 cfgfile_gen: add some comments to the generated configuration file
90 cfgfile_gen: print comments when the are no ipc_nets
91 cfgfile_gen: improve printing of HNAs
92 cfgfile_gen: improve printing of MainIp
93 cfgfile_gen: improve printing of SmartGatewayPrefix
94 cfgfile_gen: improve printing of SmartGatewayEgressFile
95 cfgfile_gen: update comments file SmartGatewayEgressFilePeriod
96 cfgfile_gen: improve printing of SmartGatewayEgressInterfaces
97 cfgfile_gen: improve printing of SmartGatewayPolicyRoutingScript
98 cfgfile_gen: improve printing of UseNiit
99 cfgfile_gen: improve printing of routing tables
100 cfgfile_gen: improve printing of routing table priorities
101 files: remove olsrd.conf.default.lq-fisheye
102 files: minor improvements to the FunkFeuer configuration files
103 files: minor improvements to the commotion configuration file
104 files: rename the generated configuration files
105 files: add configurations files corresponding to generated (txt) files
106 files: add a README, explaining generation of effective config files
107 files: remove lq and rfc effective config files
108 files: add a script to generate an effective configuration file
109 files: update the default effective configuration file to current state
110 mantissa: fix a typo in a comment
111 mantissa: add a function to query the minimum interval
112 sgw: fill HNA header in the same order as the fields in the packet
113 sgw: extract appending a sgw HNA into its own function
114 sgw: olsr_modifiy_inetgw_netmask can choose between normal and zero bw
115 jsoninfo: validity times are in 'me' format, convert them to msec first
116 sgw: fix a typo in an assert
117 sgw: sgw HNAs are not considered normal HNAs during processing
118 sgw: implement HNA expiry
119 sgw: update the status file when a sgw HNA is removed (multi-sgw mode
121 ifnet: also store the HNA validity time in msec
122 sgw: do not write uplink/downlink speed directly
123 sgw: immediately remove sgw HNAs with zero bandwidth
124 sgw: send sgw HNAs with zero bandwidth after local gw has gone away
125 sgw: do not send zero bandwidth sgw HNAs by default
126 pud: doc: update the documentation
127 release: stricter matching of release tags
128 autobuf: fix warning in Windows release builds
129 Merge branch 'release-0.6.7'
130 Merge branch 'release-0.6.8'
134 Update version after release of v0.6.8
135 Update version after release of v0.6.8
136 tc: properly initialise the path_costs field in a new tc
137 tc: properly initialise the path_costs field in a new tc
138 keep pushing data through dotdraw plugin
139 Restrict maxmimum message size (not packet size) to IPv6 minimal MTU.
142 Sebastian Kürten (2):
143 Added simple hard-coded whitelist
144 Revert "Added simple hard-coded whitelist"
147 arprefresh: README adjusted for plugin name
149 0.6.8.1 -------------------------------------------------------------------
152 pud: wireformat-java: improve java detection
153 release: stricter matching of release tags
154 autobuf: fix warning in Windows release builds
155 neighbors: signal link changes when deleting a neighbor
158 Update version after release of v0.6.8
159 tc: properly initialise the path_costs field in a new tc
160 Handle interface broadcast/multicast address zero
163 0.6.8 -------------------------------------------------------------------
166 linux: increase the netlink buffer size
167 linux: fix using tables >= 256
168 linux: fix type of af_family
169 linux: do not try to set routes with negative metric
170 linux: add 'flags' parameter to olsr_new_netlink_route function
171 linux: add 'scope' parameter to olsr_new_netlink_route function
172 linux: make it possible to add/remove blackhole routes
173 linux: export the olsr_new_netlink_route function
174 Update version after branch of v0.6.7
175 android: use the machine specific NDK instead of always the 32bit variant
176 Merge branch 'linux-routes.v1'
177 android: fix build on 32 bit platform (see 0295e11)
178 linux: olsr_if_isup: fix return code in error path
179 conf parser: fix a warning
180 Merge branch 'release-0.6.7'
182 sgw: move add/remove of ifchange handler to better place
183 sgw: export multi_gateway_mode method
184 sgw: make sure gw->ipv6 is always set for a new gateway
185 sgw: cost calculation can now directly account for interface up/down
187 config parser: minor improvement for SmartGatewayEgressInterfaces
188 pud: fix strto* result checking for out-of-range situations
189 sgwdynspeed: fix strto* result checking for out-of-range situations
190 Merge branch 'release-0.6.7'
191 Merge branch 'release-0.6.7'
192 release: fix up the CHANGELOG
193 Merge branch 'release-0.6.7'
194 sgw: fix deserialize_gw_speed
195 txtinfo: fix formatting in ipc_print_sgw
196 sgw: move 'struct sgw_egress_if' type into a separate include file
197 sgw: store table & rule numbers in the sgw_egress_if structure
198 sgw: add egress file reader settings
199 sgw: add egress file reader
200 sgw: track the interface index of an egress interface
201 sgw: track the up status of an egress interface
202 sgw: use the smartgw_tunnel_monitor to track up/down of egress interfaces
203 sgw: introduce function to process multi-sgw changes
204 sgw: determine best exit link in doRoutesMultiGw
205 sgw: determine best overall link in doRoutesMultiGw
206 sgw: add SmartGatewayStatusFile setting
207 sgw: add the smart gateway status file writer
208 sgw: add reportNewGateway function
209 sgw: program best overall link routes
210 sgw: program best egress link route
211 sgw: program egress link routes
212 sgwdynspeed: only allow the plugin in single-sgw mode
213 sgw: fix default path costs for egress interfaces
214 sgw: initialise the egress interfaces earlier
215 sgw: lazily determine the sgw costs weights
216 sgw: show all sgw tunnels in the output file instead of only the active
218 sgw: reset cached egress file timestamp on file access errors
219 sgw: do not prematurely exit doRoutesMultiGw
221 sgw: do not make the egress types available only on linux
222 sgw: initialise the egress best routes differently
223 sgw: remove an unused variable
224 sgw: unshadow a variable
225 sgw: change the cached timestamp
226 build: make TOPDIR an absolute path
227 sgw: android has no getline(), implement it
228 android: bump the NDK compiler version
229 android: fixup regex makefile
230 sgw: fix android build
231 pud: duplicate android regex trick from nameservice
232 sgw: always clear egress settings when this egress file is not readable
233 Revert "sgw: always clear egress settings when this egress file is not
235 sgw: always clear egress settings when this egress file is not readable
236 sgw: refresh the advertised speed when the best overall link changes
237 sgw: when there is no best overall link advertise 0 bandwidth
238 sgw: only advertise egress speeds
239 sgw: refactor egress file change detection
240 sgw: uplink and downlink fields can be 9 chars wide in the output file
241 sgw: tune the status file for IPv4, making it a bit more compact
242 sgw: use MAX_SMARTGW_SPEED instead of hard-coding it
243 sgw: fix cost calculation for advertised speeds greater or equal than MAX
244 sgw: the costs are signed numbers
245 sgw: react to path cost changes on all active gateways
246 txtinfo: fix output of /sgw command
247 build: uberclean must also remove builddata.txt
248 build: add some pud targets
249 Rename 'struct interface' to 'struct interface_olsr'
252 Update version after release of v0.6.7.1
253 Only use IPV6_TCLASS and IPV6_V6ONLY when defined
254 Merge branch 'master' of git://olsr.org/olsrd
255 Prevent memory leak when setting up new interface
256 Fix bug of former commit
260 dyn gw plugin - add PingCmd parameter
262 0.6.7.1 -------------------------------------------------------------------
265 android: use the machine specific NDK instead of always the 32bit variant
266 android: fix build on 32 bit platform (see 0295e11)
267 plugins: add a comment to clarify strange behaviour
268 txtinfo: duplicate code in branch
269 txtinfo: ensure null termination of string buffer
270 jsoninfo: fix indentation
273 Update version after release of v0.6.7
277 jsoninfo: set_plugin_boolean stores into an int
278 txtinfo: set_plugin_boolean stores into an int
280 0.6.7 -------------------------------------------------------------------
282 Note: In this release the configuration files have been moved from /etc into
285 Note: In this release the pud plugin was upgraded to version 2.0.0.
286 This is because of a breaking change in its wire format. If you have
287 deployed the pud plugin on your mesh then you should update all nodes
288 to the new pud plugin at the same time since there is no interoperability
289 between the old version and the new version.
292 Hotfix for very long http headers also for jsoninfo
293 Hotfix for very long http headers also for jsoninfo
294 jsoninfo: HTTP headers with CORS (if requested)
295 jsoninfo: HTTP headers with CORS (if requested)
298 added json plugin to openwrt build Makefile
299 json openwrt Makefile update
302 Small fixes to allow compilation with OpenBSD
305 Adjusted OpenBSD installation paths
306 An rc.d file for OpenBSD
307 Remove linux-isms from Makefile
308 Install openbsd/olsrd.rcd to /etc/rc.d/olsrd.
311 release: use olsrd-version prefix for files in the tarballs
312 Update version after branch of v0.6.6
313 Remove mercurial ignore file; we use git
314 build: ignore builddata.c when hashing sources
315 Remove mercurial ignore file; we use git
316 build: ignore builddata.c when hashing sources
317 Revert "Update version after release of v0.6.5.3"
318 Merge branch 'release-0.6.5'
319 Merge branch 'release-0.6.6'
320 release: fix the list of generated files
321 release: update some comments
322 release: refactor the checkVersionIncrementing function
323 release: do not update the version on master when it's already higher
324 release: only report that master changed when it was actually changed
325 release: fix the list of generated files
326 release: update some comments
327 release: refactor the checkVersionIncrementing function
328 release: do not update the version on master when it's already higher
329 release: only report that master changed when it was actually changed
330 release: checkVersionIncrementing: optionally allow equal versions
331 release: also check against the Makefile version when branching
332 release: checkVersionIncrementing: optionally allow equal versions
333 release: also check against the Makefile version when branching
334 Merge branch 'release-0.6.4'
335 Merge branch 'release-0.6.5'
336 Merge branch 'release-0.6.6'
337 txtinfo: prevent buffer overflow
338 Merge branch 'release-0.6.6'
339 pud: wireformat-java: Makefile: also clean up the generated headers
340 pud: wireformat: java: rename Git-SHA1 manifest header to Git-SHA
341 pud: wireformat: java: also add a Git-Descriptor manifest header
342 pud: nmealib: _nmea_parse_time not parsing hsec when given "hhmmss" format
343 pud: nmealib: _nmea_parse_time not parsing hsec when given "hhmmss" format
344 quagga: add some parentheses
345 httpinfo: add smart gateway information tab
346 txtinfo: add sgw command
347 cfgfile: don't hard-code defaults in texts
348 txtinfo: mention the /sgw command in the README
349 Makefile: add cfgparser_install and cfgparser_clean targets
350 linux: add -rdynamic to linker options for debug builds
351 linux: fix 'add -rdynamic to linker options for debug builds'
352 build: really _ignore_ builddata.c when hashing sources
353 build: only print the md5 hash in hash_source.sh
354 Makefile: fix builddata when building from tarball
355 build: really _ignore_ builddata.c when hashing sources
356 build: only print the md5 hash in hash_source.sh
357 Makefile: fix builddata when building from tarball
358 build: only re-generate src/builddata.c when needed
359 cfgfile: no more magic numbers for RtTable* defaults
360 sgw: move cost calculation into it own unit
361 sgw: minor comment fixup
362 make: fixup bashisms in hash_source.sh
363 Move the configuration files into /etc/olsrd/
364 pud: install configuration files under ETCDIR
365 sgwdynspeed: install configuration files under ETCDIR
366 build: hash_source.sh: specify the mktemp template
367 pud: fix readIPAddress function
368 pud: fix readIPAddress function
369 httpinfo: center the header row of the smart gateway tables
370 Merge branch 'release-0.6.5'
371 Merge branch 'release-0.6.6'
372 Fix #34: Description of "timeout" parameter in "nameservice" plugin...
373 pud: remove getNodeId, rename getNodeIdWithLength to getNodeId
374 pud: firm up setupNodeIdBinaryAndValidate
375 pud: merge nodeIdType and nodeId parameters into nodeId parameter
376 pud: remove some strlen's in nettools
377 pud: remove a strlen in the DNS name handling of the wire format.
378 pud: make wireformat constants unsigned
379 pud: clarify the URN number
380 pud: add MIP OID nodeId type
381 pud: add an assert to silence a Coverity false positive
382 pud: specify conversion base in readULL
383 pud: don't copy memory we're not allowed to access
384 pud: specify where to store the result in
385 intSetupNodeIdBinaryDoubleLongLong
386 pud: fix intSetupNodeIdBinaryDoubleLongLong for short values
387 pud: add UUID nodeId type
388 httpinfo: rename a function
389 pud: make sure to only use accessor functions in the 'present' nmea field
390 httpinfo: also show the present field on the nmea info
391 Merge branch 'release-0.6.6'
392 pud: fix java detection in the wireformat java bindings (again)
393 pud: fix java detection in the wireformat java bindings (again)
394 Merge branch 'release-0.6.5'
395 Merge branch 'release-0.6.6'
396 pud: do the same fix as in the previous commit, now for i386
397 pud: do the same fix as in the previous commit, now for i386
398 Merge branch 'release-0.6.5'
399 Merge branch 'release-0.6.6'
400 Make sure to save/restore errno in signal handlers
401 Make sure to save/restore errno in signal handlers
402 Merge branch 'release-0.6.5'
403 Merge branch 'release-0.6.6'
404 main: olsr_create_lock_file: fix return value check on 'open' call
405 main: add some extra braces
406 main: olsr_create_lock_file: fix return value check on 'open' call
407 pud: use the nmea present field in the wireformat
408 pud: fix readIPAddress function
409 pud: fix readIPAddress function
410 Merge branch 'release-0.6.5'
411 Merge branch 'release-0.6.6'
412 tok: improve the nmea_calc_crc function a bit
413 tok: improve the nmea_calc_crc function a bit
414 neighbor table: fix crash in olsr_print_neighbor_table on MinGW
415 neighbor table: fix crash in olsr_print_neighbor_table on MinGW
416 win32: accomodate old and new mingw setups
417 mingw: fix Ubuntu 13.10 / Debian Wheezy mingw mess
418 p2pd: add UseTTLDecrement configuration setting
419 httpinfo: also show the path costs in the SmartGateway table
420 txtinfo: also show the path costs in the SmartGateway table
421 gw: make SmartGatewayDividerEtx a 32 bit number
422 doc: add a gnuplot file to show the smart gateway cost calculation
423 Fix some eclipse warnings
424 p2pd: recompute the IPv4 header checksum after adjusting the TTL
425 sgwdynspeed: ignore unknown options
426 sgw: adjust policy routing script a bit
427 sgw: rename a variable in parsing of sgw_egress_if
428 sgw: preserve order of declared SmartGatewayEgressInterfaces
429 sgwdynspeed: avoid spamming the log with 'unknown option' messages
430 sgw: fix the policy routing script
431 sgwdynspeed: allow string values and empty values in the speed file
432 sgwdynspeed: fgets includes EOLs in the read string, strip them off
433 sgwdynspeed: do not go outside of the string when stripping EOLs
434 sgwdynspeed: rename 2 variables
435 sgwdynspeed: ignore everything we don't understand when reading the file
436 sgwdynspeed: make the EOL stripping much faster
437 sgwdynspeed: remove some dead code
438 gw: remove commands in comments concerning the policy routing script
439 gw: fix the 'ip' delete argument in the policy routing script
440 gw: simplify overlap checking code
441 gw: Add endif comments
442 gw: fix gateway takedown calculation
444 gw: move path_cost into the gateway struct, ensure it's always up-to-date
445 gw: add SmartGatewayMarkOffsetServerTunnel configuration parameter
446 gw: fix null pointer dereferences in cost calculation
447 gw: fix a minor copy/paste typo
448 gw: when a node advertises maximum bandwidth then only consider path costs
449 README-Olsr-Extensions: Fix some typos
450 pud: update nmealib samples Makefile
451 sgw: rework policy rules setup
452 sgwdynspeed: rename a function parameter to avoid a compiler warning
453 common: add an extra check in autobuf_enlarge to avoid a compiler warning
454 pud: update nmealib to 2.0.0
455 pud: nmealib: Fix a typo in Tobias's surname
456 txtinfo: make the sgw output better machine parseable
457 pud: nmealib: include latest fixes
458 pud: nmealib: fix isInvalidNMEACharacter function
459 p2pd: fix recomputeIPv4HeaderChecksum function
460 Revert "Use strscpy instead of strcpy"
461 pud: nmealib: fix return value of nmea_parser_init
462 pud: disable distribution of position updates over OLSR when olsrTtl is 0
463 Fix strange coding in the 'long headers' fix
464 Fix strange coding in the 'long headers' fix
465 httpinfo: the position timestamp month is zero based
468 Revert "Fix for win32 compiling with i686-w64-mingw32-gcc on ubuntu"
469 pud: nmealib: NMEA String Length Override Support
470 Fix a signed/unsigned warning
471 gw: change the costs type to signed 64bits
472 build: gui: do not overwrite the LDFLAGS but append to it
473 build: add address santizer, compile with SANITIZE_ADDRESS=1
474 p2pd: fir compile warning, initialise ipHeader
475 gui: fix 'warning: multiple common of ...' warnings
476 conf: ensure the egress interface names have a valid length
477 README: improve the smart gateway text a bit
478 sgw: multi-sgw mode is only supported on IPv4
479 CHANGELOG: add a note about the configuration files
480 Merge remote-tracking branch 'olsr/openbsd'
483 Hans-Christoph Steiner (3):
484 purge ancient debian/ folder, people should use the current files
485 add instructions for building Debian package from canonical sources
486 clarify instructions for http:// downloading of debian/ folder
489 Fix multicast join for IPv6
491 Update version after release of v0.6.5.3
492 Update version after release of v0.6.5.3
494 Update version after release of v0.6.5.4
495 Fix segfault in cfgparser standalone executable
496 Fix build break for MinGW compilation on Fedora 19.
497 Fix build break for MinGW compilation on Fedora 19.
499 Update version after release of v0.6.5.5
500 Ignore IFF_RUNNING when checking if an interface is up or down.
501 use inet_pton instead of inet_aton
502 win32: do not add -Wcast-qual to compiler warning flags
503 Fix processing error for fragmented hellos
504 Fix some spelling mistakes
505 Merge branch 'master' of http://olsr.org/git/olsrd
506 Fix processing error for fragmented hellos
507 Fix some spelling mistakes
508 Try to delete and retry for BSD ipv4 too
509 Use strscpy instead of strcpy
510 Smooth LQ calculation if link suddenly breaks.
511 Clean before compile when using Openwrt olsrd-stable-git makefile
513 Hotfix for very long http headers
514 Fix stupid mistake, don't know why gcc didn't complained locally
515 Hotfix for much too long http headers
517 Make link debug output source a bit more readable
518 Add LQ/NLQ/ETX to neighbor table debug output
519 Add boolean ipv6only parameter to txtinfo and jsoninfo
523 Fix jsoninfo again after a regression which was introduced with
525 Markus Kittenberger (1):
526 fix: TXTINFO_ALLOW_LOCALHOST - add missing ntohl()
529 jsoninfo: only listen on IPv6 when running under IPv6
530 txtinfo: only listen on IPv6 when running under IPv6
532 Ronald in 't Velt (2):
533 Fix setsockopt for setting Traffic Class in IPv6
534 Fix setsockopt for setting Traffic Class in IPv6
537 txtinfo: update README file
538 Missing patch of header files for "Add boolean ipv6only parameter to
539 txtinfo and jsoninfo"
542 jsoninfo: ensure output is wrapped in curly braces.
543 jsoninfo: ensure output is wrapped in curly braces.
546 Added LINUX_NL80211 readme file
547 Support for FIB metric configuration, other than 2
550 Fix for win32 compiling with i686-w64-mingw32-gcc on ubuntu
552 0.6.6.2 -------------------------------------------------------------------
555 Hotfix for very long http headers also for jsoninfo
556 jsoninfo: HTTP headers with CORS (if requested)
559 pud: fix java detection in the wireformat java bindings (again)
560 pud: do the same fix as in the previous commit, now for i386
561 Make sure to save/restore errno in signal handlers
562 main: olsr_create_lock_file: fix return value check on 'open' call
563 pud: fix readIPAddress function
564 tok: improve the nmea_calc_crc function a bit
565 neighbor table: fix crash in olsr_print_neighbor_table on MinGW
566 Fix strange coding in the 'long headers' fix
569 Update version after release of v0.6.6.1
570 Fix processing error for fragmented hellos
571 Fix some spelling mistakes
572 Hotfix for much too long http headers
575 0.6.6.1 -------------------------------------------------------------------
578 Update version after release of v0.6.6
582 Fix jsoninfo again after a regression which was introduced with
584 0.6.6 -------------------------------------------------------------------
587 [hotfix] plugin: httpinfo: in case of an unrecoverable error ("could not
588 initialize HTTP socket") exit for returnvalue != 0
589 plugin: dot_draw: readme: make it clear, that it only opens an
590 IPv4-socket, so a 'telnet ::1 2004' is not possible
591 plugin: dot_draw: readme: replaced a b0rken link
594 Update version after branch of v0.6.5
595 gateway: store current gateway(s) in a struct
596 gateway: lazily allocate the current gateway structs
597 gateway: add path_cost to 'set gateway' interface
598 gateway: add interface to get the gateway costs
599 gateway: simplify by using the new costs interface
600 gateway: add gateway_list.{c,h}
601 gateway: keep track of the active gateways in a list
602 Merge branch 'release-0.6.5'
603 pud: java make target is dependent on library make target
604 Merge branch 'release-0.6.5'
605 Merge branch 'release-0.6.5'
606 json_info: only output smart gateway info on Linux
607 kernel_route: olsr_os_inetgw_tunnel_route can now take the table
608 gateway: let the gateway code determine the tunnel name
609 gateway: remove the worst gateway before adding new one
610 gateway: add SmartGatewayUseCount configuration parameter
611 gateway: use SmartGatewayUseCount setting the the gateway lists
612 gateway: add SmartGatewayEgressInterfaces configuration parameter
613 gateway: add SmartGatewayMarkOffset{Egress,Tunnels} configuration
615 gateway: add SmartGatewayPolicyRoutingScript configuration parameter
616 gateway: initialise a set of fixed tunnel names in/for multi-gateway mode
617 gateway: initialise the egress interface names in/for multi-gateway mode
618 gateway: use fixed tunnel names in/for multi-gateway mode
619 gateway: setup and clear table specific default routes in/for
621 gateway: setup/cleanup multi-gateway mode during startup/shutdown of olsrd
622 gateway: introduce and use MULTI_GW_MODE define
623 gateway: enable multi-gateway mode
624 gateway: convert some defines into inline functions
625 kernel_route: olsr_os_inetgw_tunnel_route now needs the table explicitly
626 Merge branch 'multigw'
627 gateway: remove 2 superfluous asserts
628 gateway: add an assert to prevent an 'unused' warning
629 gateway: also adjust the IPv6 gateway list in olsr_update_gateway_entry
630 gateway: fix policy script permissions checking
631 gateway: the gateway policy script really is a bash script
632 gateway: minor indentation fixes in the gateway script
633 gateway: fix copy/paste mistake in setting up the egress rules
634 gateway: remove policy rules before adding them
635 gateway: ignore errors in remove-before-add rule removals
636 Revert "linux: name is required to be non-null in
637 olsr_os_cleanup_iptunnel"
638 gateway: do not show (bogus) errors
639 gateway: cleanup the server tunnel later
640 cfgparser: add SmartGatewayAlwaysRemoveServerTunnel configuration
642 gateway: use SmartGatewayAlwaysRemoveServerTunnel configuration parameter
643 gateway: fix a revert problem
644 gateway: use tnl_(4|6) tunnel names instead of tnl(4|6)_
645 gateway: properly set the egress interface names
646 json_info: do not loop forever on smart gateway egress interfaces
647 pud: the best uplink gateway is the same as the current (smart) gateway
648 pud: there is no hard dependency on smart gateway
649 pud: only forward downlinked messages when the smart gateway system is
651 pud: update documentation about smart gateway changes
652 gateway: fix 2 small typos in a comment
653 Revert "pud: the best uplink gateway is the same as the current (smart)
655 pud: minor update resulting from the previous revert
656 pud: minor update to getBestUplinkGateway
657 gateway: minor improvement to get_unused_iptunnel_name
658 gateway: update some comments
659 gateway: remove 2 unneeded asserts
660 gateway: use standard macro to loop over the gateway tree in
661 olsr_cleanup_gateways
662 gateway: fix 'eligible' conditions in gw_default_choose_gateway
663 gateway: minor speed improvement in gw_default_choose_gateway
664 android: fix the path of the tunnel node in the /dev tree
665 pud: use the proper __ANDROID__ define
666 gateway: allow advertisement of zero bandwidth
667 gateway: add some comments
668 gateway: also set (update) the gateway when costs have changed
669 gateway: find_interfaceName only works in multi-gateway mode
670 gateway: simplify gw_default_calc_threshold
671 gateway: improve comments of gw_default_weigh_costs a bit
672 gateway: rename some variables to make it more readable
673 gateway: fix stable count dampening in gw_default_timer
674 gateway: do not use bitwise operators for logic conditions
675 gateway: reverse semantics of two variables
676 gateway: always select a new gateway when threshold != 0
677 main: add -pidfile command line option
678 main: fix pidfile compilation on windows
679 Merge branch 'release-0.6.5'
680 make: enable 32/64 bit cross compilation
681 pud: pull in nmealib v1.0.4
682 gateway: remove some 'unused' code from sgw script
683 make: fix typos in 'enable 32/64 bit cross compilation' commit
684 pud: enable 32/64 bit cross compilation for the java build
686 Merge branch 'release-0.6.5'
687 Merge branch 'release-0.6.5'
688 Merge branch 'release-0.6.5'
689 pud: detect the java include directory
690 dyn_gw: remove bogus include
691 make: fix a type in the Linux SUBDIRS assignment
692 make: add dyn_gw, mdns and p2pd to the Android SUBDIRS
693 pud: update nmealib 32/64 cross compilation
694 Revert "pud: update nmealib 32/64 cross compilation"
695 main: fix 2 minor warnings for win64 build on debian squeeze
696 make: only install sgw related files when sgw is supported
697 mdns: fix container_of pointer arith
698 mdns: don't use non-standard ushot type
699 mdns: fix three alignment warnings
700 mdns: supported on Android
701 p2pd: supported on Android
702 make: ensure win32 install respects DESTDIR
703 Merge branch 'release-0.6.5'
704 gateway: work around kernel IPIP module initialisation bug
705 gateway: fix overlap in success/fail IPIP tunnel init
706 doc: make the documentation generation commands a bit more verbose
707 pud: detect the java include directory
708 pud: better detection of java jdk
709 pud: better detection of java jdk
710 gateway: work around kernel IPIP module initialisation bug
711 Merge branch 'release-0.6.5'
712 PUD: nmealib: fix parsing of date in GPRMC
713 pud: nmealib: fixup the previous commit
714 main: use /dev/urandom by default
715 main: use /dev/urandom by default
716 pud: set local loopback for multicast tx
717 pud: set local loopback for multicast tx
718 Merge branch 'release-0.6.5'
719 arprefresh: fix some spelling
720 arprefresh: document the BPF program to make it readable
721 arprefresh: use the ARRAYSIZE macro
722 arprefresh: remove a comment
723 arprefresh: do not process IPv6 packets when in IPv4 mode
724 arprefresh: add a note about VLANs and IPv6
725 remove pthread usage as much as possible
727 Remove mercurial ignore file; we use git
728 build: ignore builddata.c when hashing sources
729 build: move build data into its own include file
730 gateway: always deal with 64bit scaled path costs
731 gateway: introduce and use removeGatewayFromList function
732 gateway: add SmartGatewayTakeDownPercentage configuration parameter
733 gateway: proactively take down 'expensive' gateways
734 release: fix the list of generated files
735 release: update some comments
736 release: refactor the checkVersionIncrementing function
737 release: do not update the version on master when it's already higher
738 release: only report that master changed when it was actually changed
739 release: checkVersionIncrementing: optionally allow equal versions
740 release: also check against the Makefile version when branching
741 txtinfo: prevent buffer overflow
742 pud: nmealib: _nmea_parse_time not parsing hsec when given "hhmmss" format
743 build: really _ignore_ builddata.c when hashing sources
744 build: only print the md5 hash in hash_source.sh
745 Makefile: fix builddata when building from tarball
746 pud: fix readIPAddress function
748 Hans-Christoph Steiner (3):
749 GNU/Linux: add service profile for 'ufw' firewall package
750 update Commotion example olsrd.conf to represent current project state
751 dyn_gw/dyn_gw_plain require /proc, remove from default build on non-Linux
754 Fixed debug output of Scheduler polling interval
755 Fix multicast join for IPv6
756 Merge branch 'master' of http://olsr.org/git/olsrd
757 Update version after release of v0.6.5.2
758 Update version after release of v0.6.5.2
759 Fix build break for MinGW compilation on Fedora 19.
762 Ronald in 't Velt (1):
763 Fix setsockopt for setting Traffic Class in IPv6
766 main: fix the check on inet_pton return value because it returns 1 on
768 mDNS: remove from Makefile PTHREAD useless dependency
769 txtinfo: update README file
772 jsoninfo: ensure output is wrapped in curly braces.
774 Vasilis Tsiligiannis (1):
775 olsrd-quagga: Fix memory leak when adding and deleting routes
778 quagga plugin routes additional
780 0.6.5.6 -------------------------------------------------------------------
783 Hotfix for very long http headers also for jsoninfo
784 jsoninfo: HTTP headers with CORS (if requested)
787 pud: fix java detection in the wireformat java bindings (again)
788 pud: do the same fix as in the previous commit, now for i386
789 Make sure to save/restore errno in signal handlers
790 main: olsr_create_lock_file: fix return value check on 'open' call
791 pud: fix readIPAddress function
792 tok: improve the nmea_calc_crc function a bit
793 neighbor table: fix crash in olsr_print_neighbor_table on MinGW
794 Fix strange coding in the 'long headers' fix
797 Update version after release of v0.6.5.5
798 Fix processing error for fragmented hellos
799 Fix some spelling mistakes
800 Hotfix for much too long http headers
803 0.6.5.5 -------------------------------------------------------------------
806 build: really _ignore_ builddata.c when hashing sources
807 build: only print the md5 hash in hash_source.sh
808 Makefile: fix builddata when building from tarball
809 pud: fix readIPAddress function
812 Update version after release of v0.6.5.4
813 Fix build break for MinGW compilation on Fedora 19.
817 jsoninfo: ensure output is wrapped in curly braces.
819 0.6.5.4 -------------------------------------------------------------------
822 Remove mercurial ignore file; we use git
823 build: ignore builddata.c when hashing sources
824 release: fix the list of generated files
825 release: update some comments
826 release: refactor the checkVersionIncrementing function
827 release: do not update the version on master when it's already higher
828 release: only report that master changed when it was actually changed
829 release: checkVersionIncrementing: optionally allow equal versions
830 release: also check against the Makefile version when branching
831 txtinfo: prevent buffer overflow
832 pud: nmealib: _nmea_parse_time not parsing hsec when given "hhmmss" format
835 Update version after release of v0.6.5.3
838 0.6.5.3 -------------------------------------------------------------------
841 pud: detect the java include directory
842 pud: better detection of java jdk
843 gateway: work around kernel IPIP module initialisation bug
844 main: use /dev/urandom by default
845 pud: set local loopback for multicast tx
848 Update version after release of v0.6.5.2
851 Ronald in 't Velt (1):
852 Fix setsockopt for setting Traffic Class in IPv6
854 0.6.5.2 -------------------------------------------------------------------
857 Update version after release of v0.6.5.1
861 main: fix the check on inet_pton return value because it returns 1 on
864 Vasilis Tsiligiannis (1):
865 olsrd-quagga: Fix memory leak when adding and deleting routes
867 0.6.5.1 -------------------------------------------------------------------
870 release: use olsrd-version prefix for files in the tarballs
873 Update version after release of v0.6.5
876 0.6.5 -------------------------------------------------------------------
879 chose the proper #define in order to take the right #include
882 mDNS: Implemented Host Filtering for ipv4 and ipv6, writing in the config
883 file which hosts to ignore. The mDNS packets from the ignored hosts
884 will be ignored and not propagated in the network
885 mDNS: Updated README file for mDNS plugin
886 mDNS: Reworked logic of router Election. The election is now handled on
887 interface basis, because the router could have one interface where it
888 needs to be master and another interface where it needs to be
889 disabled. There was a logical bug in the earlier implementation.
890 mDNS: BUGFIX, mDNS plugin, hello message of router election not sent if
893 Alessandro Gnagni (3):
894 mDNS: Fixing loops for mDNS packets when mDNS plugin is misconfigured
895 mDNS: review of Alessandro Gnagni patch, inserted a config value to
896 enable or disable TTL check and change, default is enabled.
897 mDNS: Implemented router election mechansim to have only 1 active mDNS
900 Andreas Tonnesen (1):
901 x86_64 patch from Bernd
903 Bernd Petrovitsch (1):
904 * added -Wbad-function-cast
907 gateway: clarify header with extra comments and ordering
908 gateway: reorder functions to reflect order in header
910 gateway: remove 'unused' v{4,6}gw_choosen_external
911 gateway: add asserts to validate gw_handler
912 gateway: clear gw_handler during cleanup
913 gateway: add init and cleanup hooks for gateway plugins
914 gateway: rename hooks
915 gateway: add comments to struct olsr_gw_handler function prototypes
916 gateway: inline olsr_find_gateway_entry function
917 gateway: inline olsr_trigger_inetgw_selection function
918 gateway: rename a function
919 gateway: simplify a condition
920 gateway: push an if condition into its nested if's
921 gateway: merge 2 code blocks
922 gateway: the gateway to set must be in the gateway tree
923 gateway: the gateway to set must either be an IPv4 or IPv6 gateway or
925 gateway: prevent 2 NULL dereferences
926 gateway: merge 2 code blocks
927 pud: force pending buffer out if not enough space for our message
928 pud: include nmealib v1.0.3
929 http_info: pud satellites in use are now green, not in use are red
930 ifdef: fix some include ifdefs
931 update comments on all ifdefs
932 olsrd_plugin: remove #if 1
933 gateway: rename 2 variables
934 remove most '#if 0' blocks
935 gateway: merge the olsr_get_ipv{4,6}_inet_gateway functions
936 mdns: fix compilation warnings
937 mdns: fix a compilation warning / copy-paste error
939 improve VERBOSE handling
940 common: fix varargs cleanup
941 pud: fix resource leak
942 pud: fix socket error
943 pud: fix socket error
944 pud: fix position file stat/use race
945 pud: fix getBestUplinkGateway
946 pud: nmealib: fix copy/paste error
947 pud: nmealib: fix buffer overrun
948 pud: nmealib: fix buffer overrun
949 pud: nmealib: fix invalid format string conversion
950 add a COVERITY instructions text file
951 pud: nmealib: fix invalid format string conversion
952 pud: nmealib: fix invalid format string conversion
954 pud: fix checking of downlink message IP version
955 sgwdynspeed: fix resource leak and file stat/use race
956 bmf: explicitly cast fgetc result into a char
957 bmf: do not close an 'error' socket return value
958 bmf: do not dereference NULL pointer
959 httpinfo: do not close an 'error' socket return value
960 httpdinfo: fix resource leak
961 secure: can only work for IPv4, so assert on it
962 secure: do not hard-code a sizeof()
963 secure: decrease a (stack allocated) buffer size
964 secure: use sizeof() of the fields being copied
965 secure: decrease a (stack allocated) buffer size
966 secure: initialise rrmsg correctly
967 secure: can only work for IPv4, so assert on it
968 secure: do not hard-code a sizeof()
969 secure: decrease a (stack allocated) buffer size
970 secure: use sizeof() of the fields being copied
971 secure: decrease a (stack allocated) buffer size
972 secure: initialise crmsg correctly
973 secure: can only work for IPv4, so assert on it
974 secure: do not hard-code a sizeof()
975 secure: decrease a (stack allocated) buffer size
976 secure: initialise cmsg correctly
977 nameservice: fix a resource leak
978 nameservice: fix wrong size argument
979 nameservice: check return value of fcntl
980 nameservice: do not close an fd that is not open
981 nameservice: remove some dead code
982 jsoninfo: fix a resource leak
983 jsoninfo: make sure that uuid is null-terminated
984 jsoninfo: remove some dead code
985 jsoninfo: remove pointless compare
986 mdns: suppress a Coverity warning
987 mdns: remove some dead code
988 mdns: do not close an fd that is not open
989 mdns: do not close an fd that is not open
990 mdns: check return value of inet_pton
991 mdns: check return value of sendto
992 p2pd: do not close an fd that is not open
993 p2pd: do not close an fd that is not open
994 p2pd: remove some dead code
995 bmf: do not close an fd that is not open
996 pud: remove some dead code
997 quagga: explicitly ignore return value of fcntl
998 tas: fix a memory leak
999 txtinfo: remove some dead code
1000 main: fix an Out-of-bounds access
1001 cfgparser: fix some memory leaks
1002 cfgparser: fix a copy/paste error and resulting memory leak
1003 cfgparser: fix dereference before assert
1004 linux: apm: fix retry opening of apm proc file
1005 olsr_switch: fix a memory leak
1006 lq: make sure that info_head != NULL
1007 lq: make sure last_ip != NULL
1008 android: fix type punning warning
1009 pud: fix alignment warning
1010 gateway: initialise the handler before setting up the tunnel
1011 gateway: cleanup: free the allocated memory cookie
1012 gateway: ensure cleanup uses the reverse order of init
1013 gateway: minor simplification in olsr_delete_gateway_entry
1014 gateway: allow immediate removal of a gateway entry
1015 gateway: split olsr_delete_gateway_entry
1016 gateway: walk the gateway tree to properly cleanup
1017 linux: sanitise ACPI battery data
1018 defs: fix strscpy null pointer dereference
1019 tas: lua: official source code for 5.0.2
1020 tas: lua: run gnu-indent.sh script
1021 cleanup, 1. step (to get some local changes away):
1022 * added -Wcast-qual: this killed lots of unnecessary type-casts
1023 Fix sytax errs and line break quirks for gnu-indent
1024 ARM alignment warnings fixed
1025 Patch ALIGN_NOWARN_ARM macro for better priority handling.
1026 use the POSIX standard '__linux__' macro instead of 'linux'
1027 tas: lua: run gnu-indent.sh script
1028 tas: lua: sync up to official source code with fixes
1029 Merge branch 'lua-official-502'
1030 cookie: an array already is a pointer
1031 cookie: add an assert
1032 Revert "httpdinfo: fix resource leak"
1033 httpinfo: add a comment about why the client socket is not closed
1034 gateway: minor optimisation
1035 gateway: improve cleanup
1036 gateway: rename gw_mem_cookie to gateway_entry_mem_cookie
1037 gateway: add a define for the tunnel name
1038 gateway: stub out olsr_print_gateway_entries on #ifdef NODEBUG
1039 duplicate_set: stub out olsr_print_duplicate_table on #ifdef NODEBUG
1040 link_set: stub out olsr_print_link_set on #ifdef NODEBUG
1041 mpr_set: stub out olsr_print_mpr_set on #ifdef NODEBUG
1042 routing_table: stub out olsr_print_routing_table on #ifdef NODEBUG
1043 tc_set: stub out olsr_print_tc_table on #ifdef NODEBUG
1044 two_hop_neighbor_table: stub out olsr_print_two_hop_neighbor_table on
1046 hna_set: stub out olsr_print_hna_set on #ifndef NODEBUG
1047 hna_set: stub out olsr_print_hna_set on #ifdef NODEBUG and fix
1048 neighbor_table: stub out olsr_print_neighbor_table on #ifndef NODEBUG
1049 neighbor_table: stub out olsr_print_neighbor_table on #ifdef NODEBUG and
1051 use INET_ADDRSTRLEN and INET6_ADDRSTRLEN instead of magic constants
1052 gateway: only remove a tunnel when there is one
1053 gateway: rename a variable
1054 gateway: minor improvement in NULL comparisons
1055 hna_set: olsr_ip_prefix_to_string outputs a wider string
1056 gateway: refactor olsr_set_inet_gateway
1058 win32: use #ifdef _WIN32
1059 Makefile: fixup some forgotten make command prefixes
1060 Makefile: add gui target
1061 Makefile: always pass VERBOSE to the make command
1062 gui: linux: minor Makefile fixup
1063 gui: linux: clean and install are phony targets
1064 gui: linux: add VERBOSE handling
1065 gui: linux: fix some 'may be used uninitialized' compiler warnings
1066 gui: linux: use toplevel make options
1067 gui: linux: fix some 'noreturn' compiler warnings
1068 gui: linux: fix some 'discards const qualifier' compiler warnings
1069 gui: linux: fix some 'old-style function definition' compiler warnings
1070 gui: linux: fix 'too few arguments to function ipc_connect' compiler
1072 gui: linux: fix a 'mixed declarations and code' compiler warning
1073 gui: linux: fix some 'unused parameter' compiler warnings
1074 Revert "gui: linux: fix some 'may be used uninitialized' compiler
1076 gui: linux: fix some 'may be used uninitialized' compiler warnings
1077 gui: linux: fix some 'shadow' compiler warnings
1078 gui: linux: fix inccorrect sizeof()
1079 gui: linux: fix string buffer overflow
1080 gui: linux: fix string buffer overflow
1081 gui: linux: fix the string buffer overflow better
1082 gateway: simplify stopping the cleanup timer
1084 main: do not seed the random number generator with the process id
1085 win32: remove unused getpid() function
1086 hna_set: explicitly cast to (time_t *) in calls to localtime()
1087 neighbor_table: explicitly cast to (time_t *) in calls to localtime()
1088 main: improve random number generator seed
1089 bmf: do the minimum length check earlier
1090 changelog: update to current state
1091 print_packet: fix wrong use of sizeof()
1092 main: remove -dispin and -dispout command line options
1093 main: add release script
1094 Update version after release of v0.6.4
1095 Changelog: remove 0.6.5 preliminary changelog
1096 Merge branch 'release-0.6.4'
1097 bmf: check minimumLength against buffer size
1098 sgwdynspeed: put plugin config in olsrd.conf.sample
1099 pud: put plugin config in olsrd.conf.sample
1100 cookie: raise the number of cookies
1101 pud: enable dynamic polling of the position file
1102 gateway: only check smart gateway configuration on linux
1103 linux: put #ifdef __linux__ around code
1104 doc: add doxygen documentation generation
1105 doc: fix common documentation tags
1106 doc: fix linux specific documentation tags
1107 doc: fix unix specific documentation tags
1108 doc: fix bsd specific documentation tags
1109 doc: fix win32 specific documentation tags
1110 doc: do not generate documentation for gui code
1111 release: move the stringTrim function up a bit
1112 release: make gitIsGitDirectory do the correct thing
1113 release: fix usage of literal dot in regular expressions
1114 release: move into the base directory earlier
1115 release: convert some code into checkIsOlsrdGitCheckout function
1116 release: convert some code into checkGitSigningKeyIsConfigured function
1117 release: convert some code into getPrevRelTag function
1118 release: the script can now also create a release branch
1119 Merge branch 'release-0.6.4' into mmmm
1121 pud: change java include path to generic java include path
1122 pud: java make target is dependent on library make target
1123 doc: clean up the latex directory if empty
1124 Revert "linux: name is required to be non-null in
1125 olsr_os_cleanup_iptunnel"
1126 gateway: fix a revert problem
1127 android: fix the path of the tunnel node in the /dev tree
1128 gateway: fix stable count dampening in gw_default_timer
1129 gateway: always select a new gateway when threshold != 0
1130 main: add -pidfile command line option
1131 main: fix pidfile compilation on windows
1133 Frank de Brabander (4):
1134 New feature: support for Linux NL802.11 wireless link information in cost
1136 Merge branch with new lq plugin for NL80211 support
1137 Incorporate fix by Ferry Hubert for float to double promotion
1138 Fix optional compilation of the nl80211 lq plugin
1140 Hans-Christoph Steiner (9):
1141 use the POSIX standard '__linux__' macro instead of 'linux'
1142 use the Microsoft standard '_WIN32' macro instead of the self-defined
1144 olsrd-adhoc-setup: use static BSSID by default to assoc. with the right
1146 olsrd-adhoc-setup: configure NetworkManager to be nice when adhoc is
1148 fix misspelling: 'adress' --> 'address'
1149 fixed misspelling: usefull -> useful
1150 add gcc hardening flags to linux-gtk GUI
1151 android: update to use gcc 4.6, available starting with NDK r8
1152 android: gcc 4.6 comes with NDK r8b and is not in NDK r8
1155 Pud: Do not use the variable name strlen.
1156 Fix buffer overflow in mdns plugin
1157 Add -Werror=format-security
1158 Add VERBOSE flag to makefile to display full gcc commands
1159 Fix slightly insulting error message.
1160 Moved regex library to a makefile of its own to solve the issues with
1162 fix control flow if kill() command fails to end program
1163 fix wrong sizeof() parameter
1164 Convert allocated memory into temporary variable
1165 Protect against stupid data from ACPI
1166 Close socket if bind() fails.
1167 Merge branch 'master' of http://olsr.org/git/olsrd
1168 Use strscpy instead of strncpy.
1169 Check inet_pton return value
1170 Close file descriptor if error happens
1171 Fix scanf() format vulnerabilities
1172 Fix command line parsing macro
1173 Fail in IPC initializationis always fatal.
1174 fail of non-blocking netlink socket is not fatal
1175 Declare olsr_exit() as noreturn
1176 Interface will always be found.
1177 no hostroute possible in this if() branch
1178 reset link timer if not set
1179 Remove dead codepath
1180 Cleanup error handling in ipc_init()
1181 Remove unnecessary asserts
1182 Make sure calculated header length does not skip over buffer
1183 Fix multicast join for IPv6
1187 mDNS: Skeleton code for new host filter feature in mDNS plugin
1188 mDNS: Upgrading the container_of.h that was backported from src/common in
1190 mDNS: Fix most of the warnings from the compiler
1191 mDNS: Update checksum field of the IPv4 Header after altering TTL
1192 mDNS: trivial debug print fix and code readibility improvement
1193 mDNS: Change version of mdns plugin to 1.0.1 after GSoC 2012 work by
1195 mDNS: init ListOfFilteredHosts in the proper place and not at every
1197 mDNS: trivial, removed TODO from code for something that was implemented
1198 mDNS: better debug support for filtered hosts feature
1199 mDNS: Fixed typo in README
1200 Revert "mDNS: init ListOfFilteredHosts in the proper place and not at
1201 every received packet"
1202 Merge remote-tracking branch 'origin/mDNS-plugin-GSoC-2012'
1204 0.6.4 --------------------------------------------------------------------
1206 Bugfix and plugin release 0.6.4
1207 - Update of Smartgateway system
1208 - small updates to several plugins
1209 - lots of updates for PUD plugin
1211 0.6.3 --------------------------------------------------------------------
1213 Bugfix and plugin release 0.6.3
1215 - PUD plugin (position update plugin)
1217 - sgwdynspeed plugin (select dynamic smart gateway based on gw speed)
1218 - Update on Quagga plugin (for new Quagga)
1219 - Fixes for Androids
1220 - Some fixes for GTK and Win32 gui
1221 - Lots of core fixes to support new compiler warnings
1223 0.6.2 --------------------------------------------------------------------
1225 Bugfix release for 0.6.1
1227 - Compatibility for Linux kernel 3.x
1228 - Lots of small fixes
1229 - reworked makefile output
1230 - updates for some plugins
1231 - repair for Smartgateway feature
1233 Read GIT changelog at http://olsr.org/git to see a complete history.
1235 0.6.1 --------------------------------------------------------------------
1237 Bugfix release for 0.6.0
1239 Markus Kittenberger <Markus.Kittenberger@gmx.at>
1240 - Major bugfix for the neighbor table when a neighbor gets a new main IP.
1241 - add /interface command to txtinfo, allow multiple commands per request
1243 Henning Rogge <henning.rogge@fkie.fraunhofer.de>
1244 - wait up to four seconds for aquiring the OLSRd lock. This helps to
1245 shutdown OLSRd with a script and restart it at once (kill <pid> is
1246 asynchrone, and kill -w is not available in busybox)
1247 - add md5 has of all source/headers into version string
1249 Mitar<mitar@tnode.com>
1250 - lot's of small changes for Android. Slowly Android gets a fully
1251 supported platform for OLSRd.
1253 and a lot more small bugfixes. Read GIT changelog at http://olsr.org/git
1254 to see a complete history.
1256 0.6.0 --------------------------------------------------------------------
1258 Change in version number system. No more -rcX for release candidates and
1259 -rX for bugfix releases. In future bugfix releases or updates of plugins
1260 will increase the third digit of the version string while feature releases
1261 will increase the first and/or the second one.
1263 Markus Kittenberger <Markus.Kittenberger@gmx.at>
1264 Henning Rogge <henning.rogge@fkie.fraunhofer.de>
1265 - added NIIT kernel module support for sending IPv4 traffic over
1266 IPv6 mesh networks. See README-Olsr-Extensions for more information.
1267 - added SmartGateway support. OLSRd can now automatically build
1268 IPIP tunnels towards the gateway to prevent gateway flapping.
1269 See README-Olsr-Extensions for more information.
1270 - complete rewrite of linux netlink routing code. New code should be
1271 more understandable and easier to debug/improve.
1273 Teco Boots <teco@inf-net.nl>
1274 - new dyngw plugin. More flexible and more features.
1275 - new p2pd plugin (generalized mdns plugin)
1277 Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
1278 - new version of quagga plugin (with IPv6 support !)
1280 Sven-Ola Tuecke <sven-ola@gmx.de>
1281 - fixes for improved uClibc support
1282 - fixes for better linux kernel 2.4 support
1284 Saverio Proto <zioproto@gmail.com>
1285 - new mdns plugin. (backport from master branch)
1287 Eric Tromps <erik_tromp@hotmail.com>
1288 - new version of bmf plugin. NO pthreads are necessary anymore
1290 and a lot more small bugfixes. Read GIT changelog at http://olsr.org/git
1291 to see a complete history.
1293 0.5.6-r8 ---------------------------------------------------------------------
1295 Alina Friedrichsen <x-alina@gmx.net>
1296 - patch for using deticated output socket for OLSR packages. This allows
1297 to set the src-ip of OLSR packages, which is useful for interfaces
1300 Bruce Ford <fordbr@gmail.com>
1301 - fixes for compiling olsrd for win32
1303 Henning Rogge <henning.rogge@fkie.fraunhofer.de>
1304 - fix for memoryleak during MID processing
1305 - patch series for "network logoff" of OLSRd, other nodes now get
1306 notified if an OLSR node switch down to remove it from their database.
1307 - cleanup of naming conventions for settings src/dst-ips of OLSR-packets
1308 for ipv4/6. See example config files.
1309 - patch to ignore HNA4 for IPv6 and HNA6 for IPv4
1311 Markus Kittenberger <Markus.Kittenberger@gmx.at>
1312 - patch series for MID handling cleanup
1313 - compiletime switch for txtinfo to always allow localhost access
1314 - add "InterfaceDefaults" section to config files to allow setting values
1315 which are shared by all interfaces but can be overwritten in specific
1316 config file settings
1317 - patch series to allow OLSRd handle multiple config files
1318 (multiple "-f <cfgfile>" options)
1320 0.5.6 ---------------------------------------------------------------------
1322 PATCHES and BUGFIXES from Henning Rogge <rogge@fgan.de>
1323 - Bugfix for fragmented TC sequence numbers
1324 - eliminate second timer for edge garbage collection (aka border code).
1326 - fix for jitter calculation
1327 - refactor linkset code
1328 - add netsimpcap, a network simulation device
1329 - parser refactoring
1330 - fix for possible overflow in fpm plugin
1331 - prevent Originator-IP from changing during runtime
1332 - fix several compiler warnings
1333 - fix hanging TC entry from lost onehop neighbor
1334 - fix drop package with same seqno in etx_ff
1335 - fix segfault in parsing HNA package with bad netmask
1336 - fix avl_comparator for route_paths
1337 - fix alignment problem in packet buffers
1338 - fix: segfault in neighbor/neighbor-2 table
1339 - fix: lqmult default parsing
1340 - HACK: MinTCVTime parameter hack for Berlin FF network...
1341 feel free to ask on the mailing list.
1342 - add Watchdog plugin
1343 - add explicit runtime lock for OLSR.
1344 - remove lq-hysteresis for tc on the receiver side.
1345 - enhance protection against malformed packages to prevent
1346 OLSR parsing uninitialized data. Thank you Markus and Keks for the LONG
1348 - block tc-redundancy 0/1, it doesn't work with the current dijkstra code
1349 - convert httpinfo/txtinfo/dotdraw to nonblocking and autobuf to
1350 prevent blocking outgoing connections
1351 - fix some bugs with lq-mult
1352 - fix bug in duplicate set sequencenumber handling
1353 - add Debian/KFreeBSD support (Thanks to Holger Levsen and friends for help)
1354 - fix segfault in 'interface lost' monitor
1355 - add LQ hysteresis to etx-ff metric
1357 PATCH from Markus Kittenberger <Markus.Kittenberger@gmx.at>:
1358 - txtinfo plugin: add more http options
1359 - allow configuration of OLSR UDP port
1360 - allow configuration of proto Tag for Routes (RtProto)
1361 - add fallback policy rule (priority 65536) if RtTable is used,
1362 to ensure that routes can be added to this table
1363 - resolve many error conditions while adding routes to the linux kernel
1364 (Warning this will also delete any conflicting routes made by other routing daemons or admins)
1365 - interface modes mesh (default) and ether (no retransmit of olsr-messages back into a broadcastdomain)
1366 - fix olsr_times() to handle different OS implementations (Linux, BSD, OS X)
1367 - fix several compiler warnings
1368 - fix olsr_times() to handle different OS implementations (Linux, BSD, OS X)
1369 - create policy rule later during startup
1370 - send MID also with one interface, if its ip different from originator-id
1371 - linux rtnetlink code cleanup
1372 - workaround: generate routes to single hop neighbours on the fly when inserting routes via them
1373 (active only with fib_metric=flat)
1374 - testing: insert routes with source-ip set to originator ip
1375 - testing: syslog numbering (e.g. useful to detect lost syslog messages when using remote-syslog)
1376 - testing: custom library path (default /usr/testlib)
1377 Testing features must be activated in olsr_cfg.h before compiling olsrd.
1378 This features are used to run a test network in Vienna parallel to the existing
1380 - more RT-Netlink cleanups and fixes
1381 - backport of timejump patch from TIP
1382 - Add detection for vanishing interfaces to Linux netlink code
1383 - fix incorret route sorting on new neighbours. use only delete and add/change avl tree,
1385 - learn neighbours interface alias address from received hellos
1387 PATCHES from Hannes Gredler <hannes@gredler.at>:
1388 - add small valgrind howto
1389 - remove the per tc_edge timer
1390 - add some basic infrastructure for cookies
1391 cookies are used to track usage of timer and memory resources
1392 - add a lightweight memory manager to reduce malloc() churn.
1393 - eliminate data field from avl_node and list_node and
1394 replace this via inline recasts
1395 - add indentation dotfile for future code cleanup
1396 - refactor the timer implementation, get rid of timeout functions
1397 all manipulations done in constant time.
1398 - use calloc rather than malloc for lazy callers
1399 - log RIB add/del transactions only if there is an actual route change
1400 - fix to to always insert a HNA Net when receiving a HNA refresh
1401 - fix delete all routes if the last IP address is gone
1402 - reduce TC vtime jitter from 25% down to 5%
1404 PATCHES and BUGFIXES from Sven-Ola Tuecke <sven-ola@gmx.de>:
1405 - add a fixed-point math implementation, which saves
1406 a great deal of CPU on embedded devices
1407 - fix for Link quality dijkstra limit
1408 - nameservice plugin supports mac addresses
1409 - fix fork/restart code
1410 - fix olsr_times() to handle different OS implementations (Linux, BSD, OS X)
1411 - fix several compiler warnings
1412 - fix olsr_times() to handle different OS implementations (Linux, BSD, OS X)
1413 - add makefile support for google android
1414 - fix default olsrd.conf examples
1416 PATCHES and BUGFIXES from Aaron Kaplan <aaron@lo-res.org>:
1417 - fix openbsd warnings / compile errors about sprintf strcpy
1418 - fix string overflow in dyn_gw plugin
1419 - fix string overflow in pgraph plugin
1420 - fix openbsd/osx coompile errors
1422 BUGFIX by Peter Tarjan <peter.tarjan@birdtelecom.hu>:
1423 - Do not remember LQ information UNSPEC_LINK neighbors in Hellos.
1424 - ignore UNSPEC link for linktype if there is an ASYM/LOST/SYM Link in the
1426 - ignore UNSPEC_LINKS during MPR lookup
1427 - broken MID route handling: we also check the data structures for routing,
1428 even if a MID entry exists.
1430 BUGFIX by John Hay <jhay@meraka.org.za>:
1431 - FIX: IPv6 MTU in BSD
1432 - Another BSD ipv6 Patch by John Hay
1433 - fixes for 64 Bit FreeBSD
1437 BUGFIX from Erik Tromp <erik_tromp@hotmail.com>:
1438 - update in bmf due to new flags field in tc_edge_entry
1440 PATCH from Clemens Hopfer <datacop@inode.at>:
1441 - dot_draw plugin: close the connection after graph output.
1443 PATCH from Joe Gio <joezgio@gmail.com>:
1444 - track if AC power is connected/disconnected
1446 PATCH from Hagen Paul Pfeifer <hagen@jauu.net>:
1447 - import jenkins hash for good hash calculations
1449 PATCH from Andres Ambrois <andresambrois@gmail.com>:
1450 - nameservice plugin: add parameters for SIGHUPing other daemons, or calling scripts
1452 BUGFIX by Benny Tops <b.tops@mindef.nl>:
1453 - fix wrong order of drop_tc checkt in olsr_input_tc
1455 Felix (OpenWRT NBD):
1456 - fix bison problem for OpenWRT
1459 - add LISTEN parameter for httpinfo/txtinfo/dotdraw
1461 0.5.5 ---------------------------------------------------------------------
1463 BUGFIX from Andreas Jacobs <andjac@kawo1.rwth-aachen.de>:
1464 - calculate correct sleeptime
1466 BUGFIX from Dario Borriello <dario_bodj@hotmail.com>:
1467 - do not update LQ if not configured
1469 BUGFIX from Jo-Philipp Wich <freifunk@wwsnet.net:
1470 - fix olsr_ip_to_string() buffer quirk
1471 - fix txtinfo format quirks in HNA table
1472 - name-service plugin - write MID entries to hosts file
1473 - avoid infinite loop in the message parser
1475 PATCH by John Hay <jhay@meraka.org.za>:
1476 - compile clean on FreeBSD
1477 - bugfix: do not account for IP headers when building MID6 messages
1479 PATCHES from Henning Rogge <rogge@fgan.de>:
1480 - join LQ and non-LQ Hello execution paths
1482 PATCHES from otti <otti@wirdorange.org>:
1483 - rttable-default: configures a new policy routing table for the default route
1485 BUGFIXES and PATCHES by Sven-Ola Tuecke <mail2news@commando.de>:
1486 - Windows Vista: add interface metric to SPF computed metric
1487 - lqtc-seqno: Optimize check for old seqno numbers in LQTC messages
1488 - lqnatthresh: maintain an advantage for the current (NAT) inet gw
1489 - fisheye-startup: Changed to MAX_TTL for the first 32 LQTCs
1490 - Added and removed files necessary for win32 compile
1491 - Fix for hg: do not remove anything in .hg with 'make uberclean'
1492 - 104-olsrd-verysmallfix
1493 - 105-fix-lq-buffer-quirks
1494 - 106-fix-seqnocheck
1496 - 121-olsrd-fib-metric-approx
1498 - 136-optimize-invalidip-check
1499 - 138-optimize-message-generation
1501 BUGFIX from Lorenz Shori <lorenz.schori@gmx.ch>:
1502 - Mac OSX compile fixes
1504 BUGFIXES and PATCHES by Hannes Gredler <hannes@gredler.at>
1505 - fix not deleted tc entry.
1506 - avoid setting routes with an invalid/impossible netmask.
1507 - refactoring of TC parsing to kill another pile of malloc()/free()s
1508 saving (again) code and especially run.time performance.
1509 - RIB Refactoring, Part 2:
1510 - avoid the periodical rib-tree insertion
1511 - add a FOR_ALL_HNA_RT_ENTRIES() macro for the snmp folks
1512 (or any parties who want to walk HNA entries).
1513 - add an olsr_cnf option 'flat_fib_metrics' which defaults to TRUE.
1514 - fix broken prefix insertion (regression of the RIB refactoring)
1515 - squelsh compiler warnings on Mac OSX
1517 PATCH by John Hay <jhay@meraka.org.za>:
1518 - also printout our own HNAs in the dotdraw plugin.
1520 PATCH by Patrick McCarty <mccartyp@gmail.com>:
1521 - fixed compile errors in the BSD port
1523 PATCHES by Sven-Ola Tuecke <mail2news@commando.de>:
1524 - 102-olsrd-cvs-fixes.patch: use different buffers in the same printf()
1525 - 103-olsrd-rt-exportroute-cleanup.patch: avoid a malloc()ed list of functions
1526 - 132-save-the-fish.patch: really save the fish and avoid to forward invalid
1527 messages from older olsrd versions
1528 - 135-georss-map-for-nameservice.patch: fixes and extensions for the namesaervice plugin
1529 - 138-olsrd-fixdotdraw.patch: fix the dot_draw plugin
1530 (all to be found on http://download-master.berlin.freifunk.net/sven-ola/nylon/packages/olsrd/files/)
1531 - Replaced "which" with a /bin/sh script snippet
1533 PATCHES and CLEANUPS by Bernd Petrovitsch <bernd@firmix.at>
1534 - Jens Nachtigall <nachtigall@web.de> suggested (and reminded) to use
1535 olsrd.conf.default.lq as the default installed one.
1536 It makes much more sense as - to the best of my(bernd's) knowledge - all
1537 larger networks uses the LQ extensions. And new customers should better
1538 be pushed in that direction.
1539 - with the help of Patrick McCarty <mccartyp@gmail.com>, we got olsr to build
1541 * OpenBSD'd `sed` is pretty conservative and doesn't understand 's|re|sub|'.
1542 So we fall back to the old 's/re/sub/' and quote all '/' and '.' correctly
1543 (which was the main reason to use '|').
1544 And while I'm at it: Remove the useless $(CCACHE) from the $(CC) for
1545 dependency generation and beautify (read: "$(strip)") $(CPPFLAGS).
1546 * OpenBSD needs an explicit "#include <sys/types.h>" before
1547 "#include <netinet/in.h>".
1548 - fixed lib/secure/src/md5.h: This was broken as it had
1549 "typedef unsigned long int UINT4;". "unsigned long int" is 8 bytes on x86_64.
1550 We are using now the standardized types from <inttypes.h>.
1551 - fixed warnings and improved lib/secure/src/md5.c:
1552 * we are using memcpy() and memset() instead of the open-coded loops as
1555 * added function prototypes for static functions
1556 * moved static functions to the top so that their declaration is before
1557 their use to allow gcc to inline if only used once.
1558 It remains ugly - God knows why there are that so many useless
1560 - Some minor and trivial cleanup: Added two functions to calculate the ETX
1561 value from a struct tc_edge_entry and a struct link_entry, respectively.
1562 And use them everywhere.
1563 - added http://meshcube.org/nylon/utils/olsr-topology-view.pl into
1564 lib/httpinfo/misc as suggested by Jens Nachtigall <nachtigall@web.de>
1565 - Killed "struct olsrd_config *cnf" in src/cfgparser/olsrd_conf.h and replaced
1566 it's usage with "olsr_cnf" from src/defs.h.
1567 Serious cleanup: olsrd_get_default_cnf() does no longer initialize the global
1568 "cnf" variable" but uses a local one which is returned as before. And
1569 olsrd_parse_cnf() does no longer return the global variable it is working on.
1570 - Merged "struct hna4_entry" and "struct hna6_entry" into
1571 "struct local_hna_entry" (as "struct hna_entry" is a different thing)
1572 Both have almost the same data (IP address + netmask/prefix) so we use
1573 the quite new "struct olsr_ip_prefix" to store it.
1574 Also merged the "hna4" and "hna6" pointer in "struct olsr_config" -
1575 look at the global "olsr_cnf->ip_version".
1576 - added a olsr_ip_prefix_to_string() function
1577 - .h file cleanup: def.h does not longer include net_olsr.h because it
1579 - more type safety: the macros COPY_IP() and COMP_IP are gone and replaced
1580 with "=" or similar "normal" C operations. There are also now the inline
1581 functions ip4cmp() and ip4equal() to work on "struct in_addr", ip6cmp()
1582 and ip6equal() to work on "struct in6_addr" and ipcmp() and ip6equal()
1583 to work on "union olsr_ip_addr".
1584 Most (or even more precise: almost all) uses of COPY_IP() and COMP_IP()
1585 are in "if (olsr_cnf->ip_version) { ... } else { ... }" anyway to
1586 there is no reson to copy an IPv4 address effectively with
1587 "memcpy(&dst, &src, 4)" or compare with memcmp(&a, &b, 4)" wher the
1588 always "4" is stored in a variable inhibiting compiler optimization.
1589 There is also the deprecated function genipcopy() mimicking the old
1590 typeless COPY_IP() macro for the last few places where a cleanup is
1592 There also lots of old macros left over (commented out of course) until
1593 we are confident that everything works. And then I will kill them too.
1594 - Fixed the misleading definition of "v4" in "struct olsr_ip_addr" fom
1595 "olsr_u32_t" (in network-byteorder!) to "struct in_addr". Lots of
1596 temporary variables to call inet_ntoa()/inet_ptoa() vanished .....
1597 - We have now ip4_to_string(), ip6_to_string() and olsr_ip_to_string()
1598 to print a "struct in_addr", "struct in6_addr" and "union olsr_ip_addr"
1599 into a string buffer.
1600 - cleanup: olsr_ip_to_string() and similar non-reentrant functions now must
1601 get a target buffer. To ease that, there is the "struct ipaddr_str"
1602 which is large enough for all of them (read: for an IPv6 address). This
1603 also removes the cyclic buffer there.
1604 All of these function return a "const char *" which can be directly used
1605 for printf(3) and friends.
1606 - const'ified more functions
1607 - converted the source to UTF-8.
1608 - "struct sig_msg" uses an olsr_u8_t for a byte array (and not "char")
1609 - force the few inline function to always be inlined.
1610 - #ifdef the body of the olsr_print_hna_set() and olsr_print_neighbor_table()
1612 - declare "int_addr", "int_netmask" and "int_broadaddr" in "struct interface"
1613 as "struct sockaddr_in" since it is that what we actually want there (and
1614 it is similar to the IPv6 code).
1615 - updated the olsrd.conf.default.lq-fisheye to the Debian-deliverd version
1616 after recent discussions olsr-dev@olsr.org
1617 - use "inline_avl_comp_ipv4()" in "avl_comp_ipv4()"
1618 - clean up the routes on more signals. Basically we want to do this on all
1619 signals which terminate the program.
1620 - killed a superflous global buffer in src/main.c
1621 - made inline functions from avl_walk_{first,last,next,prev} and created
1622 "const" versions of it. inline_avl_comp_ipv4() is now also an inline function
1624 - created a typedef's for various function pointers - much easier to read.
1625 - cleanup: compare tree->comp (adn other pointers)) to NULL (and not 0)
1626 - killed superflous "return"s at the end of void functions
1627 - const'ified more parameters in many more functions in the .h and
1629 - init-functions with constant or ignored return values are "void"
1630 - created a typedef fro the callback in "struct export_route_entry"
1632 - moved the initialization of the {add,chg,del}_kernel_list variables
1633 into process_routes.c. So they are now "static" there.
1634 - olsr_export_{add,del}_route{,6} are now static in process_routes.c
1635 since they are not used elsewhere.
1636 - olsr_addroute_add_function() and olsr_deldroute_add_function() were
1637 almost identical - made one function out of it.
1638 Same for olsr_addroute_del_function() and olsr_deldroute_del_function().
1639 - fixed the sort order in avl_comp_ipv4_prefix(): We compare now the IPv4
1640 values in host byte order (and not network byte order). So the route
1641 list in the e.g. httpinfo plugin is now nicely sorted.
1642 - fixed and improved the `gcc-warnings` script:
1643 * support older gcc's (as on Debian/Sarge) as they have slightly different
1645 * removed superflous lines
1646 * replaced the call of `sed` with shell built-in features fixing syntax
1647 errors on Debian/Sarge
1648 * set all locale-relevant variables to "C" (just to be sure)
1649 - consolidated ip{4,6,}{cmp,equal}: all are nwo inline functions using only
1650 the minimal necessary operations. Thanks to Hannes Gredler
1651 <hannes@gedler.at> and Sven-Ola Tuecke <mail2news@commando.de> for pointing
1652 that out and suggesting the `inline`, respectively.
1653 use ip{4,}cmp in lq_avl.[ch] to resue the code. inline_avl_comp_ipv4
1654 is superflous now (and replaced by ip4cmp) and use the global MIN and MAX
1655 macro instead of AVLMIN and AVLMAX
1656 - killed netmasks from the IPv4 part of the code and use the prefixlen there
1657 (similar to thte IPv6 part). Manymore details on
1658 http://lists.olsr.org/pipermail/olsr-dev/2007-November/001464.html
1659 - removed the superflous "open_ipc" field from the "struct olsrd_config" as
1660 it contains only the equivalent of "olsr_cnf->debug_level > 1".
1661 - inspired by Sven-Ola Tuecke: avoid a bash'ism (i.e. "OPTS="${OPTS//$opt}") in
1662 gcc-warnings and ld-warnings. But we do not replace it with `sed` (since it
1663 costs a fork(2) and an exec(3)) but also with shell code which doesn't use
1664 any external program.
1665 - added configuration file support for "flat fib metrics".
1667 0.5.4 ---------------------------------------------------------------------
1669 QUAGGA by Immo 'FaUl' Wehrenberg <immo.olsr@do.bundessicherheitsministerium.de>
1670 - updated to svn version 33
1672 BMF PLUGIN by Erik Tromp <erik_tromp@hotmail.com>
1674 - updated to latest plugin interfaces changes and killed warnings (by Bernd
1675 Petrovitsch <bernd@firmix.at>)
1677 PATCH by Hannes Gredler <hannes@gredler.at> which rewrites the route handling.
1681 - get rid of separate routing tables for HNA and per-node routes, everything is
1682 now unified in an AVL routing tree (&routingtree)
1684 - introduce walking macros (OLSR_FOR_ALL_RT_ENTRIES()) that hide the internal
1685 structure of the RIB for making life of the plugin authors easier.
1687 - get rid of different SPF implementations for LQ and non-LQ code paths. a
1688 non-LQ edge is simply substituted with a cost of 1.0
1690 - get rid of host masks - a new data type olsr_prefix is introduced which is
1691 basically an ip address plus a prefix length.
1693 do not install the metric in the kernel FIB - for the kernel its pointless
1694 if the route gets installed with a metric of N or M.
1696 we do not need to update the kernel FIB if we have hop count only changes
1697 (for example if there is a reroute action further downstream)
1699 the only things which triggers a kernel FIB route update is a next hop
1700 change (a next hop is neighboring gateway router plus an interface).
1702 all OLSR routes are installed with a metric of 2
1704 - separate between rt_entry and rt_path - the former is a route installed in the
1705 kernel with an next hop. the latter is a candidate for best path selection
1706 after SPF calculation has been done. in the rt_entry we keep a pointer to the
1707 best_path and also to the next hop that was installed in the kernel FIB.
1709 we always keep all originator of a route, if a route originator goes away we
1710 can easy recompute the best path for the route.
1712 the next hop in the rt_entry gets only updated upon a successful route_add
1713 call - that way we always remember what next hop to delete.
1715 stray routes should be history now.
1717 - tweak the linked list toolkit to operate on circular lists.
1719 - get rid of malloc calls for building the kernel update list. the list node is
1720 now embedded in the rt_entry.
1722 - introduce three queues (add/chg/del) for kernel updates.
1724 - for neighbor route dependency tracking the neighbor routes are queued first or
1725 last (depending on which queue you work on)
1727 - rework all the plugins which directly manipulate rt entries.
1729 - rework the plugins that read from the routing table (most notably nameserver,
1730 httpinfo and quagga plugin)
1732 - lots of comments that explains the intentions and purpose of this code-piece.
1734 non RT related stuff:
1735 - use a list rather than a tree for storing the post-SPF results, which further
1736 improves the raw-SPF runtime.
1738 - add display of SPF runtime (masked behind #ifdef SPF_PROFILING)
1740 - http://gredler.at/download/olsrd/neighbor_routes3.diff: This updates the own
1741 IP address (read: the main address) after changes (e.g. on
1742 `ifup wlan0; sleep 1; ifdown wlan0`) and kills the
1743 olsr_fill_routing_table_with_neighbors() function.
1745 And Sven-Ola Tuecke <mail2news@commando.de> fixed an instability issue on interface
1746 up/down operations (see 102-olsrd-rt-refactoring-fixes.patch below) and a missing
1749 PATCH by Hannes Gredler <hannes@gredler.at> which "consolidates
1750 the link-state database and the spf-calculation in order
1751 to calculate routes more efficiently".
1752 To quote him (more):
1754 - use the link-state (tc) database for SPF calculations rather than
1755 replicating the notion of vertices and edges for a SPF run.
1756 this heavily reduces malloc() calls and shrinks the total CPU
1757 load of the route calculation path between 60%-80%.
1760 PATCHES by Sven-Ola Tuecke <mail2news@commando.de> to be found on from
1761 http://download-master.berlin.freifunk.net/sven-ola/nylon/packages/olsrd/files/
1762 - 102-olsrd-rt-refactoring-fixes.patch
1763 Because you changed a lot of basics: It's time to handle a general
1764 flaw in the routing system. Plase take a look at chk_if_changed(). This
1765 will free() any "struct interface" pointer without warning at any time.
1766 This is why it's possile to SEGV olsrd with a simple "ifdown xxx".
1767 The patch replaces the (maybe) invalid pointer with an index reference
1768 "iif_index". You can always ask the OS for a name. Please note, that I do
1769 not have a working BSD toolchain, so I've placed an #error in the IPv6
1770 BSD-part where the author/porter has started to hack something funny.
1772 - 110-olsrd-double-wlancard-neigh-hack.patch:
1773 This is a hack for Nodes having to wifi cards with the same channel,
1774 bssid, IP-Range etc. If two nodes can see each other by means of two
1775 possible links (here: two wifi cards with equal config), a bug is triggered
1776 with the Neigh-is-SYM detections. This small little hack prevents this.
1778 - 112-olsrd-nameservice-fixemptyname.patch:
1779 This is an addon to my lat/lon stuff which will prevent olsrd from
1780 running (oops?) if no hostname is given and the nameservice plugin
1783 - 113-olsrd-dyngwplain-pluginvers5.patch:
1784 This updates the dyngwplain plugin to the new Plugin Iface
1786 - 140-olsrd-arprefreshed.patch:
1787 This is a new one. Opens a packet socket and listen to UDP(698), extract
1788 the sender MAC and refreshes the ARP cache whith that. Should speedup
1789 especially in cases, if you initially try to use a longer routing path which
1790 normally triggers a "ARP-Lookup-Chain".
1791 - 106-olsrd-nameserviceparams.patch:
1792 This patch converts more plugins to the new interface version.
1793 - 104-olsrd-policy-routing.patch
1794 Reworked this one to discard GPL helper functions. Also checked IPv6 and
1795 re-included the IPC hookup. The patch adds a "RtTable [number]" for
1796 /etc/olsrd.conf which is simply the Linux
1797 policy routing table to use. Defaults to 254 (== main).
1798 This patch was modified/clenaed up by <bernd@firmix.at> to use "#if"
1799 instead of "#ifdef" as it's more robust against typos.
1800 - 110-olsrd-fixpacketprint.patch, 112-olsrd-nameservice-fixemptyname.patch,
1801 113-olsrd-txtinfo-fixhttpget.patch, 114-olsrd-timeoutlimit.patch,
1802 115-olsrd-nameserviceparamfix.patch and
1803 116-olsrd-fix-pluginparam-addons.patch fixing the compilation warning
1804 on 64bit and lots of other improvements.
1805 - "Save the fish" patch: Avoid forwarding of packets with too low TTL. This
1806 kills lots of packet forwarding storms.
1807 NB: The oneliner was applied by hand by BP and formatted to look (in BPs O)
1810 PATCH by Arnd Hannemann <hannemann@i4.informatik.rwth-aachen.de>
1811 olsr_makefile_make_use_of_exename.patch
1812 - This patch makes sure that the EXENAME variable of Makefile.inc is used
1815 PATCHES by John Hay <jhay@meraka.org.za>
1816 - update to new FreeBSD WLAN API
1817 - do not require /bin/bash, use /bin/sh
1818 - Fixed alignment so that olsrd runs on FreeBSD/arm
1819 - allow more interface in an IPv6 subnet on FreeBSD
1820 - use PREFIX and DESTDIR as all the other Makefile.$OS also for FreeBSD
1821 - make txtinfo plugin work with IPv6
1823 PATCH by Andreas Jacobs <jacobs@i4.informatik.rwth-aachen.de>
1824 - fix the loss link quality calculation for "windows size % 4 != 0"
1826 PATCH by Acinonyx <acinonyxs@yahoo.gr>
1827 - Bug fix: include $(TOPDIR)/Makefile.inc at the begin in the Quagga plugin
1829 PATCH by David Cornejo <dcornejo@gmail.com>
1830 - fixed an "+=" of an uninitialized variable (detected with/by the
1833 BUG reported by Aaron Kaplan <aaron@lo-res.org>
1834 - BSD-xargs doesn't know "-r".
1836 PATCHES and CLEANUPS by Bernd Petrovitsch <bernd@firmix.at>
1837 - Made a function from the ME_TO_DOUBLE() macro (in src/mantissa.h).
1838 This saves code throughout the code even on i386 and will even more
1839 on architectures without floating point units and "-msoft-float".
1840 - And the mathemathics in src/mantissa.h is reformulated to minimize
1841 floating point operations to save CPU power - especially on embedded
1843 - I rewrote the half of src/lq_packet.[ch] which deals with incoming
1844 packets. This was triggered with performance output of gcc produced
1845 by Sven-Ola Tuecke at CCCamp07.
1846 This kills *lots* of (more than) superflous malloc()s and the same
1847 number of (free()s). And it also kills some code and copying around of
1849 - Make it compile without warning with flex-2.5.33 (to be found on Fedora 7
1850 and Gentoo in Sep-2007) again.
1852 - converted the dyn_gw plugin to plugin interface version 5 (which leaves
1853 the quagga plugion as the last with the old one).
1854 - paving the way to activate -Wshadow, much more to do
1855 - const-ify parameters here and there
1856 - use NULL for pointers (and not "0")
1857 - Killed "extern" declarations in (not generated) .c files
1859 - Based on a patch by Gianni Costanzi <gianni.costanzi@gmail.com> (so credits
1860 and thanks have to go there):
1861 added OS_CFLAG_PTHREAD Makefile variable since gcc (on Linux) requests this
1864 - I added definitions to all OS-specific Makefile.$OS with the value similar
1865 to the value in OS_LIB_PTHREAD (either empty or "-pthread").
1866 - The variable is added to CPPFLAGS (and not CFLAGS) since CPPFLAGS is used
1867 for all cpp and gcc calls (and gcc's man page indicates that it sets
1868 variables for both of them).
1870 0.5.3 ---------------------------------------------------------------------
1873 Ignacio García Pérez <iggarpe@terra.es> found a serious bug in the dot-draw
1874 plugin and identified it's source.
1877 The bmf plugin wanted to kill a not-started thread and this causes a segmentation
1878 violation. This happens if the old plugin interface support is not compiled in
1879 and one uses - or more asccurate: wants to use - the bmf plugin which uses that
1880 ATM. Thanks to Cedric Krier <ced@ced.homedns.org> for reporting this.
1883 The dependencies (*.d files) are now properly generated and used. And they also
1884 dependen on the Makefile in the current directory and the Makefile.inc so that
1885 changes there also lead to new compilation.
1886 Remember: We support "ccache" so install it to save lot of meaningless recompiles
1887 if nothing (as seen by the real C compiler, i.e. after the C preprocessor) has
1891 Linux/IA64 and Linux/HPPA also need "-fPIC".
1894 - olsr_switch does no longer generate warnings
1895 - olsr_switch is also built with "build_all" and cleaned with "uberclean"
1896 - More "const" all over the place.
1897 - More "static" for local functions and variables.
1898 - Killed an unnecessary "static" variable.
1900 0.5.2 ---------------------------------------------------------------------
1903 Sven-Ola Tuecke found a serious bug of the class "show stopper" and sent a patch.
1906 Plugins handle parameters quite individually (case-sensitive vs case-insensitive,
1907 different parsing functions for the same values, etc.). Plugin Interface version 5
1908 now exports a table of { parameter-name, parsing-function, addr-of-storage } and
1909 it's size. Common functions should be shared.
1911 0.5.1 ---------------------------------------------------------------------
1914 Upgrade to olsr-bmf 1.5 from Erik Tromp <erik_tromp@hotmail.com>
1916 latitude/longitude support is now in the nameservice plugin done by
1917 Sven-Ola Tuecke <mail2news@commando.de>
1919 added the spf refactoring patch from Hannes Gredler <hannes@gredler.at> which
1920 saves a noteworthy amount of CPU time. To quote him:
1922 1. use of an AVL tree as a min-heap implementation
1924 as a means for efficient sorting.
1925 (the etx metric is used as the key in the candidate tree)
1927 2. next-hop propagation
1929 rather than tracking the previous node in olsr_relax()
1930 i have changed that model and pre-populate all one-hop neighbors
1931 with their own IP address as 'next-hop' and pull that
1932 pointer up once new paths are explored.
1934 as a result no walker for counting hops and extracting next-hops
1935 is required - it turns out at this is slighly more efficient
1936 than the existing behaviour (even with the cache applied).
1940 * moved a only locally needed hack from "union olsr_ip_addr" into the only place
1941 where it is needed in hashing.c
1943 0.5.0 ---------------------------------------------------------------------
1945 APPLIED PATCHES FROM FREIFUNK-FIRMWARE
1946 libsmake, dyngwplain, nameservices+services, tzxtinfo, quagga, quagga-routehandler,
1947 optimize, fixes from Eric Tromp and Sven-Ola Tuecke, CPU-optimize, secure key, HNA-IP
1950 removed hardcoded limit on the number of interfaces (at least in the Unix part)
1951 made Makefile targets much more consistent
1954 put Bmf-1.3 plugin into it
1956 FreeBSD IPv6 SUPPORT
1958 Patch from John Hay applied.
1962 0.4.10 --------------------------------------------------------------------
1964 OLSR NETWORK SIMULATOR
1966 An application called olsr_switch(sorry for the nameclash with the win32
1967 GUI) has been added. If olsrd is ran using the -hint option it can now
1968 connect to olsr_switch and be part of a virtual network. This means
1969 that multiple instances can be ran at the same host! The olsr_switch
1970 application allows the user to define link variables on all viritual
1971 links in the network, creating all possible topologies. Read more in
1974 EXPERIMENTAL FISH EYE ALGORITHM
1976 An experimental algorithm for TTL settings on TC messages has
1977 been added. Read more in the corresponding README file.
1981 olsrd now also compiles on OpenBSD systems. Thanks a lot to Holger
1982 Mauermann for the patches!
1986 Bruno has rewritten the make system. OS detection is now done
1987 automagically and the general design is much improved.
1989 IP ADDRESS VALIDATION
1991 Olsrd now maintains a set of IP addresses that is considered
1992 invalid. Checks against this set is done on all received
1993 OLSR packets announced originator addresses. The dataset can
1994 be updated dynamically.
1998 Updated interface version to 3 and added more noticeable warning
1999 for version missmatch.
2003 The dependency on the math lib came from the use of pow(3) in the
2004 mantissa/exponent calculation. The calls to pow in this long forgotten
2005 code, was very unnessecarry. The pow calls are replaced with bitwise
2006 shifts and -lm is no longer needed.
2008 ICMP REDIRECTS ON LINUX
2010 On Linux systems "0" is now also written to the all/send_redirects
2011 procfile and not only the pr. interface ones. Hopefully this resolves
2012 problems reported with systems still sending ICMP redirects.
2016 - Fixed init of IPv6 addrtype variable. It used to be uninitialized,
2017 causing it to default to site-local and have some weird side-effects.
2018 - Fixed crash when changing IPv6 address at run-time
2019 - Fixed a bug that prevented setting willingness 0 in the configfile
2020 - Fixed bad handling of missing command line arguments
2021 - Did various updates to prevent assertion when a neighbor
2022 has changed IP and sends HELLO before its olsrd precess has detected
2024 - Fixed return value check on times(2) calls in the scheduler
2025 - Fixed bug(s) that could cause crash when an interface was brought
2026 down while olsrd was running.
2027 - Removed the silent (read: unchecked) hard limit of 16 interfaces.
2028 - Compiles now cleanly on 64bit (e.g. x86_64).
2030 0.4.9 ---------------------------------------------------------------------
2034 The MID database is now also indexed by alias addresses. this makes
2035 look-ups of main addresses based on alias addresses _much_ faster.
2036 The mid_lookup_main_addr function alone has gone from >30% of the
2037 total CPU time used by olsrd to <1%.
2038 PLUGIN DEVELOPERS: datatypes for MID entries has been changed.
2040 Routing table calculation in the LQ case now uses balanced binary
2041 trees instead of linked lists, which makes look-ups much faster.
2043 The debug output function olsr_printf() is not used by olsrd
2044 internals any more. Instead the macro OLSR_PRINTF is to be used.
2045 This macro does debug level testing _before_ doing any function
2046 calls(both printf itself and parameters to printf). This is a much
2047 more optimized way of doing debug output. In addition olsrd can
2048 be built without any debug output code if doing 'make NODEBUG=1'.
2052 Validity times for dataset entries are now set using the clock_t type
2053 (used to be struct timeval). This data is now fetched from the times(2)
2054 function instead of gettimeofday(2). This prevents possible problems
2055 if the system time is changed.
2056 PLUGIN DEVELOPERS: Note that datatypes for close to all dataset entries
2057 (link, neighbor, mid, hna, tc etc.) has been changed!!
2061 Multiple interfaces can now use the same interface configuration block.
2063 Interface "if0" "if1" "if2"
2068 Interface configurations now also support the "Weight" directive. When
2069 olsrd finds multiple links to a neighbor it will choose the link
2070 going via the interface with the lowest weight. Olsrd normally
2071 sets this weight dynamically based on interface characteristics,
2072 but if the user wishes to set a fixed weight in a interface(or
2073 a group of interfaces), this directive is now available.
2075 Moreover, interface configurations now support the "LinkQualityMult"
2076 directive. It takes an IP address and a multiplier as arguments.
2084 LinkQualityMult 192.168.0.1 0.7
2085 LinkQualityMult default 0.5
2090 The idea is to make certain links via the configured interface
2091 artificially worse or better than they really are. The first parameter
2092 specifies the IP address of a neighbour interface. The second
2093 parameter is the multiplier to be applied to the link to the specified
2094 neighbour interface.
2096 After we have derived the link quality from the packet loss among the
2097 packets received from the specified neighbour interface, we multiply
2098 the link quality by the given multiplier. So, the multiplier changes
2099 the LQ value that we use when determining the ETX, which is 1 / (LQ *
2102 If "default" is given as the IP address then the multiplier applies to
2103 all links via the configured interface. Note, however, that olsrd only
2104 assigns one multiplier to each link. It does so in the following way.
2106 * If there is a "LinkQualityMult" line that matches the IP address of
2107 the link's neighbour interface, then use the multiplier in this
2110 * If there isn't any matching line, then look for a "default" line. If
2111 there is a "default" line, then use the multiplier in this "default"
2114 * Otherwise use 1.0, i.e. do not modify the LQ value at all.
2116 Hence, a line with an IP address has priority over a "default" line.
2118 In the above example, the LQ value of the link between the local
2119 interface if0 and the neighbour interface 192.168.0.1 would be
2120 multiplied by 0.7. All other links between the local interface if0 and
2121 a neighbour interface would be multiplied by 0.5.
2125 The socket option IPV6_V6ONLY is now set on IPv6 sockets in linux.
2126 This means that olsrd will no longer receive IPv4 traffic when
2127 running in IPv6 mode.
2128 This should enable users to actually run one olsrd instance using
2129 IPv6 and one using IPv4 at the same time :)
2133 The httpinfo, dyn_gw and dot_draw plugins now all include olsrd
2134 headerfiles directly. A plugin should define OLSR_PLUGIN before
2135 including olsrd headers. Doing things this way removed the
2136 redundant datatype definitions that has so often caused trouble
2137 when things has been updated in olsrd.
2141 olsrd now also compiles on NetBSD systems. Use 'make OS=nbsd' to
2142 build. This port is not very well tested and feedback is greatly
2145 EXPERIMENTAL MULTI-INTERFACE CODE FOR FREEBSD
2147 Experimental code using libnet can be compiled in allowing multiple
2148 interfaces to be used in FreeBSD. You enable this by compiling using
2149 OS=fbsd-ll. You must have libnet-devel installed for this to work
2150 (/usr/ports/net/libnet-devel).
2154 - WLAN devices are now detected in FreeBSD
2155 - First specified interfaces IP is used as main address.
2156 - Broadcastflag is not checked on interface if fixed broadcast is
2158 - Removed Linux link layer code as this was not really in use.
2159 - Added -nofork command line option
2163 - Link sensing now works according to announced vtime from
2164 neighbors. Previously links going symmetric->asymmetric
2165 were not necessarily detected until the holding time expired.
2166 - A bug in route addition/removal that could lead to routes
2167 using GWs being added before the actual route to the GW
2168 was set up, has been fixed.
2169 - A bug in the interface selection in route calculation has been
2170 fixed. New routes are no longer added prior to deleting old ones,
2171 since this caused trouble.
2172 - A bug in the IPv6 multicast address configuration has been fixed.
2173 This caused olsrd not to work with global IPv6 addresses.
2174 - A bug in the IPv6 prefix-from IPaddr function has been fixed. This
2175 bug caused HNA prefixes to always be calculated to 0.
2176 - If a 2-hop neighbor is also a 1-hop neighbor, a bug made olsrd
2177 prefer a bad direct link to a better link via an MPR.
2178 - If a link or interface lookup failed, olsrd crashed.
2179 - Fixed a crash in the LQ packet generation code based on a
2180 signed/unsigned integer comparison.
2183 0.4.8 ---------------------------------------------------------------------
2187 Olsrd is now distributed under a BSD style license. We believe olsrd will
2188 be better off using this license as it opens up for commercial players
2189 to use olsrd freely in their products. In the end this will lead to
2190 this kind of users doing serious testing and bug fixing of olsrd.
2192 ETX-LIKE LINK QUALITY DETECTION
2194 We can now determine the packet loss on a link by looking at the serial
2195 numbers of the OLSR messages received from a neighbor. This tells us how
2196 many packets get through from our neighbor to us. We use a new extended
2197 kind of HELLO messages (LQ_HELLO messages, LQ = link quality) to broadcast
2198 the link quality that we have determined on our end of the link to our
2199 neighbors. So do our neighbors, and we as well as they end up with an
2200 idea of how good the link is in both directions. From the LQ_HELLOs we
2201 also learn the link quality between our neighbors and our two-hop neigh-
2202 bors. In this way we can select those neighbors as MPRs that have the
2203 best links to our two-hop neighbors. To distribute the link quality
2204 throughout the network, we use a new extended version of TC messages
2205 (LQ_TC messages). They contain the qualities at both ends of each of our
2206 links. Nodes can then run Dijkstra's algorithm to find a path between
2207 themselves and other nodes that minimizes the packet loss.
2209 If the newly introduced "LinkQualityLevel" is set to zero in the
2210 configuration file, link quality is not used and the daemon behaves as
2211 before, i.e. as specified by the OLSR RFC. If this parameter is set
2212 to 1, LQ_HELLOs and LQ_TCs are used instead of HELLOs and TCs, link
2213 quality is measured and MPRs are selected based on the link qualities.
2214 If this parameter is set to 2, the routing table is additionally
2215 calculated based on the link qualities.
2217 Setting "LinkQualityLevel" to a non-zero value BREAKS COMPATIBILITY. You
2218 will then not be able to participate in RFC-conformant OLSR networks
2219 any longer. This is because we use LQ_HELLOs and LQ_TCs instead of HELLOs
2220 and TCs in this case.
2222 It's best practice to set "LinkQualityLevel" to the same value on all
2225 When determining the quality of a link olsrd only considers a given
2226 number of most recent OLSR packets received from its neighbors. By
2227 default, olsrd looks at the 10 most recent OLSR packets. This can be
2228 changed via the "LinkQualityWinSize" configuration option. Values
2229 between 3 and 128 are legal.
2231 NEW CONFIGFILE PARSER/FORMAT/SCHEME
2233 A whole new config file syntax and parser is introduced with this
2234 release. The parser is generated using flex and bison and it is
2235 designed to be very modular. The parser can be compiled as either
2236 a standalone binary, a shared library or as part of olsrd. This way
2237 other applications can parse and generate olsrd configuration files
2238 only by linking to the dynamic library.
2239 In the new configfile options can be set pr. interface, plugin
2240 parameters can be set, more IPC options can be set...and more.
2241 The syntax is documented in the olsrd.conf(5) manual page found
2242 in the files/ directory.
2243 Olsrd internals now uses a single struct, as returned by the config
2244 parser, for all configuration in runtime. this means that updating
2245 values in this struct will dynamically update olsrd operation. It
2246 also means that all configuration is now kept in one place instead
2247 of spread all across the place.
2249 FREEBSD AND MAC OSX PORT
2251 This version offers an initial port of olsrd to FreeBSD and Mac OS
2252 X. Like the Windows port it currently does not support IPv6. As this
2253 is a very first try at supporting FreeBSD and Mac OS X, this port is
2254 probably not as reliable as the Linux version. We'd greatly appreciate
2255 feedback and bug reports. To compile you need GNU make. Then simply
2256 run "gmake OS=fbsd" to build the executable.
2260 The makefiles used to build olsrd have been rewritten and now includes
2261 dependency file generation using makedep.
2265 Tables are now only printed if changes occur, so there are no longer
2266 any periodical output when using a debuglevel >0. A "heartbeat" is
2267 now printed to STDOUT(if it is a terminal) in the form of a rotating
2268 line to show that olsrd is actually operating.
2269 Adding "ClearScreen yes" to the configuration file clears the screen
2270 each time before the debug output shows updated information. This
2271 makes the debug output easier to read in many cases. "ClearScreen no"
2272 is the default, if no "ClearScreen" directive is given in the
2277 There are some changes in the plugin interface. It is now at
2278 version 2. Plugin specific parameters from the configfile
2279 using the PlParam option, will now be passed on to plugins.
2280 To receive such parameters a plugin must implement a function:
2282 register_olsr_param(char *key, char *value)
2283 to which parameter pairs will be passed.
2287 Olsrd no longer uses any thread library on its operation. Everything
2288 now happens in the main thread allowing for use of olsrd on platforms
2289 with no thread library.
2291 ACPI SUPPORT IN WILLINGNESS CALCULATION(LINUX)
2293 The willingness calculation for Linux, now also supports the more
2294 modern ACPI proc interface in addition to APM. This is not well
2295 tested and feedback is appreciated!
2299 Various options regarding IPC connections can now be set in the
2300 configfile. The options are max connections, allowed unicast
2301 hosts and allowed net-ranges.
2305 Much of the message generation and net output code is rewritten.
2306 Sending of partial messages should now work 100%. Also TC, MID
2307 and HNA messages are now cached for a random amount of time
2308 before transmitted - this often leads to the situation where these
2309 messages are sent together with an HELLO message, which is highly
2310 desirable since it saves network resources.
2311 PLUGIN DEVELOPERS must note that the buffers and size variables
2312 used in net output is no longer directly accessible!
2314 NET OUTPUT CODE REWRITTEN
2316 Every interface now has one outputbuffer registered. This allows
2317 messages to be "cached" as explained above, so that multiple
2318 messages are stacked together.
2319 Also the outputbuffer and size are no longer accessible directly,
2320 an API is available to plugins(and olsr code).
2322 OS DEPENDENT NETWORK INTERFACE
2324 The OS dependent network functions are now defined in net_os.h
2325 instead of being mixed up with internal network functions
2330 A bug that caused the announced ANSN sequence number to never stop
2331 being increased when a change in the MPR selector set was detected
2332 has been fixed. Another TC related bug that caused timed out TC
2333 entries not to be deleted from the routing table in certain cases
2334 has also been fixed. These bugs could cause unstable routes.
2335 A bug that in many cases caused the wrong routes to be deleted
2336 when using IPv6 has been fixed.
2339 0.4.7 ---------------------------------------------------------------------
2341 NATIVE WINDOWS GUI AND INSTALLER
2343 We now have a native Windows GUI. The GTK+ version is no longer
2344 supported on Windows. The new native GUI is pretty compact as it does
2345 not require the GTK+ runtime DLLs. In addition to monitoring olsrds
2346 state the GUI offers an easy way for novice users to configure
2347 olsrd. It's pretty self-explanatory. Have a look at README-WIN32.txt
2348 for details. The Windows version now also comes with an installer
2349 based on the freely available Nullsoft Scriptable Install System
2350 (NSIS). Looks like the Windows port is becoming more and more
2353 WIRELESS INTERFACE DETECTION ON WINDOWS
2355 Like the Linux version the Windows port is now able to tell WLAN
2356 interfaces from wired interfaces. We can now, for example, set
2357 different HELLO intervals for WLAN interfaces and wired interfaces,
2362 The order of updates of calculated routes is swapped. Now new routes
2363 are added prior to deleting old ones. This could fix issues where
2364 in some very very few cases one could experiment loss of routes.
2368 There were quite some bugs in IPv6 operation in 0.4.6. These are
2369 the bugs that were fixed:
2370 - HNA message parsing did not work.
2371 - Some IPv6 addresses were printed as IPv4 addresses in the
2373 - The '-dispin' option now works again.
2374 - A filedescriptor leak in the IPv6 interface detection caused
2378 0.4.6 ---------------------------------------------------------------------
2382 Read the README-WIN32.txt file!
2384 DYNAMIC NETWORK INTERFACE UPDATES
2386 Network interfaces can now be updated and removed/added at
2387 runtime. Olsrd will check all interfaces specified in the config
2388 file or on the command-line, every 5 seconds. If updates
2389 occur, olsrd will register this and update the necessary data.
2390 If interfaces are removed or added, olsrd will detect this
2391 and configure the interfaces. If an interface is removed
2392 olsrd will continue to check the interface, so if say, a PCMCIA
2393 card is removed and later on reinserted(and given the same name),
2394 olsrd will detect this and start running on it again.
2396 Note that olsrd will now run even if no interfaces are detected.
2398 ROUTE CALCULATION UPDATE
2400 All 1 hop neighbor addresses that are not directly reachable trough
2401 a symmetric link in the link set will now be added with a GW in the
2402 routing table. this GW will be an interface address from a registered
2403 symmetric link to the neighbor.
2407 Alias addresses are now registered in the link set processing
2408 if available. This is not to pretty(since the vtime has to
2409 be a mere guess) but it gives faster initial route updates.
2410 If a HELLO is received(at initial registration) from an IP
2411 that is not the same as the one set as main address in the
2412 received HELLO header, then the IP from which the HELLO was
2413 received will be registered as an alias of the main address
2414 set in the HELLO header. The default vtime is set to 15 secs.
2418 All OS dependent interface configuration code is now located in
2419 OS/ifnet.c(that would be linux/ifnet.c if using GNU/Linux).
2420 The functions are available trough the headerfile src/ifnet.h
2424 - Some timer issues fixed
2425 - Got rid of the global socket descriptors
2426 - Updated indexing of network interfaces
2427 - Introduced a global socket to use for ioctl calls(ioctl_s)
2428 - Removed upper limit for interfaces to use
2429 - Point-to-point interfaces are now allowed
2430 - The main select(2) loop now uses a timeout
2431 - A small bugfix in the select fd-set update code
2432 - Some bugfixes in the configuration file parsing
2433 - stdout/stderr are now set to not be buffered
2434 - A bugfix in the MID generation regarding seq. numbering
2438 A new set of functions that are called whenever a change in the
2439 interface configuration(update, addition, removal) is made is
2441 These functions are added and removed very much like the ptf
2442 functions. Available trough the functions add_ifchgf and del_ifchgf.
2444 OBS OBS OBS!!! PLUGIN DEVELOPERS READ THIS!!!!
2446 The interface struct(declared in interfaces.h) has changed.
2447 Plugin developers must update plugins that uses the interface
2450 The headerfile olsr_plugin_io.h which contains the plugin interface
2451 commands now contains a revision list where all changes are
2455 0.4.5 ---------------------------------------------------------------------
2459 A plugin that generates and checks message signatures is added.
2462 PLUGIN: TOPOLOGY GRAPH
2464 A plugin that generates output of the topology in the dot format
2465 is added. See lib/dot_draw
2469 Some optimizations done that should cause fewer route recalculations.
2473 Some bugs reported by Takafumi Tanaka fixed.
2475 RESTORATION OF NETWORK SETTINGS
2477 Network settings like disabling of ICMP redirects and spoof filter, are
2478 now restored at exit by olsrd.
2482 Nodes would in certain scenarios retransmit messages originating for
2483 themselves. This was a RFC incompliance. Reported by Ingmar Baumgart.
2487 No longer setting the HELLO interval of non-wlan interfaces as a multiplier
2488 of the wlan interval. The interval is set seperatly now.
2489 Due to this there are some updates in the configfile imperatives.
2493 Some new macros introduced for table insertion and removal and IP
2494 copying and comparison.
2498 IPv6 bugfixes in the GUI.
2501 0.4.4 ---------------------------------------------------------------------
2505 Routes are no longer added via neighbors declaring a willingness
2508 LINK SENSING AND ROUTE CALCULATION
2510 Link sensing and route calculation has been updated to handle
2511 multiple links between hosts in a sane way.
2515 IP spoof filtering is disabled on the interfaces which olsrd runs.
2516 These settings are not restored!
2520 ICMP redirect message generation is disabled on the interfaces
2522 These settings are not restored!
2524 CONFIGFILE OPTIONS FOR MID AND HNA ADDED
2526 Options to set the MID and HNA emission intervals and
2527 validity time in the configfile added.
2531 Option to set what IPv6 address type(scope) to use in the
2532 configfile added. It can be set to either global or site-local.
2536 Options to set site-local and global multicast addresses
2537 in the configfile added.
2539 EMISSION INTERVAL FUNCTION
2541 Functions to set emission intervals at runtime added.
2543 LINK LAYER NOTIFICATIONS
2545 If started with the -llinfo switch olsrd will collect and display
2546 link-layer information on neighbors. This is no longer limited to
2547 one interface. But no action is taken based on this info - and
2548 there is a upper limit of 8 neighbors from which this info can
2549 be collected pr. interface. This limitation is inherited from the
2550 WLAN drivers and is not something imposed by the olsrd code!
2552 IPv6 HNA MESSAGE FORMAT
2554 IPv6 HNA messages now contains 128-bit netmask instead of prefix.
2558 Added "packet transform functions" which allow plugins to alter all
2559 outgoing OLSR traffic.
2563 Moved most headers out of OS dependent directories. The tunneling
2564 and link-layer notification interface is not yet separated from
2565 the /linux directory.
2569 A manpage(olsrd(8)) describing olsrd has been created. It is installed
2570 when using 'make install'.
2573 0.4.3 ---------------------------------------------------------------------
2577 Olsrd now supports runtime-loadable plugins! A couple of example plugins
2578 are located in the lib/ directory. Read the README files in the various
2579 plugin directories for more info. A directive to load plugins have been
2580 added to the configfile as well.
2581 Documentation of the plugin interface can be fount at http://www.olsr.org.
2583 The plugin interface is designed to be extendable. But it should _always_
2584 be backwards compatible with the interface used in this release!
2586 LINK-LAYER NOTIFICATION
2588 Some preliminary link-layer notification code has been added. Link quality
2589 can be written to stdout if olsrd is started with the -llinfo switch.
2590 No action is currently taken based on this info. And info will only
2591 be retrieved from the interface named "eth1".
2592 This code is not usable for users as of yet!
2596 Neighbors with willingness set to WILL_ALWAYS is now always added. The
2597 MPR selection is optimized as described in RFC3626 section 8.3.1
2602 There was a couple of bugs in the MPR selection code. All fixed.
2606 Users could not run olsrd on multiple interfaces using the Linux 2.6 kernel
2607 series. This is now fixed.
2611 One small bug in link hysteresis initialization and one in HNA route
2614 MESSAGE-SEQUENCENUMBER INCOMPLIANCE
2616 Message-seqnos was implemented on a pr. messagetype and pr. interface
2617 basis. This is not RFC3626 compliant and has been updates. All messages
2618 and interfaces now uses a global seuencenumber.
2620 RANDOM SEQUENCENUMBERS
2622 Sequencenumbers are now initialized using a random value.
2626 Fixes for running olsrd in daemon mode(debug 0).
2630 Optimizations based on profiling implemented.
2634 Message size is checked for every message before passing it to the
2635 appropriate message parsing function. If the size is bigger than the
2636 remaining size of the olsr packet then the message is discarded.
2640 Some minor modifications done to the gui.
2644 Lots of changes in handling of registration and unregistration of
2645 scheduler, socketparser, parser and local hna set.
2646 Some restructuring and movement of functions.
2649 0.4.2 ---------------------------------------------------------------------
2653 0.4.1 ---------------------------------------------------------------------
2657 0.4.0 ---------------------------------------------------------------------
2661 Link hysteresis as described in the RFC added.
2665 TC redundancy as described in the RFC added
2669 MPR redundancy as described in the RFC added
2673 The scheduler has been rewritten to register scheduled
2674 events(function pointers) dynamically.
2678 The parser has been rewritten to register parse functions
2679 on a pr. messagetype dynamically
2683 A wrapper for the malloc(3) syscal has been introduced.
2684 olsr_malloc(size_t, const char *) should ALWAYS be used.
2688 Lots of restructuring in headerfiles.
2689 Linux spesific code moved to subdirectory linux/
2690 FreeBSD code to be put in freebsd/
2691 LOTS of code restructured due to the rexrite of the scheduler
2696 Optimizing the MPR set as suggested in the RFC section
2697 8.3.1 point 5 added.
2701 Some bugs in MPR selection fixed.
2704 0.3.8 ---------------------------------------------------------------------
2708 HNA code completely rewritten!
2709 The old code was really bad! Now it is much cleaner implemented and
2711 One- and two-hop neighbor list structures rewritten. They now use
2712 the same hashed double-linked lists as the rest of the information
2717 Some code restructuring which resulted in the new files: timer.h,
2718 mantissa.c, mantissa.h, hashing.c, hashing.h, linux/net.c
2719 linux/net.h, linux/kernel_routes.c, linux/kernel_routes.h and some
2724 The bug causing errormessages on exit is fixed.
2725 The bug that caused initial HNA routes in the GUI to display a hopcount
2727 IPv6 HNA netmasks were all added as /128. It's fixed now.
2731 Turns out sitelocal address had to be preferred to avoid IPv6 header
2732 messing up link-sensing. Bug fixed
2735 0.3.7 ---------------------------------------------------------------------
2739 The entire TC set and MPR selector set code rewritten. Hashing and
2740 double linked lists added to the MID code.
2741 Lots of HNA code has been rewritten as well.
2745 When a node lost connectivity to a HNA GW all HNA entries to that gw
2746 was deleted. This has been fixed - and HNA entries only gets deleted
2748 Other HNA bugs have been fixed as well. But the whole HNA implementation
2753 There was a bug that caused holdingtime not to be properly recalculated
2754 when using non-default emission intervals.
2756 Forwarding and symmetric neighbors
2758 Seems I had misread the RFC on what a 1-hop symmetric neighbor is.
2759 Now the link-set is checked when a check for a symmetric neighbor
2760 is done. Not the 1 hop neighbor set as it used to be. This way
2761 the hack when receiving MID messages could be removed.
2765 Global addresses are now preferred. Sitelocal addresses are only used
2766 if no global addresses are found. There have been problems where
2767 the address set in the IP header of IPv6 packets do not match the
2768 address chosen by OLSR.
2772 The GUI is finally updated! It can now handle piggybacked messages
2773 and link sensing HELLO message format.
2776 0.3.6 ---------------------------------------------------------------------
2778 HNA support using IPv6
2780 HNA now works using IPv6 as well! Just add the network address and
2781 prefix in the HNA6 section in the configfile. The IPv6 HNA packets differ
2782 some from the IPv4 as they don't send the netmask but the prefix.
2785 NEW FILENAME FOR THE BINARY AND CONFIG FILE
2787 They are now called olsrd and olsrd.conf. I figured I'd use the olsrd
2788 name before somebody else started using it ;-)
2793 New options: DEBUG, HNA6 and IPC-CONNECT added to config file.
2798 A printf-wrapper has been introduced - debug level output handling
2799 is much more uniform now.
2800 The daemon should run fine in detached mode now(DEBUG 0)
2804 The GUI front-end can now connect and disconnect at any time while the
2805 daemon is running, if started using the -ipc switch or with IPC set to
2806 'yes' in the configfile.
2811 A small HNA bug fixed.
2814 0.3.5 ---------------------------------------------------------------------
2818 Forwarding jitter added. Messages are piggybacked if they arrive(and are to
2819 be forwarded) while there is data to be forwarded buffered.
2820 Added some bugfixes to support parsing of piggybacked messages as well.
2824 Fixed route calculation so that 2 hop neighbors are added. This smooths
2825 changes from 1 hop to 2 hop neighbor out. The old way one had to wait for
2826 a TC before the 2 hop neighbors were added.
2830 All neighbors received in HELLO messages are added to the two hop
2831 neighborhood. This helps smoothing out the 1-to-2 hop transition as well.
2835 MID calculation had to be updated due to the registering of two hop neighbors
2836 that are already one hop neighbors. They should not be considered when calculating
2841 Deletion of possible one hop neighbors registered on non main-addresses when
2842 first registering MID info from a node removed. This can not occur due
2843 to the fact that registering of neighbor nodes are done on main addresses
2845 Option to not forward messages on wired links on which they arrived removed.
2846 This is no longer usable to any degree when adding support for piggybacking
2847 of forwarded messages is to be implemented.
2851 Some unused parameters and commandline options were removed.
2855 0.3.3 ---------------------------------------------------------------------
2859 Added sending of empty TC messages if all MPR selectors are removed. Empty
2860 TC messages are sent for a TC_HOLD_TIME period as described in section
2865 Fixed HNA route calculations for IPv6. I forgot to upgrade this in 0.3.2
2869 -hnaint and -midint command line optionas added to set the interval
2870 of HNA and MID generation.
2874 As an optimization messages have not been forwarded on the received interface
2875 if this is registered as a non-WLAN interface. This causes problems for
2876 people using Ethernet-to-WLAN adapters. This optimization is now turned
2877 off by default. It can be activated using the -nofwlan option.
2881 THERE ARE SOME NASTY BUGS IN 0.3.2!
2882 Fixed a bug that caused 2 hop neighbors not to time out.
2883 Fixed a bug that caused a 1 hop neighbor timeout not to recalculate
2885 Fixed a small memleak in the MID set
2886 Fixed some smaller bugs.
2888 IPv6 functioning is not well tested in this release.
2890 0.3.2 ---------------------------------------------------------------------
2894 Updated HNA to be RFC compliant. This means that all received HNA tuples
2895 are registered and only the subset of unique entries(net/netmask) with
2896 the smallest hopcount is inserted into the routing table.
2900 User can specify configfile name using the -f switch.
2904 Fixed a link-sensing bug that caused problems when using MID nodes.
2906 0.3.1 ---------------------------------------------------------------------
2910 MPR calculation is now based on the willingness announced by nodes.
2914 The neighbor set does not have timeouts on entries any more. Creation
2915 and deletion of neighbor entries is done from the link-set as suggested
2920 Gotten rid of a lot of code that became more or less obsolete due to
2921 all the changes introduced in 0.3.0.
2925 Fixed a nasty bug concerning the sequence numbering of TC packets.
2926 Fixed some bugs regarding MPR calculation - and probably introduced
2927 a whole new species when implementing the willingness-based calculation ;-)
2930 0.3.0 ---------------------------------------------------------------------
2932 Due to the extensive amount of updates this release is versioned 0.3.0
2934 Duplicate table and forwarding
2936 The duplicate table functionality is totally rewritten in 100% RFC
2937 compliance. The forward algorithm specified in the RFC is implemented
2938 this meant rewriting much of the packet processing code. The daemon
2939 also forwards unknown packettypes now.
2941 Link sensing and neighbor processing
2943 Link sensing and neighbor processing was done in the same operation in the
2944 old code. Link sensing is now a mechanism of its own which is 100% RFC
2945 compliant. Neighbor processing and HELLO generation has been partly
2946 rewritten to be RFC compliant. Neighbors are now registered as either
2947 SYN or NOT_SYM. The NOT_NEIGH, SYM_NEIGH and MPR_NEIGH values are only
2948 used when building HELLO messages. Links are in one of the following states:
2949 UNSPEC_LINK, ASYM_LINK or SYM_LINK.
2950 HELLO messages now advertise link status of neighbors on the interface
2951 the message is transmitted.
2955 A node now dynamically calculates willingness based on powersource and
2956 possibly battery power. If the node is AC powered it announces a willingness
2957 of 6. If batterypowered the willingness is calculated as:
2959 Where P is percentage of power left.
2963 The daemon now tries to read its configuration from the file /etc/uolsrd.conf
2964 A "standard" configuration file is installed when doing 'make install'.
2965 This file should be edited to fit your needs.
2966 Command-line options can still be used to override the configuration form
2967 the file(ore if no config file is present).
2968 The -f switch can also be used to specify a configuration file.
2972 If AdvancedPowerManagemant(APM) is supported on your system the willingness
2973 of the node is dynamically calculated based upon the powerstatus of the node.
2974 MPR calculation based upon willingness is not done as of yet.
2978 A bugs in the TC processing fixed.
2982 Some serious HNA bugs fixed. These bugs caused a node to always choos the
2983 gateway with the larges hopcout :) More seriously - a bug caused looping
2984 of HNA messages in certain scenarios.
2986 Package sequence numbers
2988 These were added. Not much use as of now - but they're there(as specified
2993 Users can now specify the broadcast address to use. Useful if one wishes to
2994 use the 255.255.255.255 broadcast.
2998 0.2.5 ---------------------------------------------------------------------
3002 Htime and Vtime processing and handling added. Holding times used to be
3003 a static value for all nodes. Now every node can signal its vlidity time
3005 To achieve this mantissa/exponent calculation functionality was added.
3006 Messages now include Vtime(and Htime in HELLO) values in mantissa/exponent
3007 format instead of just zero. These values are as stated above, used as holding
3009 the GUI should be upgraded as well...
3013 The use of jitter in message generation intervals vere fixed.
3016 0.2.4 ---------------------------------------------------------------------
3020 Some bugs concerning sequence numbers in HELLO and MID message handling
3021 was fixed. Newly registered nodes in the neighbor and MID sets were
3022 initialized with a seqno of 0. When using a "wraparound" sequencenumber
3023 check(as defined in olsr_protocol.h) this can produce errors if a new
3024 node joins a network where existing nodes has seqnos >0x00FF.
3028 Some checks and copying of node addresses where done using sizeof(u_olsr32_t)
3029 which is 32 bits. This caused only the 32 firs bits of IPv6 addresses to
3030 be copied and checked.