olsrd.git
9 years ago0.6.0 release OLSRD_0_6_0_fixed
Henning Rogge [Thu, 13 May 2010 10:53:08 +0000 (12:53 +0200)]
0.6.0 release

9 years agoRevert all of dyn_hna because fix does not help
Sven-Ola Tuecke [Sun, 9 May 2010 13:35:59 +0000 (15:35 +0200)]
Revert all of dyn_hna because fix does not help

9 years agofix segv cause by latest changes
Sven-Ola Tuecke [Sun, 9 May 2010 13:12:17 +0000 (15:12 +0200)]
fix segv cause by latest changes

9 years agoKeep all HNAs stored (even if the collide with local HNAs), just don't add the routes
Henning Rogge [Sat, 8 May 2010 19:52:00 +0000 (21:52 +0200)]
Keep all HNAs stored (even if the collide with local HNAs), just don't add the routes

9 years agoPrevent olsrd from adding rules with prio 4294967295
Sven-Ola Tuecke [Wed, 5 May 2010 07:04:38 +0000 (09:04 +0200)]
Prevent olsrd from adding rules with prio 4294967295

9 years agoLazy initialization for nameservice plugin (wait for main_ip)
Henning Rogge [Mon, 3 May 2010 15:29:18 +0000 (17:29 +0200)]
Lazy initialization for nameservice plugin (wait for main_ip)

9 years agoChanged stray fprintf, added ttl=64 (otherwise packets with TTL
Sven-Ola Tuecke [Thu, 29 Apr 2010 20:54:31 +0000 (22:54 +0200)]
Changed stray fprintf, added ttl=64 (otherwise packets with TTL
smaller than TTL-of-endpoint are discarded leading to * * * in
traceroute)

9 years agofix rp_filter for smartgw tunnel endpoint
Henning Rogge [Thu, 29 Apr 2010 15:18:15 +0000 (17:18 +0200)]
fix rp_filter for smartgw tunnel endpoint

9 years agoAddons to readme regarding smartgw
Sven-Ola Tuecke [Thu, 29 Apr 2010 07:24:51 +0000 (09:24 +0200)]
Addons to readme regarding smartgw

9 years agoAlways add originator-ip to tunnel start/endpoint
Henning Rogge [Tue, 27 Apr 2010 15:44:37 +0000 (17:44 +0200)]
Always add originator-ip to tunnel start/endpoint

9 years agoFix segfault in scheduler loop because of missing lazy removal of elements in schedul...
Henning Rogge [Thu, 22 Apr 2010 15:32:38 +0000 (17:32 +0200)]
Fix segfault in scheduler loop because of missing lazy removal of elements in scheduling list.

9 years agoIgnore SIGUSR1 and SIGUSR2 signals so that plugins can use them.
Mitar [Sun, 11 Apr 2010 09:41:03 +0000 (11:41 +0200)]
Ignore SIGUSR1 and SIGUSR2 signals so that plugins can use them.

9 years agoMove msgsize santity check into parser
Henning Rogge [Thu, 8 Apr 2010 12:57:43 +0000 (14:57 +0200)]
Move msgsize santity check into parser

9 years agoPush parser fix by Jonathan P. Chapman <chapman@cs.uni-bonn.de>
Henning Rogge [Tue, 6 Apr 2010 05:46:45 +0000 (07:46 +0200)]
Push parser fix by Jonathan P. Chapman <chapman@cs.uni-bonn.de>

9 years agoDowngrade etxff_eth/nat-treshold error to a warning
Henning Rogge [Sat, 27 Mar 2010 16:22:21 +0000 (17:22 +0100)]
Downgrade etxff_eth/nat-treshold error to a warning
fix some bugs in Olsr-Extensions readme

9 years agoFixed bug in the dot_draw plugin that was kicking out clients when
Saverio Proto [Thu, 25 Mar 2010 15:25:29 +0000 (16:25 +0100)]
Fixed bug in the dot_draw plugin that was kicking out clients when
topology did not change between two consecutive printouts.

9 years agofix for txtinfo plugin with ACTIVE_VTIME or ALLOW_LOCALHOST
Henning Rogge [Tue, 23 Mar 2010 14:10:18 +0000 (15:10 +0100)]
fix for txtinfo plugin with ACTIVE_VTIME or ALLOW_LOCALHOST

9 years agoPushed Eric Tromps (erik_tromp@hotmail.com) new BMF plugin version 1.7.0.
Henning Rogge [Tue, 23 Mar 2010 11:56:06 +0000 (12:56 +0100)]
Pushed Eric Tromps (erik_tromp@hotmail.com) new BMF plugin version 1.7.0.
PThreads are no longer necessary for BMF.
Changed OLSRd version to pre-0.6.0 to keep it in sync with the plugins readme.

9 years agoSmall BSD compile fix
Henning Rogge [Mon, 22 Mar 2010 18:12:32 +0000 (19:12 +0100)]
Small BSD compile fix

9 years agooops, removed too much in the previous commit. We still want to compile
aaron [Mon, 22 Mar 2010 17:20:17 +0000 (18:20 +0100)]
oops, removed too much in the previous commit. We still want to compile
and run under Linux, I guess...

9 years agosmall changes to make things compile under Mac OS X again. Mostly unused variables...
Aaron Kaplan [Mon, 22 Mar 2010 16:47:28 +0000 (17:47 +0100)]
small changes to make things compile under Mac OS X again. Mostly unused variables were present.

9 years agofixes for the rt-policy settings, lot's of sanity check changes, new defaults
Henning Rogge [Mon, 22 Mar 2010 00:02:45 +0000 (01:02 +0100)]
fixes for the rt-policy settings, lot's of sanity check changes, new defaults

9 years agoReverted the "set two default routes in different tables" hack
Sven-Ola Tuecke [Sun, 21 Mar 2010 22:04:10 +0000 (23:04 +0100)]
Reverted the "set two default routes in different tables" hack
Removed some 'if (0 != prio) because the set_prio() handles this
now. Reverted to old rt_table_default behaviour while setting the
correct number during init

9 years agoRemoved the superfluous "rt_policy" setting. Fixed the secondary
Sven-Ola Tuecke [Sun, 21 Mar 2010 12:09:35 +0000 (13:09 +0100)]
Removed the superfluous "rt_policy" setting. Fixed the secondary
default route maintaining with "rt_table_default=0". Re-inforced
the "do not fiddle with rules if sme. explicitly sets prio=0".
We need the rules to be set by olsrd only, if the user wants
'SmartGateway=yes' - enforced that with this commit.

9 years agoWe have too much settings. I doubt that all 8
Sven-Ola Tuecke [Sat, 20 Mar 2010 12:13:38 +0000 (13:13 +0100)]
We have too much settings. I doubt that all 8
combinations of policy|niit|smartgw have a use
case. Anyhow, repaired niit for which I accidentially
disabled iproute2-rule-fiddeling in my last commit

9 years agoThe rt_policy switch is somewhat superfluous because
Sven-Ola Tuecke [Sat, 20 Mar 2010 12:03:41 +0000 (13:03 +0100)]
The rt_policy switch is somewhat superfluous because
under Linux u always set policy routes. I left the setting
in here as a convenient way to say "do not fiddle with
unexpected things" with a single rt_policy=no

Besides that: rules setting is useful for smartgw/NIIT
stuff only. For standard policy-settings as they are
used with previous versions of olsrd they are not
required nor helpful. Also: I missed "rt_table_default=0"
which basically says: always use same table as rt_table.
If that is other than 254, please maintain the olsrd-default
route in table "default" as fallback.

9 years agoFix for uclibc: no CLOCK_MONOTONIC avail and clockid is unused also
Sven-Ola Tuecke [Sat, 20 Mar 2010 08:03:56 +0000 (09:03 +0100)]
Fix for uclibc: no CLOCK_MONOTONIC avail and clockid is unused also

9 years agoChange Windows (CRLF) to Unix (LF) line endings
Henning Rogge [Thu, 18 Mar 2010 14:30:29 +0000 (15:30 +0100)]
Change Windows (CRLF) to Unix (LF) line endings

9 years agoChanges to p2pd for duplicate packet filter
Caspar van Zon [Thu, 18 Mar 2010 14:09:00 +0000 (15:09 +0100)]
Changes to p2pd for duplicate packet filter

9 years agoImplementation of duplicate filter and UDP destination address/port filter (intermedi...
Caspar van Zon [Thu, 18 Mar 2010 13:26:55 +0000 (14:26 +0100)]
Implementation of duplicate filter and UDP destination address/port filter (intermediate commit)

9 years agoBeautified the files due to incorrect tab settings
Caspar van Zon [Thu, 18 Mar 2010 13:24:27 +0000 (14:24 +0100)]
Beautified the files due to incorrect tab settings

9 years agoremoved unused inline, moved prefix_to_netmask4 to *.c file
Sven-Ola Tuecke [Thu, 18 Mar 2010 08:00:00 +0000 (09:00 +0100)]
removed unused inline, moved prefix_to_netmask4 to *.c file

9 years agoSome host/network byte order quirks
Sven-Ola Tuecke [Thu, 18 Mar 2010 07:37:36 +0000 (08:37 +0100)]
Some host/network byte order quirks

9 years agoSmall bugfix for http- and txtinfo strict aliasing cleanup
Henning Rogge [Wed, 17 Mar 2010 18:13:02 +0000 (19:13 +0100)]
Small bugfix for http- and txtinfo strict aliasing cleanup

9 years agoMore fixes for "strict aliasing rules"
Henning Rogge [Wed, 17 Mar 2010 16:35:31 +0000 (17:35 +0100)]
More fixes for "strict aliasing rules"

9 years agoFix strict aliasing problem in ipcalc
Henning Rogge [Wed, 17 Mar 2010 12:22:53 +0000 (13:22 +0100)]
Fix strict aliasing problem in ipcalc

9 years agoPrevent 'dereferencing pointer X does break strict-aliasing rules'
Sven-Ola Tuecke [Wed, 17 Mar 2010 12:02:55 +0000 (13:02 +0100)]
Prevent 'dereferencing pointer X does break strict-aliasing rules'
when compiling with -Os under gcc-4.x.x

9 years agoRemove set_ip function (not used anywhere and does not work for ipv6)
Henning Rogge [Wed, 17 Mar 2010 11:31:54 +0000 (12:31 +0100)]
Remove set_ip function (not used anywhere and does not work for ipv6)

9 years agoAdd smartgw interface monitor
Henning Rogge [Wed, 17 Mar 2010 09:55:58 +0000 (10:55 +0100)]
Add smartgw interface monitor

9 years agoCode cleanup
Henning Rogge [Wed, 17 Mar 2010 07:42:35 +0000 (08:42 +0100)]
Code cleanup

9 years agoAdd TODOs for smartgw
Henning Rogge [Wed, 17 Mar 2010 07:08:53 +0000 (08:08 +0100)]
Add TODOs for smartgw

9 years agoExport smartgw netmask refresh as function
Henning Rogge [Wed, 17 Mar 2010 07:00:33 +0000 (08:00 +0100)]
Export smartgw netmask refresh as function

9 years agoFix name of README in generated config file
Henning Rogge [Wed, 17 Mar 2010 06:56:23 +0000 (07:56 +0100)]
Fix name of README in generated config file

9 years agolots of typos and clarified some topics
Aaron Kaplan [Mon, 15 Mar 2010 17:53:02 +0000 (18:53 +0100)]
lots of typos and clarified some topics

9 years agoAdd 'olsr' and 'batman' route types for redistribution
Vasilis Tsiligiannis [Sat, 13 Mar 2010 11:22:26 +0000 (13:22 +0200)]
Add 'olsr' and 'batman' route types for redistribution

9 years agoAdd a missing newline to quagga vty header output
Vasilis Tsiligiannis [Fri, 12 Mar 2010 18:08:50 +0000 (20:08 +0200)]
Add a missing newline to quagga vty header output

9 years agoUpdate Quagga 0.99.x patch to version 0.99.16
Vasilis Tsiligiannis [Fri, 12 Mar 2010 16:16:37 +0000 (18:16 +0200)]
Update Quagga 0.99.x patch to version 0.99.16

9 years agoDisable printing of IPv6 links
Vasilis Tsiligiannis [Fri, 12 Mar 2010 10:53:14 +0000 (12:53 +0200)]
Disable printing of IPv6 links

9 years agoChange MainIP type in cfgparser from string to ip
Henning Rogge [Fri, 12 Mar 2010 07:17:40 +0000 (08:17 +0100)]
Change MainIP type in cfgparser from string to ip

9 years agoRemove NAT-Threshold/SmartGW block from sanity check
Henning Rogge [Wed, 10 Mar 2010 11:40:03 +0000 (12:40 +0100)]
Remove NAT-Threshold/SmartGW block from sanity check

9 years agoMerge remote branch 'origin/stable' into stable
Vasilis Tsiligiannis [Wed, 10 Mar 2010 08:41:37 +0000 (10:41 +0200)]
Merge remote branch 'origin/stable' into stable

9 years agoUpdate QUAGGA_README file
Vasilis Tsiligiannis [Wed, 10 Mar 2010 08:23:52 +0000 (10:23 +0200)]
Update QUAGGA_README file

9 years agoAdd quagga 0.99.15 patch
Vasilis Tsiligiannis [Wed, 10 Mar 2010 08:22:46 +0000 (10:22 +0200)]
Add quagga 0.99.15 patch

9 years agoMerge redistribute add and delete functions
Vasilis Tsiligiannis [Wed, 10 Mar 2010 08:21:29 +0000 (10:21 +0200)]
Merge redistribute add and delete functions

9 years agoMore descriptive messages
Vasilis Tsiligiannis [Wed, 10 Mar 2010 08:20:55 +0000 (10:20 +0200)]
More descriptive messages

9 years agoChange some char type variables to unsigned char
Vasilis Tsiligiannis [Wed, 10 Mar 2010 08:20:06 +0000 (10:20 +0200)]
Change some char type variables to unsigned char

9 years agoFix function coding style
Vasilis Tsiligiannis [Wed, 10 Mar 2010 08:19:24 +0000 (10:19 +0200)]
Fix function coding style

9 years agoMerge unnecessary plugin setup functions
Vasilis Tsiligiannis [Wed, 10 Mar 2010 08:18:42 +0000 (10:18 +0200)]
Merge unnecessary plugin setup functions

9 years agoMake variable and function naming more consistent
Vasilis Tsiligiannis [Wed, 10 Mar 2010 08:18:10 +0000 (10:18 +0200)]
Make variable and function naming more consistent

9 years agoBreak code into multiple source files
Vasilis Tsiligiannis [Wed, 10 Mar 2010 08:17:10 +0000 (10:17 +0200)]
Break code into multiple source files

9 years agoAdd support to export and redistribute IPv6 routes to and from quagga
Vasilis Tsiligiannis [Wed, 10 Mar 2010 08:14:57 +0000 (10:14 +0200)]
Add support to export and redistribute IPv6 routes to and from quagga

9 years agoUpdate quagga plugin sample config
Vasilis Tsiligiannis [Wed, 10 Mar 2010 08:14:25 +0000 (10:14 +0200)]
Update quagga plugin sample config

9 years agoMake parameter naming more consistent
Vasilis Tsiligiannis [Wed, 10 Mar 2010 08:13:12 +0000 (10:13 +0200)]
Make parameter naming more consistent

9 years agoChange some hardcoded datatype sizes with compiler calculated ones
Vasilis Tsiligiannis [Wed, 10 Mar 2010 08:12:46 +0000 (10:12 +0200)]
Change some hardcoded datatype sizes with compiler calculated ones

9 years agoRemove some accidentally commited test code
Vasilis Tsiligiannis [Wed, 10 Mar 2010 08:11:59 +0000 (10:11 +0200)]
Remove some accidentally commited test code

9 years agoFix some warnings for DEBUG=0
Sven-Ola Tuecke [Wed, 10 Mar 2010 07:12:32 +0000 (08:12 +0100)]
Fix some warnings for DEBUG=0

9 years agoSmall fix for compatible txtinfo output
Sven-Ola Tuecke [Wed, 10 Mar 2010 07:07:43 +0000 (08:07 +0100)]
Small fix for compatible txtinfo output

9 years agoSplit very long comment in olsr_cfg.h (repository http push test)
Henning Rogge [Wed, 10 Mar 2010 06:27:47 +0000 (07:27 +0100)]
Split very long comment in olsr_cfg.h (repository http push test)

9 years agofixed default lqalgo
Sven-Ola Tuecke [Tue, 9 Mar 2010 17:23:37 +0000 (18:23 +0100)]
fixed default lqalgo

9 years agoPatch ALIGN_NOWARN_ARM macro for better priority handling.
Henning Rogge [Tue, 9 Mar 2010 17:17:51 +0000 (18:17 +0100)]
Patch ALIGN_NOWARN_ARM macro for better priority handling.

9 years agoadd README-Olsr-Extensions and fix some config file bugs
Henning Rogge [Tue, 9 Mar 2010 16:10:40 +0000 (17:10 +0100)]
add README-Olsr-Extensions and fix some config file bugs

9 years agoDuplicate IP level check based on hash (and corrected excessive tabs)
unknown [Tue, 9 Mar 2010 09:36:36 +0000 (10:36 +0100)]
Duplicate IP level check based on hash (and corrected excessive tabs)

9 years agoDuplicate IP level check based on hash
unknown [Tue, 9 Mar 2010 09:13:39 +0000 (10:13 +0100)]
Duplicate IP level check based on hash

9 years agoSmall change in cfgwriter
Henning Rogge [Tue, 9 Mar 2010 07:56:31 +0000 (08:56 +0100)]
Small change in cfgwriter

9 years agoUpdate config writer to new configfile
Henning Rogge [Mon, 8 Mar 2010 20:21:01 +0000 (21:21 +0100)]
Update config writer to new configfile

9 years agoAdd support for new zebra packet format used by Quagga 0.99.x
Vasilis Tsiligiannis [Mon, 8 Mar 2010 13:40:25 +0000 (15:40 +0200)]
Add support for new zebra packet format used by Quagga 0.99.x

9 years agoDo not set policy rules if priority is 0
Henning Rogge [Mon, 8 Mar 2010 08:01:31 +0000 (09:01 +0100)]
Do not set policy rules if priority is 0

9 years agoPrevent SmartGW and IPv6 on linux kernel 2.4
Henning Rogge [Mon, 8 Mar 2010 07:57:01 +0000 (08:57 +0100)]
Prevent SmartGW and IPv6 on linux kernel 2.4

9 years agoCompatibility with uClibc
Sven-Ola Tuecke [Mon, 8 Mar 2010 07:00:17 +0000 (08:00 +0100)]
Compatibility with uClibc

9 years agoAnother fix for Linux-2.4
Sven-Ola Tuecke [Sun, 7 Mar 2010 16:32:15 +0000 (17:32 +0100)]
Another fix for Linux-2.4

9 years agoRemove olsr netlink routing code for linux (#if 0 block)
Henning Rogge [Sun, 7 Mar 2010 14:23:39 +0000 (15:23 +0100)]
Remove olsr netlink routing code for linux (#if 0 block)

9 years agoAdd p2dp plugin (generalized mdns), thanks to Teco Boot <teco@inf-net.nl>
Henning Rogge [Sun, 7 Mar 2010 13:46:50 +0000 (14:46 +0100)]
Add p2dp plugin (generalized mdns), thanks to Teco Boot <teco@inf-net.nl>

9 years agoTwo fixes for win32
Henning Rogge [Sat, 6 Mar 2010 08:55:13 +0000 (09:55 +0100)]
Two fixes for win32

9 years agoMerge remote branch 'origin/stable' into stable
Vasilis Tsiligiannis [Fri, 5 Mar 2010 20:11:16 +0000 (22:11 +0200)]
Merge remote branch 'origin/stable' into stable

9 years agoAdd plugin parameter to specify zebra listening port
Vasilis Tsiligiannis [Fri, 5 Mar 2010 20:09:13 +0000 (22:09 +0200)]
Add plugin parameter to specify zebra listening port

9 years agoBackporting mDNS plugin to stable branch
Saverio Proto [Fri, 5 Mar 2010 15:27:58 +0000 (16:27 +0100)]
Backporting mDNS plugin to stable branch

9 years agoAdd plugin parameter to specify path to zebra socket
Vasilis Tsiligiannis [Thu, 4 Mar 2010 22:59:21 +0000 (00:59 +0200)]
Add plugin parameter to specify path to zebra socket

9 years agoRe-implement zebra socket reconnecting
Vasilis Tsiligiannis [Thu, 4 Mar 2010 22:59:11 +0000 (00:59 +0200)]
Re-implement zebra socket reconnecting

9 years agoSend all redistribute packets together
Vasilis Tsiligiannis [Thu, 4 Mar 2010 22:59:02 +0000 (00:59 +0200)]
Send all redistribute packets together

9 years agoRemove unused zebra struct member
Vasilis Tsiligiannis [Thu, 4 Mar 2010 22:58:51 +0000 (00:58 +0200)]
Remove unused zebra struct member

9 years agoInitialize zebra variable
Vasilis Tsiligiannis [Thu, 4 Mar 2010 22:56:58 +0000 (00:56 +0200)]
Initialize zebra variable

9 years agoAdd a missing quote to interface name example
Vasilis Tsiligiannis [Wed, 3 Mar 2010 19:25:24 +0000 (21:25 +0200)]
Add a missing quote to interface name example

9 years agoRemove quotes from boolean config options
Vasilis Tsiligiannis [Wed, 3 Mar 2010 19:23:00 +0000 (21:23 +0200)]
Remove quotes from boolean config options

9 years agoAlways delete routes when using external route handling functions
Vasilis Tsiligiannis [Wed, 3 Mar 2010 17:54:39 +0000 (19:54 +0200)]
Always delete routes when using external route handling functions

9 years agoFix to compile with kernel-2.4
Sven-Ola Tuecke [Wed, 3 Mar 2010 07:03:17 +0000 (08:03 +0100)]
Fix to compile with kernel-2.4

9 years agoMerge branch 'stable' of git://193.238.157.30/olsrd into stable
Henning Rogge [Mon, 1 Mar 2010 19:23:31 +0000 (20:23 +0100)]
Merge branch 'stable' of git://193.238.157.30/olsrd into stable

9 years agoFix "ip_is_linklocal" function
Henning Rogge [Mon, 1 Mar 2010 19:22:06 +0000 (20:22 +0100)]
Fix "ip_is_linklocal" function

9 years agoRemove quagga header files - not needed any more
Vasilis Tsiligiannis [Sun, 28 Feb 2010 20:10:00 +0000 (22:10 +0200)]
Remove quagga header files - not needed any more

9 years agoFix segmentation fault during socket reading
Vasilis Tsiligiannis [Sun, 28 Feb 2010 14:27:42 +0000 (16:27 +0200)]
Fix segmentation fault during socket reading

We were trying to malloc using realloc without initializing
buffer pointer to NULL

9 years agoFix some typos
Vasilis Tsiligiannis [Sun, 28 Feb 2010 14:25:44 +0000 (16:25 +0200)]
Fix some typos