1 This file states changes as of version 0.2.4:
3 0.4.8 ---------------------------------------------------------------------
5 ACPI SUPPORT IN WILLINGNESS CALCULATION(LINUX)
7 The willingness calculation for Linux, now also supports the more
8 modern ACPI proc interface in addittion to APM.
12 Much of the message generation and net output code is rewritten.
13 Sending of partial messages should now work 100%. Also TC, MID
14 and HNA messages are now cached for a random amount of time
15 before transmitted - this often leads to the situation where these
16 messages are sent together with an HELLO maessage, which is highly
17 desireable since it saves network resources.
18 PLUGIN DEVELOPERS must note that the buffers and size variables
19 used in net output is no longer directly accessible!
21 NET OUTPUT CODE REWRITTEN
23 Every interface now has one outputbuffer registered. This allows
24 messages to be "cached" as explained above, so that multiple
25 messages are stacked together.
26 Also the outputbuffer and size are no longer accessable directly,
27 an API is available to plugins(and olsr code).
29 OS DEPENDENT NETWORK INTERFACE
31 The OS dependen ntework functions are now defined in net_os.h
32 instead of beeing mixed up with internal network functions
37 In the Linux makefile the '-Wmissing-prototypes -Wstrict-prototypes'
38 arguments has been added. All the warnings issued by gcc after
39 giving these arguments have been fixed for general- and Linux-code.
43 A bug that in many cases caused the wrong routes to be deleted
44 when using IPv6 has been fixed.
47 0.4.7 ---------------------------------------------------------------------
49 NATIVE WINDOWS GUI AND INSTALLER
51 We now have a native Windows GUI. The GTK+ version is no longer
52 supported on Windows. The new native GUI is pretty compact as it does
53 not require the GTK+ runtime DLLs. In addition to monitoring olsrd's
54 state the GUI offers an easy way for novice users to configure
55 olsrd. It's pretty self-explanatory. Have a look at README-WIN32.txt
56 for details. The Windows version now also comes with an installer
57 based on the freely available Nullsoft Scriptable Install System
58 (NSIS). Looks like the Windows port is becoming more and more
61 WIRELESS INTERFACE DETECTION ON WINDOWS
63 Like the Linux version the Windows port is now able to tell WLAN
64 interfaces from wired interfaces. We can now, for example, set
65 different HELLO intervals for WLAN interfaces and wired interfaces,
70 The order of updates of calculated routes is swapped. Now new routes
71 are added prior to deleting old ones. This could fix issues where
72 in some very very few cases one could experiment loss of routes.
76 There were quite some bugs in IPv6 operation in 0.4.6. These are
77 the bugs that were fixed:
78 - HNA message parsing did not work.
79 - Some IPv6 addresses were printed as IPv4 addresses in the
81 - The '-dispin' option now works again.
82 - A filedescriptor leak in the IPv6 interface detection caused
86 0.4.6 ---------------------------------------------------------------------
90 Read the README-WIN32.txt file!
92 DYNAMIC NETWORK INTERFACE UPDATES
94 Network interfaces can now be updated and removed/added at
95 runtime. Olsrd will check all interfaces specified in the config
96 file or on the command-line, every 5 seconds. If updates
97 occure, olsrd will register this and update the necessary data.
98 If interfaces are removed or added, olsrd will detect this
99 and configure the interfaces. If an interface is removed
100 olsrd will continue to check the interface, so if say, a PCMCIA
101 card is removed and later on reinserted(and given the same name),
102 olsrd will detect this and start running on it again.
104 Note that olsrd will now run even if no interfaces are detected.
106 ROUTE CALCULATION UPDATE
108 All 1 hop neighbor addresses that are not directly reachable trough
109 a symmetric link in the link set will now be added with a GW in the
110 routing table. this GW will be an interface address from a registered
111 symmetric link to the neighbor.
115 Alias addresses are now registered in the link set processing
116 if available. This is not to pretty(since the vtime has to
117 be a mere guess) but it gives faster initial route updates.
118 If a HELLO is received(at initial registration) from an IP
119 that is not the same as the one set as main address in the
120 received HELLO header, then the IP from which the HELLO was
121 received will be registered as an alias of the main address
122 set in the HELLO header. The default vtime is set to 15 secs.
126 All OS dependent interface configuration code is now located in
127 OS/ifnet.c(that would be linux/ifnet.c if using GNU/Linux).
128 The functions are available trough the headerfile src/ifnet.h
132 - Some timer issues fixed
133 - Got rid of the global socket descriptors
134 - Updated indexing of network interfaces
135 - Introduced a global socket to use for ioctl calls(ioctl_s)
136 - Removed upper limit for interfaces to use
137 - Point-to-point interfaces are now allowed
138 - The main select(2) loop now uses a timeout
139 - A small bugfix in the select fd-set update code
140 - Some bugfixes in the configuration file parsing
141 - stdout/stderr are now set to not be buffered
142 - A bugfix in the MID generation regarding seq. numbering
146 A new set of functions that are called whenever a change in the
147 interface configuration(update, addittion, removal) is made is
149 These functions are added and removed very much like the ptf
150 functions. Available trough the functions add_ifchgf and del_ifchgf.
152 OBS OBS OBS!!! PLUGIN DEVELOPERS READ THIS!!!!
154 The interface struct(declared in interfaces.h) has changed.
155 Plugin developers must update plugins that uses the interface
158 The headerfile olsr_plugin_io.h which contains the plugin interface
159 commands now contains a revision list where all changes are
163 0.4.5 ---------------------------------------------------------------------
167 A plugin that generates and checks message signatures is added.
170 PLUGIN: TOPOLOGY GRAPH
172 A plugin that generates output of the topology in the dot format
173 is added. See lib/dot_draw
177 Some optimizations done that should cause fewer route recalculations.
181 Some bugs reported by Takafumi Tanaka fixed.
183 RESTORATION OF NETWORK SETTINGS
185 Network settings like disabling of ICMP redirects and spoof filter, are
186 now restored at exit by olsrd.
190 Nodes would in certain scenarios retransmit messages originating for
191 themselves. This was a RFC incompliance. Reported by Ingmar Baumgart.
195 No longer setting the HELLO interval of non-wlan interfaces as a multiplier
196 of the wlan interval. The interval is set seperatly now.
197 Due to this there are some updates in the configfile imperatives.
201 Some new macros introduced for table insertion and removal and IP
202 copying and comparision.
206 IPv6 bugfixes in the GUI.
209 0.4.4 ---------------------------------------------------------------------
213 Routes are no longer added via neighbors declaring a willingness
216 LINK SENSING AND ROUTE CALCULATION
218 Link sensing and route calculation has been updated to handle
219 multiple links between hosts in a sane way.
223 IP spoof filtering is disabled on the interfaces which olsrd runs.
224 These settings are not restored!
228 ICMP redirect message generation is disabled on the interfaces
230 These settings are not restored!
232 CONFIGFILE OPTIONS FOR MID AND HNA ADDED
234 Options to set the MID and HNA emission intervals and
235 validitytime in the configfile added.
239 Option to set what IPv6 address type(scope) to use in the
240 configfile added. It can be set to either global or site-local.
244 Options to set site-local and global multicast addresses
245 in the configfile added.
247 EMISSION INTERVAL FUNCTION
249 Functions to set emission intervals at runtime added.
251 LINK LAYER NOTIFICATIONS
253 If started with the -llinfo switch olsrd will collect and display
254 link-layer information on neighbors. This is no longer limited to
255 one interface. But no action is taken based on this info - and
256 there is a upper limit of 8 neighbors from which this info can
257 be collected pr. interface. This limitation is inherited from the
258 WLAN drivers and is not something imposed by the olsrd code!
260 IPv6 HNA MESSAGE FORMAT
262 IPv6 HNA messages now contains 128-bit netmask instead of prefix.
266 Added "packet transform functions" which allow plugins to alter all
267 outgoing OLSR traffic.
271 Moved most headers out of OS dependent directories. The tunneling
272 and link-layer notification interface is not yet seperated from
273 the /linux directory.
277 A manpage(olsrd(8)) describing olsrd has been created. It is installed
278 when using 'make install'.
281 0.4.3 ---------------------------------------------------------------------
285 Olsrd now supports runtime-loadable plugins! A couple of example plugins
286 are located in the lib/ directory. Read the README files in the various
287 plugin directories for more info. A directive to load plugins have been
288 added to the configfile as well.
289 Documentation of the plugin interface can be fount at http://www.olsr.org.
291 The plugin interface is designed to be extendable. But it should _always_
292 be backwards compatible with the interface used in this release!
294 LINK-LAYER NOTIFICATION
296 Some preliminary link-layer notification code has been added. Link quality
297 can be written to stdout if olsrd is started with the -llinfo switch.
298 No action is currently taken based on this info. And info will only
299 be retreived from the interface named "eth1".
300 This code is not usable for users as of yet!
304 Neighbors with willingness set to WILL_ALWAYS is now always added. The
305 MPR selection is optimized as described in RFC3626 section 8.3.1
310 There was a couple of bugs in the MPR selection code. All fixed.
314 Users could not run olsrd on multiple inerface using the Linux 2.6 kernel
315 series. This is now fixed.
319 One small bug in link hysteresis initialization and one in HNA route
322 MESSAGE-SEQUENCENUMBER INCOMPLIANCE
324 Message-seqnos was implementaed on a pr. messagetype and pr. interface
325 basis. This is not RFC3626 compliant and has been updates. All messages
326 and interfaces now uses a global seuencenumber.
328 RANDOM SEQUENCENUMBERS
330 Sequencenumbers are now initialized using a random value.
334 Fixes for running olsrd in daemon mode(debug 0).
338 Optimizations based on profiling implemented.
342 Message size is checked for every massege before passing it to the
343 appropriate message persing function. If the size is bigger than the
344 remaining size of the olsr packet then the message is discarded.
348 Some minor modifications done to the gui.
352 Lots of changes in handling of registration and unregistration of
353 scheduler, socketparser, parser and local hna set.
354 Some restructuring and movement of functions.
357 0.4.2 ---------------------------------------------------------------------
361 0.4.1 ---------------------------------------------------------------------
365 0.4.0 ---------------------------------------------------------------------
369 Link hysteresis as described in the RFC added.
373 TC redundancy as described in the RFC added
377 MPR redundancy as described in the RFC added
381 The scheduler has been rewritten to register scheduled
382 events(function pointers) dynamically.
386 The parser has been rewritten to register parse functions
387 on a pr. messagetype dynamically
391 A wrapper for the malloc(3) syscal has been introduced.
392 olsr_malloc(size_t, const char *) should ALWAYS be used.
396 Lots of restructuring in headerfiles.
397 Linux spesific code moved to subdirectory linux/
398 FreeBSD code to be put in freebsd/
399 LOTS of code restructured due to the rexrite of the scheduler
404 Optimizing the MPR set as suggested in the RFC section
409 Some bugs in MPR selection fixed.
412 0.3.8 ---------------------------------------------------------------------
416 HNA code completeley rewritten!
417 The old code was really bad! Now it is much cleaner implemented and
419 One- and two-hop neighbor list structures rewritten. They now use
420 the same hashed double-linked lists as the rest of the information
425 Some code restructuing which resulted in the new files: timer.h,
426 mantissa.c, mantissa.h, hashing.c, hashing.h, linux/net.c
427 linux/net.h, linux/kernel_routes.c, linux/kernel_routes.h and some
432 The bug causing errormessages on exit is fixed.
433 The bug that caused initial HNA routes in the GUI to display a hopcount
435 IPv6 HNA netmasks were all added as /128. It's fixed now.
439 Turns out sitelocal address had to be preferred to avoid IPv6 header
440 messing up link-sensing. Bug fixed
443 0.3.7 ---------------------------------------------------------------------
447 The entire TC set and MPR selector set code rewritten. Hashing and
448 double linked lists added to the MID code.
449 Lots of HNA code has been rewriteen as well.
453 When a node lost connectivity to a HNA GW all HNA entries to that gw
454 was deleted. This has been fixed - and HNA entries only gets deleted
456 Other HNA bugs have been fixed as well. But the whole HNA implementation
461 There was a bug that caused holdingtime not to be properly recalculated
462 when using non-default emission intervals.
464 Forwarding and symmetric neighbors
466 Seems I had misread the RFC on what a 1-hop symmetric neighbor is.
467 Now the link-set is checked when a check for a symmetric neighbor
468 is done. Not the 1 hop neighbor set as it used to be. This way
469 the hack when receiving MID messages could be removed.
473 Global addresses are now preferred. Sitelocal addresses are only used
474 if no global adresses are found. There have been problems where
475 the address set in the IP header of IPv6 packets do not match the
476 address chosen by OLSR.
480 The GUI is finally updated! It can now handle piggybacked messages
481 and link sensing HELLO message format.
484 0.3.6 ---------------------------------------------------------------------
486 HNA support using IPv6
488 HNA now works using IPv6 as well! Just add the netwrok address and
489 prefix in the HNA6 section in the configfile. The IPv6 HNA packets differ
490 some from the IPv4 as they don't send the netmask but the prefix.
493 NEW FILENAME FOR THE BINARY AND CONFIG FILE
495 They are now called olsrd and olsrd.conf. I figured I'd use the olsrd
496 name before somebody else started using it ;-)
501 New options: DEBUG, HNA6 and IPC-CONNECT added to config file.
506 A printf-wrapper hans been introduced - debug level output handeling
507 is much more uniform now.
508 The daemon sould run fine in detatched mode now(DEBUG 0)
512 The GUI front-end can now connect and dissconnect at any time while the
513 daemon is running, if started using the -ipc switch or with IPC set to
514 'yes' in the configfile.
519 A small HNA bug fixed.
522 0.3.5 ---------------------------------------------------------------------
526 Forwarding jitter added. Messages are piggibacked if they arrive(and are to
527 be forwarded) while there is data to be forwarded buffered.
528 Added some bugfixes to support parsing of piggybacked messages as well.
532 Fixed route calculation so that 2 hop neighbors are added. This smooths
533 changes from 1 hop to 2 hop neighbor out. The old way one had to wait for
534 a TC before the 2 hop neighbors were added.
538 All neighbors recieved in HELLO messages are added to the two hop
539 neighborhood. This helps smoothing out the 1-to-2 hop transition as well.
543 MID calculation had to be updated due to the registering of two hop neighbors
544 that are already one hop neighbors. They sould not be considered when calculatin
549 Deletion of possible one hop neighbors registered on non main-addresses when
550 first registering MID info from a node removed. This can not occure due
551 to the fact that registering of neighbor nodes are done on main addresses
553 Option to not forward messages on wired links on which they arrived removed.
554 This is no longer usable to any degree when adding support for piggybacking
555 of forwarded messages is to be implemented.
559 Some unused parameters and commandline options were removed.
563 0.3.3 ---------------------------------------------------------------------
567 Added sending of empty TC messages if all MPR selectors are removed. Empty
568 TC messages are sent for a TC_HOLD_TIME period as described in section
573 Fixed HNA route calculations for IPv6. I forgot to upgrade this in 0.3.2
577 -hnaint and -midint command line optionas added to set the interval
578 of HNA and MID generation.
582 As an optimization messages have not been forwarded on the recieved interface
583 if this is registered as a non-WLAN interface. This causes problems for
584 people using ethernet-to-WLAN adapters. This optimalization is now turned
585 off by default. It can be activated using the -nofwlan option.
589 THERE ARE SOME NASTY BUGS IN 0.3.2!
590 Fixed a bug that caused 2 hop neighbors not to time out.
591 Fixed a bug that caused a 1 hop neighbor timeout not to recalculate
593 Fixed a small memleak in the MID set
594 Fixed some smaller bugs.
596 IPv6 functioning is not well tested in this release.
598 0.3.2 ---------------------------------------------------------------------
602 Updated HNA to be RFC compliant. This means that all recieved HNA tuples
603 are registered and only the subset of uniqe entries(net/netmask) with
604 the smallest hocount is inserted into the routing table.
608 User can specify configfile name using the -f switch.
612 Fixed a link-sensing bug that caused problems when using MID nodes.
614 0.3.1 ---------------------------------------------------------------------
618 MPR calculation is now based on the willingness announced by nodes.
622 The neighbor set does not have timeouts on entries any more. Creation
623 and deletion af neighbor entries is done from the link-set as suggested
628 Gotten rid of a lot of code that became more or less obsolete due to
629 all the changes introduced in 0.3.0.
633 Fixed a nasty bug concerning the sequence numbering of TC packets.
634 Fixed some bugs regarding MPR calculation - and probably introduced
635 a whole new species when implementing the willingness-based calculation ;-)
638 0.3.0 ---------------------------------------------------------------------
640 Due to the extensive amount of updates this release is versioned 0.3.0
642 Duplicate table and forwarding
644 The duplicate table functionallity is totally rewritten in 100% RFC
645 compliance. The forward algorithm specified in the RFC is implmented
646 this meant rewriting much of the packet processing code. The daemon
647 also forwards unknown packettypes now.
649 Link sensing and neighbor processing
651 Link sensing and neighbor processing was done in the same operation in the
652 old code. Link sensing is now a mechanism of its own which is 100% RFC
653 compliant. Neighbor processing and HELLO generation has been partly
654 rewritten to be RFC compliant. Neighbors are now registered as either
655 SYN or NOT_SYM. The NOT_NEIGH, SYM_NEIGH and MPR_NEIGH values are only
656 used when building HELLO messages. Links are in one of the following states:
657 UNSPEC_LINK, ASYM_LINK or SYM_LINK.
658 HELLO messages now advertise link status of neighbors on the interface
659 the message is transmitted.
663 A node now dynamically calculates willingness based on powersource and
664 possibly battery power. If the node is AC powered it announces a willingness
665 of 6. If batterypowered the willingness is calculated as:
667 Where P is percentage of power left.
671 The daemon now tries to read its configuration from the file /etc/uolsrd.conf
672 A "standard" configuration file is installed when doing 'make install'.
673 This file should be edited to fit your needs.
674 Command-line options can still be used to override the configuration form
675 the file(ore if no config file is present).
676 The -f switch can also be used to specify a configuration file.
680 If AdvancedPowerManagemant(APM) is supported on your system the willingness
681 of the node is dynamically calculated based upon the powerstatus of the node.
682 MPR calculation based upon willingness is not done as of yet.
686 A bugs in the TC processing fixed.
690 Some serious HNA bugs fixed. These bugs caused a node to always choos the
691 gateway with the larges hopcout :) More seriousley - a bug caused looping
692 of HNA messages in certain scenarios.
694 Package sequence numbers
696 These were added. Not much use as of now - but they're there(as specified
701 Users can now specify the broadcast address to use. Usefull if one wishes to
702 use the 255.255.255.255 broadcast.
706 0.2.5 ---------------------------------------------------------------------
710 Htime and Vtime processing and handeling added. Holding times used to be
711 a static value for all nodes. Now every node can signal its vlidity time
713 To achieve this mantissa/exponent calculation functionality was added.
714 Messages now include Vtime(and Htime in HELLO) values in mantissa/exponent
715 format instead of just zero. These values are as stated above, used as holding
717 the GUI should be upgraded as well...
721 The use of jitter in message generation intervals vere fixed.
724 0.2.4 ---------------------------------------------------------------------
728 Some bugs concerning sequence numbers in HELLO and MID message handling
729 was fixed. Newly registered nodes in the neighbor and MID sets were
730 initialized with a seqno of 0. When using a "wraparound" sequencenumber
731 check(as defined in olsr_protocol.h) this can produce errors if a new
732 node joins a network where existing nodes has seqnos >0x00FF.
736 Some checks and copying of node addresses where done using sizeof(u_olsr32_t)
737 which is 32 bits. This caused only the 32 firs bits of IPv6 addresses to
738 be copied and checked.