1 Note: In this release the pud plugin was upgraded to version 2.0.0.
2 This is because of a breaking change in its wire format. If you have
3 deployed the pud plugin on your mesh then you should update all nodes
4 to the new pud plugin at the same time since there is no interoperability
5 between the old version and the new version.
7 0.6.6.1 -------------------------------------------------------------------
10 Update version after release of v0.6.6
14 Fix jsoninfo again after a regression which was introduced with
16 0.6.6 -------------------------------------------------------------------
19 [hotfix] plugin: httpinfo: in case of an unrecoverable error ("could not
20 initialize HTTP socket") exit for returnvalue != 0
21 plugin: dot_draw: readme: make it clear, that it only opens an
22 IPv4-socket, so a 'telnet ::1 2004' is not possible
23 plugin: dot_draw: readme: replaced a b0rken link
26 Update version after branch of v0.6.5
27 gateway: store current gateway(s) in a struct
28 gateway: lazily allocate the current gateway structs
29 gateway: add path_cost to 'set gateway' interface
30 gateway: add interface to get the gateway costs
31 gateway: simplify by using the new costs interface
32 gateway: add gateway_list.{c,h}
33 gateway: keep track of the active gateways in a list
34 Merge branch 'release-0.6.5'
35 pud: java make target is dependent on library make target
36 Merge branch 'release-0.6.5'
37 Merge branch 'release-0.6.5'
38 json_info: only output smart gateway info on Linux
39 kernel_route: olsr_os_inetgw_tunnel_route can now take the table
40 gateway: let the gateway code determine the tunnel name
41 gateway: remove the worst gateway before adding new one
42 gateway: add SmartGatewayUseCount configuration parameter
43 gateway: use SmartGatewayUseCount setting the the gateway lists
44 gateway: add SmartGatewayEgressInterfaces configuration parameter
45 gateway: add SmartGatewayMarkOffset{Egress,Tunnels} configuration
47 gateway: add SmartGatewayPolicyRoutingScript configuration parameter
48 gateway: initialise a set of fixed tunnel names in/for multi-gateway mode
49 gateway: initialise the egress interface names in/for multi-gateway mode
50 gateway: use fixed tunnel names in/for multi-gateway mode
51 gateway: setup and clear table specific default routes in/for
53 gateway: setup/cleanup multi-gateway mode during startup/shutdown of olsrd
54 gateway: introduce and use MULTI_GW_MODE define
55 gateway: enable multi-gateway mode
56 gateway: convert some defines into inline functions
57 kernel_route: olsr_os_inetgw_tunnel_route now needs the table explicitly
58 Merge branch 'multigw'
59 gateway: remove 2 superfluous asserts
60 gateway: add an assert to prevent an 'unused' warning
61 gateway: also adjust the IPv6 gateway list in olsr_update_gateway_entry
62 gateway: fix policy script permissions checking
63 gateway: the gateway policy script really is a bash script
64 gateway: minor indentation fixes in the gateway script
65 gateway: fix copy/paste mistake in setting up the egress rules
66 gateway: remove policy rules before adding them
67 gateway: ignore errors in remove-before-add rule removals
68 Revert "linux: name is required to be non-null in
69 olsr_os_cleanup_iptunnel"
70 gateway: do not show (bogus) errors
71 gateway: cleanup the server tunnel later
72 cfgparser: add SmartGatewayAlwaysRemoveServerTunnel configuration
74 gateway: use SmartGatewayAlwaysRemoveServerTunnel configuration parameter
75 gateway: fix a revert problem
76 gateway: use tnl_(4|6) tunnel names instead of tnl(4|6)_
77 gateway: properly set the egress interface names
78 json_info: do not loop forever on smart gateway egress interfaces
79 pud: the best uplink gateway is the same as the current (smart) gateway
80 pud: there is no hard dependency on smart gateway
81 pud: only forward downlinked messages when the smart gateway system is
83 pud: update documentation about smart gateway changes
84 gateway: fix 2 small typos in a comment
85 Revert "pud: the best uplink gateway is the same as the current (smart)
87 pud: minor update resulting from the previous revert
88 pud: minor update to getBestUplinkGateway
89 gateway: minor improvement to get_unused_iptunnel_name
90 gateway: update some comments
91 gateway: remove 2 unneeded asserts
92 gateway: use standard macro to loop over the gateway tree in
94 gateway: fix 'eligible' conditions in gw_default_choose_gateway
95 gateway: minor speed improvement in gw_default_choose_gateway
96 android: fix the path of the tunnel node in the /dev tree
97 pud: use the proper __ANDROID__ define
98 gateway: allow advertisement of zero bandwidth
99 gateway: add some comments
100 gateway: also set (update) the gateway when costs have changed
101 gateway: find_interfaceName only works in multi-gateway mode
102 gateway: simplify gw_default_calc_threshold
103 gateway: improve comments of gw_default_weigh_costs a bit
104 gateway: rename some variables to make it more readable
105 gateway: fix stable count dampening in gw_default_timer
106 gateway: do not use bitwise operators for logic conditions
107 gateway: reverse semantics of two variables
108 gateway: always select a new gateway when threshold != 0
109 main: add -pidfile command line option
110 main: fix pidfile compilation on windows
111 Merge branch 'release-0.6.5'
112 make: enable 32/64 bit cross compilation
113 pud: pull in nmealib v1.0.4
114 gateway: remove some 'unused' code from sgw script
115 make: fix typos in 'enable 32/64 bit cross compilation' commit
116 pud: enable 32/64 bit cross compilation for the java build
118 Merge branch 'release-0.6.5'
119 Merge branch 'release-0.6.5'
120 Merge branch 'release-0.6.5'
121 pud: detect the java include directory
122 dyn_gw: remove bogus include
123 make: fix a type in the Linux SUBDIRS assignment
124 make: add dyn_gw, mdns and p2pd to the Android SUBDIRS
125 pud: update nmealib 32/64 cross compilation
126 Revert "pud: update nmealib 32/64 cross compilation"
127 main: fix 2 minor warnings for win64 build on debian squeeze
128 make: only install sgw related files when sgw is supported
129 mdns: fix container_of pointer arith
130 mdns: don't use non-standard ushot type
131 mdns: fix three alignment warnings
132 mdns: supported on Android
133 p2pd: supported on Android
134 make: ensure win32 install respects DESTDIR
135 Merge branch 'release-0.6.5'
136 gateway: work around kernel IPIP module initialisation bug
137 gateway: fix overlap in success/fail IPIP tunnel init
138 doc: make the documentation generation commands a bit more verbose
139 pud: detect the java include directory
140 pud: better detection of java jdk
141 pud: better detection of java jdk
142 gateway: work around kernel IPIP module initialisation bug
143 Merge branch 'release-0.6.5'
144 PUD: nmealib: fix parsing of date in GPRMC
145 pud: nmealib: fixup the previous commit
146 main: use /dev/urandom by default
147 main: use /dev/urandom by default
148 pud: set local loopback for multicast tx
149 pud: set local loopback for multicast tx
150 Merge branch 'release-0.6.5'
151 arprefresh: fix some spelling
152 arprefresh: document the BPF program to make it readable
153 arprefresh: use the ARRAYSIZE macro
154 arprefresh: remove a comment
155 arprefresh: do not process IPv6 packets when in IPv4 mode
156 arprefresh: add a note about VLANs and IPv6
157 remove pthread usage as much as possible
159 Remove mercurial ignore file; we use git
160 build: ignore builddata.c when hashing sources
161 build: move build data into its own include file
162 gateway: always deal with 64bit scaled path costs
163 gateway: introduce and use removeGatewayFromList function
164 gateway: add SmartGatewayTakeDownPercentage configuration parameter
165 gateway: proactively take down 'expensive' gateways
166 release: fix the list of generated files
167 release: update some comments
168 release: refactor the checkVersionIncrementing function
169 release: do not update the version on master when it's already higher
170 release: only report that master changed when it was actually changed
171 release: checkVersionIncrementing: optionally allow equal versions
172 release: also check against the Makefile version when branching
173 txtinfo: prevent buffer overflow
174 pud: nmealib: _nmea_parse_time not parsing hsec when given "hhmmss" format
175 build: really _ignore_ builddata.c when hashing sources
176 build: only print the md5 hash in hash_source.sh
177 Makefile: fix builddata when building from tarball
178 pud: fix readIPAddress function
180 Hans-Christoph Steiner (3):
181 GNU/Linux: add service profile for 'ufw' firewall package
182 update Commotion example olsrd.conf to represent current project state
183 dyn_gw/dyn_gw_plain require /proc, remove from default build on non-Linux
186 Fixed debug output of Scheduler polling interval
187 Fix multicast join for IPv6
188 Merge branch 'master' of http://olsr.org/git/olsrd
189 Update version after release of v0.6.5.2
190 Update version after release of v0.6.5.2
191 Fix build break for MinGW compilation on Fedora 19.
194 Ronald in 't Velt (1):
195 Fix setsockopt for setting Traffic Class in IPv6
198 main: fix the check on inet_pton return value because it returns 1 on
200 mDNS: remove from Makefile PTHREAD useless dependency
201 txtinfo: update README file
204 jsoninfo: ensure output is wrapped in curly braces.
206 Vasilis Tsiligiannis (1):
207 olsrd-quagga: Fix memory leak when adding and deleting routes
210 quagga plugin routes additional
212 0.6.5.5 -------------------------------------------------------------------
215 build: really _ignore_ builddata.c when hashing sources
216 build: only print the md5 hash in hash_source.sh
217 Makefile: fix builddata when building from tarball
218 pud: fix readIPAddress function
221 Update version after release of v0.6.5.4
222 Fix build break for MinGW compilation on Fedora 19.
226 jsoninfo: ensure output is wrapped in curly braces.
228 0.6.5.4 -------------------------------------------------------------------
231 Remove mercurial ignore file; we use git
232 build: ignore builddata.c when hashing sources
233 release: fix the list of generated files
234 release: update some comments
235 release: refactor the checkVersionIncrementing function
236 release: do not update the version on master when it's already higher
237 release: only report that master changed when it was actually changed
238 release: checkVersionIncrementing: optionally allow equal versions
239 release: also check against the Makefile version when branching
240 txtinfo: prevent buffer overflow
241 pud: nmealib: _nmea_parse_time not parsing hsec when given "hhmmss" format
244 Update version after release of v0.6.5.3
247 0.6.5.3 -------------------------------------------------------------------
250 pud: detect the java include directory
251 pud: better detection of java jdk
252 gateway: work around kernel IPIP module initialisation bug
253 main: use /dev/urandom by default
254 pud: set local loopback for multicast tx
257 Update version after release of v0.6.5.2
260 Ronald in 't Velt (1):
261 Fix setsockopt for setting Traffic Class in IPv6
263 0.6.5.2 -------------------------------------------------------------------
266 Update version after release of v0.6.5.1
270 main: fix the check on inet_pton return value because it returns 1 on
273 Vasilis Tsiligiannis (1):
274 olsrd-quagga: Fix memory leak when adding and deleting routes
276 0.6.5.1 -------------------------------------------------------------------
279 release: use olsrd-version prefix for files in the tarballs
282 Update version after release of v0.6.5
285 0.6.5 -------------------------------------------------------------------
288 chose the proper #define in order to take the right #include
291 mDNS: Implemented Host Filtering for ipv4 and ipv6, writing in the config
292 file which hosts to ignore. The mDNS packets from the ignored hosts
293 will be ignored and not propagated in the network
294 mDNS: Updated README file for mDNS plugin
295 mDNS: Reworked logic of router Election. The election is now handled on
296 interface basis, because the router could have one interface where it
297 needs to be master and another interface where it needs to be
298 disabled. There was a logical bug in the earlier implementation.
299 mDNS: BUGFIX, mDNS plugin, hello message of router election not sent if
302 Alessandro Gnagni (3):
303 mDNS: Fixing loops for mDNS packets when mDNS plugin is misconfigured
304 mDNS: review of Alessandro Gnagni patch, inserted a config value to
305 enable or disable TTL check and change, default is enabled.
306 mDNS: Implemented router election mechansim to have only 1 active mDNS
309 Andreas Tonnesen (1):
310 x86_64 patch from Bernd
312 Bernd Petrovitsch (1):
313 * added -Wbad-function-cast
316 gateway: clarify header with extra comments and ordering
317 gateway: reorder functions to reflect order in header
319 gateway: remove 'unused' v{4,6}gw_choosen_external
320 gateway: add asserts to validate gw_handler
321 gateway: clear gw_handler during cleanup
322 gateway: add init and cleanup hooks for gateway plugins
323 gateway: rename hooks
324 gateway: add comments to struct olsr_gw_handler function prototypes
325 gateway: inline olsr_find_gateway_entry function
326 gateway: inline olsr_trigger_inetgw_selection function
327 gateway: rename a function
328 gateway: simplify a condition
329 gateway: push an if condition into its nested if's
330 gateway: merge 2 code blocks
331 gateway: the gateway to set must be in the gateway tree
332 gateway: the gateway to set must either be an IPv4 or IPv6 gateway or
334 gateway: prevent 2 NULL dereferences
335 gateway: merge 2 code blocks
336 pud: force pending buffer out if not enough space for our message
337 pud: include nmealib v1.0.3
338 http_info: pud satellites in use are now green, not in use are red
339 ifdef: fix some include ifdefs
340 update comments on all ifdefs
341 olsrd_plugin: remove #if 1
342 gateway: rename 2 variables
343 remove most '#if 0' blocks
344 gateway: merge the olsr_get_ipv{4,6}_inet_gateway functions
345 mdns: fix compilation warnings
346 mdns: fix a compilation warning / copy-paste error
348 improve VERBOSE handling
349 common: fix varargs cleanup
350 pud: fix resource leak
351 pud: fix socket error
352 pud: fix socket error
353 pud: fix position file stat/use race
354 pud: fix getBestUplinkGateway
355 pud: nmealib: fix copy/paste error
356 pud: nmealib: fix buffer overrun
357 pud: nmealib: fix buffer overrun
358 pud: nmealib: fix invalid format string conversion
359 add a COVERITY instructions text file
360 pud: nmealib: fix invalid format string conversion
361 pud: nmealib: fix invalid format string conversion
363 pud: fix checking of downlink message IP version
364 sgwdynspeed: fix resource leak and file stat/use race
365 bmf: explicitly cast fgetc result into a char
366 bmf: do not close an 'error' socket return value
367 bmf: do not dereference NULL pointer
368 httpinfo: do not close an 'error' socket return value
369 httpdinfo: fix resource leak
370 secure: can only work for IPv4, so assert on it
371 secure: do not hard-code a sizeof()
372 secure: decrease a (stack allocated) buffer size
373 secure: use sizeof() of the fields being copied
374 secure: decrease a (stack allocated) buffer size
375 secure: initialise rrmsg correctly
376 secure: can only work for IPv4, so assert on it
377 secure: do not hard-code a sizeof()
378 secure: decrease a (stack allocated) buffer size
379 secure: use sizeof() of the fields being copied
380 secure: decrease a (stack allocated) buffer size
381 secure: initialise crmsg correctly
382 secure: can only work for IPv4, so assert on it
383 secure: do not hard-code a sizeof()
384 secure: decrease a (stack allocated) buffer size
385 secure: initialise cmsg correctly
386 nameservice: fix a resource leak
387 nameservice: fix wrong size argument
388 nameservice: check return value of fcntl
389 nameservice: do not close an fd that is not open
390 nameservice: remove some dead code
391 jsoninfo: fix a resource leak
392 jsoninfo: make sure that uuid is null-terminated
393 jsoninfo: remove some dead code
394 jsoninfo: remove pointless compare
395 mdns: suppress a Coverity warning
396 mdns: remove some dead code
397 mdns: do not close an fd that is not open
398 mdns: do not close an fd that is not open
399 mdns: check return value of inet_pton
400 mdns: check return value of sendto
401 p2pd: do not close an fd that is not open
402 p2pd: do not close an fd that is not open
403 p2pd: remove some dead code
404 bmf: do not close an fd that is not open
405 pud: remove some dead code
406 quagga: explicitly ignore return value of fcntl
407 tas: fix a memory leak
408 txtinfo: remove some dead code
409 main: fix an Out-of-bounds access
410 cfgparser: fix some memory leaks
411 cfgparser: fix a copy/paste error and resulting memory leak
412 cfgparser: fix dereference before assert
413 linux: apm: fix retry opening of apm proc file
414 olsr_switch: fix a memory leak
415 lq: make sure that info_head != NULL
416 lq: make sure last_ip != NULL
417 android: fix type punning warning
418 pud: fix alignment warning
419 gateway: initialise the handler before setting up the tunnel
420 gateway: cleanup: free the allocated memory cookie
421 gateway: ensure cleanup uses the reverse order of init
422 gateway: minor simplification in olsr_delete_gateway_entry
423 gateway: allow immediate removal of a gateway entry
424 gateway: split olsr_delete_gateway_entry
425 gateway: walk the gateway tree to properly cleanup
426 linux: sanitise ACPI battery data
427 defs: fix strscpy null pointer dereference
428 tas: lua: official source code for 5.0.2
429 tas: lua: run gnu-indent.sh script
430 cleanup, 1. step (to get some local changes away):
431 * added -Wcast-qual: this killed lots of unnecessary type-casts
432 Fix sytax errs and line break quirks for gnu-indent
433 ARM alignment warnings fixed
434 Patch ALIGN_NOWARN_ARM macro for better priority handling.
435 use the POSIX standard '__linux__' macro instead of 'linux'
436 tas: lua: run gnu-indent.sh script
437 tas: lua: sync up to official source code with fixes
438 Merge branch 'lua-official-502'
439 cookie: an array already is a pointer
440 cookie: add an assert
441 Revert "httpdinfo: fix resource leak"
442 httpinfo: add a comment about why the client socket is not closed
443 gateway: minor optimisation
444 gateway: improve cleanup
445 gateway: rename gw_mem_cookie to gateway_entry_mem_cookie
446 gateway: add a define for the tunnel name
447 gateway: stub out olsr_print_gateway_entries on #ifdef NODEBUG
448 duplicate_set: stub out olsr_print_duplicate_table on #ifdef NODEBUG
449 link_set: stub out olsr_print_link_set on #ifdef NODEBUG
450 mpr_set: stub out olsr_print_mpr_set on #ifdef NODEBUG
451 routing_table: stub out olsr_print_routing_table on #ifdef NODEBUG
452 tc_set: stub out olsr_print_tc_table on #ifdef NODEBUG
453 two_hop_neighbor_table: stub out olsr_print_two_hop_neighbor_table on
455 hna_set: stub out olsr_print_hna_set on #ifndef NODEBUG
456 hna_set: stub out olsr_print_hna_set on #ifdef NODEBUG and fix
457 neighbor_table: stub out olsr_print_neighbor_table on #ifndef NODEBUG
458 neighbor_table: stub out olsr_print_neighbor_table on #ifdef NODEBUG and
460 use INET_ADDRSTRLEN and INET6_ADDRSTRLEN instead of magic constants
461 gateway: only remove a tunnel when there is one
462 gateway: rename a variable
463 gateway: minor improvement in NULL comparisons
464 hna_set: olsr_ip_prefix_to_string outputs a wider string
465 gateway: refactor olsr_set_inet_gateway
467 win32: use #ifdef _WIN32
468 Makefile: fixup some forgotten make command prefixes
469 Makefile: add gui target
470 Makefile: always pass VERBOSE to the make command
471 gui: linux: minor Makefile fixup
472 gui: linux: clean and install are phony targets
473 gui: linux: add VERBOSE handling
474 gui: linux: fix some 'may be used uninitialized' compiler warnings
475 gui: linux: use toplevel make options
476 gui: linux: fix some 'noreturn' compiler warnings
477 gui: linux: fix some 'discards const qualifier' compiler warnings
478 gui: linux: fix some 'old-style function definition' compiler warnings
479 gui: linux: fix 'too few arguments to function ipc_connect' compiler
481 gui: linux: fix a 'mixed declarations and code' compiler warning
482 gui: linux: fix some 'unused parameter' compiler warnings
483 Revert "gui: linux: fix some 'may be used uninitialized' compiler
485 gui: linux: fix some 'may be used uninitialized' compiler warnings
486 gui: linux: fix some 'shadow' compiler warnings
487 gui: linux: fix inccorrect sizeof()
488 gui: linux: fix string buffer overflow
489 gui: linux: fix string buffer overflow
490 gui: linux: fix the string buffer overflow better
491 gateway: simplify stopping the cleanup timer
493 main: do not seed the random number generator with the process id
494 win32: remove unused getpid() function
495 hna_set: explicitly cast to (time_t *) in calls to localtime()
496 neighbor_table: explicitly cast to (time_t *) in calls to localtime()
497 main: improve random number generator seed
498 bmf: do the minimum length check earlier
499 changelog: update to current state
500 print_packet: fix wrong use of sizeof()
501 main: remove -dispin and -dispout command line options
502 main: add release script
503 Update version after release of v0.6.4
504 Changelog: remove 0.6.5 preliminary changelog
505 Merge branch 'release-0.6.4'
506 bmf: check minimumLength against buffer size
507 sgwdynspeed: put plugin config in olsrd.conf.sample
508 pud: put plugin config in olsrd.conf.sample
509 cookie: raise the number of cookies
510 pud: enable dynamic polling of the position file
511 gateway: only check smart gateway configuration on linux
512 linux: put #ifdef __linux__ around code
513 doc: add doxygen documentation generation
514 doc: fix common documentation tags
515 doc: fix linux specific documentation tags
516 doc: fix unix specific documentation tags
517 doc: fix bsd specific documentation tags
518 doc: fix win32 specific documentation tags
519 doc: do not generate documentation for gui code
520 release: move the stringTrim function up a bit
521 release: make gitIsGitDirectory do the correct thing
522 release: fix usage of literal dot in regular expressions
523 release: move into the base directory earlier
524 release: convert some code into checkIsOlsrdGitCheckout function
525 release: convert some code into checkGitSigningKeyIsConfigured function
526 release: convert some code into getPrevRelTag function
527 release: the script can now also create a release branch
528 Merge branch 'release-0.6.4' into mmmm
530 pud: change java include path to generic java include path
531 pud: java make target is dependent on library make target
532 doc: clean up the latex directory if empty
533 Revert "linux: name is required to be non-null in
534 olsr_os_cleanup_iptunnel"
535 gateway: fix a revert problem
536 android: fix the path of the tunnel node in the /dev tree
537 gateway: fix stable count dampening in gw_default_timer
538 gateway: always select a new gateway when threshold != 0
539 main: add -pidfile command line option
540 main: fix pidfile compilation on windows
542 Frank de Brabander (4):
543 New feature: support for Linux NL802.11 wireless link information in cost
545 Merge branch with new lq plugin for NL80211 support
546 Incorporate fix by Ferry Hubert for float to double promotion
547 Fix optional compilation of the nl80211 lq plugin
549 Hans-Christoph Steiner (9):
550 use the POSIX standard '__linux__' macro instead of 'linux'
551 use the Microsoft standard '_WIN32' macro instead of the self-defined
553 olsrd-adhoc-setup: use static BSSID by default to assoc. with the right
555 olsrd-adhoc-setup: configure NetworkManager to be nice when adhoc is
557 fix misspelling: 'adress' --> 'address'
558 fixed misspelling: usefull -> useful
559 add gcc hardening flags to linux-gtk GUI
560 android: update to use gcc 4.6, available starting with NDK r8
561 android: gcc 4.6 comes with NDK r8b and is not in NDK r8
564 Pud: Do not use the variable name strlen.
565 Fix buffer overflow in mdns plugin
566 Add -Werror=format-security
567 Add VERBOSE flag to makefile to display full gcc commands
568 Fix slightly insulting error message.
569 Moved regex library to a makefile of its own to solve the issues with
571 fix control flow if kill() command fails to end program
572 fix wrong sizeof() parameter
573 Convert allocated memory into temporary variable
574 Protect against stupid data from ACPI
575 Close socket if bind() fails.
576 Merge branch 'master' of http://olsr.org/git/olsrd
577 Use strscpy instead of strncpy.
578 Check inet_pton return value
579 Close file descriptor if error happens
580 Fix scanf() format vulnerabilities
581 Fix command line parsing macro
582 Fail in IPC initializationis always fatal.
583 fail of non-blocking netlink socket is not fatal
584 Declare olsr_exit() as noreturn
585 Interface will always be found.
586 no hostroute possible in this if() branch
587 reset link timer if not set
589 Cleanup error handling in ipc_init()
590 Remove unnecessary asserts
591 Make sure calculated header length does not skip over buffer
592 Fix multicast join for IPv6
596 mDNS: Skeleton code for new host filter feature in mDNS plugin
597 mDNS: Upgrading the container_of.h that was backported from src/common in
599 mDNS: Fix most of the warnings from the compiler
600 mDNS: Update checksum field of the IPv4 Header after altering TTL
601 mDNS: trivial debug print fix and code readibility improvement
602 mDNS: Change version of mdns plugin to 1.0.1 after GSoC 2012 work by
604 mDNS: init ListOfFilteredHosts in the proper place and not at every
606 mDNS: trivial, removed TODO from code for something that was implemented
607 mDNS: better debug support for filtered hosts feature
608 mDNS: Fixed typo in README
609 Revert "mDNS: init ListOfFilteredHosts in the proper place and not at
610 every received packet"
611 Merge remote-tracking branch 'origin/mDNS-plugin-GSoC-2012'
613 0.6.4 --------------------------------------------------------------------
615 Bugfix and plugin release 0.6.4
616 - Update of Smartgateway system
617 - small updates to several plugins
618 - lots of updates for PUD plugin
620 0.6.3 --------------------------------------------------------------------
622 Bugfix and plugin release 0.6.3
624 - PUD plugin (position update plugin)
626 - sgwdynspeed plugin (select dynamic smart gateway based on gw speed)
627 - Update on Quagga plugin (for new Quagga)
629 - Some fixes for GTK and Win32 gui
630 - Lots of core fixes to support new compiler warnings
632 0.6.2 --------------------------------------------------------------------
634 Bugfix release for 0.6.1
636 - Compatibility for Linux kernel 3.x
637 - Lots of small fixes
638 - reworked makefile output
639 - updates for some plugins
640 - repair for Smartgateway feature
642 Read GIT changelog at http://olsr.org/git to see a complete history.
644 0.6.1 --------------------------------------------------------------------
646 Bugfix release for 0.6.0
648 Markus Kittenberger <Markus.Kittenberger@gmx.at>
649 - Major bugfix for the neighbor table when a neighbor gets a new main IP.
650 - add /interface command to txtinfo, allow multiple commands per request
652 Henning Rogge <henning.rogge@fkie.fraunhofer.de>
653 - wait up to four seconds for aquiring the OLSRd lock. This helps to
654 shutdown OLSRd with a script and restart it at once (kill <pid> is
655 asynchrone, and kill -w is not available in busybox)
656 - add md5 has of all source/headers into version string
658 Mitar<mitar@tnode.com>
659 - lot's of small changes for Android. Slowly Android gets a fully
660 supported platform for OLSRd.
662 and a lot more small bugfixes. Read GIT changelog at http://olsr.org/git
663 to see a complete history.
665 0.6.0 --------------------------------------------------------------------
667 Change in version number system. No more -rcX for release candidates and
668 -rX for bugfix releases. In future bugfix releases or updates of plugins
669 will increase the third digit of the version string while feature releases
670 will increase the first and/or the second one.
672 Markus Kittenberger <Markus.Kittenberger@gmx.at>
673 Henning Rogge <henning.rogge@fkie.fraunhofer.de>
674 - added NIIT kernel module support for sending IPv4 traffic over
675 IPv6 mesh networks. See README-Olsr-Extensions for more information.
676 - added SmartGateway support. OLSRd can now automatically build
677 IPIP tunnels towards the gateway to prevent gateway flapping.
678 See README-Olsr-Extensions for more information.
679 - complete rewrite of linux netlink routing code. New code should be
680 more understandable and easier to debug/improve.
682 Teco Boots <teco@inf-net.nl>
683 - new dyngw plugin. More flexible and more features.
684 - new p2pd plugin (generalized mdns plugin)
686 Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
687 - new version of quagga plugin (with IPv6 support !)
689 Sven-Ola Tuecke <sven-ola@gmx.de>
690 - fixes for improved uClibc support
691 - fixes for better linux kernel 2.4 support
693 Saverio Proto <zioproto@gmail.com>
694 - new mdns plugin. (backport from master branch)
696 Eric Tromps <erik_tromp@hotmail.com>
697 - new version of bmf plugin. NO pthreads are necessary anymore
699 and a lot more small bugfixes. Read GIT changelog at http://olsr.org/git
700 to see a complete history.
702 0.5.6-r8 ---------------------------------------------------------------------
704 Alina Friedrichsen <x-alina@gmx.net>
705 - patch for using deticated output socket for OLSR packages. This allows
706 to set the src-ip of OLSR packages, which is useful for interfaces
709 Bruce Ford <fordbr@gmail.com>
710 - fixes for compiling olsrd for win32
712 Henning Rogge <henning.rogge@fkie.fraunhofer.de>
713 - fix for memoryleak during MID processing
714 - patch series for "network logoff" of OLSRd, other nodes now get
715 notified if an OLSR node switch down to remove it from their database.
716 - cleanup of naming conventions for settings src/dst-ips of OLSR-packets
717 for ipv4/6. See example config files.
718 - patch to ignore HNA4 for IPv6 and HNA6 for IPv4
720 Markus Kittenberger <Markus.Kittenberger@gmx.at>
721 - patch series for MID handling cleanup
722 - compiletime switch for txtinfo to always allow localhost access
723 - add "InterfaceDefaults" section to config files to allow setting values
724 which are shared by all interfaces but can be overwritten in specific
726 - patch series to allow OLSRd handle multiple config files
727 (multiple "-f <cfgfile>" options)
729 0.5.6 ---------------------------------------------------------------------
731 PATCHES and BUGFIXES from Henning Rogge <rogge@fgan.de>
732 - Bugfix for fragmented TC sequence numbers
733 - eliminate second timer for edge garbage collection (aka border code).
735 - fix for jitter calculation
736 - refactor linkset code
737 - add netsimpcap, a network simulation device
739 - fix for possible overflow in fpm plugin
740 - prevent Originator-IP from changing during runtime
741 - fix several compiler warnings
742 - fix hanging TC entry from lost onehop neighbor
743 - fix drop package with same seqno in etx_ff
744 - fix segfault in parsing HNA package with bad netmask
745 - fix avl_comparator for route_paths
746 - fix alignment problem in packet buffers
747 - fix: segfault in neighbor/neighbor-2 table
748 - fix: lqmult default parsing
749 - HACK: MinTCVTime parameter hack for Berlin FF network...
750 feel free to ask on the mailing list.
751 - add Watchdog plugin
752 - add explicit runtime lock for OLSR.
753 - remove lq-hysteresis for tc on the receiver side.
754 - enhance protection against malformed packages to prevent
755 OLSR parsing uninitialized data. Thank you Markus and Keks for the LONG
757 - block tc-redundancy 0/1, it doesn't work with the current dijkstra code
758 - convert httpinfo/txtinfo/dotdraw to nonblocking and autobuf to
759 prevent blocking outgoing connections
760 - fix some bugs with lq-mult
761 - fix bug in duplicate set sequencenumber handling
762 - add Debian/KFreeBSD support (Thanks to Holger Levsen and friends for help)
763 - fix segfault in 'interface lost' monitor
764 - add LQ hysteresis to etx-ff metric
766 PATCH from Markus Kittenberger <Markus.Kittenberger@gmx.at>:
767 - txtinfo plugin: add more http options
768 - allow configuration of OLSR UDP port
769 - allow configuration of proto Tag for Routes (RtProto)
770 - add fallback policy rule (priority 65536) if RtTable is used,
771 to ensure that routes can be added to this table
772 - resolve many error conditions while adding routes to the linux kernel
773 (Warning this will also delete any conflicting routes made by other routing daemons or admins)
774 - interface modes mesh (default) and ether (no retransmit of olsr-messages back into a broadcastdomain)
775 - fix olsr_times() to handle different OS implementations (Linux, BSD, OS X)
776 - fix several compiler warnings
777 - fix olsr_times() to handle different OS implementations (Linux, BSD, OS X)
778 - create policy rule later during startup
779 - send MID also with one interface, if its ip different from originator-id
780 - linux rtnetlink code cleanup
781 - workaround: generate routes to single hop neighbours on the fly when inserting routes via them
782 (active only with fib_metric=flat)
783 - testing: insert routes with source-ip set to originator ip
784 - testing: syslog numbering (e.g. useful to detect lost syslog messages when using remote-syslog)
785 - testing: custom library path (default /usr/testlib)
786 Testing features must be activated in olsr_cfg.h before compiling olsrd.
787 This features are used to run a test network in Vienna parallel to the existing
789 - more RT-Netlink cleanups and fixes
790 - backport of timejump patch from TIP
791 - Add detection for vanishing interfaces to Linux netlink code
792 - fix incorret route sorting on new neighbours. use only delete and add/change avl tree,
794 - learn neighbours interface alias address from received hellos
796 PATCHES from Hannes Gredler <hannes@gredler.at>:
797 - add small valgrind howto
798 - remove the per tc_edge timer
799 - add some basic infrastructure for cookies
800 cookies are used to track usage of timer and memory resources
801 - add a lightweight memory manager to reduce malloc() churn.
802 - eliminate data field from avl_node and list_node and
803 replace this via inline recasts
804 - add indentation dotfile for future code cleanup
805 - refactor the timer implementation, get rid of timeout functions
806 all manipulations done in constant time.
807 - use calloc rather than malloc for lazy callers
808 - log RIB add/del transactions only if there is an actual route change
809 - fix to to always insert a HNA Net when receiving a HNA refresh
810 - fix delete all routes if the last IP address is gone
811 - reduce TC vtime jitter from 25% down to 5%
813 PATCHES and BUGFIXES from Sven-Ola Tuecke <sven-ola@gmx.de>:
814 - add a fixed-point math implementation, which saves
815 a great deal of CPU on embedded devices
816 - fix for Link quality dijkstra limit
817 - nameservice plugin supports mac addresses
818 - fix fork/restart code
819 - fix olsr_times() to handle different OS implementations (Linux, BSD, OS X)
820 - fix several compiler warnings
821 - fix olsr_times() to handle different OS implementations (Linux, BSD, OS X)
822 - add makefile support for google android
823 - fix default olsrd.conf examples
825 PATCHES and BUGFIXES from Aaron Kaplan <aaron@lo-res.org>:
826 - fix openbsd warnings / compile errors about sprintf strcpy
827 - fix string overflow in dyn_gw plugin
828 - fix string overflow in pgraph plugin
829 - fix openbsd/osx coompile errors
831 BUGFIX by Peter Tarjan <peter.tarjan@birdtelecom.hu>:
832 - Do not remember LQ information UNSPEC_LINK neighbors in Hellos.
833 - ignore UNSPEC link for linktype if there is an ASYM/LOST/SYM Link in the
835 - ignore UNSPEC_LINKS during MPR lookup
836 - broken MID route handling: we also check the data structures for routing,
837 even if a MID entry exists.
839 BUGFIX by John Hay <jhay@meraka.org.za>:
840 - FIX: IPv6 MTU in BSD
841 - Another BSD ipv6 Patch by John Hay
842 - fixes for 64 Bit FreeBSD
846 BUGFIX from Erik Tromp <erik_tromp@hotmail.com>:
847 - update in bmf due to new flags field in tc_edge_entry
849 PATCH from Clemens Hopfer <datacop@inode.at>:
850 - dot_draw plugin: close the connection after graph output.
852 PATCH from Joe Gio <joezgio@gmail.com>:
853 - track if AC power is connected/disconnected
855 PATCH from Hagen Paul Pfeifer <hagen@jauu.net>:
856 - import jenkins hash for good hash calculations
858 PATCH from Andres Ambrois <andresambrois@gmail.com>:
859 - nameservice plugin: add parameters for SIGHUPing other daemons, or calling scripts
861 BUGFIX by Benny Tops <b.tops@mindef.nl>:
862 - fix wrong order of drop_tc checkt in olsr_input_tc
865 - fix bison problem for OpenWRT
868 - add LISTEN parameter for httpinfo/txtinfo/dotdraw
870 0.5.5 ---------------------------------------------------------------------
872 BUGFIX from Andreas Jacobs <andjac@kawo1.rwth-aachen.de>:
873 - calculate correct sleeptime
875 BUGFIX from Dario Borriello <dario_bodj@hotmail.com>:
876 - do not update LQ if not configured
878 BUGFIX from Jo-Philipp Wich <freifunk@wwsnet.net:
879 - fix olsr_ip_to_string() buffer quirk
880 - fix txtinfo format quirks in HNA table
881 - name-service plugin - write MID entries to hosts file
882 - avoid infinite loop in the message parser
884 PATCH by John Hay <jhay@meraka.org.za>:
885 - compile clean on FreeBSD
886 - bugfix: do not account for IP headers when building MID6 messages
888 PATCHES from Henning Rogge <rogge@fgan.de>:
889 - join LQ and non-LQ Hello execution paths
891 PATCHES from otti <otti@wirdorange.org>:
892 - rttable-default: configures a new policy routing table for the default route
894 BUGFIXES and PATCHES by Sven-Ola Tuecke <mail2news@commando.de>:
895 - Windows Vista: add interface metric to SPF computed metric
896 - lqtc-seqno: Optimize check for old seqno numbers in LQTC messages
897 - lqnatthresh: maintain an advantage for the current (NAT) inet gw
898 - fisheye-startup: Changed to MAX_TTL for the first 32 LQTCs
899 - Added and removed files necessary for win32 compile
900 - Fix for hg: do not remove anything in .hg with 'make uberclean'
901 - 104-olsrd-verysmallfix
902 - 105-fix-lq-buffer-quirks
905 - 121-olsrd-fib-metric-approx
907 - 136-optimize-invalidip-check
908 - 138-optimize-message-generation
910 BUGFIX from Lorenz Shori <lorenz.schori@gmx.ch>:
911 - Mac OSX compile fixes
913 BUGFIXES and PATCHES by Hannes Gredler <hannes@gredler.at>
914 - fix not deleted tc entry.
915 - avoid setting routes with an invalid/impossible netmask.
916 - refactoring of TC parsing to kill another pile of malloc()/free()s
917 saving (again) code and especially run.time performance.
918 - RIB Refactoring, Part 2:
919 - avoid the periodical rib-tree insertion
920 - add a FOR_ALL_HNA_RT_ENTRIES() macro for the snmp folks
921 (or any parties who want to walk HNA entries).
922 - add an olsr_cnf option 'flat_fib_metrics' which defaults to TRUE.
923 - fix broken prefix insertion (regression of the RIB refactoring)
924 - squelsh compiler warnings on Mac OSX
926 PATCH by John Hay <jhay@meraka.org.za>:
927 - also printout our own HNAs in the dotdraw plugin.
929 PATCH by Patrick McCarty <mccartyp@gmail.com>:
930 - fixed compile errors in the BSD port
932 PATCHES by Sven-Ola Tuecke <mail2news@commando.de>:
933 - 102-olsrd-cvs-fixes.patch: use different buffers in the same printf()
934 - 103-olsrd-rt-exportroute-cleanup.patch: avoid a malloc()ed list of functions
935 - 132-save-the-fish.patch: really save the fish and avoid to forward invalid
936 messages from older olsrd versions
937 - 135-georss-map-for-nameservice.patch: fixes and extensions for the namesaervice plugin
938 - 138-olsrd-fixdotdraw.patch: fix the dot_draw plugin
939 (all to be found on http://download-master.berlin.freifunk.net/sven-ola/nylon/packages/olsrd/files/)
940 - Replaced "which" with a /bin/sh script snippet
942 PATCHES and CLEANUPS by Bernd Petrovitsch <bernd@firmix.at>
943 - Jens Nachtigall <nachtigall@web.de> suggested (and reminded) to use
944 olsrd.conf.default.lq as the default installed one.
945 It makes much more sense as - to the best of my(bernd's) knowledge - all
946 larger networks uses the LQ extensions. And new customers should better
947 be pushed in that direction.
948 - with the help of Patrick McCarty <mccartyp@gmail.com>, we got olsr to build
950 * OpenBSD'd `sed` is pretty conservative and doesn't understand 's|re|sub|'.
951 So we fall back to the old 's/re/sub/' and quote all '/' and '.' correctly
952 (which was the main reason to use '|').
953 And while I'm at it: Remove the useless $(CCACHE) from the $(CC) for
954 dependency generation and beautify (read: "$(strip)") $(CPPFLAGS).
955 * OpenBSD needs an explicit "#include <sys/types.h>" before
956 "#include <netinet/in.h>".
957 - fixed lib/secure/src/md5.h: This was broken as it had
958 "typedef unsigned long int UINT4;". "unsigned long int" is 8 bytes on x86_64.
959 We are using now the standardized types from <inttypes.h>.
960 - fixed warnings and improved lib/secure/src/md5.c:
961 * we are using memcpy() and memset() instead of the open-coded loops as
964 * added function prototypes for static functions
965 * moved static functions to the top so that their declaration is before
966 their use to allow gcc to inline if only used once.
967 It remains ugly - God knows why there are that so many useless
969 - Some minor and trivial cleanup: Added two functions to calculate the ETX
970 value from a struct tc_edge_entry and a struct link_entry, respectively.
971 And use them everywhere.
972 - added http://meshcube.org/nylon/utils/olsr-topology-view.pl into
973 lib/httpinfo/misc as suggested by Jens Nachtigall <nachtigall@web.de>
974 - Killed "struct olsrd_config *cnf" in src/cfgparser/olsrd_conf.h and replaced
975 it's usage with "olsr_cnf" from src/defs.h.
976 Serious cleanup: olsrd_get_default_cnf() does no longer initialize the global
977 "cnf" variable" but uses a local one which is returned as before. And
978 olsrd_parse_cnf() does no longer return the global variable it is working on.
979 - Merged "struct hna4_entry" and "struct hna6_entry" into
980 "struct local_hna_entry" (as "struct hna_entry" is a different thing)
981 Both have almost the same data (IP address + netmask/prefix) so we use
982 the quite new "struct olsr_ip_prefix" to store it.
983 Also merged the "hna4" and "hna6" pointer in "struct olsr_config" -
984 look at the global "olsr_cnf->ip_version".
985 - added a olsr_ip_prefix_to_string() function
986 - .h file cleanup: def.h does not longer include net_olsr.h because it
988 - more type safety: the macros COPY_IP() and COMP_IP are gone and replaced
989 with "=" or similar "normal" C operations. There are also now the inline
990 functions ip4cmp() and ip4equal() to work on "struct in_addr", ip6cmp()
991 and ip6equal() to work on "struct in6_addr" and ipcmp() and ip6equal()
992 to work on "union olsr_ip_addr".
993 Most (or even more precise: almost all) uses of COPY_IP() and COMP_IP()
994 are in "if (olsr_cnf->ip_version) { ... } else { ... }" anyway to
995 there is no reson to copy an IPv4 address effectively with
996 "memcpy(&dst, &src, 4)" or compare with memcmp(&a, &b, 4)" wher the
997 always "4" is stored in a variable inhibiting compiler optimization.
998 There is also the deprecated function genipcopy() mimicking the old
999 typeless COPY_IP() macro for the last few places where a cleanup is
1001 There also lots of old macros left over (commented out of course) until
1002 we are confident that everything works. And then I will kill them too.
1003 - Fixed the misleading definition of "v4" in "struct olsr_ip_addr" fom
1004 "olsr_u32_t" (in network-byteorder!) to "struct in_addr". Lots of
1005 temporary variables to call inet_ntoa()/inet_ptoa() vanished .....
1006 - We have now ip4_to_string(), ip6_to_string() and olsr_ip_to_string()
1007 to print a "struct in_addr", "struct in6_addr" and "union olsr_ip_addr"
1008 into a string buffer.
1009 - cleanup: olsr_ip_to_string() and similar non-reentrant functions now must
1010 get a target buffer. To ease that, there is the "struct ipaddr_str"
1011 which is large enough for all of them (read: for an IPv6 address). This
1012 also removes the cyclic buffer there.
1013 All of these function return a "const char *" which can be directly used
1014 for printf(3) and friends.
1015 - const'ified more functions
1016 - converted the source to UTF-8.
1017 - "struct sig_msg" uses an olsr_u8_t for a byte array (and not "char")
1018 - force the few inline function to always be inlined.
1019 - #ifdef the body of the olsr_print_hna_set() and olsr_print_neighbor_table()
1021 - declare "int_addr", "int_netmask" and "int_broadaddr" in "struct interface"
1022 as "struct sockaddr_in" since it is that what we actually want there (and
1023 it is similar to the IPv6 code).
1024 - updated the olsrd.conf.default.lq-fisheye to the Debian-deliverd version
1025 after recent discussions olsr-dev@olsr.org
1026 - use "inline_avl_comp_ipv4()" in "avl_comp_ipv4()"
1027 - clean up the routes on more signals. Basically we want to do this on all
1028 signals which terminate the program.
1029 - killed a superflous global buffer in src/main.c
1030 - made inline functions from avl_walk_{first,last,next,prev} and created
1031 "const" versions of it. inline_avl_comp_ipv4() is now also an inline function
1033 - created a typedef's for various function pointers - much easier to read.
1034 - cleanup: compare tree->comp (adn other pointers)) to NULL (and not 0)
1035 - killed superflous "return"s at the end of void functions
1036 - const'ified more parameters in many more functions in the .h and
1038 - init-functions with constant or ignored return values are "void"
1039 - created a typedef fro the callback in "struct export_route_entry"
1041 - moved the initialization of the {add,chg,del}_kernel_list variables
1042 into process_routes.c. So they are now "static" there.
1043 - olsr_export_{add,del}_route{,6} are now static in process_routes.c
1044 since they are not used elsewhere.
1045 - olsr_addroute_add_function() and olsr_deldroute_add_function() were
1046 almost identical - made one function out of it.
1047 Same for olsr_addroute_del_function() and olsr_deldroute_del_function().
1048 - fixed the sort order in avl_comp_ipv4_prefix(): We compare now the IPv4
1049 values in host byte order (and not network byte order). So the route
1050 list in the e.g. httpinfo plugin is now nicely sorted.
1051 - fixed and improved the `gcc-warnings` script:
1052 * support older gcc's (as on Debian/Sarge) as they have slightly different
1054 * removed superflous lines
1055 * replaced the call of `sed` with shell built-in features fixing syntax
1056 errors on Debian/Sarge
1057 * set all locale-relevant variables to "C" (just to be sure)
1058 - consolidated ip{4,6,}{cmp,equal}: all are nwo inline functions using only
1059 the minimal necessary operations. Thanks to Hannes Gredler
1060 <hannes@gedler.at> and Sven-Ola Tuecke <mail2news@commando.de> for pointing
1061 that out and suggesting the `inline`, respectively.
1062 use ip{4,}cmp in lq_avl.[ch] to resue the code. inline_avl_comp_ipv4
1063 is superflous now (and replaced by ip4cmp) and use the global MIN and MAX
1064 macro instead of AVLMIN and AVLMAX
1065 - killed netmasks from the IPv4 part of the code and use the prefixlen there
1066 (similar to thte IPv6 part). Manymore details on
1067 http://lists.olsr.org/pipermail/olsr-dev/2007-November/001464.html
1068 - removed the superflous "open_ipc" field from the "struct olsrd_config" as
1069 it contains only the equivalent of "olsr_cnf->debug_level > 1".
1070 - inspired by Sven-Ola Tuecke: avoid a bash'ism (i.e. "OPTS="${OPTS//$opt}") in
1071 gcc-warnings and ld-warnings. But we do not replace it with `sed` (since it
1072 costs a fork(2) and an exec(3)) but also with shell code which doesn't use
1073 any external program.
1074 - added configuration file support for "flat fib metrics".
1076 0.5.4 ---------------------------------------------------------------------
1078 QUAGGA by Immo 'FaUl' Wehrenberg <immo.olsr@do.bundessicherheitsministerium.de>
1079 - updated to svn version 33
1081 BMF PLUGIN by Erik Tromp <erik_tromp@hotmail.com>
1083 - updated to latest plugin interfaces changes and killed warnings (by Bernd
1084 Petrovitsch <bernd@firmix.at>)
1086 PATCH by Hannes Gredler <hannes@gredler.at> which rewrites the route handling.
1090 - get rid of separate routing tables for HNA and per-node routes, everything is
1091 now unified in an AVL routing tree (&routingtree)
1093 - introduce walking macros (OLSR_FOR_ALL_RT_ENTRIES()) that hide the internal
1094 structure of the RIB for making life of the plugin authors easier.
1096 - get rid of different SPF implementations for LQ and non-LQ code paths. a
1097 non-LQ edge is simply substituted with a cost of 1.0
1099 - get rid of host masks - a new data type olsr_prefix is introduced which is
1100 basically an ip address plus a prefix length.
1102 do not install the metric in the kernel FIB - for the kernel its pointless
1103 if the route gets installed with a metric of N or M.
1105 we do not need to update the kernel FIB if we have hop count only changes
1106 (for example if there is a reroute action further downstream)
1108 the only things which triggers a kernel FIB route update is a next hop
1109 change (a next hop is neighboring gateway router plus an interface).
1111 all OLSR routes are installed with a metric of 2
1113 - separate between rt_entry and rt_path - the former is a route installed in the
1114 kernel with an next hop. the latter is a candidate for best path selection
1115 after SPF calculation has been done. in the rt_entry we keep a pointer to the
1116 best_path and also to the next hop that was installed in the kernel FIB.
1118 we always keep all originator of a route, if a route originator goes away we
1119 can easy recompute the best path for the route.
1121 the next hop in the rt_entry gets only updated upon a successful route_add
1122 call - that way we always remember what next hop to delete.
1124 stray routes should be history now.
1126 - tweak the linked list toolkit to operate on circular lists.
1128 - get rid of malloc calls for building the kernel update list. the list node is
1129 now embedded in the rt_entry.
1131 - introduce three queues (add/chg/del) for kernel updates.
1133 - for neighbor route dependency tracking the neighbor routes are queued first or
1134 last (depending on which queue you work on)
1136 - rework all the plugins which directly manipulate rt entries.
1138 - rework the plugins that read from the routing table (most notably nameserver,
1139 httpinfo and quagga plugin)
1141 - lots of comments that explains the intentions and purpose of this code-piece.
1143 non RT related stuff:
1144 - use a list rather than a tree for storing the post-SPF results, which further
1145 improves the raw-SPF runtime.
1147 - add display of SPF runtime (masked behind #ifdef SPF_PROFILING)
1149 - http://gredler.at/download/olsrd/neighbor_routes3.diff: This updates the own
1150 IP address (read: the main address) after changes (e.g. on
1151 `ifup wlan0; sleep 1; ifdown wlan0`) and kills the
1152 olsr_fill_routing_table_with_neighbors() function.
1154 And Sven-Ola Tuecke <mail2news@commando.de> fixed an instability issue on interface
1155 up/down operations (see 102-olsrd-rt-refactoring-fixes.patch below) and a missing
1158 PATCH by Hannes Gredler <hannes@gredler.at> which "consolidates
1159 the link-state database and the spf-calculation in order
1160 to calculate routes more efficiently".
1161 To quote him (more):
1163 - use the link-state (tc) database for SPF calculations rather than
1164 replicating the notion of vertices and edges for a SPF run.
1165 this heavily reduces malloc() calls and shrinks the total CPU
1166 load of the route calculation path between 60%-80%.
1169 PATCHES by Sven-Ola Tuecke <mail2news@commando.de> to be found on from
1170 http://download-master.berlin.freifunk.net/sven-ola/nylon/packages/olsrd/files/
1171 - 102-olsrd-rt-refactoring-fixes.patch
1172 Because you changed a lot of basics: It's time to handle a general
1173 flaw in the routing system. Plase take a look at chk_if_changed(). This
1174 will free() any "struct interface" pointer without warning at any time.
1175 This is why it's possile to SEGV olsrd with a simple "ifdown xxx".
1176 The patch replaces the (maybe) invalid pointer with an index reference
1177 "iif_index". You can always ask the OS for a name. Please note, that I do
1178 not have a working BSD toolchain, so I've placed an #error in the IPv6
1179 BSD-part where the author/porter has started to hack something funny.
1181 - 110-olsrd-double-wlancard-neigh-hack.patch:
1182 This is a hack for Nodes having to wifi cards with the same channel,
1183 bssid, IP-Range etc. If two nodes can see each other by means of two
1184 possible links (here: two wifi cards with equal config), a bug is triggered
1185 with the Neigh-is-SYM detections. This small little hack prevents this.
1187 - 112-olsrd-nameservice-fixemptyname.patch:
1188 This is an addon to my lat/lon stuff which will prevent olsrd from
1189 running (oops?) if no hostname is given and the nameservice plugin
1192 - 113-olsrd-dyngwplain-pluginvers5.patch:
1193 This updates the dyngwplain plugin to the new Plugin Iface
1195 - 140-olsrd-arprefreshed.patch:
1196 This is a new one. Opens a packet socket and listen to UDP(698), extract
1197 the sender MAC and refreshes the ARP cache whith that. Should speedup
1198 especially in cases, if you initially try to use a longer routing path which
1199 normally triggers a "ARP-Lookup-Chain".
1200 - 106-olsrd-nameserviceparams.patch:
1201 This patch converts more plugins to the new interface version.
1202 - 104-olsrd-policy-routing.patch
1203 Reworked this one to discard GPL helper functions. Also checked IPv6 and
1204 re-included the IPC hookup. The patch adds a "RtTable [number]" for
1205 /etc/olsrd.conf which is simply the Linux
1206 policy routing table to use. Defaults to 254 (== main).
1207 This patch was modified/clenaed up by <bernd@firmix.at> to use "#if"
1208 instead of "#ifdef" as it's more robust against typos.
1209 - 110-olsrd-fixpacketprint.patch, 112-olsrd-nameservice-fixemptyname.patch,
1210 113-olsrd-txtinfo-fixhttpget.patch, 114-olsrd-timeoutlimit.patch,
1211 115-olsrd-nameserviceparamfix.patch and
1212 116-olsrd-fix-pluginparam-addons.patch fixing the compilation warning
1213 on 64bit and lots of other improvements.
1214 - "Save the fish" patch: Avoid forwarding of packets with too low TTL. This
1215 kills lots of packet forwarding storms.
1216 NB: The oneliner was applied by hand by BP and formatted to look (in BPs O)
1219 PATCH by Arnd Hannemann <hannemann@i4.informatik.rwth-aachen.de>
1220 olsr_makefile_make_use_of_exename.patch
1221 - This patch makes sure that the EXENAME variable of Makefile.inc is used
1224 PATCHES by John Hay <jhay@meraka.org.za>
1225 - update to new FreeBSD WLAN API
1226 - do not require /bin/bash, use /bin/sh
1227 - Fixed alignment so that olsrd runs on FreeBSD/arm
1228 - allow more interface in an IPv6 subnet on FreeBSD
1229 - use PREFIX and DESTDIR as all the other Makefile.$OS also for FreeBSD
1230 - make txtinfo plugin work with IPv6
1232 PATCH by Andreas Jacobs <jacobs@i4.informatik.rwth-aachen.de>
1233 - fix the loss link quality calculation for "windows size % 4 != 0"
1235 PATCH by Acinonyx <acinonyxs@yahoo.gr>
1236 - Bug fix: include $(TOPDIR)/Makefile.inc at the begin in the Quagga plugin
1238 PATCH by David Cornejo <dcornejo@gmail.com>
1239 - fixed an "+=" of an uninitialized variable (detected with/by the
1242 BUG reported by Aaron Kaplan <aaron@lo-res.org>
1243 - BSD-xargs doesn't know "-r".
1245 PATCHES and CLEANUPS by Bernd Petrovitsch <bernd@firmix.at>
1246 - Made a function from the ME_TO_DOUBLE() macro (in src/mantissa.h).
1247 This saves code throughout the code even on i386 and will even more
1248 on architectures without floating point units and "-msoft-float".
1249 - And the mathemathics in src/mantissa.h is reformulated to minimize
1250 floating point operations to save CPU power - especially on embedded
1252 - I rewrote the half of src/lq_packet.[ch] which deals with incoming
1253 packets. This was triggered with performance output of gcc produced
1254 by Sven-Ola Tuecke at CCCamp07.
1255 This kills *lots* of (more than) superflous malloc()s and the same
1256 number of (free()s). And it also kills some code and copying around of
1258 - Make it compile without warning with flex-2.5.33 (to be found on Fedora 7
1259 and Gentoo in Sep-2007) again.
1261 - converted the dyn_gw plugin to plugin interface version 5 (which leaves
1262 the quagga plugion as the last with the old one).
1263 - paving the way to activate -Wshadow, much more to do
1264 - const-ify parameters here and there
1265 - use NULL for pointers (and not "0")
1266 - Killed "extern" declarations in (not generated) .c files
1268 - Based on a patch by Gianni Costanzi <gianni.costanzi@gmail.com> (so credits
1269 and thanks have to go there):
1270 added OS_CFLAG_PTHREAD Makefile variable since gcc (on Linux) requests this
1273 - I added definitions to all OS-specific Makefile.$OS with the value similar
1274 to the value in OS_LIB_PTHREAD (either empty or "-pthread").
1275 - The variable is added to CPPFLAGS (and not CFLAGS) since CPPFLAGS is used
1276 for all cpp and gcc calls (and gcc's man page indicates that it sets
1277 variables for both of them).
1279 0.5.3 ---------------------------------------------------------------------
1282 Ignacio GarcÃa Pérez <iggarpe@terra.es> found a serious bug in the dot-draw
1283 plugin and identified it's source.
1286 The bmf plugin wanted to kill a not-started thread and this causes a segmentation
1287 violation. This happens if the old plugin interface support is not compiled in
1288 and one uses - or more asccurate: wants to use - the bmf plugin which uses that
1289 ATM. Thanks to Cedric Krier <ced@ced.homedns.org> for reporting this.
1292 The dependencies (*.d files) are now properly generated and used. And they also
1293 dependen on the Makefile in the current directory and the Makefile.inc so that
1294 changes there also lead to new compilation.
1295 Remember: We support "ccache" so install it to save lot of meaningless recompiles
1296 if nothing (as seen by the real C compiler, i.e. after the C preprocessor) has
1300 Linux/IA64 and Linux/HPPA also need "-fPIC".
1303 - olsr_switch does no longer generate warnings
1304 - olsr_switch is also built with "build_all" and cleaned with "uberclean"
1305 - More "const" all over the place.
1306 - More "static" for local functions and variables.
1307 - Killed an unnecessary "static" variable.
1309 0.5.2 ---------------------------------------------------------------------
1312 Sven-Ola Tuecke found a serious bug of the class "show stopper" and sent a patch.
1315 Plugins handle parameters quite individually (case-sensitive vs case-insensitive,
1316 different parsing functions for the same values, etc.). Plugin Interface version 5
1317 now exports a table of { parameter-name, parsing-function, addr-of-storage } and
1318 it's size. Common functions should be shared.
1320 0.5.1 ---------------------------------------------------------------------
1323 Upgrade to olsr-bmf 1.5 from Erik Tromp <erik_tromp@hotmail.com>
1325 latitude/longitude support is now in the nameservice plugin done by
1326 Sven-Ola Tuecke <mail2news@commando.de>
1328 added the spf refactoring patch from Hannes Gredler <hannes@gredler.at> which
1329 saves a noteworthy amount of CPU time. To quote him:
1331 1. use of an AVL tree as a min-heap implementation
1333 as a means for efficient sorting.
1334 (the etx metric is used as the key in the candidate tree)
1336 2. next-hop propagation
1338 rather than tracking the previous node in olsr_relax()
1339 i have changed that model and pre-populate all one-hop neighbors
1340 with their own IP address as 'next-hop' and pull that
1341 pointer up once new paths are explored.
1343 as a result no walker for counting hops and extracting next-hops
1344 is required - it turns out at this is slighly more efficient
1345 than the existing behaviour (even with the cache applied).
1349 * moved a only locally needed hack from "union olsr_ip_addr" into the only place
1350 where it is needed in hashing.c
1352 0.5.0 ---------------------------------------------------------------------
1354 APPLIED PATCHES FROM FREIFUNK-FIRMWARE
1355 libsmake, dyngwplain, nameservices+services, tzxtinfo, quagga, quagga-routehandler,
1356 optimize, fixes from Eric Tromp and Sven-Ola Tuecke, CPU-optimize, secure key, HNA-IP
1359 removed hardcoded limit on the number of interfaces (at least in the Unix part)
1360 made Makefile targets much more consistent
1363 put Bmf-1.3 plugin into it
1365 FreeBSD IPv6 SUPPORT
1367 Patch from John Hay applied.
1371 0.4.10 --------------------------------------------------------------------
1373 OLSR NETWORK SIMULATOR
1375 An application called olsr_switch(sorry for the nameclash with the win32
1376 GUI) has been added. If olsrd is ran using the -hint option it can now
1377 connect to olsr_switch and be part of a virtual network. This means
1378 that multiple instances can be ran at the same host! The olsr_switch
1379 application allows the user to define link variables on all viritual
1380 links in the network, creating all possible topologies. Read more in
1383 EXPERIMENTAL FISH EYE ALGORITHM
1385 An experimental algorithm for TTL settings on TC messages has
1386 been added. Read more in the corresponding README file.
1390 olsrd now also compiles on OpenBSD systems. Thanks a lot to Holger
1391 Mauermann for the patches!
1395 Bruno has rewritten the make system. OS detection is now done
1396 automagically and the general design is much improved.
1398 IP ADDRESS VALIDATION
1400 Olsrd now maintains a set of IP addresses that is considered
1401 invalid. Checks against this set is done on all received
1402 OLSR packets announced originator addresses. The dataset can
1403 be updated dynamically.
1407 Updated interface version to 3 and added more noticeable warning
1408 for version missmatch.
1412 The dependency on the math lib came from the use of pow(3) in the
1413 mantissa/exponent calculation. The calls to pow in this long forgotten
1414 code, was very unnessecarry. The pow calls are replaced with bitwise
1415 shifts and -lm is no longer needed.
1417 ICMP REDIRECTS ON LINUX
1419 On Linux systems "0" is now also written to the all/send_redirects
1420 procfile and not only the pr. interface ones. Hopefully this resolves
1421 problems reported with systems still sending ICMP redirects.
1425 - Fixed init of IPv6 addrtype variable. It used to be uninitialized,
1426 causing it to default to site-local and have some weird side-effects.
1427 - Fixed crash when changing IPv6 address at run-time
1428 - Fixed a bug that prevented setting willingness 0 in the configfile
1429 - Fixed bad handling of missing command line arguments
1430 - Did various updates to prevent assertion when a neighbor
1431 has changed IP and sends HELLO before its olsrd precess has detected
1433 - Fixed return value check on times(2) calls in the scheduler
1434 - Fixed bug(s) that could cause crash when an interface was brought
1435 down while olsrd was running.
1436 - Removed the silent (read: unchecked) hard limit of 16 interfaces.
1437 - Compiles now cleanly on 64bit (e.g. x86_64).
1439 0.4.9 ---------------------------------------------------------------------
1443 The MID database is now also indexed by alias addresses. this makes
1444 look-ups of main addresses based on alias addresses _much_ faster.
1445 The mid_lookup_main_addr function alone has gone from >30% of the
1446 total CPU time used by olsrd to <1%.
1447 PLUGIN DEVELOPERS: datatypes for MID entries has been changed.
1449 Routing table calculation in the LQ case now uses balanced binary
1450 trees instead of linked lists, which makes look-ups much faster.
1452 The debug output function olsr_printf() is not used by olsrd
1453 internals any more. Instead the macro OLSR_PRINTF is to be used.
1454 This macro does debug level testing _before_ doing any function
1455 calls(both printf itself and parameters to printf). This is a much
1456 more optimized way of doing debug output. In addition olsrd can
1457 be built without any debug output code if doing 'make NODEBUG=1'.
1461 Validity times for dataset entries are now set using the clock_t type
1462 (used to be struct timeval). This data is now fetched from the times(2)
1463 function instead of gettimeofday(2). This prevents possible problems
1464 if the system time is changed.
1465 PLUGIN DEVELOPERS: Note that datatypes for close to all dataset entries
1466 (link, neighbor, mid, hna, tc etc.) has been changed!!
1470 Multiple interfaces can now use the same interface configuration block.
1472 Interface "if0" "if1" "if2"
1477 Interface configurations now also support the "Weight" directive. When
1478 olsrd finds multiple links to a neighbor it will choose the link
1479 going via the interface with the lowest weight. Olsrd normally
1480 sets this weight dynamically based on interface characteristics,
1481 but if the user wishes to set a fixed weight in a interface(or
1482 a group of interfaces), this directive is now available.
1484 Moreover, interface configurations now support the "LinkQualityMult"
1485 directive. It takes an IP address and a multiplier as arguments.
1493 LinkQualityMult 192.168.0.1 0.7
1494 LinkQualityMult default 0.5
1499 The idea is to make certain links via the configured interface
1500 artificially worse or better than they really are. The first parameter
1501 specifies the IP address of a neighbour interface. The second
1502 parameter is the multiplier to be applied to the link to the specified
1503 neighbour interface.
1505 After we have derived the link quality from the packet loss among the
1506 packets received from the specified neighbour interface, we multiply
1507 the link quality by the given multiplier. So, the multiplier changes
1508 the LQ value that we use when determining the ETX, which is 1 / (LQ *
1511 If "default" is given as the IP address then the multiplier applies to
1512 all links via the configured interface. Note, however, that olsrd only
1513 assigns one multiplier to each link. It does so in the following way.
1515 * If there is a "LinkQualityMult" line that matches the IP address of
1516 the link's neighbour interface, then use the multiplier in this
1519 * If there isn't any matching line, then look for a "default" line. If
1520 there is a "default" line, then use the multiplier in this "default"
1523 * Otherwise use 1.0, i.e. do not modify the LQ value at all.
1525 Hence, a line with an IP address has priority over a "default" line.
1527 In the above example, the LQ value of the link between the local
1528 interface if0 and the neighbour interface 192.168.0.1 would be
1529 multiplied by 0.7. All other links between the local interface if0 and
1530 a neighbour interface would be multiplied by 0.5.
1534 The socket option IPV6_V6ONLY is now set on IPv6 sockets in linux.
1535 This means that olsrd will no longer receive IPv4 traffic when
1536 running in IPv6 mode.
1537 This should enable users to actually run one olsrd instance using
1538 IPv6 and one using IPv4 at the same time :)
1542 The httpinfo, dyn_gw and dot_draw plugins now all include olsrd
1543 headerfiles directly. A plugin should define OLSR_PLUGIN before
1544 including olsrd headers. Doing things this way removed the
1545 redundant datatype definitions that has so often caused trouble
1546 when things has been updated in olsrd.
1550 olsrd now also compiles on NetBSD systems. Use 'make OS=nbsd' to
1551 build. This port is not very well tested and feedback is greatly
1554 EXPERIMENTAL MULTI-INTERFACE CODE FOR FREEBSD
1556 Experimental code using libnet can be compiled in allowing multiple
1557 interfaces to be used in FreeBSD. You enable this by compiling using
1558 OS=fbsd-ll. You must have libnet-devel installed for this to work
1559 (/usr/ports/net/libnet-devel).
1563 - WLAN devices are now detected in FreeBSD
1564 - First specified interfaces IP is used as main address.
1565 - Broadcastflag is not checked on interface if fixed broadcast is
1567 - Removed Linux link layer code as this was not really in use.
1568 - Added -nofork command line option
1572 - Link sensing now works according to announced vtime from
1573 neighbors. Previously links going symmetric->asymmetric
1574 were not necessarily detected until the holding time expired.
1575 - A bug in route addition/removal that could lead to routes
1576 using GWs being added before the actual route to the GW
1577 was set up, has been fixed.
1578 - A bug in the interface selection in route calculation has been
1579 fixed. New routes are no longer added prior to deleting old ones,
1580 since this caused trouble.
1581 - A bug in the IPv6 multicast address configuration has been fixed.
1582 This caused olsrd not to work with global IPv6 addresses.
1583 - A bug in the IPv6 prefix-from IPaddr function has been fixed. This
1584 bug caused HNA prefixes to always be calculated to 0.
1585 - If a 2-hop neighbor is also a 1-hop neighbor, a bug made olsrd
1586 prefer a bad direct link to a better link via an MPR.
1587 - If a link or interface lookup failed, olsrd crashed.
1588 - Fixed a crash in the LQ packet generation code based on a
1589 signed/unsigned integer comparison.
1592 0.4.8 ---------------------------------------------------------------------
1596 Olsrd is now distributed under a BSD style license. We believe olsrd will
1597 be better off using this license as it opens up for commercial players
1598 to use olsrd freely in their products. In the end this will lead to
1599 this kind of users doing serious testing and bug fixing of olsrd.
1601 ETX-LIKE LINK QUALITY DETECTION
1603 We can now determine the packet loss on a link by looking at the serial
1604 numbers of the OLSR messages received from a neighbor. This tells us how
1605 many packets get through from our neighbor to us. We use a new extended
1606 kind of HELLO messages (LQ_HELLO messages, LQ = link quality) to broadcast
1607 the link quality that we have determined on our end of the link to our
1608 neighbors. So do our neighbors, and we as well as they end up with an
1609 idea of how good the link is in both directions. From the LQ_HELLOs we
1610 also learn the link quality between our neighbors and our two-hop neigh-
1611 bors. In this way we can select those neighbors as MPRs that have the
1612 best links to our two-hop neighbors. To distribute the link quality
1613 throughout the network, we use a new extended version of TC messages
1614 (LQ_TC messages). They contain the qualities at both ends of each of our
1615 links. Nodes can then run Dijkstra's algorithm to find a path between
1616 themselves and other nodes that minimizes the packet loss.
1618 If the newly introduced "LinkQualityLevel" is set to zero in the
1619 configuration file, link quality is not used and the daemon behaves as
1620 before, i.e. as specified by the OLSR RFC. If this parameter is set
1621 to 1, LQ_HELLOs and LQ_TCs are used instead of HELLOs and TCs, link
1622 quality is measured and MPRs are selected based on the link qualities.
1623 If this parameter is set to 2, the routing table is additionally
1624 calculated based on the link qualities.
1626 Setting "LinkQualityLevel" to a non-zero value BREAKS COMPATIBILITY. You
1627 will then not be able to participate in RFC-conformant OLSR networks
1628 any longer. This is because we use LQ_HELLOs and LQ_TCs instead of HELLOs
1629 and TCs in this case.
1631 It's best practice to set "LinkQualityLevel" to the same value on all
1634 When determining the quality of a link olsrd only considers a given
1635 number of most recent OLSR packets received from its neighbors. By
1636 default, olsrd looks at the 10 most recent OLSR packets. This can be
1637 changed via the "LinkQualityWinSize" configuration option. Values
1638 between 3 and 128 are legal.
1640 NEW CONFIGFILE PARSER/FORMAT/SCHEME
1642 A whole new config file syntax and parser is introduced with this
1643 release. The parser is generated using flex and bison and it is
1644 designed to be very modular. The parser can be compiled as either
1645 a standalone binary, a shared library or as part of olsrd. This way
1646 other applications can parse and generate olsrd configuration files
1647 only by linking to the dynamic library.
1648 In the new configfile options can be set pr. interface, plugin
1649 parameters can be set, more IPC options can be set...and more.
1650 The syntax is documented in the olsrd.conf(5) manual page found
1651 in the files/ directory.
1652 Olsrd internals now uses a single struct, as returned by the config
1653 parser, for all configuration in runtime. this means that updating
1654 values in this struct will dynamically update olsrd operation. It
1655 also means that all configuration is now kept in one place instead
1656 of spread all across the place.
1658 FREEBSD AND MAC OSX PORT
1660 This version offers an initial port of olsrd to FreeBSD and Mac OS
1661 X. Like the Windows port it currently does not support IPv6. As this
1662 is a very first try at supporting FreeBSD and Mac OS X, this port is
1663 probably not as reliable as the Linux version. We'd greatly appreciate
1664 feedback and bug reports. To compile you need GNU make. Then simply
1665 run "gmake OS=fbsd" to build the executable.
1669 The makefiles used to build olsrd have been rewritten and now includes
1670 dependency file generation using makedep.
1674 Tables are now only printed if changes occur, so there are no longer
1675 any periodical output when using a debuglevel >0. A "heartbeat" is
1676 now printed to STDOUT(if it is a terminal) in the form of a rotating
1677 line to show that olsrd is actually operating.
1678 Adding "ClearScreen yes" to the configuration file clears the screen
1679 each time before the debug output shows updated information. This
1680 makes the debug output easier to read in many cases. "ClearScreen no"
1681 is the default, if no "ClearScreen" directive is given in the
1686 There are some changes in the plugin interface. It is now at
1687 version 2. Plugin specific parameters from the configfile
1688 using the PlParam option, will now be passed on to plugins.
1689 To receive such parameters a plugin must implement a function:
1691 register_olsr_param(char *key, char *value)
1692 to which parameter pairs will be passed.
1696 Olsrd no longer uses any thread library on its operation. Everything
1697 now happens in the main thread allowing for use of olsrd on platforms
1698 with no thread library.
1700 ACPI SUPPORT IN WILLINGNESS CALCULATION(LINUX)
1702 The willingness calculation for Linux, now also supports the more
1703 modern ACPI proc interface in addition to APM. This is not well
1704 tested and feedback is appreciated!
1708 Various options regarding IPC connections can now be set in the
1709 configfile. The options are max connections, allowed unicast
1710 hosts and allowed net-ranges.
1714 Much of the message generation and net output code is rewritten.
1715 Sending of partial messages should now work 100%. Also TC, MID
1716 and HNA messages are now cached for a random amount of time
1717 before transmitted - this often leads to the situation where these
1718 messages are sent together with an HELLO message, which is highly
1719 desirable since it saves network resources.
1720 PLUGIN DEVELOPERS must note that the buffers and size variables
1721 used in net output is no longer directly accessible!
1723 NET OUTPUT CODE REWRITTEN
1725 Every interface now has one outputbuffer registered. This allows
1726 messages to be "cached" as explained above, so that multiple
1727 messages are stacked together.
1728 Also the outputbuffer and size are no longer accessible directly,
1729 an API is available to plugins(and olsr code).
1731 OS DEPENDENT NETWORK INTERFACE
1733 The OS dependent network functions are now defined in net_os.h
1734 instead of being mixed up with internal network functions
1739 A bug that caused the announced ANSN sequence number to never stop
1740 being increased when a change in the MPR selector set was detected
1741 has been fixed. Another TC related bug that caused timed out TC
1742 entries not to be deleted from the routing table in certain cases
1743 has also been fixed. These bugs could cause unstable routes.
1744 A bug that in many cases caused the wrong routes to be deleted
1745 when using IPv6 has been fixed.
1748 0.4.7 ---------------------------------------------------------------------
1750 NATIVE WINDOWS GUI AND INSTALLER
1752 We now have a native Windows GUI. The GTK+ version is no longer
1753 supported on Windows. The new native GUI is pretty compact as it does
1754 not require the GTK+ runtime DLLs. In addition to monitoring olsrds
1755 state the GUI offers an easy way for novice users to configure
1756 olsrd. It's pretty self-explanatory. Have a look at README-WIN32.txt
1757 for details. The Windows version now also comes with an installer
1758 based on the freely available Nullsoft Scriptable Install System
1759 (NSIS). Looks like the Windows port is becoming more and more
1762 WIRELESS INTERFACE DETECTION ON WINDOWS
1764 Like the Linux version the Windows port is now able to tell WLAN
1765 interfaces from wired interfaces. We can now, for example, set
1766 different HELLO intervals for WLAN interfaces and wired interfaces,
1771 The order of updates of calculated routes is swapped. Now new routes
1772 are added prior to deleting old ones. This could fix issues where
1773 in some very very few cases one could experiment loss of routes.
1777 There were quite some bugs in IPv6 operation in 0.4.6. These are
1778 the bugs that were fixed:
1779 - HNA message parsing did not work.
1780 - Some IPv6 addresses were printed as IPv4 addresses in the
1782 - The '-dispin' option now works again.
1783 - A filedescriptor leak in the IPv6 interface detection caused
1787 0.4.6 ---------------------------------------------------------------------
1791 Read the README-WIN32.txt file!
1793 DYNAMIC NETWORK INTERFACE UPDATES
1795 Network interfaces can now be updated and removed/added at
1796 runtime. Olsrd will check all interfaces specified in the config
1797 file or on the command-line, every 5 seconds. If updates
1798 occur, olsrd will register this and update the necessary data.
1799 If interfaces are removed or added, olsrd will detect this
1800 and configure the interfaces. If an interface is removed
1801 olsrd will continue to check the interface, so if say, a PCMCIA
1802 card is removed and later on reinserted(and given the same name),
1803 olsrd will detect this and start running on it again.
1805 Note that olsrd will now run even if no interfaces are detected.
1807 ROUTE CALCULATION UPDATE
1809 All 1 hop neighbor addresses that are not directly reachable trough
1810 a symmetric link in the link set will now be added with a GW in the
1811 routing table. this GW will be an interface address from a registered
1812 symmetric link to the neighbor.
1816 Alias addresses are now registered in the link set processing
1817 if available. This is not to pretty(since the vtime has to
1818 be a mere guess) but it gives faster initial route updates.
1819 If a HELLO is received(at initial registration) from an IP
1820 that is not the same as the one set as main address in the
1821 received HELLO header, then the IP from which the HELLO was
1822 received will be registered as an alias of the main address
1823 set in the HELLO header. The default vtime is set to 15 secs.
1827 All OS dependent interface configuration code is now located in
1828 OS/ifnet.c(that would be linux/ifnet.c if using GNU/Linux).
1829 The functions are available trough the headerfile src/ifnet.h
1833 - Some timer issues fixed
1834 - Got rid of the global socket descriptors
1835 - Updated indexing of network interfaces
1836 - Introduced a global socket to use for ioctl calls(ioctl_s)
1837 - Removed upper limit for interfaces to use
1838 - Point-to-point interfaces are now allowed
1839 - The main select(2) loop now uses a timeout
1840 - A small bugfix in the select fd-set update code
1841 - Some bugfixes in the configuration file parsing
1842 - stdout/stderr are now set to not be buffered
1843 - A bugfix in the MID generation regarding seq. numbering
1847 A new set of functions that are called whenever a change in the
1848 interface configuration(update, addition, removal) is made is
1850 These functions are added and removed very much like the ptf
1851 functions. Available trough the functions add_ifchgf and del_ifchgf.
1853 OBS OBS OBS!!! PLUGIN DEVELOPERS READ THIS!!!!
1855 The interface struct(declared in interfaces.h) has changed.
1856 Plugin developers must update plugins that uses the interface
1859 The headerfile olsr_plugin_io.h which contains the plugin interface
1860 commands now contains a revision list where all changes are
1864 0.4.5 ---------------------------------------------------------------------
1868 A plugin that generates and checks message signatures is added.
1871 PLUGIN: TOPOLOGY GRAPH
1873 A plugin that generates output of the topology in the dot format
1874 is added. See lib/dot_draw
1878 Some optimizations done that should cause fewer route recalculations.
1882 Some bugs reported by Takafumi Tanaka fixed.
1884 RESTORATION OF NETWORK SETTINGS
1886 Network settings like disabling of ICMP redirects and spoof filter, are
1887 now restored at exit by olsrd.
1891 Nodes would in certain scenarios retransmit messages originating for
1892 themselves. This was a RFC incompliance. Reported by Ingmar Baumgart.
1896 No longer setting the HELLO interval of non-wlan interfaces as a multiplier
1897 of the wlan interval. The interval is set seperatly now.
1898 Due to this there are some updates in the configfile imperatives.
1902 Some new macros introduced for table insertion and removal and IP
1903 copying and comparison.
1907 IPv6 bugfixes in the GUI.
1910 0.4.4 ---------------------------------------------------------------------
1914 Routes are no longer added via neighbors declaring a willingness
1917 LINK SENSING AND ROUTE CALCULATION
1919 Link sensing and route calculation has been updated to handle
1920 multiple links between hosts in a sane way.
1924 IP spoof filtering is disabled on the interfaces which olsrd runs.
1925 These settings are not restored!
1929 ICMP redirect message generation is disabled on the interfaces
1931 These settings are not restored!
1933 CONFIGFILE OPTIONS FOR MID AND HNA ADDED
1935 Options to set the MID and HNA emission intervals and
1936 validity time in the configfile added.
1940 Option to set what IPv6 address type(scope) to use in the
1941 configfile added. It can be set to either global or site-local.
1945 Options to set site-local and global multicast addresses
1946 in the configfile added.
1948 EMISSION INTERVAL FUNCTION
1950 Functions to set emission intervals at runtime added.
1952 LINK LAYER NOTIFICATIONS
1954 If started with the -llinfo switch olsrd will collect and display
1955 link-layer information on neighbors. This is no longer limited to
1956 one interface. But no action is taken based on this info - and
1957 there is a upper limit of 8 neighbors from which this info can
1958 be collected pr. interface. This limitation is inherited from the
1959 WLAN drivers and is not something imposed by the olsrd code!
1961 IPv6 HNA MESSAGE FORMAT
1963 IPv6 HNA messages now contains 128-bit netmask instead of prefix.
1967 Added "packet transform functions" which allow plugins to alter all
1968 outgoing OLSR traffic.
1972 Moved most headers out of OS dependent directories. The tunneling
1973 and link-layer notification interface is not yet separated from
1974 the /linux directory.
1978 A manpage(olsrd(8)) describing olsrd has been created. It is installed
1979 when using 'make install'.
1982 0.4.3 ---------------------------------------------------------------------
1986 Olsrd now supports runtime-loadable plugins! A couple of example plugins
1987 are located in the lib/ directory. Read the README files in the various
1988 plugin directories for more info. A directive to load plugins have been
1989 added to the configfile as well.
1990 Documentation of the plugin interface can be fount at http://www.olsr.org.
1992 The plugin interface is designed to be extendable. But it should _always_
1993 be backwards compatible with the interface used in this release!
1995 LINK-LAYER NOTIFICATION
1997 Some preliminary link-layer notification code has been added. Link quality
1998 can be written to stdout if olsrd is started with the -llinfo switch.
1999 No action is currently taken based on this info. And info will only
2000 be retrieved from the interface named "eth1".
2001 This code is not usable for users as of yet!
2005 Neighbors with willingness set to WILL_ALWAYS is now always added. The
2006 MPR selection is optimized as described in RFC3626 section 8.3.1
2011 There was a couple of bugs in the MPR selection code. All fixed.
2015 Users could not run olsrd on multiple interfaces using the Linux 2.6 kernel
2016 series. This is now fixed.
2020 One small bug in link hysteresis initialization and one in HNA route
2023 MESSAGE-SEQUENCENUMBER INCOMPLIANCE
2025 Message-seqnos was implemented on a pr. messagetype and pr. interface
2026 basis. This is not RFC3626 compliant and has been updates. All messages
2027 and interfaces now uses a global seuencenumber.
2029 RANDOM SEQUENCENUMBERS
2031 Sequencenumbers are now initialized using a random value.
2035 Fixes for running olsrd in daemon mode(debug 0).
2039 Optimizations based on profiling implemented.
2043 Message size is checked for every message before passing it to the
2044 appropriate message parsing function. If the size is bigger than the
2045 remaining size of the olsr packet then the message is discarded.
2049 Some minor modifications done to the gui.
2053 Lots of changes in handling of registration and unregistration of
2054 scheduler, socketparser, parser and local hna set.
2055 Some restructuring and movement of functions.
2058 0.4.2 ---------------------------------------------------------------------
2062 0.4.1 ---------------------------------------------------------------------
2066 0.4.0 ---------------------------------------------------------------------
2070 Link hysteresis as described in the RFC added.
2074 TC redundancy as described in the RFC added
2078 MPR redundancy as described in the RFC added
2082 The scheduler has been rewritten to register scheduled
2083 events(function pointers) dynamically.
2087 The parser has been rewritten to register parse functions
2088 on a pr. messagetype dynamically
2092 A wrapper for the malloc(3) syscal has been introduced.
2093 olsr_malloc(size_t, const char *) should ALWAYS be used.
2097 Lots of restructuring in headerfiles.
2098 Linux spesific code moved to subdirectory linux/
2099 FreeBSD code to be put in freebsd/
2100 LOTS of code restructured due to the rexrite of the scheduler
2105 Optimizing the MPR set as suggested in the RFC section
2106 8.3.1 point 5 added.
2110 Some bugs in MPR selection fixed.
2113 0.3.8 ---------------------------------------------------------------------
2117 HNA code completely rewritten!
2118 The old code was really bad! Now it is much cleaner implemented and
2120 One- and two-hop neighbor list structures rewritten. They now use
2121 the same hashed double-linked lists as the rest of the information
2126 Some code restructuring which resulted in the new files: timer.h,
2127 mantissa.c, mantissa.h, hashing.c, hashing.h, linux/net.c
2128 linux/net.h, linux/kernel_routes.c, linux/kernel_routes.h and some
2133 The bug causing errormessages on exit is fixed.
2134 The bug that caused initial HNA routes in the GUI to display a hopcount
2136 IPv6 HNA netmasks were all added as /128. It's fixed now.
2140 Turns out sitelocal address had to be preferred to avoid IPv6 header
2141 messing up link-sensing. Bug fixed
2144 0.3.7 ---------------------------------------------------------------------
2148 The entire TC set and MPR selector set code rewritten. Hashing and
2149 double linked lists added to the MID code.
2150 Lots of HNA code has been rewritten as well.
2154 When a node lost connectivity to a HNA GW all HNA entries to that gw
2155 was deleted. This has been fixed - and HNA entries only gets deleted
2157 Other HNA bugs have been fixed as well. But the whole HNA implementation
2162 There was a bug that caused holdingtime not to be properly recalculated
2163 when using non-default emission intervals.
2165 Forwarding and symmetric neighbors
2167 Seems I had misread the RFC on what a 1-hop symmetric neighbor is.
2168 Now the link-set is checked when a check for a symmetric neighbor
2169 is done. Not the 1 hop neighbor set as it used to be. This way
2170 the hack when receiving MID messages could be removed.
2174 Global addresses are now preferred. Sitelocal addresses are only used
2175 if no global addresses are found. There have been problems where
2176 the address set in the IP header of IPv6 packets do not match the
2177 address chosen by OLSR.
2181 The GUI is finally updated! It can now handle piggybacked messages
2182 and link sensing HELLO message format.
2185 0.3.6 ---------------------------------------------------------------------
2187 HNA support using IPv6
2189 HNA now works using IPv6 as well! Just add the network address and
2190 prefix in the HNA6 section in the configfile. The IPv6 HNA packets differ
2191 some from the IPv4 as they don't send the netmask but the prefix.
2194 NEW FILENAME FOR THE BINARY AND CONFIG FILE
2196 They are now called olsrd and olsrd.conf. I figured I'd use the olsrd
2197 name before somebody else started using it ;-)
2202 New options: DEBUG, HNA6 and IPC-CONNECT added to config file.
2207 A printf-wrapper has been introduced - debug level output handling
2208 is much more uniform now.
2209 The daemon should run fine in detached mode now(DEBUG 0)
2213 The GUI front-end can now connect and disconnect at any time while the
2214 daemon is running, if started using the -ipc switch or with IPC set to
2215 'yes' in the configfile.
2220 A small HNA bug fixed.
2223 0.3.5 ---------------------------------------------------------------------
2227 Forwarding jitter added. Messages are piggybacked if they arrive(and are to
2228 be forwarded) while there is data to be forwarded buffered.
2229 Added some bugfixes to support parsing of piggybacked messages as well.
2233 Fixed route calculation so that 2 hop neighbors are added. This smooths
2234 changes from 1 hop to 2 hop neighbor out. The old way one had to wait for
2235 a TC before the 2 hop neighbors were added.
2239 All neighbors received in HELLO messages are added to the two hop
2240 neighborhood. This helps smoothing out the 1-to-2 hop transition as well.
2244 MID calculation had to be updated due to the registering of two hop neighbors
2245 that are already one hop neighbors. They should not be considered when calculating
2250 Deletion of possible one hop neighbors registered on non main-addresses when
2251 first registering MID info from a node removed. This can not occur due
2252 to the fact that registering of neighbor nodes are done on main addresses
2254 Option to not forward messages on wired links on which they arrived removed.
2255 This is no longer usable to any degree when adding support for piggybacking
2256 of forwarded messages is to be implemented.
2260 Some unused parameters and commandline options were removed.
2264 0.3.3 ---------------------------------------------------------------------
2268 Added sending of empty TC messages if all MPR selectors are removed. Empty
2269 TC messages are sent for a TC_HOLD_TIME period as described in section
2274 Fixed HNA route calculations for IPv6. I forgot to upgrade this in 0.3.2
2278 -hnaint and -midint command line optionas added to set the interval
2279 of HNA and MID generation.
2283 As an optimization messages have not been forwarded on the received interface
2284 if this is registered as a non-WLAN interface. This causes problems for
2285 people using Ethernet-to-WLAN adapters. This optimization is now turned
2286 off by default. It can be activated using the -nofwlan option.
2290 THERE ARE SOME NASTY BUGS IN 0.3.2!
2291 Fixed a bug that caused 2 hop neighbors not to time out.
2292 Fixed a bug that caused a 1 hop neighbor timeout not to recalculate
2294 Fixed a small memleak in the MID set
2295 Fixed some smaller bugs.
2297 IPv6 functioning is not well tested in this release.
2299 0.3.2 ---------------------------------------------------------------------
2303 Updated HNA to be RFC compliant. This means that all received HNA tuples
2304 are registered and only the subset of unique entries(net/netmask) with
2305 the smallest hopcount is inserted into the routing table.
2309 User can specify configfile name using the -f switch.
2313 Fixed a link-sensing bug that caused problems when using MID nodes.
2315 0.3.1 ---------------------------------------------------------------------
2319 MPR calculation is now based on the willingness announced by nodes.
2323 The neighbor set does not have timeouts on entries any more. Creation
2324 and deletion of neighbor entries is done from the link-set as suggested
2329 Gotten rid of a lot of code that became more or less obsolete due to
2330 all the changes introduced in 0.3.0.
2334 Fixed a nasty bug concerning the sequence numbering of TC packets.
2335 Fixed some bugs regarding MPR calculation - and probably introduced
2336 a whole new species when implementing the willingness-based calculation ;-)
2339 0.3.0 ---------------------------------------------------------------------
2341 Due to the extensive amount of updates this release is versioned 0.3.0
2343 Duplicate table and forwarding
2345 The duplicate table functionality is totally rewritten in 100% RFC
2346 compliance. The forward algorithm specified in the RFC is implemented
2347 this meant rewriting much of the packet processing code. The daemon
2348 also forwards unknown packettypes now.
2350 Link sensing and neighbor processing
2352 Link sensing and neighbor processing was done in the same operation in the
2353 old code. Link sensing is now a mechanism of its own which is 100% RFC
2354 compliant. Neighbor processing and HELLO generation has been partly
2355 rewritten to be RFC compliant. Neighbors are now registered as either
2356 SYN or NOT_SYM. The NOT_NEIGH, SYM_NEIGH and MPR_NEIGH values are only
2357 used when building HELLO messages. Links are in one of the following states:
2358 UNSPEC_LINK, ASYM_LINK or SYM_LINK.
2359 HELLO messages now advertise link status of neighbors on the interface
2360 the message is transmitted.
2364 A node now dynamically calculates willingness based on powersource and
2365 possibly battery power. If the node is AC powered it announces a willingness
2366 of 6. If batterypowered the willingness is calculated as:
2368 Where P is percentage of power left.
2372 The daemon now tries to read its configuration from the file /etc/uolsrd.conf
2373 A "standard" configuration file is installed when doing 'make install'.
2374 This file should be edited to fit your needs.
2375 Command-line options can still be used to override the configuration form
2376 the file(ore if no config file is present).
2377 The -f switch can also be used to specify a configuration file.
2381 If AdvancedPowerManagemant(APM) is supported on your system the willingness
2382 of the node is dynamically calculated based upon the powerstatus of the node.
2383 MPR calculation based upon willingness is not done as of yet.
2387 A bugs in the TC processing fixed.
2391 Some serious HNA bugs fixed. These bugs caused a node to always choos the
2392 gateway with the larges hopcout :) More seriously - a bug caused looping
2393 of HNA messages in certain scenarios.
2395 Package sequence numbers
2397 These were added. Not much use as of now - but they're there(as specified
2402 Users can now specify the broadcast address to use. Useful if one wishes to
2403 use the 255.255.255.255 broadcast.
2407 0.2.5 ---------------------------------------------------------------------
2411 Htime and Vtime processing and handling added. Holding times used to be
2412 a static value for all nodes. Now every node can signal its vlidity time
2414 To achieve this mantissa/exponent calculation functionality was added.
2415 Messages now include Vtime(and Htime in HELLO) values in mantissa/exponent
2416 format instead of just zero. These values are as stated above, used as holding
2418 the GUI should be upgraded as well...
2422 The use of jitter in message generation intervals vere fixed.
2425 0.2.4 ---------------------------------------------------------------------
2429 Some bugs concerning sequence numbers in HELLO and MID message handling
2430 was fixed. Newly registered nodes in the neighbor and MID sets were
2431 initialized with a seqno of 0. When using a "wraparound" sequencenumber
2432 check(as defined in olsr_protocol.h) this can produce errors if a new
2433 node joins a network where existing nodes has seqnos >0x00FF.
2437 Some checks and copying of node addresses where done using sizeof(u_olsr32_t)
2438 which is 32 bits. This caused only the 32 firs bits of IPv6 addresses to
2439 be copied and checked.