1 This file states changes as of version 0.2.4:
3 0.5.6 ---------------------------------------------------------------------
5 PATCHES and BUGFIXES from Henning Rogge <rogge@fgan.de>
6 - Bugfix for fragmented TC sequence numbers
7 - eliminate second timer for edge garbage collection (aka border code).
9 - fix for jitter calculation
10 - refactor linkset code
11 - add netsimpcap, a network simulation device
13 - fix for possible overflow in fpm plugin
14 - prevent Originator-IP from changing during runtime
15 - fix several compiler warnings
16 - fix hanging TC entry from lost onehop neighbor
17 - fix drop package with same seqno in etx_ff
18 - fix segfault in parsing HNA package with bad netmask
19 - fix avl_comparator for route_paths
20 - fix alignment problem in packet buffers
21 - fix: segfault in neighbor/neighbor-2 table
22 - fix: lqmult default parsing
23 - HACK: MinTCVTime parameter hack for Berlin FF network...
24 feel free to ask on the mailing list.
26 - add explicit runtime lock for OLSR.
27 - remove lq-hysteresis for tc on the receiver side.
28 - enhance protection against malformed packages to prevent
29 OLSR parsing uninitialized data. Thank you Markus and Keks for the LONG
31 - block tc-redundancy 0/1, it doesn't work with the current dijkstra code
32 - convert httpinfo/txtinfo/dotdraw to nonblocking and autobuf to
33 prevent blocking outgoing connections
34 - fix some bugs with lq-mult
35 - fix bug in duplicate set sequencenumber handling
36 - add Debian/KFreeBSD support (Thanks to Holger Levsen and friends for help)
38 PATCH from Markus Kittenberger <Markus.Kittenberger@gmx.at>:
39 - txtinfo plugin: add more http options
40 - allow configuration of OLSR UDP port
41 - allow configuration of proto Tag for Routes (RtProto)
42 - add fallback policy rule (priority 65536) if RtTable is used,
43 to ensure that routes can be added to this table
44 - resolve many error conditions while adding routes to the linux kernel
45 (Warning this will also delete any conflicting routes made by other routing daemons or admins)
46 - interface modes mesh (default) and ether (no retransmit of olsr-messages back into a broadcastdomain)
47 - fix olsr_times() to handle different OS implementations (Linux, BSD, OS X)
48 - fix several compiler warnings
49 - fix olsr_times() to handle different OS implementations (Linux, BSD, OS X)
50 - create policy rule later during startup
51 - send MID also with one interface, if its ip different from originator-id
52 - linux rtnetlink code cleanup
53 - workaround: generate routes to single hop neighbours on the fly when inserting routes via them
54 (active only with fib_metric=flat)
55 - testing: insert routes with source-ip set to originator ip
56 - testing: syslog numbering (e.g. useful to detect lost syslog messages when using remote-syslog)
57 - testing: custom library path (default /usr/testlib)
58 Testing features must be activated in olsr_cfg.h before compiling olsrd.
59 This features are used to run a test network in Vienna parallel to the existing
61 - more RT-Netlink cleanups and fixes
62 - backport of timejump patch from TIP
63 - Add detection for vanishing interfaces to Linux netlink code
65 PATCHES from Hannes Gredler <hannes@gredler.at>:
66 - add small valgrind howto
67 - remove the per tc_edge timer
68 - add some basic infrastructure for cookies
69 cookies are used to track usage of timer and memory resources
70 - add a lightweight memory manager to reduce malloc() churn.
71 - eliminate data field from avl_node and list_node and
72 replace this via inline recasts
73 - add indentation dotfile for future code cleanup
74 - refactor the timer implementation, get rid of timeout functions
75 all manipulations done in constant time.
76 - use calloc rather than malloc for lazy callers
77 - log RIB add/del transactions only if there is an actual route change
78 - fix to to always insert a HNA Net when receiving a HNA refresh
79 - fix delete all routes if the last IP address is gone
80 - reduce TC vtime jitter from 25% down to 5%
82 PATCHES and BUGFIXES from Sven-Ola Tuecke <sven-ola@gmx.de>:
83 - add a fixed-point math implementation, which saves
84 a great deal of CPU on embedded devices
85 - fix for Link quality dijkstra limit
86 - nameservice plugin supports mac addresses
87 - fix fork/restart code
88 - fix olsr_times() to handle different OS implementations (Linux, BSD, OS X)
89 - fix several compiler warnings
90 - fix olsr_times() to handle different OS implementations (Linux, BSD, OS X)
91 - add makefile support for google android
92 - fix default olsrd.conf examples
94 PATCHES and BUGFIXES from Aaron Kaplan <aaron@lo-res.org>:
95 - fix openbsd warnings / compile errors about sprintf strcpy
96 - fix string overflow in dyn_gw plugin
97 - fix string overflow in pgraph plugin
98 - fix openbsd/osx coompile errors
100 BUGFIX by Peter Tarjan <peter.tarjan@birdtelecom.hu>:
101 - Do not remember LQ information UNSPEC_LINK neighbors in Hellos.
102 - ignore UNSPEC link for linktype if there is an ASYM/LOST/SYM Link in the
104 - ignore UNSPEC_LINKS during MPR lookup
105 - broken MID route handling: we also check the data structures for routing,
106 even if a MID entry exists.
108 BUGFIX by John Hay <jhay@meraka.org.za>:
109 - FIX: IPv6 MTU in BSD
110 - Another BSD ipv6 Patch by John Hay
111 - fixes for 64 Bit FreeBSD
115 BUGFIX from Erik Tromp <erik_tromp@hotmail.com>:
116 - update in bmf due to new flags field in tc_edge_entry
118 PATCH from Clemens Hopfer <datacop@inode.at>:
119 - dot_draw plugin: close the connection after graph output.
121 PATCH from Joe Gio <joezgio@gmail.com>:
122 - track if AC power is connected/disconnected
124 PATCH from Hagen Paul Pfeifer <hagen@jauu.net>:
125 - import jenkins hash for good hash calculations
127 PATCH from Andres Ambrois <andresambrois@gmail.com>:
128 - nameservice plugin: add parameters for SIGHUPing other daemons, or calling scripts
130 BUGFIX by Benny Tops <b.tops@mindef.nl>:
131 - fix wrong order of drop_tc checkt in olsr_input_tc
134 - fix bison problem for OpenWRT
137 - add LISTEN parameter for httpinfo/txtinfo/dotdraw
139 0.5.5 ---------------------------------------------------------------------
141 BUGFIX from Andreas Jacobs <andjac@kawo1.rwth-aachen.de>:
142 - calculate correct sleeptime
144 BUGFIX from Dario Borriello <dario_bodj@hotmail.com>:
145 - do not update LQ if not configured
147 BUGFIX from Jo-Philipp Wich <freifunk@wwsnet.net:
148 - fix olsr_ip_to_string() buffer quirk
149 - fix txtinfo format quirks in HNA table
150 - name-service plugin - write MID entries to hosts file
151 - avoid infinite loop in the message parser
153 PATCH by John Hay <jhay@meraka.org.za>:
154 - compile clean on FreeBSD
155 - bugfix: do not account for IP headers when building MID6 messages
157 PATCHES from Henning Rogge <rogge@fgan.de>:
158 - join LQ and non-LQ Hello execution paths
160 PATCHES from otti <otti@wirdorange.org>:
161 - rttable-default: configures a new policy routing table for the default route
163 BUGFIXES and PATCHES by Sven-Ola Tuecke <mail2news@commando.de>:
164 - Windows Vista: add interface metric to SPF computed metric
165 - lqtc-seqno: Optimize check for old seqno numbers in LQTC messages
166 - lqnatthresh: maintain an advantage for the current (NAT) inet gw
167 - fisheye-startup: Changed to MAX_TTL for the first 32 LQTCs
168 - Added and removed files necessary for win32 compile
169 - Fix for hg: do not remove anything in .hg with 'make uberclean'
170 - 104-olsrd-verysmallfix
171 - 105-fix-lq-buffer-quirks
174 - 121-olsrd-fib-metric-approx
176 - 136-optimize-invalidip-check
177 - 138-optimize-message-generation
179 BUGFIX from Lorenz Shori <lorenz.schori@gmx.ch>:
180 - Mac OSX compile fixes
182 BUGFIXES and PATCHES by Hannes Gredler <hannes@gredler.at>
183 - fix not deleted tc entry.
184 - avoid setting routes with an invalid/impossible netmask.
185 - refactoring of TC parsing to kill another pile of malloc()/free()s
186 saving (again) code and especially run.time performance.
187 - RIB Refactoring, Part 2:
188 - avoid the periodical rib-tree insertion
189 - add a FOR_ALL_HNA_RT_ENTRIES() macro for the snmp folks
190 (or any parties who want to walk HNA entries).
191 - add an olsr_cnf option 'flat_fib_metrics' which defaults to TRUE.
192 - fix broken prefix insertion (regression of the RIB refactoring)
193 - squelsh compiler warnings on Mac OSX
195 PATCH by John Hay <jhay@meraka.org.za>:
196 - also printout our own HNAs in the dotdraw plugin.
198 PATCH by Patrick McCarty <mccartyp@gmail.com>:
199 - fixed compile errors in the BSD port
201 PATCHES by Sven-Ola Tuecke <mail2news@commando.de>:
202 - 102-olsrd-cvs-fixes.patch: use different buffers in the same printf()
203 - 103-olsrd-rt-exportroute-cleanup.patch: avoid a malloc()ed list of functions
204 - 132-save-the-fish.patch: really save the fish and avoid to forward invalid
205 messages from older olsrd versions
206 - 135-georss-map-for-nameservice.patch: fixes and extensions for the namesaervice plugin
207 - 138-olsrd-fixdotdraw.patch: fix the dot_draw plugin
208 (all to be found on http://download-master.berlin.freifunk.net/sven-ola/nylon/packages/olsrd/files/)
209 - Replaced "which" with a /bin/sh script snippet
211 PATCHES and CLEANUPS by Bernd Petrovitsch <bernd@firmix.at>
212 - Jens Nachtigall <nachtigall@web.de> suggested (and reminded) to use
213 olsrd.conf.default.lq as the default installed one.
214 It makes much more sense as - to the best of my(bernd's) knowledge - all
215 larger networks uses the LQ extensions. And new customers should better
216 be pushed in that direction.
217 - with the help of Patrick McCarty <mccartyp@gmail.com>, we got olsr to build
219 * OpenBSD'd `sed` is pretty conservative and doesn't understand 's|re|sub|'.
220 So we fall back to the old 's/re/sub/' and quote all '/' and '.' correctly
221 (which was the main reason to use '|').
222 And while I'm at it: Remove the useless $(CCACHE) from the $(CC) for
223 dependency generation and beautify (read: "$(strip)") $(CPPFLAGS).
224 * OpenBSD needs an explicit "#include <sys/types.h>" before
225 "#include <netinet/in.h>".
226 - fixed lib/secure/src/md5.h: This was broken as it had
227 "typedef unsigned long int UINT4;". "unsigned long int" is 8 bytes on x86_64.
228 We are using now the standardized types from <inttypes.h>.
229 - fixed warnings and improved lib/secure/src/md5.c:
230 * we are using memcpy() and memset() instead of the open-coded loops as
233 * added function prototypes for static functions
234 * moved static functions to the top so that their declaration is before
235 their use to allow gcc to inline if only used once.
236 It remains ugly - God knows why there are that so many useless
238 - Some minor and trivial cleanup: Added two functions to calculate the ETX
239 value from a struct tc_edge_entry and a struct link_entry, respectively.
240 And use them everywhere.
241 - added http://meshcube.org/nylon/utils/olsr-topology-view.pl into
242 lib/httpinfo/misc as suggested by Jens Nachtigall <nachtigall@web.de>
243 - Killed "struct olsrd_config *cnf" in src/cfgparser/olsrd_conf.h and replaced
244 it's usage with "olsr_cnf" from src/defs.h.
245 Serious cleanup: olsrd_get_default_cnf() does no longer initialize the global
246 "cnf" variable" but uses a local one which is returned as before. And
247 olsrd_parse_cnf() does no longer return the global variable it is working on.
248 - Merged "struct hna4_entry" and "struct hna6_entry" into
249 "struct local_hna_entry" (as "struct hna_entry" is a different thing)
250 Both have almost the same data (IP address + netmask/prefix) so we use
251 the quite new "struct olsr_ip_prefix" to store it.
252 Also merged the "hna4" and "hna6" pointer in "struct olsr_config" -
253 look at the global "olsr_cnf->ip_version".
254 - added a olsr_ip_prefix_to_string() function
255 - .h file cleanup: def.h does not longer include net_olsr.h because it
257 - more type safety: the macros COPY_IP() and COMP_IP are gone and replaced
258 with "=" or similar "normal" C operations. There are also now the inline
259 functions ip4cmp() and ip4equal() to work on "struct in_addr", ip6cmp()
260 and ip6equal() to work on "struct in6_addr" and ipcmp() and ip6equal()
261 to work on "union olsr_ip_addr".
262 Most (or even more precise: almost all) uses of COPY_IP() and COMP_IP()
263 are in "if (olsr_cnf->ip_version) { ... } else { ... }" anyway to
264 there is no reson to copy an IPv4 address effectively with
265 "memcpy(&dst, &src, 4)" or compare with memcmp(&a, &b, 4)" wher the
266 always "4" is stored in a variable inhibiting compiler optimization.
267 There is also the deprecated function genipcopy() mimicking the old
268 typeless COPY_IP() macro for the last few places where a cleanup is
270 There also lots of old macros left over (commented out of course) until
271 we are confident that everything works. And then I will kill them too.
272 - Fixed the misleading definition of "v4" in "struct olsr_ip_addr" fom
273 "olsr_u32_t" (in network-byteorder!) to "struct in_addr". Lots of
274 temporary variables to call inet_ntoa()/inet_ptoa() vanished .....
275 - We have now ip4_to_string(), ip6_to_string() and olsr_ip_to_string()
276 to print a "struct in_addr", "struct in6_addr" and "union olsr_ip_addr"
277 into a string buffer.
278 - cleanup: olsr_ip_to_string() and similar non-reentrant functions now must
279 get a target buffer. To ease that, there is the "struct ipaddr_str"
280 which is large enough for all of them (read: for an IPv6 address). This
281 also removes the cyclic buffer there.
282 All of these function return a "const char *" which can be directly used
283 for printf(3) and friends.
284 - const'ified more functions
285 - converted the source to UTF-8.
286 - "struct sig_msg" uses an olsr_u8_t for a byte array (and not "char")
287 - force the few inline function to always be inlined.
288 - #ifdef the body of the olsr_print_hna_set() and olsr_print_neighbor_table()
290 - declare "int_addr", "int_netmask" and "int_broadaddr" in "struct interface"
291 as "struct sockaddr_in" since it is that what we actually want there (and
292 it is similar to the IPv6 code).
293 - updated the olsrd.conf.default.lq-fisheye to the Debian-deliverd version
294 after recent discussions olsr-dev@olsr.org
295 - use "inline_avl_comp_ipv4()" in "avl_comp_ipv4()"
296 - clean up the routes on more signals. Basically we want to do this on all
297 signals which terminate the program.
298 - killed a superflous global buffer in src/main.c
299 - made inline functions from avl_walk_{first,last,next,prev} and created
300 "const" versions of it. inline_avl_comp_ipv4() is now also an inline function
302 - created a typedef's for various function pointers - much easier to read.
303 - cleanup: compare tree->comp (adn other pointers)) to NULL (and not 0)
304 - killed superflous "return"s at the end of void functions
305 - const'ified more parameters in many more functions in the .h and
307 - init-functions with constant or ignored return values are "void"
308 - created a typedef fro the callback in "struct export_route_entry"
310 - moved the initialization of the {add,chg,del}_kernel_list variables
311 into process_routes.c. So they are now "static" there.
312 - olsr_export_{add,del}_route{,6} are now static in process_routes.c
313 since they are not used elsewhere.
314 - olsr_addroute_add_function() and olsr_deldroute_add_function() were
315 almost identical - made one function out of it.
316 Same for olsr_addroute_del_function() and olsr_deldroute_del_function().
317 - fixed the sort order in avl_comp_ipv4_prefix(): We compare now the IPv4
318 values in host byte order (and not network byte order). So the route
319 list in the e.g. httpinfo plugin is now nicely sorted.
320 - fixed and improved the `gcc-warnings` script:
321 * support older gcc's (as on Debian/Sarge) as they have slightly different
323 * removed superflous lines
324 * replaced the call of `sed` with shell built-in features fixing syntax
325 errors on Debian/Sarge
326 * set all locale-relevant variables to "C" (just to be sure)
327 - consolidated ip{4,6,}{cmp,equal}: all are nwo inline functions using only
328 the minimal necessary operations. Thanks to Hannes Gredler
329 <hannes@gedler.at> and Sven-Ola Tuecke <mail2news@commando.de> for pointing
330 that out and suggesting the `inline`, respectively.
331 use ip{4,}cmp in lq_avl.[ch] to resue the code. inline_avl_comp_ipv4
332 is superflous now (and replaced by ip4cmp) and use the global MIN and MAX
333 macro instead of AVLMIN and AVLMAX
334 - killed netmasks from the IPv4 part of the code and use the prefixlen there
335 (similar to thte IPv6 part). Manymore details on
336 http://lists.olsr.org/pipermail/olsr-dev/2007-November/001464.html
337 - removed the superflous "open_ipc" field from the "struct olsrd_config" as
338 it contains only the equivalent of "olsr_cnf->debug_level > 1".
339 - inspired by Sven-Ola Tuecke: avoid a bash'ism (i.e. "OPTS="${OPTS//$opt}") in
340 gcc-warnings and ld-warnings. But we do not replace it with `sed` (since it
341 costs a fork(2) and an exec(3)) but also with shell code which doesn't use
342 any external program.
343 - added configuration file support for "flat fib metrics".
345 0.5.4 ---------------------------------------------------------------------
347 QUAGGA by Immo 'FaUl' Wehrenberg <immo.olsr@do.bundessicherheitsministerium.de>
348 - updated to svn version 33
350 BMF PLUGIN by Erik Tromp <erik_tromp@hotmail.com>
352 - updated to latest plugin interfaces changes and killed warnings (by Bernd
353 Petrovitsch <bernd@firmix.at>)
355 PATCH by Hannes Gredler <hannes@gredler.at> which rewrites the route handling.
359 - get rid of separate routing tables for HNA and per-node routes, everything is
360 now unified in an AVL routing tree (&routingtree)
362 - introduce walking macros (OLSR_FOR_ALL_RT_ENTRIES()) that hide the internal
363 structure of the RIB for making life of the plugin authors easier.
365 - get rid of different SPF implementations for LQ and non-LQ code paths. a
366 non-LQ edge is simply substituted with a cost of 1.0
368 - get rid of host masks - a new data type olsr_prefix is introduced which is
369 basically an ip address plus a prefix length.
371 do not install the metric in the kernel FIB - for the kernel its pointless
372 if the route gets installed with a metric of N or M.
374 we do not need to update the kernel FIB if we have hop count only changes
375 (for example if there is a reroute action further downstream)
377 the only things which triggers a kernel FIB route update is a next hop
378 change (a next hop is neighboring gateway router plus an interface).
380 all OLSR routes are installed with a metric of 2
382 - separate between rt_entry and rt_path - the former is a route installed in the
383 kernel with an next hop. the latter is a candidate for best path selection
384 after SPF calculation has been done. in the rt_entry we keep a pointer to the
385 best_path and also to the next hop that was installed in the kernel FIB.
387 we always keep all originator of a route, if a route originator goes away we
388 can easy recompute the best path for the route.
390 the next hop in the rt_entry gets only updated upon a successful route_add
391 call - that way we always remember what next hop to delete.
393 stray routes should be history now.
395 - tweak the linked list toolkit to operate on circular lists.
397 - get rid of malloc calls for building the kernel update list. the list node is
398 now embedded in the rt_entry.
400 - introduce three queues (add/chg/del) for kernel updates.
402 - for neighbor route dependency tracking the neighbor routes are queued first or
403 last (depending on which queue you work on)
405 - rework all the plugins which directly manipulate rt entries.
407 - rework the plugins that read from the routing table (most notably nameserver,
408 httpinfo and quagga plugin)
410 - lots of comments that explains the intentions and purpose of this code-piece.
412 non RT related stuff:
413 - use a list rather than a tree for storing the post-SPF results, which further
414 improves the raw-SPF runtime.
416 - add display of SPF runtime (masked behind #ifdef SPF_PROFILING)
418 - http://gredler.at/download/olsrd/neighbor_routes3.diff: This updates the own
419 IP address (read: the main address) after changes (e.g. on
420 `ifup wlan0; sleep 1; ifdown wlan0`) and kills the
421 olsr_fill_routing_table_with_neighbors() function.
423 And Sven-Ola Tuecke <mail2news@commando.de> fixed an instability issue on interface
424 up/down operations (see 102-olsrd-rt-refactoring-fixes.patch below) and a missing
427 PATCH by Hannes Gredler <hannes@gredler.at> which "consolidates
428 the link-state database and the spf-calculation in order
429 to calculate routes more efficiently".
432 - use the link-state (tc) database for SPF calculations rather than
433 replicating the notion of vertices and edges for a SPF run.
434 this heavily reduces malloc() calls and shrinks the total CPU
435 load of the route calculation path between 60%-80%.
438 PATCHES by Sven-Ola Tuecke <mail2news@commando.de> to be found on from
439 http://download-master.berlin.freifunk.net/sven-ola/nylon/packages/olsrd/files/
440 - 102-olsrd-rt-refactoring-fixes.patch
441 Because you changed a lot of basics: It's time to handle a general
442 flaw in the routing system. Plase take a look at chk_if_changed(). This
443 will free() any "struct interface" pointer without warning at any time.
444 This is why it's possile to SEGV olsrd with a simple "ifdown xxx".
445 The patch replaces the (maybe) invalid pointer with an index reference
446 "iif_index". You can always ask the OS for a name. Please note, that I do
447 not have a working BSD toolchain, so I've placed an #error in the IPv6
448 BSD-part where the author/porter has started to hack something funny.
450 - 110-olsrd-double-wlancard-neigh-hack.patch:
451 This is a hack for Nodes having to wifi cards with the same channel,
452 bssid, IP-Range etc. If two nodes can see each other by means of two
453 possible links (here: two wifi cards with equal config), a bug is triggered
454 with the Neigh-is-SYM detections. This small little hack prevents this.
456 - 112-olsrd-nameservice-fixemptyname.patch:
457 This is an addon to my lat/lon stuff which will prevent olsrd from
458 running (oops?) if no hostname is given and the nameservice plugin
461 - 113-olsrd-dyngwplain-pluginvers5.patch:
462 This updates the dyngwplain plugin to the new Plugin Iface
464 - 140-olsrd-arprefreshed.patch:
465 This is a new one. Opens a packet socket and listen to UDP(698), extract
466 the sender MAC and refreshes the ARP cache whith that. Should speedup
467 especially in cases, if you initially try to use a longer routing path which
468 normally triggers a "ARP-Lookup-Chain".
469 - 106-olsrd-nameserviceparams.patch:
470 This patch converts more plugins to the new interface version.
471 - 104-olsrd-policy-routing.patch
472 Reworked this one to discard GPL helper functions. Also checked IPv6 and
473 re-included the IPC hookup. The patch adds a "RtTable [number]" for
474 /etc/olsrd.conf which is simply the Linux
475 policy routing table to use. Defaults to 254 (== main).
476 This patch was modified/clenaed up by <bernd@firmix.at> to use "#if"
477 instead of "#ifdef" as it's more robust against typos.
478 - 110-olsrd-fixpacketprint.patch, 112-olsrd-nameservice-fixemptyname.patch,
479 113-olsrd-txtinfo-fixhttpget.patch, 114-olsrd-timeoutlimit.patch,
480 115-olsrd-nameserviceparamfix.patch and
481 116-olsrd-fix-pluginparam-addons.patch fixing the compilation warning
482 on 64bit and lots of other improvements.
483 - "Save the fish" patch: Avoid forwarding of packets with too low TTL. This
484 kills lots of packet forwarding storms.
485 NB: The oneliner was applied by hand by BP and formatted to look (in BPs O)
488 PATCH by Arnd Hannemann <hannemann@i4.informatik.rwth-aachen.de>
489 olsr_makefile_make_use_of_exename.patch
490 - This patch makes sure that the EXENAME variable of Makefile.inc is used
493 PATCHES by John Hay <jhay@meraka.org.za>
494 - update to new FreeBSD WLAN API
495 - do not require /bin/bash, use /bin/sh
496 - Fixed alignment so that olsrd runs on FreeBSD/arm
497 - allow more interface in an IPv6 subnet on FreeBSD
498 - use PREFIX and DESTDIR as all the other Makefile.$OS also for FreeBSD
499 - make txtinfo plugin work with IPv6
501 PATCH by Andreas Jacobs <jacobs@i4.informatik.rwth-aachen.de>
502 - fix the loss link quality calculation for "windows size % 4 != 0"
504 PATCH by Acinonyx <acinonyxs@yahoo.gr>
505 - Bug fix: include $(TOPDIR)/Makefile.inc at the begin in the Quagga plugin
507 PATCH by David Cornejo <dcornejo@gmail.com>
508 - fixed an "+=" of an uninitialized variable (detected with/by the
511 BUG reported by Aaron Kaplan <aaron@lo-res.org>
512 - BSD-xargs doesn't know "-r".
514 PATCHES and CLEANUPS by Bernd Petrovitsch <bernd@firmix.at>
515 - Made a function from the ME_TO_DOUBLE() macro (in src/mantissa.h).
516 This saves code throughout the code even on i386 and will even more
517 on architectures without floating point units and "-msoft-float".
518 - And the mathemathics in src/mantissa.h is reformulated to minimize
519 floating point operations to save CPU power - especially on embedded
521 - I rewrote the half of src/lq_packet.[ch] which deals with incoming
522 packets. This was triggered with performance output of gcc produced
523 by Sven-Ola Tuecke at CCCamp07.
524 This kills *lots* of (more than) superflous malloc()s and the same
525 number of (free()s). And it also kills some code and copying around of
527 - Make it compile without warning with flex-2.5.33 (to be found on Fedora 7
528 and Gentoo in Sep-2007) again.
530 - converted the dyn_gw plugin to plugin interface version 5 (which leaves
531 the quagga plugion as the last with the old one).
532 - paving the way to activate -Wshadow, much more to do
533 - const-ify parameters here and there
534 - use NULL for pointers (and not "0")
535 - Killed "extern" declarations in (not generated) .c files
537 - Based on a patch by Gianni Costanzi <gianni.costanzi@gmail.com> (so credits
538 and thanks have to go there):
539 added OS_CFLAG_PTHREAD Makefile variable since gcc (on Linux) requests this
542 - I added definitions to all OS-specific Makefile.$OS with the value similar
543 to the value in OS_LIB_PTHREAD (either empty or "-pthread").
544 - The variable is added to CPPFLAGS (and not CFLAGS) since CPPFLAGS is used
545 for all cpp and gcc calls (and gcc's man page indicates that it sets
546 variables for both of them).
548 0.5.3 ---------------------------------------------------------------------
551 Ignacio GarcÃa Pérez <iggarpe@terra.es> found a serious bug in the dot-draw
552 plugin and identified it's source.
555 The bmf plugin wanted to kill a not-started thread and this causes a segmentation
556 violation. This happens if the old plugin interface support is not compiled in
557 and one uses - or more asccurate: wants to use - the bmf plugin which uses that
558 ATM. Thanks to Cedric Krier <ced@ced.homedns.org> for reporting this.
561 The dependencies (*.d files) are now properly generated and used. And they also
562 dependen on the Makefile in the current directory and the Makefile.inc so that
563 changes there also lead to new compilation.
564 Remember: We support "ccache" so install it to save lot of meaningless recompiles
565 if nothing (as seen by the real C compiler, i.e. after the C preprocessor) has
569 Linux/IA64 and Linux/HPPA also need "-fPIC".
572 - olsr_switch does no longer generate warnings
573 - olsr_switch is also built with "build_all" and cleaned with "uberclean"
574 - More "const" all over the place.
575 - More "static" for local functions and variables.
576 - Killed an unnecessary "static" variable.
578 0.5.2 ---------------------------------------------------------------------
581 Sven-Ola Tuecke found a serious bug of the class "show stopper" and sent a patch.
584 Plugins handle parameters quite individually (case-sensitive vs case-insensitive,
585 different parsing functions for the same values, etc.). Plugin Interface version 5
586 now exports a table of { parameter-name, parsing-function, addr-of-storage } and
587 it's size. Common functions should be shared.
589 0.5.1 ---------------------------------------------------------------------
592 Upgrade to olsr-bmf 1.5 from Erik Tromp <erik_tromp@hotmail.com>
594 latitude/longitude support is now in the nameservice plugin done by
595 Sven-Ola Tuecke <mail2news@commando.de>
597 added the spf refactoring patch from Hannes Gredler <hannes@gredler.at> which
598 saves a noteworthy amount of CPU time. To quote him:
600 1. use of an AVL tree as a min-heap implementation
602 as a means for efficient sorting.
603 (the etx metric is used as the key in the candidate tree)
605 2. next-hop propagation
607 rather than tracking the previous node in olsr_relax()
608 i have changed that model and pre-populate all one-hop neighbors
609 with their own IP adress as 'next-hop' and pull that
610 pointer up once new paths are explored.
612 as a result no walker for counting hops and extracting next-hops
613 is required - it turns out at this is slighly more efficient
614 than the existing behaviour (even with the cache applied).
618 * moved a only locally needed hack from "union olsr_ip_addr" into the only place
619 where it is needed in hashing.c
621 0.5.0 ---------------------------------------------------------------------
623 APPLIED PATCHES FROM FREIFUNK-FIRMWARE
624 libsmake, dyngwplain, nameservices+services, tzxtinfo, quagga, quagga-routehandler,
625 optimize, fixes from Eric Tromp and Sven-Ola Tuecke, CPU-optimize, secure key, HNA-IP
628 removed hardcoded limit on the number of interfaces (at least in the Unix part)
629 made Makefile targets much more consistent
632 put Bmf-1.3 plugin into it
636 Patch from John Hay applied.
640 0.4.10 --------------------------------------------------------------------
642 OLSR NETWORK SIMULATOR
644 An application called olsr_switch(sorry for the nameclash with the win32
645 GUI) has been added. If olsrd is ran using the -hint option it can now
646 connect to olsr_switch and be part of a virtual network. This means
647 that multiple instances can be ran at the same host! The olsr_switch
648 application allows the user to define link variables on all viritual
649 links in the network, creating all possible topologies. Read more in
652 EXPERIMENTAL FISH EYE ALGORITHM
654 An experimental algorithm for TTL settings on TC messages has
655 been added. Read more in the corresponding README file.
659 olsrd now also compiles on OpenBSD systems. Thanks a lot to Holger
660 Mauermann for the patches!
664 Bruno has rewritten the make system. OS detection is now done
665 automagically and the general design is much improved.
667 IP ADDRESS VALIDATION
669 Olsrd now maintains a set of IP addresses that is considered
670 invalid. Checks against this set is done on all received
671 OLSR packets announced originator addresses. The dataset can
672 be updated dynamically.
676 Updated interface version to 3 and added more noticeable warning
677 for version missmatch.
681 The dependency on the math lib came from the use of pow(3) in the
682 mantissa/exponent calculation. The calls to pow in this long forgotten
683 code, was very unnessecarry. The pow calls are replaced with bitwise
684 shifts and -lm is no longer needed.
686 ICMP REDIRECTS ON LINUX
688 On Linux systems "0" is now also written to the all/send_redirects
689 procfile and not only the pr. interface ones. Hopefully this resolves
690 problems reported with systems still sending ICMP redirects.
694 - Fixed init of IPv6 addrtype variable. It used to be uninitialized,
695 causing it to default to site-local and have some weird side-effects.
696 - Fixed crash when changing IPv6 address at run-time
697 - Fixed a bug that prevented setting willingness 0 in the configfile
698 - Fixed bad handling of missing command line arguments
699 - Did various updates to prevent assertion when a neighbor
700 has changed IP and sends HELLO before its olsrd precess has detected
702 - Fixed return value check on times(2) calls in the scheduler
703 - Fixed bug(s) that could cause crash when an interface was brought
704 down while olsrd was running.
705 - Removed the silent (read: unchecked) hard limit of 16 interfaces.
706 - Compiles now cleanly on 64bit (e.g. x86_64).
708 0.4.9 ---------------------------------------------------------------------
712 The MID database is now also indexed by alias addresses. this makes
713 look-ups of main addresses based on alias addresses _much_ faster.
714 The mid_lookup_main_addr function alone has gone from >30% of the
715 total CPU time used by olsrd to <1%.
716 PLUGIN DEVELOPERS: datatypes for MID entries has been changed.
718 Routing table calculation in the LQ case now uses balanced binary
719 trees instead of linked lists, which makes look-ups much faster.
721 The debug output function olsr_printf() is not used by olsrd
722 internals any more. Instead the macro OLSR_PRINTF is to be used.
723 This macro does debug level testing _before_ doing any function
724 calls(both printf itself and parameters to printf). This is a much
725 more optimized way of doing debug output. In addition olsrd can
726 be built without any debug output code if doing 'make NODEBUG=1'.
730 Validity times for dataset entries are now set using the clock_t type
731 (used to be struct timeval). This data is now fetched from the times(2)
732 function instead of gettimeofday(2). This prevents possible problems
733 if the system time is changed.
734 PLUGIN DEVELOPERS: Note that datatypes for close to all dataset entries
735 (link, neighbor, mid, hna, tc etc.) has been changed!!
739 Multiple interfaces can now use the same interface configuration block.
741 Interface "if0" "if1" "if2"
746 Interface configurations now also support the "Weight" directive. When
747 olsrd finds multiple links to a neighbor it will choose the link
748 going via the interface with the lowest weight. Olsrd normally
749 sets this weight dynamically based on interface characteristics,
750 but if the user wishes to set a fixed weight in a interface(or
751 a group of interfaces), this directive is now available.
753 Moreover, interface configurations now support the "LinkQualityMult"
754 directive. It takes an IP address and a multiplier as arguments.
762 LinkQualityMult 192.168.0.1 0.7
763 LinkQualityMult default 0.5
768 The idea is to make certain links via the configured interface
769 artificially worse or better than they really are. The first parameter
770 specifies the IP address of a neighbour interface. The second
771 parameter is the multiplier to be applied to the link to the specified
774 After we have derived the link quality from the packet loss among the
775 packets received from the specified neighbour interface, we multiply
776 the link quality by the given multiplier. So, the multiplier changes
777 the LQ value that we use when determining the ETX, which is 1 / (LQ *
780 If "default" is given as the IP address then the multiplier applies to
781 all links via the configured interface. Note, however, that olsrd only
782 assigns one multiplier to each link. It does so in the following way.
784 * If there is a "LinkQualityMult" line that matches the IP address of
785 the link's neighbour interface, then use the multiplier in this
788 * If there isn't any matching line, then look for a "default" line. If
789 there is a "default" line, then use the multiplier in this "default"
792 * Otherwise use 1.0, i.e. do not modify the LQ value at all.
794 Hence, a line with an IP address has priority over a "default" line.
796 In the above example, the LQ value of the link between the local
797 interface if0 and the neighbour interface 192.168.0.1 would be
798 multiplied by 0.7. All other links between the local interface if0 and
799 a neighbour interface would be multiplied by 0.5.
803 The socket option IPV6_V6ONLY is now set on IPv6 sockets in linux.
804 This means that olsrd will no longer receive IPv4 traffic when
805 running in IPv6 mode.
806 This should enable users to actually run one olsrd instance using
807 IPv6 and one using IPv4 at the same time :)
811 The httpinfo, dyn_gw and dot_draw plugins now all include olsrd
812 headerfiles directly. A plugin should define OLSR_PLUGIN before
813 including olsrd headers. Doing things this way removed the
814 redundant datatype definitions that has so often caused trouble
815 when things has been updated in olsrd.
819 olsrd now also compiles on NetBSD systems. Use 'make OS=nbsd' to
820 build. This port is not very well tested and feedback is greatly
823 EXPERIMENTAL MULTI-INTERFACE CODE FOR FREEBSD
825 Experimental code using libnet can be compiled in allowing multiple
826 interfaces to be used in FreeBSD. You enable this by compiling using
827 OS=fbsd-ll. You must have libnet-devel installed for this to work
828 (/usr/ports/net/libnet-devel).
832 - WLAN devices are now detected in FreeBSD
833 - First specified interfaces IP is used as main address.
834 - Broadcastflag is not checked on interface if fixed broadcast is
836 - Removed Linux link layer code as this was not really in use.
837 - Added -nofork command line option
841 - Link sensing now works according to announced vtime from
842 neighbors. Previously links going symmetric->asymmetric
843 were not necessarily detected until the holding time expired.
844 - A bug in route addition/removal that could lead to routes
845 using GWs being added before the actual route to the GW
846 was set up, has been fixed.
847 - A bug in the interface selection in route calculation has been
848 fixed. New routes are no longer added prior to deleting old ones,
849 since this caused trouble.
850 - A bug in the IPv6 multicast address configuration has been fixed.
851 This caused olsrd not to work with global IPv6 addresses.
852 - A bug in the IPv6 prefix-from IPaddr function has been fixed. This
853 bug caused HNA prefixes to always be calculated to 0.
854 - If a 2-hop neighbor is also a 1-hop neighbor, a bug made olsrd
855 prefer a bad direct link to a better link via an MPR.
856 - If a link or interface lookup failed, olsrd crashed.
857 - Fixed a crash in the LQ packet generation code based on a
858 signed/unsigned integer comparison.
861 0.4.8 ---------------------------------------------------------------------
865 Olsrd is now distributed under a BSD style license. We believe olsrd will
866 be better off using this license as it opens up for commercial players
867 to use olsrd freely in their products. In the end this will lead to
868 this kind of users doing serious testing and bug fixing of olsrd.
870 ETX-LIKE LINK QUALITY DETECTION
872 We can now determine the packet loss on a link by looking at the serial
873 numbers of the OLSR messages received from a neighbor. This tells us how
874 many packets get through from our neighbor to us. We use a new extended
875 kind of HELLO messages (LQ_HELLO messages, LQ = link quality) to broadcast
876 the link quality that we have determined on our end of the link to our
877 neighbors. So do our neighbors, and we as well as they end up with an
878 idea of how good the link is in both directions. From the LQ_HELLOs we
879 also learn the link quality between our neighbors and our two-hop neigh-
880 bors. In this way we can select those neighbors as MPRs that have the
881 best links to our two-hop neighbors. To distribute the link quality
882 throughout the network, we use a new extended version of TC messages
883 (LQ_TC messages). They contain the qualities at both ends of each of our
884 links. Nodes can then run Dijkstra's algorithm to find a path between
885 themselves and other nodes that minimizes the packet loss.
887 If the newly introduced "LinkQualityLevel" is set to zero in the
888 configuration file, link quality is not used and the daemon behaves as
889 before, i.e. as specified by the OLSR RFC. If this parameter is set
890 to 1, LQ_HELLOs and LQ_TCs are used instead of HELLOs and TCs, link
891 quality is measured and MPRs are selected based on the link qualities.
892 If this parameter is set to 2, the routing table is additionally
893 calculated based on the link qualities.
895 Setting "LinkQualityLevel" to a non-zero value BREAKS COMPATIBILITY. You
896 will then not be able to participate in RFC-conformant OLSR networks
897 any longer. This is because we use LQ_HELLOs and LQ_TCs instead of HELLOs
898 and TCs in this case.
900 It's best practice to set "LinkQualityLevel" to the same value on all
903 When determining the quality of a link olsrd only considers a given
904 number of most recent OLSR packets received from its neighbors. By
905 default, olsrd looks at the 10 most recent OLSR packets. This can be
906 changed via the "LinkQualityWinSize" configuration option. Values
907 between 3 and 128 are legal.
909 NEW CONFIGFILE PARSER/FORMAT/SCHEME
911 A whole new config file syntax and parser is introduced with this
912 release. The parser is generated using flex and bison and it is
913 designed to be very modular. The parser can be compiled as either
914 a standalone binary, a shared library or as part of olsrd. This way
915 other applications can parse and generate olsrd configuration files
916 only by linking to the dynamic library.
917 In the new configfile options can be set pr. interface, plugin
918 parameters can be set, more IPC options can be set...and more.
919 The syntax is documented in the olsrd.conf(5) manual page found
920 in the files/ directory.
921 Olsrd internals now uses a single struct, as returned by the config
922 parser, for all configuration in runtime. this means that updating
923 values in this struct will dynamically update olsrd operation. It
924 also means that all configuration is now kept in one place instead
925 of spread all across the place.
927 FREEBSD AND MAC OSX PORT
929 This version offers an initial port of olsrd to FreeBSD and Mac OS
930 X. Like the Windows port it currently does not support IPv6. As this
931 is a very first try at supporting FreeBSD and Mac OS X, this port is
932 probably not as reliable as the Linux version. We'd greatly appreciate
933 feedback and bug reports. To compile you need GNU make. Then simply
934 run "gmake OS=fbsd" to build the executable.
938 The makefiles used to build olsrd have been rewritten and now includes
939 dependency file generation using makedep.
943 Tables are now only printed if changes occur, so there are no longer
944 any periodical output when using a debuglevel >0. A "heartbeat" is
945 now printed to STDOUT(if it is a terminal) in the form of a rotating
946 line to show that olsrd is actually operating.
947 Adding "ClearScreen yes" to the configuration file clears the screen
948 each time before the debug output shows updated information. This
949 makes the debug output easier to read in many cases. "ClearScreen no"
950 is the default, if no "ClearScreen" directive is given in the
955 There are some changes in the plugin interface. It is now at
956 version 2. Plugin specific parameters from the configfile
957 using the PlParam option, will now be passed on to plugins.
958 To receive such parameters a plugin must implement a function:
960 register_olsr_param(char *key, char *value)
961 to which parameter pairs will be passed.
965 Olsrd no longer uses any thread library on its operation. Everything
966 now happens in the main thread allowing for use of olsrd on platforms
967 with no thread library.
969 ACPI SUPPORT IN WILLINGNESS CALCULATION(LINUX)
971 The willingness calculation for Linux, now also supports the more
972 modern ACPI proc interface in addition to APM. This is not well
973 tested and feedback is appreciated!
977 Various options regarding IPC connections can now be set in the
978 configfile. The options are max connections, allowed unicast
979 hosts and allowed net-ranges.
983 Much of the message generation and net output code is rewritten.
984 Sending of partial messages should now work 100%. Also TC, MID
985 and HNA messages are now cached for a random amount of time
986 before transmitted - this often leads to the situation where these
987 messages are sent together with an HELLO message, which is highly
988 desirable since it saves network resources.
989 PLUGIN DEVELOPERS must note that the buffers and size variables
990 used in net output is no longer directly accessible!
992 NET OUTPUT CODE REWRITTEN
994 Every interface now has one outputbuffer registered. This allows
995 messages to be "cached" as explained above, so that multiple
996 messages are stacked together.
997 Also the outputbuffer and size are no longer accessible directly,
998 an API is available to plugins(and olsr code).
1000 OS DEPENDENT NETWORK INTERFACE
1002 The OS dependent network functions are now defined in net_os.h
1003 instead of being mixed up with internal network functions
1008 A bug that caused the announced ANSN sequence number to never stop
1009 being increased when a change in the MPR selector set was detected
1010 has been fixed. Another TC related bug that caused timed out TC
1011 entries not to be deleted from the routing table in certain cases
1012 has also been fixed. These bugs could cause unstable routes.
1013 A bug that in many cases caused the wrong routes to be deleted
1014 when using IPv6 has been fixed.
1017 0.4.7 ---------------------------------------------------------------------
1019 NATIVE WINDOWS GUI AND INSTALLER
1021 We now have a native Windows GUI. The GTK+ version is no longer
1022 supported on Windows. The new native GUI is pretty compact as it does
1023 not require the GTK+ runtime DLLs. In addition to monitoring olsrds
1024 state the GUI offers an easy way for novice users to configure
1025 olsrd. It's pretty self-explanatory. Have a look at README-WIN32.txt
1026 for details. The Windows version now also comes with an installer
1027 based on the freely available Nullsoft Scriptable Install System
1028 (NSIS). Looks like the Windows port is becoming more and more
1031 WIRELESS INTERFACE DETECTION ON WINDOWS
1033 Like the Linux version the Windows port is now able to tell WLAN
1034 interfaces from wired interfaces. We can now, for example, set
1035 different HELLO intervals for WLAN interfaces and wired interfaces,
1040 The order of updates of calculated routes is swapped. Now new routes
1041 are added prior to deleting old ones. This could fix issues where
1042 in some very very few cases one could experiment loss of routes.
1046 There were quite some bugs in IPv6 operation in 0.4.6. These are
1047 the bugs that were fixed:
1048 - HNA message parsing did not work.
1049 - Some IPv6 addresses were printed as IPv4 addresses in the
1051 - The '-dispin' option now works again.
1052 - A filedescriptor leak in the IPv6 interface detection caused
1056 0.4.6 ---------------------------------------------------------------------
1060 Read the README-WIN32.txt file!
1062 DYNAMIC NETWORK INTERFACE UPDATES
1064 Network interfaces can now be updated and removed/added at
1065 runtime. Olsrd will check all interfaces specified in the config
1066 file or on the command-line, every 5 seconds. If updates
1067 occur, olsrd will register this and update the necessary data.
1068 If interfaces are removed or added, olsrd will detect this
1069 and configure the interfaces. If an interface is removed
1070 olsrd will continue to check the interface, so if say, a PCMCIA
1071 card is removed and later on reinserted(and given the same name),
1072 olsrd will detect this and start running on it again.
1074 Note that olsrd will now run even if no interfaces are detected.
1076 ROUTE CALCULATION UPDATE
1078 All 1 hop neighbor addresses that are not directly reachable trough
1079 a symmetric link in the link set will now be added with a GW in the
1080 routing table. this GW will be an interface address from a registered
1081 symmetric link to the neighbor.
1085 Alias addresses are now registered in the link set processing
1086 if available. This is not to pretty(since the vtime has to
1087 be a mere guess) but it gives faster initial route updates.
1088 If a HELLO is received(at initial registration) from an IP
1089 that is not the same as the one set as main address in the
1090 received HELLO header, then the IP from which the HELLO was
1091 received will be registered as an alias of the main address
1092 set in the HELLO header. The default vtime is set to 15 secs.
1096 All OS dependent interface configuration code is now located in
1097 OS/ifnet.c(that would be linux/ifnet.c if using GNU/Linux).
1098 The functions are available trough the headerfile src/ifnet.h
1102 - Some timer issues fixed
1103 - Got rid of the global socket descriptors
1104 - Updated indexing of network interfaces
1105 - Introduced a global socket to use for ioctl calls(ioctl_s)
1106 - Removed upper limit for interfaces to use
1107 - Point-to-point interfaces are now allowed
1108 - The main select(2) loop now uses a timeout
1109 - A small bugfix in the select fd-set update code
1110 - Some bugfixes in the configuration file parsing
1111 - stdout/stderr are now set to not be buffered
1112 - A bugfix in the MID generation regarding seq. numbering
1116 A new set of functions that are called whenever a change in the
1117 interface configuration(update, addition, removal) is made is
1119 These functions are added and removed very much like the ptf
1120 functions. Available trough the functions add_ifchgf and del_ifchgf.
1122 OBS OBS OBS!!! PLUGIN DEVELOPERS READ THIS!!!!
1124 The interface struct(declared in interfaces.h) has changed.
1125 Plugin developers must update plugins that uses the interface
1128 The headerfile olsr_plugin_io.h which contains the plugin interface
1129 commands now contains a revision list where all changes are
1133 0.4.5 ---------------------------------------------------------------------
1137 A plugin that generates and checks message signatures is added.
1140 PLUGIN: TOPOLOGY GRAPH
1142 A plugin that generates output of the topology in the dot format
1143 is added. See lib/dot_draw
1147 Some optimizations done that should cause fewer route recalculations.
1151 Some bugs reported by Takafumi Tanaka fixed.
1153 RESTORATION OF NETWORK SETTINGS
1155 Network settings like disabling of ICMP redirects and spoof filter, are
1156 now restored at exit by olsrd.
1160 Nodes would in certain scenarios retransmit messages originating for
1161 themselves. This was a RFC incompliance. Reported by Ingmar Baumgart.
1165 No longer setting the HELLO interval of non-wlan interfaces as a multiplier
1166 of the wlan interval. The interval is set seperatly now.
1167 Due to this there are some updates in the configfile imperatives.
1171 Some new macros introduced for table insertion and removal and IP
1172 copying and comparison.
1176 IPv6 bugfixes in the GUI.
1179 0.4.4 ---------------------------------------------------------------------
1183 Routes are no longer added via neighbors declaring a willingness
1186 LINK SENSING AND ROUTE CALCULATION
1188 Link sensing and route calculation has been updated to handle
1189 multiple links between hosts in a sane way.
1193 IP spoof filtering is disabled on the interfaces which olsrd runs.
1194 These settings are not restored!
1198 ICMP redirect message generation is disabled on the interfaces
1200 These settings are not restored!
1202 CONFIGFILE OPTIONS FOR MID AND HNA ADDED
1204 Options to set the MID and HNA emission intervals and
1205 validity time in the configfile added.
1209 Option to set what IPv6 address type(scope) to use in the
1210 configfile added. It can be set to either global or site-local.
1214 Options to set site-local and global multicast addresses
1215 in the configfile added.
1217 EMISSION INTERVAL FUNCTION
1219 Functions to set emission intervals at runtime added.
1221 LINK LAYER NOTIFICATIONS
1223 If started with the -llinfo switch olsrd will collect and display
1224 link-layer information on neighbors. This is no longer limited to
1225 one interface. But no action is taken based on this info - and
1226 there is a upper limit of 8 neighbors from which this info can
1227 be collected pr. interface. This limitation is inherited from the
1228 WLAN drivers and is not something imposed by the olsrd code!
1230 IPv6 HNA MESSAGE FORMAT
1232 IPv6 HNA messages now contains 128-bit netmask instead of prefix.
1236 Added "packet transform functions" which allow plugins to alter all
1237 outgoing OLSR traffic.
1241 Moved most headers out of OS dependent directories. The tunneling
1242 and link-layer notification interface is not yet separated from
1243 the /linux directory.
1247 A manpage(olsrd(8)) describing olsrd has been created. It is installed
1248 when using 'make install'.
1251 0.4.3 ---------------------------------------------------------------------
1255 Olsrd now supports runtime-loadable plugins! A couple of example plugins
1256 are located in the lib/ directory. Read the README files in the various
1257 plugin directories for more info. A directive to load plugins have been
1258 added to the configfile as well.
1259 Documentation of the plugin interface can be fount at http://www.olsr.org.
1261 The plugin interface is designed to be extendable. But it should _always_
1262 be backwards compatible with the interface used in this release!
1264 LINK-LAYER NOTIFICATION
1266 Some preliminary link-layer notification code has been added. Link quality
1267 can be written to stdout if olsrd is started with the -llinfo switch.
1268 No action is currently taken based on this info. And info will only
1269 be retrieved from the interface named "eth1".
1270 This code is not usable for users as of yet!
1274 Neighbors with willingness set to WILL_ALWAYS is now always added. The
1275 MPR selection is optimized as described in RFC3626 section 8.3.1
1280 There was a couple of bugs in the MPR selection code. All fixed.
1284 Users could not run olsrd on multiple interfaces using the Linux 2.6 kernel
1285 series. This is now fixed.
1289 One small bug in link hysteresis initialization and one in HNA route
1292 MESSAGE-SEQUENCENUMBER INCOMPLIANCE
1294 Message-seqnos was implemented on a pr. messagetype and pr. interface
1295 basis. This is not RFC3626 compliant and has been updates. All messages
1296 and interfaces now uses a global seuencenumber.
1298 RANDOM SEQUENCENUMBERS
1300 Sequencenumbers are now initialized using a random value.
1304 Fixes for running olsrd in daemon mode(debug 0).
1308 Optimizations based on profiling implemented.
1312 Message size is checked for every message before passing it to the
1313 appropriate message parsing function. If the size is bigger than the
1314 remaining size of the olsr packet then the message is discarded.
1318 Some minor modifications done to the gui.
1322 Lots of changes in handling of registration and unregistration of
1323 scheduler, socketparser, parser and local hna set.
1324 Some restructuring and movement of functions.
1327 0.4.2 ---------------------------------------------------------------------
1331 0.4.1 ---------------------------------------------------------------------
1335 0.4.0 ---------------------------------------------------------------------
1339 Link hysteresis as described in the RFC added.
1343 TC redundancy as described in the RFC added
1347 MPR redundancy as described in the RFC added
1351 The scheduler has been rewritten to register scheduled
1352 events(function pointers) dynamically.
1356 The parser has been rewritten to register parse functions
1357 on a pr. messagetype dynamically
1361 A wrapper for the malloc(3) syscal has been introduced.
1362 olsr_malloc(size_t, const char *) should ALWAYS be used.
1366 Lots of restructuring in headerfiles.
1367 Linux spesific code moved to subdirectory linux/
1368 FreeBSD code to be put in freebsd/
1369 LOTS of code restructured due to the rexrite of the scheduler
1374 Optimizing the MPR set as suggested in the RFC section
1375 8.3.1 point 5 added.
1379 Some bugs in MPR selection fixed.
1382 0.3.8 ---------------------------------------------------------------------
1386 HNA code completely rewritten!
1387 The old code was really bad! Now it is much cleaner implemented and
1389 One- and two-hop neighbor list structures rewritten. They now use
1390 the same hashed double-linked lists as the rest of the information
1395 Some code restructuring which resulted in the new files: timer.h,
1396 mantissa.c, mantissa.h, hashing.c, hashing.h, linux/net.c
1397 linux/net.h, linux/kernel_routes.c, linux/kernel_routes.h and some
1402 The bug causing errormessages on exit is fixed.
1403 The bug that caused initial HNA routes in the GUI to display a hopcount
1405 IPv6 HNA netmasks were all added as /128. It's fixed now.
1409 Turns out sitelocal address had to be preferred to avoid IPv6 header
1410 messing up link-sensing. Bug fixed
1413 0.3.7 ---------------------------------------------------------------------
1417 The entire TC set and MPR selector set code rewritten. Hashing and
1418 double linked lists added to the MID code.
1419 Lots of HNA code has been rewritten as well.
1423 When a node lost connectivity to a HNA GW all HNA entries to that gw
1424 was deleted. This has been fixed - and HNA entries only gets deleted
1426 Other HNA bugs have been fixed as well. But the whole HNA implementation
1431 There was a bug that caused holdingtime not to be properly recalculated
1432 when using non-default emission intervals.
1434 Forwarding and symmetric neighbors
1436 Seems I had misread the RFC on what a 1-hop symmetric neighbor is.
1437 Now the link-set is checked when a check for a symmetric neighbor
1438 is done. Not the 1 hop neighbor set as it used to be. This way
1439 the hack when receiving MID messages could be removed.
1443 Global addresses are now preferred. Sitelocal addresses are only used
1444 if no global addresses are found. There have been problems where
1445 the address set in the IP header of IPv6 packets do not match the
1446 address chosen by OLSR.
1450 The GUI is finally updated! It can now handle piggybacked messages
1451 and link sensing HELLO message format.
1454 0.3.6 ---------------------------------------------------------------------
1456 HNA support using IPv6
1458 HNA now works using IPv6 as well! Just add the network address and
1459 prefix in the HNA6 section in the configfile. The IPv6 HNA packets differ
1460 some from the IPv4 as they don't send the netmask but the prefix.
1463 NEW FILENAME FOR THE BINARY AND CONFIG FILE
1465 They are now called olsrd and olsrd.conf. I figured I'd use the olsrd
1466 name before somebody else started using it ;-)
1471 New options: DEBUG, HNA6 and IPC-CONNECT added to config file.
1476 A printf-wrapper has been introduced - debug level output handling
1477 is much more uniform now.
1478 The daemon should run fine in detached mode now(DEBUG 0)
1482 The GUI front-end can now connect and disconnect at any time while the
1483 daemon is running, if started using the -ipc switch or with IPC set to
1484 'yes' in the configfile.
1489 A small HNA bug fixed.
1492 0.3.5 ---------------------------------------------------------------------
1496 Forwarding jitter added. Messages are piggybacked if they arrive(and are to
1497 be forwarded) while there is data to be forwarded buffered.
1498 Added some bugfixes to support parsing of piggybacked messages as well.
1502 Fixed route calculation so that 2 hop neighbors are added. This smooths
1503 changes from 1 hop to 2 hop neighbor out. The old way one had to wait for
1504 a TC before the 2 hop neighbors were added.
1508 All neighbors received in HELLO messages are added to the two hop
1509 neighborhood. This helps smoothing out the 1-to-2 hop transition as well.
1513 MID calculation had to be updated due to the registering of two hop neighbors
1514 that are already one hop neighbors. They should not be considered when calculating
1519 Deletion of possible one hop neighbors registered on non main-addresses when
1520 first registering MID info from a node removed. This can not occur due
1521 to the fact that registering of neighbor nodes are done on main addresses
1523 Option to not forward messages on wired links on which they arrived removed.
1524 This is no longer usable to any degree when adding support for piggybacking
1525 of forwarded messages is to be implemented.
1529 Some unused parameters and commandline options were removed.
1533 0.3.3 ---------------------------------------------------------------------
1537 Added sending of empty TC messages if all MPR selectors are removed. Empty
1538 TC messages are sent for a TC_HOLD_TIME period as described in section
1543 Fixed HNA route calculations for IPv6. I forgot to upgrade this in 0.3.2
1547 -hnaint and -midint command line optionas added to set the interval
1548 of HNA and MID generation.
1552 As an optimization messages have not been forwarded on the received interface
1553 if this is registered as a non-WLAN interface. This causes problems for
1554 people using Ethernet-to-WLAN adapters. This optimization is now turned
1555 off by default. It can be activated using the -nofwlan option.
1559 THERE ARE SOME NASTY BUGS IN 0.3.2!
1560 Fixed a bug that caused 2 hop neighbors not to time out.
1561 Fixed a bug that caused a 1 hop neighbor timeout not to recalculate
1563 Fixed a small memleak in the MID set
1564 Fixed some smaller bugs.
1566 IPv6 functioning is not well tested in this release.
1568 0.3.2 ---------------------------------------------------------------------
1572 Updated HNA to be RFC compliant. This means that all received HNA tuples
1573 are registered and only the subset of unique entries(net/netmask) with
1574 the smallest hopcount is inserted into the routing table.
1578 User can specify configfile name using the -f switch.
1582 Fixed a link-sensing bug that caused problems when using MID nodes.
1584 0.3.1 ---------------------------------------------------------------------
1588 MPR calculation is now based on the willingness announced by nodes.
1592 The neighbor set does not have timeouts on entries any more. Creation
1593 and deletion of neighbor entries is done from the link-set as suggested
1598 Gotten rid of a lot of code that became more or less obsolete due to
1599 all the changes introduced in 0.3.0.
1603 Fixed a nasty bug concerning the sequence numbering of TC packets.
1604 Fixed some bugs regarding MPR calculation - and probably introduced
1605 a whole new species when implementing the willingness-based calculation ;-)
1608 0.3.0 ---------------------------------------------------------------------
1610 Due to the extensive amount of updates this release is versioned 0.3.0
1612 Duplicate table and forwarding
1614 The duplicate table functionality is totally rewritten in 100% RFC
1615 compliance. The forward algorithm specified in the RFC is implemented
1616 this meant rewriting much of the packet processing code. The daemon
1617 also forwards unknown packettypes now.
1619 Link sensing and neighbor processing
1621 Link sensing and neighbor processing was done in the same operation in the
1622 old code. Link sensing is now a mechanism of its own which is 100% RFC
1623 compliant. Neighbor processing and HELLO generation has been partly
1624 rewritten to be RFC compliant. Neighbors are now registered as either
1625 SYN or NOT_SYM. The NOT_NEIGH, SYM_NEIGH and MPR_NEIGH values are only
1626 used when building HELLO messages. Links are in one of the following states:
1627 UNSPEC_LINK, ASYM_LINK or SYM_LINK.
1628 HELLO messages now advertise link status of neighbors on the interface
1629 the message is transmitted.
1633 A node now dynamically calculates willingness based on powersource and
1634 possibly battery power. If the node is AC powered it announces a willingness
1635 of 6. If batterypowered the willingness is calculated as:
1637 Where P is percentage of power left.
1641 The daemon now tries to read its configuration from the file /etc/uolsrd.conf
1642 A "standard" configuration file is installed when doing 'make install'.
1643 This file should be edited to fit your needs.
1644 Command-line options can still be used to override the configuration form
1645 the file(ore if no config file is present).
1646 The -f switch can also be used to specify a configuration file.
1650 If AdvancedPowerManagemant(APM) is supported on your system the willingness
1651 of the node is dynamically calculated based upon the powerstatus of the node.
1652 MPR calculation based upon willingness is not done as of yet.
1656 A bugs in the TC processing fixed.
1660 Some serious HNA bugs fixed. These bugs caused a node to always choos the
1661 gateway with the larges hopcout :) More seriously - a bug caused looping
1662 of HNA messages in certain scenarios.
1664 Package sequence numbers
1666 These were added. Not much use as of now - but they're there(as specified
1671 Users can now specify the broadcast address to use. Useful if one wishes to
1672 use the 255.255.255.255 broadcast.
1676 0.2.5 ---------------------------------------------------------------------
1680 Htime and Vtime processing and handling added. Holding times used to be
1681 a static value for all nodes. Now every node can signal its vlidity time
1683 To achieve this mantissa/exponent calculation functionality was added.
1684 Messages now include Vtime(and Htime in HELLO) values in mantissa/exponent
1685 format instead of just zero. These values are as stated above, used as holding
1687 the GUI should be upgraded as well...
1691 The use of jitter in message generation intervals vere fixed.
1694 0.2.4 ---------------------------------------------------------------------
1698 Some bugs concerning sequence numbers in HELLO and MID message handling
1699 was fixed. Newly registered nodes in the neighbor and MID sets were
1700 initialized with a seqno of 0. When using a "wraparound" sequencenumber
1701 check(as defined in olsr_protocol.h) this can produce errors if a new
1702 node joins a network where existing nodes has seqnos >0x00FF.
1706 Some checks and copying of node addresses where done using sizeof(u_olsr32_t)
1707 which is 32 bits. This caused only the 32 firs bits of IPv6 addresses to
1708 be copied and checked.