olsrd.git
10 years agoadd another alias for IPv4Multicast (and clean up parser a bit) issue #11
Markus Kittenberger [Wed, 16 Jun 2010 13:05:08 +0000 (15:05 +0200)]
add another alias for IPv4Multicast (and clean up parser a bit)  issue #11

10 years agoIgnore links with cost "broken" for spf
Henning Rogge [Tue, 15 Jun 2010 07:40:12 +0000 (09:40 +0200)]
Ignore links with cost "broken" for spf

10 years agoFix for Ipv6Src parameter (issue #7)
Henning Rogge [Tue, 8 Jun 2010 13:08:09 +0000 (15:08 +0200)]
Fix for Ipv6Src parameter (issue #7)

10 years agoPut debug output from last commit into OLSR_PRINTF() command.
Henning Rogge [Tue, 18 May 2010 13:57:27 +0000 (15:57 +0200)]
Put debug output from last commit into OLSR_PRINTF() command.

10 years agoPrevent opening an interface if the transmission socket fails.
Henning Rogge [Tue, 18 May 2010 12:46:58 +0000 (14:46 +0200)]
Prevent opening an interface if the transmission socket fails.
IPv6 interfaces need some time to update the local routing table, so handle them
with the interface polling later if necessary.

10 years agoUpdate repository version to pre-0.6.1
Henning Rogge [Thu, 13 May 2010 11:00:57 +0000 (13:00 +0200)]
Update repository version to pre-0.6.1

10 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

10 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

10 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

10 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

10 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

10 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)

10 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)

10 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

10 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

10 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

10 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.

10 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.

10 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

10 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>

10 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

10 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.

10 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

10 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.

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

10 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...

10 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.

10 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

10 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

10 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.

10 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

10 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.

10 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

10 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

10 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

10 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)

10 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

10 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

10 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

10 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

10 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"

10 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

10 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

10 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)

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

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

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

10 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

10 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

10 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

10 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

10 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

10 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

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

10 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

10 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

10 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

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

10 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

10 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

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

10 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

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

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

10 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

10 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

10 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

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

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

10 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

10 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

10 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

10 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

10 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)

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

10 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.

10 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

10 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)

10 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

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

10 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

10 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

10 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

10 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

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

10 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

10 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)

10 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>

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

10 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

10 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

10 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

10 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

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

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

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

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

10 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

10 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

10 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