1 This file states changes as of version 0.2.4:
2 $Id: CHANGELOG,v 1.15 2004/11/22 01:22:31 tlopatic Exp $
4 0.4.8 ---------------------------------------------------------------------
8 Olsrd is now distributed under a BSD style license. We belive olsrd will
9 be better off using this license as it opens up for commercial players
10 to use olsrd freely in their products. In the end this will lead to
11 this kind of users doing serious testing and bugfixing of olsrd.
15 Olsrd no longer uses any thread library on its operation. Everything
16 now happens in the main thread allowing for use of olsrd on platforms
17 with no thread library.
19 ETX-LIKE LINK QUALITY DETECTION
21 We can now determine the packet loss on a link by looking at the serial
22 numbers of the OLSR messages received from a neighbour. This tells us how
23 many packets get through from our neighbour to us. We use a new extended
24 kind of HELLO messages (LQ_HELLO messages, LQ = link quality) to broadcast
25 the link quality that we have determined on our end of the link to our
26 neighbours. So do our neighbours, and we as well as they end up with an
27 idea of how good the link is in both directions. From the LQ_HELLOs we
28 also learn the link quality between our neighbours and our two-hop neigh-
29 bours. In this way we can select those neighbours as MPRs that have the
30 best links to our two-hop neighbours. To distribute the link quality
31 throughout the network, we use a new extended version of TC messages
32 (LQ_TC messages). They contain the qualities at both ends of each of our
33 links. Nodes can then run Dijkstra's algorithm to find a path between
34 themselves and other nodes that minimizes the packet loss.
36 If the newly introduced "LinkQualityLevel" is set to zero in the
37 configuration file, link quality is not used and the daemon behaves as
38 before, i.e. as specified by the OLSR RFC. If this parameter is set
39 to 1, LQ_HELLOs and LQ_TCs are used instead of HELLOs and TCs, link
40 quality is measured and MPRs are selected based on the link qualities.
41 If this parameter is set to 2, the routing table is additionally
42 calculated based on the link qualities.
44 Setting "LinkQualityLevel" to a non-zero value BREAKS COMPATIBILITY. You
45 will then not be able to participate in RFC-conformant OLSR networks
46 any longer. This is because we use LQ_HELLOs and LQ_TCs instead of HELLOs
49 It's best practice to set "LinkQualityLevel" to the same value on all
52 When determining the quality of a link olsrd only considers a given
53 number of most recent OLSR packets received from its neighbours. By
54 default, olsrd looks at the 10 most recent OLSR packets. This can be
55 changed via the "LinkQualityWinSize" configuration option. Values
56 between 3 and 128 are legal.
58 NEW CONFIGFILE PARSER/FORMAT/SCHEME
62 FREEBSD AND MAC OSX PORT
64 This version offers an initial port of olsrd to FreeBSD and Mac OS
65 X. Like the Windows port it currently does not support IPv6. As this
66 is a very first try at supporting FreeBSD and Mac OS X, this port is
67 probably not as reliable as the Linux version. We'd greatly appreciate
68 feedback and bug reports. To compile you need GNU make. Then simply
69 run "gmake OS=fbsd" to build the executable.
73 Adding "ClearScreen yes" to the configuration file clears the screen
74 each time before the debug output shows updated information. This
75 makes the debug output easier to read in many cases. "ClearScreen no"
76 is the default, if no "ClearScreen" directive is given in the
81 There are some changes in the plugin interface. It is now at
82 version 2. Plugin specific parameters from the configfile
83 will now be passed on to plugins.
85 ACPI SUPPORT IN WILLINGNESS CALCULATION(LINUX)
87 The willingness calculation for Linux, now also supports the more
88 modern ACPI proc interface in addittion to APM.
92 Various options regarding IPC connections can now be set in the
93 configfile. The options are max connections, allowed unicast
94 hosts and allowed net-ranges.
98 Much of the message generation and net output code is rewritten.
99 Sending of partial messages should now work 100%. Also TC, MID
100 and HNA messages are now cached for a random amount of time
101 before transmitted - this often leads to the situation where these
102 messages are sent together with an HELLO maessage, which is highly
103 desireable since it saves network resources.
104 PLUGIN DEVELOPERS must note that the buffers and size variables
105 used in net output is no longer directly accessible!
107 NET OUTPUT CODE REWRITTEN
109 Every interface now has one outputbuffer registered. This allows
110 messages to be "cached" as explained above, so that multiple
111 messages are stacked together.
112 Also the outputbuffer and size are no longer accessable directly,
113 an API is available to plugins(and olsr code).
115 OS DEPENDENT NETWORK INTERFACE
117 The OS dependen network functions are now defined in net_os.h
118 instead of beeing mixed up with internal network functions
123 The common makefile now includes automatic dependency generation
128 A bug that caused the announced ANSN sequence number to never stop
129 beeing increased when a change in the MPR selector set was detected
130 has been fixed. This bug could cause unstable routes.
131 A bug that in many cases caused the wrong routes to be deleted
132 when using IPv6 has been fixed.
136 There are a lot of changes that affects plugins in this release.
137 This has mainly to do with the new outputbuffering and
138 configuration schemes.
140 0.4.7 ---------------------------------------------------------------------
142 NATIVE WINDOWS GUI AND INSTALLER
144 We now have a native Windows GUI. The GTK+ version is no longer
145 supported on Windows. The new native GUI is pretty compact as it does
146 not require the GTK+ runtime DLLs. In addition to monitoring olsrd's
147 state the GUI offers an easy way for novice users to configure
148 olsrd. It's pretty self-explanatory. Have a look at README-WIN32.txt
149 for details. The Windows version now also comes with an installer
150 based on the freely available Nullsoft Scriptable Install System
151 (NSIS). Looks like the Windows port is becoming more and more
154 WIRELESS INTERFACE DETECTION ON WINDOWS
156 Like the Linux version the Windows port is now able to tell WLAN
157 interfaces from wired interfaces. We can now, for example, set
158 different HELLO intervals for WLAN interfaces and wired interfaces,
163 The order of updates of calculated routes is swapped. Now new routes
164 are added prior to deleting old ones. This could fix issues where
165 in some very very few cases one could experiment loss of routes.
169 There were quite some bugs in IPv6 operation in 0.4.6. These are
170 the bugs that were fixed:
171 - HNA message parsing did not work.
172 - Some IPv6 addresses were printed as IPv4 addresses in the
174 - The '-dispin' option now works again.
175 - A filedescriptor leak in the IPv6 interface detection caused
179 0.4.6 ---------------------------------------------------------------------
183 Read the README-WIN32.txt file!
185 DYNAMIC NETWORK INTERFACE UPDATES
187 Network interfaces can now be updated and removed/added at
188 runtime. Olsrd will check all interfaces specified in the config
189 file or on the command-line, every 5 seconds. If updates
190 occure, olsrd will register this and update the necessary data.
191 If interfaces are removed or added, olsrd will detect this
192 and configure the interfaces. If an interface is removed
193 olsrd will continue to check the interface, so if say, a PCMCIA
194 card is removed and later on reinserted(and given the same name),
195 olsrd will detect this and start running on it again.
197 Note that olsrd will now run even if no interfaces are detected.
199 ROUTE CALCULATION UPDATE
201 All 1 hop neighbor addresses that are not directly reachable trough
202 a symmetric link in the link set will now be added with a GW in the
203 routing table. this GW will be an interface address from a registered
204 symmetric link to the neighbor.
208 Alias addresses are now registered in the link set processing
209 if available. This is not to pretty(since the vtime has to
210 be a mere guess) but it gives faster initial route updates.
211 If a HELLO is received(at initial registration) from an IP
212 that is not the same as the one set as main address in the
213 received HELLO header, then the IP from which the HELLO was
214 received will be registered as an alias of the main address
215 set in the HELLO header. The default vtime is set to 15 secs.
219 All OS dependent interface configuration code is now located in
220 OS/ifnet.c(that would be linux/ifnet.c if using GNU/Linux).
221 The functions are available trough the headerfile src/ifnet.h
225 - Some timer issues fixed
226 - Got rid of the global socket descriptors
227 - Updated indexing of network interfaces
228 - Introduced a global socket to use for ioctl calls(ioctl_s)
229 - Removed upper limit for interfaces to use
230 - Point-to-point interfaces are now allowed
231 - The main select(2) loop now uses a timeout
232 - A small bugfix in the select fd-set update code
233 - Some bugfixes in the configuration file parsing
234 - stdout/stderr are now set to not be buffered
235 - A bugfix in the MID generation regarding seq. numbering
239 A new set of functions that are called whenever a change in the
240 interface configuration(update, addittion, removal) is made is
242 These functions are added and removed very much like the ptf
243 functions. Available trough the functions add_ifchgf and del_ifchgf.
245 OBS OBS OBS!!! PLUGIN DEVELOPERS READ THIS!!!!
247 The interface struct(declared in interfaces.h) has changed.
248 Plugin developers must update plugins that uses the interface
251 The headerfile olsr_plugin_io.h which contains the plugin interface
252 commands now contains a revision list where all changes are
256 0.4.5 ---------------------------------------------------------------------
260 A plugin that generates and checks message signatures is added.
263 PLUGIN: TOPOLOGY GRAPH
265 A plugin that generates output of the topology in the dot format
266 is added. See lib/dot_draw
270 Some optimizations done that should cause fewer route recalculations.
274 Some bugs reported by Takafumi Tanaka fixed.
276 RESTORATION OF NETWORK SETTINGS
278 Network settings like disabling of ICMP redirects and spoof filter, are
279 now restored at exit by olsrd.
283 Nodes would in certain scenarios retransmit messages originating for
284 themselves. This was a RFC incompliance. Reported by Ingmar Baumgart.
288 No longer setting the HELLO interval of non-wlan interfaces as a multiplier
289 of the wlan interval. The interval is set seperatly now.
290 Due to this there are some updates in the configfile imperatives.
294 Some new macros introduced for table insertion and removal and IP
295 copying and comparision.
299 IPv6 bugfixes in the GUI.
302 0.4.4 ---------------------------------------------------------------------
306 Routes are no longer added via neighbors declaring a willingness
309 LINK SENSING AND ROUTE CALCULATION
311 Link sensing and route calculation has been updated to handle
312 multiple links between hosts in a sane way.
316 IP spoof filtering is disabled on the interfaces which olsrd runs.
317 These settings are not restored!
321 ICMP redirect message generation is disabled on the interfaces
323 These settings are not restored!
325 CONFIGFILE OPTIONS FOR MID AND HNA ADDED
327 Options to set the MID and HNA emission intervals and
328 validitytime in the configfile added.
332 Option to set what IPv6 address type(scope) to use in the
333 configfile added. It can be set to either global or site-local.
337 Options to set site-local and global multicast addresses
338 in the configfile added.
340 EMISSION INTERVAL FUNCTION
342 Functions to set emission intervals at runtime added.
344 LINK LAYER NOTIFICATIONS
346 If started with the -llinfo switch olsrd will collect and display
347 link-layer information on neighbors. This is no longer limited to
348 one interface. But no action is taken based on this info - and
349 there is a upper limit of 8 neighbors from which this info can
350 be collected pr. interface. This limitation is inherited from the
351 WLAN drivers and is not something imposed by the olsrd code!
353 IPv6 HNA MESSAGE FORMAT
355 IPv6 HNA messages now contains 128-bit netmask instead of prefix.
359 Added "packet transform functions" which allow plugins to alter all
360 outgoing OLSR traffic.
364 Moved most headers out of OS dependent directories. The tunneling
365 and link-layer notification interface is not yet seperated from
366 the /linux directory.
370 A manpage(olsrd(8)) describing olsrd has been created. It is installed
371 when using 'make install'.
374 0.4.3 ---------------------------------------------------------------------
378 Olsrd now supports runtime-loadable plugins! A couple of example plugins
379 are located in the lib/ directory. Read the README files in the various
380 plugin directories for more info. A directive to load plugins have been
381 added to the configfile as well.
382 Documentation of the plugin interface can be fount at http://www.olsr.org.
384 The plugin interface is designed to be extendable. But it should _always_
385 be backwards compatible with the interface used in this release!
387 LINK-LAYER NOTIFICATION
389 Some preliminary link-layer notification code has been added. Link quality
390 can be written to stdout if olsrd is started with the -llinfo switch.
391 No action is currently taken based on this info. And info will only
392 be retreived from the interface named "eth1".
393 This code is not usable for users as of yet!
397 Neighbors with willingness set to WILL_ALWAYS is now always added. The
398 MPR selection is optimized as described in RFC3626 section 8.3.1
403 There was a couple of bugs in the MPR selection code. All fixed.
407 Users could not run olsrd on multiple inerface using the Linux 2.6 kernel
408 series. This is now fixed.
412 One small bug in link hysteresis initialization and one in HNA route
415 MESSAGE-SEQUENCENUMBER INCOMPLIANCE
417 Message-seqnos was implementaed on a pr. messagetype and pr. interface
418 basis. This is not RFC3626 compliant and has been updates. All messages
419 and interfaces now uses a global seuencenumber.
421 RANDOM SEQUENCENUMBERS
423 Sequencenumbers are now initialized using a random value.
427 Fixes for running olsrd in daemon mode(debug 0).
431 Optimizations based on profiling implemented.
435 Message size is checked for every massege before passing it to the
436 appropriate message persing function. If the size is bigger than the
437 remaining size of the olsr packet then the message is discarded.
441 Some minor modifications done to the gui.
445 Lots of changes in handling of registration and unregistration of
446 scheduler, socketparser, parser and local hna set.
447 Some restructuring and movement of functions.
450 0.4.2 ---------------------------------------------------------------------
454 0.4.1 ---------------------------------------------------------------------
458 0.4.0 ---------------------------------------------------------------------
462 Link hysteresis as described in the RFC added.
466 TC redundancy as described in the RFC added
470 MPR redundancy as described in the RFC added
474 The scheduler has been rewritten to register scheduled
475 events(function pointers) dynamically.
479 The parser has been rewritten to register parse functions
480 on a pr. messagetype dynamically
484 A wrapper for the malloc(3) syscal has been introduced.
485 olsr_malloc(size_t, const char *) should ALWAYS be used.
489 Lots of restructuring in headerfiles.
490 Linux spesific code moved to subdirectory linux/
491 FreeBSD code to be put in freebsd/
492 LOTS of code restructured due to the rexrite of the scheduler
497 Optimizing the MPR set as suggested in the RFC section
502 Some bugs in MPR selection fixed.
505 0.3.8 ---------------------------------------------------------------------
509 HNA code completeley rewritten!
510 The old code was really bad! Now it is much cleaner implemented and
512 One- and two-hop neighbor list structures rewritten. They now use
513 the same hashed double-linked lists as the rest of the information
518 Some code restructuing which resulted in the new files: timer.h,
519 mantissa.c, mantissa.h, hashing.c, hashing.h, linux/net.c
520 linux/net.h, linux/kernel_routes.c, linux/kernel_routes.h and some
525 The bug causing errormessages on exit is fixed.
526 The bug that caused initial HNA routes in the GUI to display a hopcount
528 IPv6 HNA netmasks were all added as /128. It's fixed now.
532 Turns out sitelocal address had to be preferred to avoid IPv6 header
533 messing up link-sensing. Bug fixed
536 0.3.7 ---------------------------------------------------------------------
540 The entire TC set and MPR selector set code rewritten. Hashing and
541 double linked lists added to the MID code.
542 Lots of HNA code has been rewriteen as well.
546 When a node lost connectivity to a HNA GW all HNA entries to that gw
547 was deleted. This has been fixed - and HNA entries only gets deleted
549 Other HNA bugs have been fixed as well. But the whole HNA implementation
554 There was a bug that caused holdingtime not to be properly recalculated
555 when using non-default emission intervals.
557 Forwarding and symmetric neighbors
559 Seems I had misread the RFC on what a 1-hop symmetric neighbor is.
560 Now the link-set is checked when a check for a symmetric neighbor
561 is done. Not the 1 hop neighbor set as it used to be. This way
562 the hack when receiving MID messages could be removed.
566 Global addresses are now preferred. Sitelocal addresses are only used
567 if no global adresses are found. There have been problems where
568 the address set in the IP header of IPv6 packets do not match the
569 address chosen by OLSR.
573 The GUI is finally updated! It can now handle piggybacked messages
574 and link sensing HELLO message format.
577 0.3.6 ---------------------------------------------------------------------
579 HNA support using IPv6
581 HNA now works using IPv6 as well! Just add the netwrok address and
582 prefix in the HNA6 section in the configfile. The IPv6 HNA packets differ
583 some from the IPv4 as they don't send the netmask but the prefix.
586 NEW FILENAME FOR THE BINARY AND CONFIG FILE
588 They are now called olsrd and olsrd.conf. I figured I'd use the olsrd
589 name before somebody else started using it ;-)
594 New options: DEBUG, HNA6 and IPC-CONNECT added to config file.
599 A printf-wrapper hans been introduced - debug level output handeling
600 is much more uniform now.
601 The daemon sould run fine in detatched mode now(DEBUG 0)
605 The GUI front-end can now connect and dissconnect at any time while the
606 daemon is running, if started using the -ipc switch or with IPC set to
607 'yes' in the configfile.
612 A small HNA bug fixed.
615 0.3.5 ---------------------------------------------------------------------
619 Forwarding jitter added. Messages are piggibacked if they arrive(and are to
620 be forwarded) while there is data to be forwarded buffered.
621 Added some bugfixes to support parsing of piggybacked messages as well.
625 Fixed route calculation so that 2 hop neighbors are added. This smooths
626 changes from 1 hop to 2 hop neighbor out. The old way one had to wait for
627 a TC before the 2 hop neighbors were added.
631 All neighbors recieved in HELLO messages are added to the two hop
632 neighborhood. This helps smoothing out the 1-to-2 hop transition as well.
636 MID calculation had to be updated due to the registering of two hop neighbors
637 that are already one hop neighbors. They sould not be considered when calculatin
642 Deletion of possible one hop neighbors registered on non main-addresses when
643 first registering MID info from a node removed. This can not occure due
644 to the fact that registering of neighbor nodes are done on main addresses
646 Option to not forward messages on wired links on which they arrived removed.
647 This is no longer usable to any degree when adding support for piggybacking
648 of forwarded messages is to be implemented.
652 Some unused parameters and commandline options were removed.
656 0.3.3 ---------------------------------------------------------------------
660 Added sending of empty TC messages if all MPR selectors are removed. Empty
661 TC messages are sent for a TC_HOLD_TIME period as described in section
666 Fixed HNA route calculations for IPv6. I forgot to upgrade this in 0.3.2
670 -hnaint and -midint command line optionas added to set the interval
671 of HNA and MID generation.
675 As an optimization messages have not been forwarded on the recieved interface
676 if this is registered as a non-WLAN interface. This causes problems for
677 people using ethernet-to-WLAN adapters. This optimalization is now turned
678 off by default. It can be activated using the -nofwlan option.
682 THERE ARE SOME NASTY BUGS IN 0.3.2!
683 Fixed a bug that caused 2 hop neighbors not to time out.
684 Fixed a bug that caused a 1 hop neighbor timeout not to recalculate
686 Fixed a small memleak in the MID set
687 Fixed some smaller bugs.
689 IPv6 functioning is not well tested in this release.
691 0.3.2 ---------------------------------------------------------------------
695 Updated HNA to be RFC compliant. This means that all recieved HNA tuples
696 are registered and only the subset of uniqe entries(net/netmask) with
697 the smallest hocount is inserted into the routing table.
701 User can specify configfile name using the -f switch.
705 Fixed a link-sensing bug that caused problems when using MID nodes.
707 0.3.1 ---------------------------------------------------------------------
711 MPR calculation is now based on the willingness announced by nodes.
715 The neighbor set does not have timeouts on entries any more. Creation
716 and deletion af neighbor entries is done from the link-set as suggested
721 Gotten rid of a lot of code that became more or less obsolete due to
722 all the changes introduced in 0.3.0.
726 Fixed a nasty bug concerning the sequence numbering of TC packets.
727 Fixed some bugs regarding MPR calculation - and probably introduced
728 a whole new species when implementing the willingness-based calculation ;-)
731 0.3.0 ---------------------------------------------------------------------
733 Due to the extensive amount of updates this release is versioned 0.3.0
735 Duplicate table and forwarding
737 The duplicate table functionallity is totally rewritten in 100% RFC
738 compliance. The forward algorithm specified in the RFC is implmented
739 this meant rewriting much of the packet processing code. The daemon
740 also forwards unknown packettypes now.
742 Link sensing and neighbor processing
744 Link sensing and neighbor processing was done in the same operation in the
745 old code. Link sensing is now a mechanism of its own which is 100% RFC
746 compliant. Neighbor processing and HELLO generation has been partly
747 rewritten to be RFC compliant. Neighbors are now registered as either
748 SYN or NOT_SYM. The NOT_NEIGH, SYM_NEIGH and MPR_NEIGH values are only
749 used when building HELLO messages. Links are in one of the following states:
750 UNSPEC_LINK, ASYM_LINK or SYM_LINK.
751 HELLO messages now advertise link status of neighbors on the interface
752 the message is transmitted.
756 A node now dynamically calculates willingness based on powersource and
757 possibly battery power. If the node is AC powered it announces a willingness
758 of 6. If batterypowered the willingness is calculated as:
760 Where P is percentage of power left.
764 The daemon now tries to read its configuration from the file /etc/uolsrd.conf
765 A "standard" configuration file is installed when doing 'make install'.
766 This file should be edited to fit your needs.
767 Command-line options can still be used to override the configuration form
768 the file(ore if no config file is present).
769 The -f switch can also be used to specify a configuration file.
773 If AdvancedPowerManagemant(APM) is supported on your system the willingness
774 of the node is dynamically calculated based upon the powerstatus of the node.
775 MPR calculation based upon willingness is not done as of yet.
779 A bugs in the TC processing fixed.
783 Some serious HNA bugs fixed. These bugs caused a node to always choos the
784 gateway with the larges hopcout :) More seriousley - a bug caused looping
785 of HNA messages in certain scenarios.
787 Package sequence numbers
789 These were added. Not much use as of now - but they're there(as specified
794 Users can now specify the broadcast address to use. Usefull if one wishes to
795 use the 255.255.255.255 broadcast.
799 0.2.5 ---------------------------------------------------------------------
803 Htime and Vtime processing and handeling added. Holding times used to be
804 a static value for all nodes. Now every node can signal its vlidity time
806 To achieve this mantissa/exponent calculation functionality was added.
807 Messages now include Vtime(and Htime in HELLO) values in mantissa/exponent
808 format instead of just zero. These values are as stated above, used as holding
810 the GUI should be upgraded as well...
814 The use of jitter in message generation intervals vere fixed.
817 0.2.4 ---------------------------------------------------------------------
821 Some bugs concerning sequence numbers in HELLO and MID message handling
822 was fixed. Newly registered nodes in the neighbor and MID sets were
823 initialized with a seqno of 0. When using a "wraparound" sequencenumber
824 check(as defined in olsr_protocol.h) this can produce errors if a new
825 node joins a network where existing nodes has seqnos >0x00FF.
829 Some checks and copying of node addresses where done using sizeof(u_olsr32_t)
830 which is 32 bits. This caused only the 32 firs bits of IPv6 addresses to
831 be copied and checked.