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