olsrd.git
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 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

9 years agoUpdate README file
Vasilis Tsiligiannis [Sun, 28 Feb 2010 14:22:35 +0000 (16:22 +0200)]
Update README file

9 years agoUpdate header notices information
Vasilis Tsiligiannis [Sun, 28 Feb 2010 14:21:19 +0000 (16:21 +0200)]
Update header notices information

9 years agoRemove some debuging code
Vasilis Tsiligiannis [Sun, 28 Feb 2010 14:07:56 +0000 (16:07 +0200)]
Remove some debuging code

9 years agolicence change
Vasilis Tsiligiannis [Sun, 28 Feb 2010 14:05:52 +0000 (16:05 +0200)]
licence change

9 years agoAdd missing prototype for zebra_redistribute_packet function
Vasilis Tsiligiannis [Sun, 28 Feb 2010 14:01:28 +0000 (16:01 +0200)]
Add missing prototype for zebra_redistribute_packet function

9 years agoMake some function private
Vasilis Tsiligiannis [Sun, 28 Feb 2010 14:00:39 +0000 (16:00 +0200)]
Make some function private

9 years agoRename zebra route structure and members
Vasilis Tsiligiannis [Sun, 28 Feb 2010 13:54:31 +0000 (15:54 +0200)]
Rename zebra route structure and members

9 years agoDo some code cleanup
Vasilis Tsiligiannis [Sun, 28 Feb 2010 13:38:44 +0000 (15:38 +0200)]
Do some code cleanup

9 years agoMove defines in quagga plugin header file
Vasilis Tsiligiannis [Sun, 28 Feb 2010 13:30:54 +0000 (15:30 +0200)]
Move defines in quagga plugin header file

9 years agoFix some includes
Vasilis Tsiligiannis [Sun, 28 Feb 2010 13:22:17 +0000 (15:22 +0200)]
Fix some includes

9 years agoMajor overhaul and cleanup on read and parse functions
Vasilis Tsiligiannis [Sun, 28 Feb 2010 13:20:40 +0000 (15:20 +0200)]
Major overhaul and cleanup on read and parse functions

9 years agoFix size of zebra command
Vasilis Tsiligiannis [Sat, 27 Feb 2010 22:49:32 +0000 (00:49 +0200)]
Fix size of zebra command

9 years agoPass route to function by reference instead of value
Vasilis Tsiligiannis [Sat, 27 Feb 2010 22:47:50 +0000 (00:47 +0200)]
Pass route to function by reference instead of value

9 years agoMajor overhaul/rewrite! Disabled redistribute and reconnect features for now.
Vasilis Tsiligiannis [Sat, 27 Feb 2010 22:38:07 +0000 (00:38 +0200)]
Major overhaul/rewrite! Disabled redistribute and reconnect features for now.

9 years agoRemove unused functions
Vasilis Tsiligiannis [Sat, 27 Feb 2010 21:35:55 +0000 (23:35 +0200)]
Remove unused functions

9 years agoReplace olsr_printf with OLSR_PRINTF
Vasilis Tsiligiannis [Sat, 27 Feb 2010 21:31:28 +0000 (23:31 +0200)]
Replace olsr_printf with OLSR_PRINTF

9 years agoFix includes
Vasilis Tsiligiannis [Sat, 27 Feb 2010 21:24:05 +0000 (23:24 +0200)]
Fix includes

9 years agoRemove debug code
Vasilis Tsiligiannis [Sat, 27 Feb 2010 21:10:57 +0000 (23:10 +0200)]
Remove debug code

9 years agoRemove test directory
Vasilis Tsiligiannis [Fri, 26 Feb 2010 18:06:52 +0000 (20:06 +0200)]
Remove test directory

9 years agoAdd quagga 0.98.6 patch
Vasilis Tsiligiannis [Fri, 26 Feb 2010 18:05:24 +0000 (20:05 +0200)]
Add quagga 0.98.6 patch

9 years agoRemove some stray code
Vasilis Tsiligiannis [Fri, 26 Feb 2010 18:02:14 +0000 (20:02 +0200)]
Remove some stray code

9 years agoFix accidental deacrease of send buffer pointer
Vasilis Tsiligiannis [Fri, 26 Feb 2010 18:01:34 +0000 (20:01 +0200)]
Fix accidental deacrease of send buffer pointer

9 years agoAdd workaround for invalid zebra send message format
Vasilis Tsiligiannis [Fri, 26 Feb 2010 18:00:06 +0000 (20:00 +0200)]
Add workaround for invalid zebra send message format

9 years agoIgnore EAGAIN errors on socket writes
Vasilis Tsiligiannis [Fri, 26 Feb 2010 17:54:38 +0000 (19:54 +0200)]
Ignore EAGAIN errors on socket writes

try_read sets file access mode to non blocking during reads.
While try_read reads from socket, an attempt to write will
lead to EAGAIN error.

9 years agoFix redistribution of large number of routes from quagga protocols to olsr
Vasilis Tsiligiannis [Fri, 26 Feb 2010 17:51:00 +0000 (19:51 +0200)]
Fix redistribution of large number of routes from quagga protocols to olsr

This was in fact a general data read bug when the buffer needed to grow.
New buffer pointer was miscalculated and overlapped some previously read data.

9 years agoremove LinkQualityDijkstraLimit and LinkQualityWinSize parameter
Henning Rogge [Wed, 24 Feb 2010 18:16:26 +0000 (19:16 +0100)]
remove LinkQualityDijkstraLimit and LinkQualityWinSize parameter

9 years agoTeco Boots <teco@inf-net.nl> dyn_gw plugin. Thank you Teco for the contribution.
Henning Rogge [Wed, 24 Feb 2010 17:40:36 +0000 (18:40 +0100)]
Teco Boots <teco@inf-net.nl> dyn_gw plugin. Thank you Teco for the contribution.

9 years agoSmall changes to config files and sanity checks based on Markus review
Henning Rogge [Wed, 24 Feb 2010 17:29:44 +0000 (18:29 +0100)]
Small changes to config files and sanity checks based on Markus review

9 years agoAdd framework for changing unicast src-ip
Henning Rogge [Wed, 24 Feb 2010 16:43:25 +0000 (17:43 +0100)]
Add framework for changing unicast src-ip

9 years agoSmall fix in RFC compatible config file
Henning Rogge [Wed, 24 Feb 2010 13:42:51 +0000 (14:42 +0100)]
Small fix in RFC compatible config file

9 years agoSimplified example config files
Henning Rogge [Wed, 24 Feb 2010 13:41:14 +0000 (14:41 +0100)]
Simplified example config files

9 years agoNew config file template with all parameters
Henning Rogge [Wed, 24 Feb 2010 13:17:07 +0000 (14:17 +0100)]
New config file template with all parameters

9 years agoTrigger gateway reselection when ETX becomes infinite
Henning Rogge [Wed, 24 Feb 2010 11:56:53 +0000 (12:56 +0100)]
Trigger gateway reselection when ETX becomes infinite

9 years agoSmall fixes on default settings for 0.5.7.0
Henning Rogge [Wed, 24 Feb 2010 10:25:58 +0000 (11:25 +0100)]
Small fixes on default settings for 0.5.7.0

9 years agoGive TTL1 messages another chance through MODE==ether links.
Henning Rogge [Mon, 22 Feb 2010 20:24:05 +0000 (21:24 +0100)]
Give TTL1 messages another chance through MODE==ether links.
Add etx_ffeth metric which will use perfect ethernet links as etx 0.1 (incompatible with other etx
metrics ! Different lq format!)

9 years agoCompile fixes for BSD and WIN32
Henning Rogge [Sun, 21 Feb 2010 09:11:46 +0000 (10:11 +0100)]
Compile fixes for BSD and WIN32

9 years agoSome bugfixes for the netlink code
Henning Rogge [Sat, 20 Feb 2010 19:58:10 +0000 (20:58 +0100)]
Some bugfixes for the netlink code

9 years agoAdd code for policy routing handling
Henning Rogge [Sat, 20 Feb 2010 19:19:54 +0000 (20:19 +0100)]
Add code for policy routing handling

9 years agoAllow txtinfo to display gateways
Henning Rogge [Sat, 20 Feb 2010 16:24:51 +0000 (17:24 +0100)]
Allow txtinfo to display gateways
keep default inetgw route with smartgw, but add +2 to metric

9 years agoMerge branch 'tunnel' into stable
Henning Rogge [Fri, 19 Feb 2010 19:00:05 +0000 (20:00 +0100)]
Merge branch 'tunnel' into stable

9 years agoUpdate version to pre-0.5.7.0
Henning Rogge [Fri, 19 Feb 2010 18:59:47 +0000 (19:59 +0100)]
Update version to pre-0.5.7.0

9 years agoNew iptunnel system to allow multiple users of the same iptunnel
Henning Rogge [Fri, 19 Feb 2010 18:49:23 +0000 (19:49 +0100)]
New iptunnel system to allow multiple users of the same iptunnel

9 years agoPush Debian path 270 to kfreebsd makefile
Henning Rogge [Tue, 16 Feb 2010 16:17:12 +0000 (17:17 +0100)]
Push Debian path 270 to kfreebsd makefile
http://patch-tracker.debian.org/patch/series/view/olsrd/0.5.6-r7-1/270-make-kfbsd.patch

9 years agoPush debian patch 260 to quagga plugin
Henning Rogge [Tue, 16 Feb 2010 16:16:11 +0000 (17:16 +0100)]
Push debian patch 260 to quagga plugin
http://patch-tracker.debian.org/patch/series/view/olsrd/0.5.6-r7-1/260-quagga-plugin-detect-protocol-version.patch

9 years agosmall fix for gateway.c
Henning Rogge [Mon, 15 Feb 2010 10:23:57 +0000 (11:23 +0100)]
small fix for gateway.c

9 years agoBugfixes for IPv6 smartgw tunnel
Henning Rogge [Mon, 15 Feb 2010 09:47:52 +0000 (10:47 +0100)]
Bugfixes for IPv6 smartgw tunnel

9 years agoSmall changes to default gateway selection handler
Henning Rogge [Sun, 14 Feb 2010 12:35:24 +0000 (13:35 +0100)]
Small changes to default gateway selection handler

9 years agoMore fixes for /proc network configuration
Henning Rogge [Sun, 14 Feb 2010 11:49:26 +0000 (12:49 +0100)]
More fixes for /proc network configuration

9 years agoAdd rp_filter handling for linux 2.6.31+
Henning Rogge [Fri, 12 Feb 2010 17:35:32 +0000 (18:35 +0100)]
Add rp_filter handling for linux 2.6.31+
Cleanup net.c code
Compile-Fixes for BSD and Linux

9 years agoFirst version that can establish a real tunnel to the gateway. Still lot's of stuff...
Henning Rogge [Thu, 11 Feb 2010 20:19:53 +0000 (21:19 +0100)]
First version that can establish a real tunnel to the gateway. Still lot's of stuff to do/cleanup

9 years agoCleanup for smartgw initialization
Henning Rogge [Tue, 9 Feb 2010 15:42:47 +0000 (16:42 +0100)]
Cleanup for smartgw initialization

9 years agoAdd initialization function for linux iptunnel
Henning Rogge [Mon, 8 Feb 2010 20:27:23 +0000 (21:27 +0100)]
Add initialization function for linux iptunnel

9 years agoAdded kernel_tunnel.c for linux
Henning Rogge [Mon, 8 Feb 2010 20:09:49 +0000 (21:09 +0100)]
Added kernel_tunnel.c for linux

9 years agorename LINUX_POLICY_ROUTING to LINUX_NETLINK_ROUTING
Henning Rogge [Mon, 8 Feb 2010 17:10:46 +0000 (18:10 +0100)]
rename LINUX_POLICY_ROUTING to LINUX_NETLINK_ROUTING

9 years agoRename linux kernel_route files
Henning Rogge [Mon, 8 Feb 2010 17:05:12 +0000 (18:05 +0100)]
Rename linux kernel_route files

9 years agoCleanup for linux netlink code, removing RT_NETLINK_MONITOR preprocessor flag
Henning Rogge [Mon, 8 Feb 2010 15:28:35 +0000 (16:28 +0100)]
Cleanup for linux netlink code, removing RT_NETLINK_MONITOR preprocessor flag
Move LINUX_POLICY_ROUTING flag to linux makefile
Fix bug in linux non-policy-routing code

9 years agoBackport of development scheduler (supports sockets with immediately handling instead...
Henning Rogge [Sun, 7 Feb 2010 19:33:10 +0000 (20:33 +0100)]
Backport of development scheduler (supports sockets with immediately handling instead of polling)

9 years agoSwitch of smartgateway by default until it do something
Henning Rogge [Sun, 7 Feb 2010 10:23:33 +0000 (11:23 +0100)]
Switch of smartgateway by default until it do something
More code cleanup

9 years agoUpdate to BMF 1.6.2 (written by Erik Tromp)
Henning Rogge [Sun, 7 Feb 2010 10:05:02 +0000 (11:05 +0100)]
Update to BMF 1.6.2 (written by Erik Tromp)
Small changes to adapt 1.6.2 to refactorings for OLSRd 0.5.7.0 release
Removed mutex

9 years agoAdd parameter to set Originator-IP
Henning Rogge [Sat, 6 Feb 2010 13:39:54 +0000 (14:39 +0100)]
Add parameter to set Originator-IP

9 years agoalways clean up niit routes
Markus Kittenberger [Sat, 6 Feb 2010 12:46:10 +0000 (13:46 +0100)]
always clean up niit routes

9 years agoSrcIP support
Henning Rogge [Sat, 6 Feb 2010 11:32:41 +0000 (12:32 +0100)]
SrcIP support

9 years agoDynamic NIIT support
Henning Rogge [Sat, 6 Feb 2010 11:00:56 +0000 (12:00 +0100)]
Dynamic NIIT support

9 years agoas ipv6 lacks any support for anything,...
Markus Kittenberger [Fri, 5 Feb 2010 22:40:50 +0000 (23:40 +0100)]
as ipv6 lacks any support for anything,...

9 years agoseveral small changes to crosscompile without warnings for openwrt whiterussian
Markus Kittenberger [Fri, 5 Feb 2010 21:03:18 +0000 (22:03 +0100)]
several small changes to crosscompile without warnings for openwrt whiterussian

9 years agono more delete && add when changing routes via rtnetlink
Markus Kittenberger [Fri, 5 Feb 2010 21:02:10 +0000 (22:02 +0100)]
no more delete && add when changing routes via rtnetlink

9 years agoCleanup
Henning Rogge [Fri, 5 Feb 2010 18:10:39 +0000 (19:10 +0100)]
Cleanup

9 years agoUpdate ifchange interface so it can handle ifup/ifdown events for non-olsr interfaces
Henning Rogge [Fri, 5 Feb 2010 14:22:07 +0000 (15:22 +0100)]
Update ifchange interface so it can handle ifup/ifdown events for non-olsr interfaces

9 years agoLet interface monitor take interface down and up
Henning Rogge [Thu, 4 Feb 2010 19:51:57 +0000 (20:51 +0100)]
Let interface monitor take interface down and up
Some refactorings on the interface system

9 years agoprovide olsr_if pointer in interface
Henning Rogge [Wed, 3 Feb 2010 19:12:22 +0000 (20:12 +0100)]
provide olsr_if pointer in interface
fix some smaller compile bugs for BSD and WIN32

9 years agoMerge branch 'stable' into tunnel
Henning Rogge [Wed, 3 Feb 2010 11:37:37 +0000 (12:37 +0100)]
Merge branch 'stable' into tunnel

9 years agoFix some bugs in dyn_gw plugin (thanks Teco Boot)
Henning Rogge [Wed, 3 Feb 2010 11:36:13 +0000 (12:36 +0100)]
Fix some bugs in dyn_gw plugin (thanks Teco Boot)

9 years agoInterface db cleanup
Henning Rogge [Wed, 3 Feb 2010 08:33:50 +0000 (09:33 +0100)]
Interface db cleanup

9 years agoone more comment as reminder,..
Markus Kittenberger [Wed, 3 Feb 2010 01:34:59 +0000 (02:34 +0100)]
one more comment as reminder,..

9 years agodisable spoof filter (required for conf/all aswell as conf/device since kernel 2...
Markus Kittenberger [Wed, 3 Feb 2010 01:29:35 +0000 (02:29 +0100)]
disable spoof filter (required for conf/all aswell as conf/device since kernel 2.6.31)

9 years agoRefactoring and cleanup of kernel_routes
Henning Rogge [Tue, 2 Feb 2010 20:48:12 +0000 (21:48 +0100)]
Refactoring and cleanup of kernel_routes

9 years agoport linux&´/kernel_routes.c to olsr_if_* functions in linux/net.c
Henning Rogge [Mon, 1 Feb 2010 12:12:29 +0000 (13:12 +0100)]
port linux&´/kernel_routes.c to olsr_if_* functions in linux/net.c

9 years agoFix olsrd.conf examples for dyn_gw_plain plugin
Henning Rogge [Fri, 29 Jan 2010 13:34:33 +0000 (14:34 +0100)]
Fix olsrd.conf examples for dyn_gw_plain plugin

9 years agoAdd default gateway selection algorithm and plugin callback
Henning Rogge [Fri, 29 Jan 2010 13:20:45 +0000 (14:20 +0100)]
Add default gateway selection algorithm and plugin callback

9 years agoCleanup -v/-h/"/?" parameter handling
Henning Rogge [Thu, 28 Jan 2010 20:26:55 +0000 (21:26 +0100)]
Cleanup -v/-h/"/?" parameter handling

9 years agoAdd listener for gateway changes.
Henning Rogge [Wed, 27 Jan 2010 14:40:20 +0000 (15:40 +0100)]
Add listener for gateway changes.
More code cleanup of gateway path.

9 years agoSplit SmartGatewayNAT into SmartGatewayAllowNAT and SmartGatewayUplinkNAT
Henning Rogge [Tue, 26 Jan 2010 12:30:17 +0000 (13:30 +0100)]
Split SmartGatewayNAT into SmartGatewayAllowNAT and SmartGatewayUplinkNAT

9 years agoMore cleanup of tunnel/gateway code
Henning Rogge [Mon, 25 Jan 2010 20:36:08 +0000 (21:36 +0100)]
More cleanup of tunnel/gateway code

9 years agoMerge branch 'stable' into tunnel
Henning Rogge [Mon, 25 Jan 2010 19:12:14 +0000 (20:12 +0100)]
Merge branch 'stable' into tunnel

9 years agoSimplify inet gw detection
Henning Rogge [Mon, 25 Jan 2010 19:11:20 +0000 (20:11 +0100)]
Simplify inet gw detection