1 This file states changes as of version 0.2.4:
3 0.4.7 ---------------------------------------------------------------------
5 NATIVE WINDOWS GUI AND INSTALLER
7 We now have a native Windows GUI. The GTK+ version is no longer
8 supported on Windows. The new native GUI is pretty compact as it does
9 not require the GTK+ runtime DLLs. In addition to monitoring olsrd's
10 state the GUI offers an easy way for novice users to configure
11 olsrd. It's pretty self-explanatory. Have a look at README-WIN32.txt
12 for details. The Windows version now also comes with an installer
13 based on the freely available Nullsoft Scriptable Install System
14 (NSIS). Looks like the Windows port is becoming more and more
17 WIRELESS INTERFACE DETECTION ON WINDOWS
19 Like the Linux version the Windows port is now able to tell WLAN
20 interfaces from wired interfaces. We can now, for example, set
21 different HELLO intervals for WLAN interfaces and wired interfaces,
26 The order of updates of calculated routes is swapped. Now new routes
27 are added prior to deleting old ones. This could fix issues where
28 in some very very few cases one could experiment loss of routes.
32 There were quite some bugs in IPv6 operation in 0.4.6. These are
33 the bugs that were fixed:
34 - HNA message parsing did not work.
35 - Some IPv6 addresses were printed as IPv4 addresses in the
37 - The '-dispin' option now works again.
38 - A filedescriptor leak in the IPv6 interface detection caused
42 0.4.6 ---------------------------------------------------------------------
46 Read the README-WIN32.txt file!
48 DYNAMIC NETWORK INTERFACE UPDATES
50 Network interfaces can now be updated and removed/added at
51 runtime. Olsrd will check all interfaces specified in the config
52 file or on the command-line, every 5 seconds. If updates
53 occure, olsrd will register this and update the necessary data.
54 If interfaces are removed or added, olsrd will detect this
55 and configure the interfaces. If an interface is removed
56 olsrd will continue to check the interface, so if say, a PCMCIA
57 card is removed and later on reinserted(and given the same name),
58 olsrd will detect this and start running on it again.
60 Note that olsrd will now run even if no interfaces are detected.
62 ROUTE CALCULATION UPDATE
64 All 1 hop neighbor addresses that are not directly reachable trough
65 a symmetric link in the link set will now be added with a GW in the
66 routing table. this GW will be an interface address from a registered
67 symmetric link to the neighbor.
71 Alias addresses are now registered in the link set processing
72 if available. This is not to pretty(since the vtime has to
73 be a mere guess) but it gives faster initial route updates.
74 If a HELLO is received(at initial registration) from an IP
75 that is not the same as the one set as main address in the
76 received HELLO header, then the IP from which the HELLO was
77 received will be registered as an alias of the main address
78 set in the HELLO header. The default vtime is set to 15 secs.
82 All OS dependent interface configuration code is now located in
83 OS/ifnet.c(that would be linux/ifnet.c if using GNU/Linux).
84 The functions are available trough the headerfile src/ifnet.h
88 - Some timer issues fixed
89 - Got rid of the global socket descriptors
90 - Updated indexing of network interfaces
91 - Introduced a global socket to use for ioctl calls(ioctl_s)
92 - Removed upper limit for interfaces to use
93 - Point-to-point interfaces are now allowed
94 - The main select(2) loop now uses a timeout
95 - A small bugfix in the select fd-set update code
96 - Some bugfixes in the configuration file parsing
97 - stdout/stderr are now set to not be buffered
98 - A bugfix in the MID generation regarding seq. numbering
102 A new set of functions that are called whenever a change in the
103 interface configuration(update, addittion, removal) is made is
105 These functions are added and removed very much like the ptf
106 functions. Available trough the functions add_ifchgf and del_ifchgf.
108 OBS OBS OBS!!! PLUGIN DEVELOPERS READ THIS!!!!
110 The interface struct(declared in interfaces.h) has changed.
111 Plugin developers must update plugins that uses the interface
114 The headerfile olsr_plugin_io.h which contains the plugin interface
115 commands now contains a revision list where all changes are
119 0.4.5 ---------------------------------------------------------------------
123 A plugin that generates and checks message signatures is added.
126 PLUGIN: TOPOLOGY GRAPH
128 A plugin that generates output of the topology in the dot format
129 is added. See lib/dot_draw
133 Some optimizations done that should cause fewer route recalculations.
137 Some bugs reported by Takafumi Tanaka fixed.
139 RESTORATION OF NETWORK SETTINGS
141 Network settings like disabling of ICMP redirects and spoof filter, are
142 now restored at exit by olsrd.
146 Nodes would in certain scenarios retransmit messages originating for
147 themselves. This was a RFC incompliance. Reported by Ingmar Baumgart.
151 No longer setting the HELLO interval of non-wlan interfaces as a multiplier
152 of the wlan interval. The interval is set seperatly now.
153 Due to this there are some updates in the configfile imperatives.
157 Some new macros introduced for table insertion and removal and IP
158 copying and comparision.
162 IPv6 bugfixes in the GUI.
165 0.4.4 ---------------------------------------------------------------------
169 Routes are no longer added via neighbors declaring a willingness
172 LINK SENSING AND ROUTE CALCULATION
174 Link sensing and route calculation has been updated to handle
175 multiple links between hosts in a sane way.
179 IP spoof filtering is disabled on the interfaces which olsrd runs.
180 These settings are not restored!
184 ICMP redirect message generation is disabled on the interfaces
186 These settings are not restored!
188 CONFIGFILE OPTIONS FOR MID AND HNA ADDED
190 Options to set the MID and HNA emission intervals and
191 validitytime in the configfile added.
195 Option to set what IPv6 address type(scope) to use in the
196 configfile added. It can be set to either global or site-local.
200 Options to set site-local and global multicast addresses
201 in the configfile added.
203 EMISSION INTERVAL FUNCTION
205 Functions to set emission intervals at runtime added.
207 LINK LAYER NOTIFICATIONS
209 If started with the -llinfo switch olsrd will collect and display
210 link-layer information on neighbors. This is no longer limited to
211 one interface. But no action is taken based on this info - and
212 there is a upper limit of 8 neighbors from which this info can
213 be collected pr. interface. This limitation is inherited from the
214 WLAN drivers and is not something imposed by the olsrd code!
216 IPv6 HNA MESSAGE FORMAT
218 IPv6 HNA messages now contains 128-bit netmask instead of prefix.
222 Added "packet transform functions" which allow plugins to alter all
223 outgoing OLSR traffic.
227 Moved most headers out of OS dependent directories. The tunneling
228 and link-layer notification interface is not yet seperated from
229 the /linux directory.
233 A manpage(olsrd(8)) describing olsrd has been created. It is installed
234 when using 'make install'.
237 0.4.3 ---------------------------------------------------------------------
241 Olsrd now supports runtime-loadable plugins! A couple of example plugins
242 are located in the lib/ directory. Read the README files in the various
243 plugin directories for more info. A directive to load plugins have been
244 added to the configfile as well.
245 Documentation of the plugin interface can be fount at http://www.olsr.org.
247 The plugin interface is designed to be extendable. But it should _always_
248 be backwards compatible with the interface used in this release!
250 LINK-LAYER NOTIFICATION
252 Some preliminary link-layer notification code has been added. Link quality
253 can be written to stdout if olsrd is started with the -llinfo switch.
254 No action is currently taken based on this info. And info will only
255 be retreived from the interface named "eth1".
256 This code is not usable for users as of yet!
260 Neighbors with willingness set to WILL_ALWAYS is now always added. The
261 MPR selection is optimized as described in RFC3626 section 8.3.1
266 There was a couple of bugs in the MPR selection code. All fixed.
270 Users could not run olsrd on multiple inerface using the Linux 2.6 kernel
271 series. This is now fixed.
275 One small bug in link hysteresis initialization and one in HNA route
278 MESSAGE-SEQUENCENUMBER INCOMPLIANCE
280 Message-seqnos was implementaed on a pr. messagetype and pr. interface
281 basis. This is not RFC3626 compliant and has been updates. All messages
282 and interfaces now uses a global seuencenumber.
284 RANDOM SEQUENCENUMBERS
286 Sequencenumbers are now initialized using a random value.
290 Fixes for running olsrd in daemon mode(debug 0).
294 Optimizations based on profiling implemented.
298 Message size is checked for every massege before passing it to the
299 appropriate message persing function. If the size is bigger than the
300 remaining size of the olsr packet then the message is discarded.
304 Some minor modifications done to the gui.
308 Lots of changes in handling of registration and unregistration of
309 scheduler, socketparser, parser and local hna set.
310 Some restructuring and movement of functions.
313 0.4.2 ---------------------------------------------------------------------
317 0.4.1 ---------------------------------------------------------------------
321 0.4.0 ---------------------------------------------------------------------
325 Link hysteresis as described in the RFC added.
329 TC redundancy as described in the RFC added
333 MPR redundancy as described in the RFC added
337 The scheduler has been rewritten to register scheduled
338 events(function pointers) dynamically.
342 The parser has been rewritten to register parse functions
343 on a pr. messagetype dynamically
347 A wrapper for the malloc(3) syscal has been introduced.
348 olsr_malloc(size_t, const char *) should ALWAYS be used.
352 Lots of restructuring in headerfiles.
353 Linux spesific code moved to subdirectory linux/
354 FreeBSD code to be put in freebsd/
355 LOTS of code restructured due to the rexrite of the scheduler
360 Optimizing the MPR set as suggested in the RFC section
365 Some bugs in MPR selection fixed.
368 0.3.8 ---------------------------------------------------------------------
372 HNA code completeley rewritten!
373 The old code was really bad! Now it is much cleaner implemented and
375 One- and two-hop neighbor list structures rewritten. They now use
376 the same hashed double-linked lists as the rest of the information
381 Some code restructuing which resulted in the new files: timer.h,
382 mantissa.c, mantissa.h, hashing.c, hashing.h, linux/net.c
383 linux/net.h, linux/kernel_routes.c, linux/kernel_routes.h and some
388 The bug causing errormessages on exit is fixed.
389 The bug that caused initial HNA routes in the GUI to display a hopcount
391 IPv6 HNA netmasks were all added as /128. It's fixed now.
395 Turns out sitelocal address had to be preferred to avoid IPv6 header
396 messing up link-sensing. Bug fixed
399 0.3.7 ---------------------------------------------------------------------
403 The entire TC set and MPR selector set code rewritten. Hashing and
404 double linked lists added to the MID code.
405 Lots of HNA code has been rewriteen as well.
409 When a node lost connectivity to a HNA GW all HNA entries to that gw
410 was deleted. This has been fixed - and HNA entries only gets deleted
412 Other HNA bugs have been fixed as well. But the whole HNA implementation
417 There was a bug that caused holdingtime not to be properly recalculated
418 when using non-default emission intervals.
420 Forwarding and symmetric neighbors
422 Seems I had misread the RFC on what a 1-hop symmetric neighbor is.
423 Now the link-set is checked when a check for a symmetric neighbor
424 is done. Not the 1 hop neighbor set as it used to be. This way
425 the hack when receiving MID messages could be removed.
429 Global addresses are now preferred. Sitelocal addresses are only used
430 if no global adresses are found. There have been problems where
431 the address set in the IP header of IPv6 packets do not match the
432 address chosen by OLSR.
436 The GUI is finally updated! It can now handle piggybacked messages
437 and link sensing HELLO message format.
440 0.3.6 ---------------------------------------------------------------------
442 HNA support using IPv6
444 HNA now works using IPv6 as well! Just add the netwrok address and
445 prefix in the HNA6 section in the configfile. The IPv6 HNA packets differ
446 some from the IPv4 as they don't send the netmask but the prefix.
449 NEW FILENAME FOR THE BINARY AND CONFIG FILE
451 They are now called olsrd and olsrd.conf. I figured I'd use the olsrd
452 name before somebody else started using it ;-)
457 New options: DEBUG, HNA6 and IPC-CONNECT added to config file.
462 A printf-wrapper hans been introduced - debug level output handeling
463 is much more uniform now.
464 The daemon sould run fine in detatched mode now(DEBUG 0)
468 The GUI front-end can now connect and dissconnect at any time while the
469 daemon is running, if started using the -ipc switch or with IPC set to
470 'yes' in the configfile.
475 A small HNA bug fixed.
478 0.3.5 ---------------------------------------------------------------------
482 Forwarding jitter added. Messages are piggibacked if they arrive(and are to
483 be forwarded) while there is data to be forwarded buffered.
484 Added some bugfixes to support parsing of piggybacked messages as well.
488 Fixed route calculation so that 2 hop neighbors are added. This smooths
489 changes from 1 hop to 2 hop neighbor out. The old way one had to wait for
490 a TC before the 2 hop neighbors were added.
494 All neighbors recieved in HELLO messages are added to the two hop
495 neighborhood. This helps smoothing out the 1-to-2 hop transition as well.
499 MID calculation had to be updated due to the registering of two hop neighbors
500 that are already one hop neighbors. They sould not be considered when calculatin
505 Deletion of possible one hop neighbors registered on non main-addresses when
506 first registering MID info from a node removed. This can not occure due
507 to the fact that registering of neighbor nodes are done on main addresses
509 Option to not forward messages on wired links on which they arrived removed.
510 This is no longer usable to any degree when adding support for piggybacking
511 of forwarded messages is to be implemented.
515 Some unused parameters and commandline options were removed.
519 0.3.3 ---------------------------------------------------------------------
523 Added sending of empty TC messages if all MPR selectors are removed. Empty
524 TC messages are sent for a TC_HOLD_TIME period as described in section
529 Fixed HNA route calculations for IPv6. I forgot to upgrade this in 0.3.2
533 -hnaint and -midint command line optionas added to set the interval
534 of HNA and MID generation.
538 As an optimization messages have not been forwarded on the recieved interface
539 if this is registered as a non-WLAN interface. This causes problems for
540 people using ethernet-to-WLAN adapters. This optimalization is now turned
541 off by default. It can be activated using the -nofwlan option.
545 THERE ARE SOME NASTY BUGS IN 0.3.2!
546 Fixed a bug that caused 2 hop neighbors not to time out.
547 Fixed a bug that caused a 1 hop neighbor timeout not to recalculate
549 Fixed a small memleak in the MID set
550 Fixed some smaller bugs.
552 IPv6 functioning is not well tested in this release.
554 0.3.2 ---------------------------------------------------------------------
558 Updated HNA to be RFC compliant. This means that all recieved HNA tuples
559 are registered and only the subset of uniqe entries(net/netmask) with
560 the smallest hocount is inserted into the routing table.
564 User can specify configfile name using the -f switch.
568 Fixed a link-sensing bug that caused problems when using MID nodes.
570 0.3.1 ---------------------------------------------------------------------
574 MPR calculation is now based on the willingness announced by nodes.
578 The neighbor set does not have timeouts on entries any more. Creation
579 and deletion af neighbor entries is done from the link-set as suggested
584 Gotten rid of a lot of code that became more or less obsolete due to
585 all the changes introduced in 0.3.0.
589 Fixed a nasty bug concerning the sequence numbering of TC packets.
590 Fixed some bugs regarding MPR calculation - and probably introduced
591 a whole new species when implementing the willingness-based calculation ;-)
594 0.3.0 ---------------------------------------------------------------------
596 Due to the extensive amount of updates this release is versioned 0.3.0
598 Duplicate table and forwarding
600 The duplicate table functionallity is totally rewritten in 100% RFC
601 compliance. The forward algorithm specified in the RFC is implmented
602 this meant rewriting much of the packet processing code. The daemon
603 also forwards unknown packettypes now.
605 Link sensing and neighbor processing
607 Link sensing and neighbor processing was done in the same operation in the
608 old code. Link sensing is now a mechanism of its own which is 100% RFC
609 compliant. Neighbor processing and HELLO generation has been partly
610 rewritten to be RFC compliant. Neighbors are now registered as either
611 SYN or NOT_SYM. The NOT_NEIGH, SYM_NEIGH and MPR_NEIGH values are only
612 used when building HELLO messages. Links are in one of the following states:
613 UNSPEC_LINK, ASYM_LINK or SYM_LINK.
614 HELLO messages now advertise link status of neighbors on the interface
615 the message is transmitted.
619 A node now dynamically calculates willingness based on powersource and
620 possibly battery power. If the node is AC powered it announces a willingness
621 of 6. If batterypowered the willingness is calculated as:
623 Where P is percentage of power left.
627 The daemon now tries to read its configuration from the file /etc/uolsrd.conf
628 A "standard" configuration file is installed when doing 'make install'.
629 This file should be edited to fit your needs.
630 Command-line options can still be used to override the configuration form
631 the file(ore if no config file is present).
632 The -f switch can also be used to specify a configuration file.
636 If AdvancedPowerManagemant(APM) is supported on your system the willingness
637 of the node is dynamically calculated based upon the powerstatus of the node.
638 MPR calculation based upon willingness is not done as of yet.
642 A bugs in the TC processing fixed.
646 Some serious HNA bugs fixed. These bugs caused a node to always choos the
647 gateway with the larges hopcout :) More seriousley - a bug caused looping
648 of HNA messages in certain scenarios.
650 Package sequence numbers
652 These were added. Not much use as of now - but they're there(as specified
657 Users can now specify the broadcast address to use. Usefull if one wishes to
658 use the 255.255.255.255 broadcast.
662 0.2.5 ---------------------------------------------------------------------
666 Htime and Vtime processing and handeling added. Holding times used to be
667 a static value for all nodes. Now every node can signal its vlidity time
669 To achieve this mantissa/exponent calculation functionality was added.
670 Messages now include Vtime(and Htime in HELLO) values in mantissa/exponent
671 format instead of just zero. These values are as stated above, used as holding
673 the GUI should be upgraded as well...
677 The use of jitter in message generation intervals vere fixed.
680 0.2.4 ---------------------------------------------------------------------
684 Some bugs concerning sequence numbers in HELLO and MID message handling
685 was fixed. Newly registered nodes in the neighbor and MID sets were
686 initialized with a seqno of 0. When using a "wraparound" sequencenumber
687 check(as defined in olsr_protocol.h) this can produce errors if a new
688 node joins a network where existing nodes has seqnos >0x00FF.
692 Some checks and copying of node addresses where done using sizeof(u_olsr32_t)
693 which is 32 bits. This caused only the 32 firs bits of IPv6 addresses to
694 be copied and checked.