Ferry Huberts [Fri, 14 Nov 2014 13:23:19 +0000 (14:23 +0100)]
android: fixup regex makefile
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 14 Nov 2014 11:20:42 +0000 (12:20 +0100)]
android: bump the NDK compiler version
To get rid of some warnings
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 14 Nov 2014 13:21:52 +0000 (14:21 +0100)]
sgw: android has no getline(), implement it
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 14 Nov 2014 13:20:43 +0000 (14:20 +0100)]
build: make TOPDIR an absolute path
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 14 Nov 2014 10:37:13 +0000 (11:37 +0100)]
sgw: change the cached timestamp
Some platforms don't have full resolution
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 14 Nov 2014 10:36:24 +0000 (11:36 +0100)]
sgw: unshadow a variable
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 14 Nov 2014 10:36:12 +0000 (11:36 +0100)]
sgw: remove an unused variable
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 14 Nov 2014 10:35:59 +0000 (11:35 +0100)]
sgw: initialise the egress best routes differently
Some platforms can't deal with the current initialisation
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 14 Nov 2014 10:35:17 +0000 (11:35 +0100)]
sgw: do not make the egress types available only on linux
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 14 Nov 2014 09:38:05 +0000 (10:38 +0100)]
Merge branch 'msgw'
* msgw: (23 commits)
sgw: do not prematurely exit doRoutesMultiGw
sgw: reset cached egress file timestamp on file access errors
sgw: show all sgw tunnels in the output file instead of only the active one
sgw: lazily determine the sgw costs weights
sgw: initialise the egress interfaces earlier
sgw: fix default path costs for egress interfaces
sgwdynspeed: only allow the plugin in single-sgw mode
sgw: program egress link routes
sgw: program best egress link route
sgw: program best overall link routes
sgw: add reportNewGateway function
sgw: add the smart gateway status file writer
sgw: add SmartGatewayStatusFile setting
sgw: determine best overall link in doRoutesMultiGw
sgw: determine best exit link in doRoutesMultiGw
sgw: introduce function to process multi-sgw changes
sgw: use the smartgw_tunnel_monitor to track up/down of egress interfaces
sgw: track the up status of an egress interface
sgw: track the interface index of an egress interface
sgw: add egress file reader
...
Ferry Huberts [Wed, 12 Nov 2014 17:27:44 +0000 (18:27 +0100)]
sgw: do not prematurely exit doRoutesMultiGw
Some change happen so the status file must be written
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 12 Nov 2014 16:21:28 +0000 (17:21 +0100)]
sgw: reset cached egress file timestamp on file access errors
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 12 Nov 2014 14:55:15 +0000 (15:55 +0100)]
sgw: show all sgw tunnels in the output file instead of only the active one
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 12 Nov 2014 13:14:03 +0000 (14:14 +0100)]
sgw: lazily determine the sgw costs weights
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 12 Nov 2014 13:12:31 +0000 (14:12 +0100)]
sgw: initialise the egress interfaces earlier
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 10 Nov 2014 12:18:13 +0000 (13:18 +0100)]
sgw: fix default path costs for egress interfaces
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 15 Aug 2014 10:51:19 +0000 (12:51 +0200)]
sgwdynspeed: only allow the plugin in single-sgw mode
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 31 Oct 2014 12:08:11 +0000 (13:08 +0100)]
sgw: program egress link routes
When an egress interface has a network then a network route is
programmed in the table corresponding to the egress interface.
A default route is always programmed in that same table.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 31 Oct 2014 12:05:42 +0000 (13:05 +0100)]
sgw: program best egress link route
This is a default route in the routing table corresponding to the
best egress link. If there is no such link, then a blackhole route
is programmed to prevent accidental looping of sgw tunnel traffic.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 31 Oct 2014 11:57:35 +0000 (12:57 +0100)]
sgw: program best overall link routes
These are a set of 2 /1 routes to override any default gateway
routes that are setup through other means such as a DHCP client.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 31 Oct 2014 11:50:30 +0000 (12:50 +0100)]
sgw: add reportNewGateway function
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 31 Oct 2014 11:48:50 +0000 (12:48 +0100)]
sgw: add the smart gateway status file writer
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 29 Oct 2014 14:40:31 +0000 (15:40 +0100)]
sgw: add SmartGatewayStatusFile setting
The status file writer will be added later on.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 31 Oct 2014 11:45:37 +0000 (12:45 +0100)]
sgw: determine best overall link in doRoutesMultiGw
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 31 Oct 2014 11:43:17 +0000 (12:43 +0100)]
sgw: determine best exit link in doRoutesMultiGw
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 31 Oct 2014 11:33:12 +0000 (12:33 +0100)]
sgw: introduce function to process multi-sgw changes
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 31 Oct 2014 11:29:33 +0000 (12:29 +0100)]
sgw: use the smartgw_tunnel_monitor to track up/down of egress interfaces
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 29 Oct 2014 13:00:41 +0000 (14:00 +0100)]
sgw: track the up status of an egress interface
We need this later.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 29 Oct 2014 12:52:38 +0000 (13:52 +0100)]
sgw: track the interface index of an egress interface
We need this later.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 31 Oct 2014 11:26:05 +0000 (12:26 +0100)]
sgw: add egress file reader
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 29 Oct 2014 10:22:55 +0000 (11:22 +0100)]
sgw: add egress file reader settings
* SmartGatewayEgressFile: the file with egress bandwidths and network
configurations.
* SmartGatewayEgressFilePeriod: the period on which to check & process
the SmartGatewayEgressFile.
The egress file reader will be added later on.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 31 Oct 2014 11:11:49 +0000 (12:11 +0100)]
sgw: store table & rule numbers in the sgw_egress_if structure
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Tue, 28 Oct 2014 13:18:47 +0000 (14:18 +0100)]
sgw: move 'struct sgw_egress_if' type into a separate include file
Some egress types will be added later on and the global types file
doesn't really need the types anyway.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 12 Nov 2014 10:41:54 +0000 (11:41 +0100)]
txtinfo: fix formatting in ipc_print_sgw
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 10 Nov 2014 12:14:57 +0000 (13:14 +0100)]
sgw: fix deserialize_gw_speed
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 24 Oct 2014 17:17:58 +0000 (19:17 +0200)]
Merge branch 'release-0.6.7'
* release-0.6.7:
release: fix up the CHANGELOG
Update version after release of v0.6.7.1
Release v0.6.7.1
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 24 Oct 2014 17:15:53 +0000 (19:15 +0200)]
release: fix up the CHANGELOG
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Henning Rogge [Fri, 24 Oct 2014 16:42:22 +0000 (18:42 +0200)]
Update version after release of v0.6.7.1
Signed-off-by: Henning Rogge <hrogge@gmail.com>
Henning Rogge [Fri, 24 Oct 2014 16:42:14 +0000 (18:42 +0200)]
Release v0.6.7.1
Signed-off-by: Henning Rogge <hrogge@gmail.com>
Nico Geyso [Fri, 24 Oct 2014 09:13:47 +0000 (11:13 +0200)]
dyn gw plugin - add PingCmd parameter
Add possibilty to set PingCmd by config. This is useful for instance
if you do want to set an interface or execute your own script. See
README_DYN_GW for an example. Branched of v0.6.6.2.
Ferry Huberts [Fri, 24 Oct 2014 07:56:58 +0000 (09:56 +0200)]
Merge branch 'release-0.6.7'
* release-0.6.7:
jsoninfo: fix indentation
txtinfo: ensure null termination of string buffer
txtinfo: duplicate code in branch
Ferry Huberts [Fri, 24 Oct 2014 07:53:50 +0000 (09:53 +0200)]
jsoninfo: fix indentation
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 24 Oct 2014 07:51:41 +0000 (09:51 +0200)]
txtinfo: ensure null termination of string buffer
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 24 Oct 2014 07:48:52 +0000 (09:48 +0200)]
txtinfo: duplicate code in branch
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 24 Oct 2014 07:34:18 +0000 (09:34 +0200)]
Merge branch 'release-0.6.7'
* release-0.6.7:
plugins: add a comment to clarify strange behaviour
txtinfo: set_plugin_boolean stores into an int
jsoninfo: set_plugin_boolean stores into an int
android: fix build on 32 bit platform (see
0295e11)
android: use the machine specific NDK instead of always the 32bit variant
Ferry Huberts [Fri, 24 Oct 2014 07:24:51 +0000 (09:24 +0200)]
plugins: add a comment to clarify strange behaviour
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Nico Geyso [Fri, 24 Oct 2014 07:29:07 +0000 (09:29 +0200)]
txtinfo: set_plugin_boolean stores into an int
Signed-off-by: Nico Geyso <nico.geyso@fu-berlin.de>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Nico Geyso [Fri, 24 Oct 2014 07:31:27 +0000 (09:31 +0200)]
jsoninfo: set_plugin_boolean stores into an int
Signed-off-by: Nico Geyso <nico.geyso@fu-berlin.de>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Tue, 21 Oct 2014 11:35:33 +0000 (13:35 +0200)]
sgwdynspeed: fix strto* result checking for out-of-range situations
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Tue, 21 Oct 2014 11:35:24 +0000 (13:35 +0200)]
pud: fix strto* result checking for out-of-range situations
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 20 Oct 2014 09:43:28 +0000 (11:43 +0200)]
config parser: minor improvement for SmartGatewayEgressInterfaces
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 22 Aug 2014 10:32:29 +0000 (12:32 +0200)]
android: fix build on 32 bit platform (see
0295e11)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 15 Aug 2014 14:38:49 +0000 (16:38 +0200)]
android: use the machine specific NDK instead of always the 32bit variant
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 9 Oct 2014 09:36:57 +0000 (11:36 +0200)]
sgw: cost calculation can now directly account for interface up/down status
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 15 Oct 2014 09:01:25 +0000 (11:01 +0200)]
sgw: make sure gw->ipv6 is always set for a new gateway
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 20 Aug 2014 12:37:01 +0000 (14:37 +0200)]
sgw: export multi_gateway_mode method
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 2 Oct 2014 09:41:34 +0000 (11:41 +0200)]
sgw: move add/remove of ifchange handler to better place
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 6 Oct 2014 10:42:53 +0000 (12:42 +0200)]
linux: fix a typo
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 6 Oct 2014 10:09:20 +0000 (12:09 +0200)]
Merge branch 'release-0.6.7'
* release-0.6.7:
Update version after release of v0.6.7
Release v0.6.7
Missing patch of header files for "Add boolean ipv6only parameter to txtinfo and jsoninfo"
Add boolean ipv6only parameter to txtinfo and jsoninfo
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Henning Rogge [Sun, 5 Oct 2014 10:35:56 +0000 (12:35 +0200)]
Update version after release of v0.6.7
Signed-off-by: Henning Rogge <hrogge@gmail.com>
Henning Rogge [Sun, 5 Oct 2014 10:35:41 +0000 (12:35 +0200)]
Release v0.6.7
Signed-off-by: Henning Rogge <hrogge@gmail.com>
Ferry Huberts [Thu, 2 Oct 2014 20:37:33 +0000 (22:37 +0200)]
conf parser: fix a warning
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 1 Oct 2014 14:48:23 +0000 (16:48 +0200)]
linux: olsr_if_isup: fix return code in error path
Now it really returns false when an interface does not exist.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Saverio Proto [Fri, 29 Aug 2014 09:48:33 +0000 (11:48 +0200)]
Missing patch of header files for "Add boolean ipv6only parameter to txtinfo and jsoninfo"
Henning Rogge [Sun, 24 Aug 2014 11:07:58 +0000 (13:07 +0200)]
Add boolean ipv6only parameter to txtinfo and jsoninfo
Ferry Huberts [Fri, 22 Aug 2014 10:32:29 +0000 (12:32 +0200)]
android: fix build on 32 bit platform (see
0295e11)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 22 Aug 2014 09:42:19 +0000 (11:42 +0200)]
Merge branch 'linux-routes.v1'
* linux-routes.v1:
linux: export the olsr_new_netlink_route function
linux: make it possible to add/remove blackhole routes
linux: add 'scope' parameter to olsr_new_netlink_route function
linux: add 'flags' parameter to olsr_new_netlink_route function
linux: do not try to set routes with negative metric
linux: fix type of af_family
linux: fix using tables >= 256
linux: increase the netlink buffer size
Ferry Huberts [Fri, 15 Aug 2014 14:38:49 +0000 (16:38 +0200)]
android: use the machine specific NDK instead of always the 32bit variant
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 22 Aug 2014 09:39:37 +0000 (11:39 +0200)]
Branch v0.6.7
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 22 Aug 2014 09:39:37 +0000 (11:39 +0200)]
Update version after branch of v0.6.7
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 22 Aug 2014 09:28:26 +0000 (11:28 +0200)]
Merge remote-tracking branch 'olsr/openbsd'
* olsr/openbsd:
Install openbsd/olsrd.rcd to /etc/rc.d/olsrd.
Remove linux-isms from Makefile
An rc.d file for OpenBSD
Adjusted OpenBSD installation paths
Ferry Huberts [Thu, 21 Aug 2014 09:48:35 +0000 (11:48 +0200)]
CHANGELOG: add a note about the configuration files
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 13 Aug 2014 15:51:36 +0000 (17:51 +0200)]
linux: export the olsr_new_netlink_route function
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 13 Aug 2014 15:51:12 +0000 (17:51 +0200)]
linux: make it possible to add/remove blackhole routes
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 13 Aug 2014 15:47:57 +0000 (17:47 +0200)]
linux: add 'scope' parameter to olsr_new_netlink_route function
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 13 Aug 2014 15:45:48 +0000 (17:45 +0200)]
linux: add 'flags' parameter to olsr_new_netlink_route function
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 13 Aug 2014 10:03:44 +0000 (12:03 +0200)]
linux: do not try to set routes with negative metric
Makes no sense.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 13 Aug 2014 09:45:19 +0000 (11:45 +0200)]
linux: fix type of af_family
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 15 Aug 2014 13:36:30 +0000 (15:36 +0200)]
linux: fix using tables >= 256
Mirror what iproute2 does.
An exception is made for Android: RTA_TABLE is not available in the
current required Android version and we don't want to bump it.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 13 Aug 2014 09:33:34 +0000 (11:33 +0200)]
linux: increase the netlink buffer size
Mirror what iproute2 does.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Tue, 19 Aug 2014 07:35:30 +0000 (09:35 +0200)]
sgw: multi-sgw mode is only supported on IPv4
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 15 Aug 2014 12:27:43 +0000 (14:27 +0200)]
README: improve the smart gateway text a bit
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
David Dahlberg [Fri, 15 Aug 2014 10:53:54 +0000 (12:53 +0200)]
Install openbsd/olsrd.rcd to /etc/rc.d/olsrd.
As I am no Makefile expert, I am pretty sure you don't like
my changes. Please modify it to your likings, so that the result
will stay the same.
If going the OBSD-specific path, it should be installed -m 555.
David Dahlberg [Fri, 15 Aug 2014 10:51:08 +0000 (12:51 +0200)]
Remove linux-isms from Makefile
BSD rmdir does not know "--ignore-fail-on-non-empty"
The rationale for this switch is not to stop make, if
rmdir returns nonzero. So "|| true" will do the job also.
David Dahlberg [Fri, 15 Aug 2014 10:43:49 +0000 (12:43 +0200)]
An rc.d file for OpenBSD
David Dahlberg [Fri, 15 Aug 2014 10:41:50 +0000 (12:41 +0200)]
Adjusted OpenBSD installation paths
Installation goes to /usr/local except for /etc.
Ferry Huberts [Fri, 15 Aug 2014 10:04:47 +0000 (12:04 +0200)]
conf: ensure the egress interface names have a valid length
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 15 Aug 2014 07:56:03 +0000 (09:56 +0200)]
gui: fix 'warning: multiple common of ...' warnings
Show up on gcc 4.8.3
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Sat, 9 Aug 2014 10:33:22 +0000 (12:33 +0200)]
p2pd: fir compile warning, initialise ipHeader
When compiling with the address sanitiser, got
[CC] src/p2pd.c
src/p2pd.c: In function ‘DoP2pd’:
src/p2pd.c:629:18: warning: ‘ipHeader’ may be used uninitialized in this function [-Wmaybe-uninitialized]
nwords = header->ip_hl << 1;
^
src/p2pd.c:663:14: note: ‘ipHeader’ was declared here
struct ip *ipHeader; /* The IP header inside the captured IP packet */
^
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Sat, 9 Aug 2014 10:13:49 +0000 (12:13 +0200)]
build: add address santizer, compile with SANITIZE_ADDRESS=1
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Sat, 9 Aug 2014 10:10:42 +0000 (12:10 +0200)]
build: gui: do not overwrite the LDFLAGS but append to it
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Patrick Grimm [Thu, 10 Jul 2014 16:41:28 +0000 (18:41 +0200)]
txtinfo: only listen on IPv6 when running under IPv6
When the IPV6_V6ONLY flag is not set then olsrd running on IPv6
will listen on both IPv6 and IPv4 ports. A subsequent process
running on IPv4 can't listen on the same IPv4 port.
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
Patrick Grimm [Thu, 10 Jul 2014 16:41:27 +0000 (18:41 +0200)]
jsoninfo: only listen on IPv6 when running under IPv6
When the IPV6_V6ONLY flag is not set then olsrd running on IPv6
will listen on both IPv6 and IPv4 ports. A subsequent process
running on IPv4 can't listen on the same IPv4 port.
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
Ferry Huberts [Fri, 13 Jun 2014 09:34:32 +0000 (11:34 +0200)]
gw: change the costs type to signed 64bits
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 13 Jun 2014 08:56:31 +0000 (10:56 +0200)]
Fix a signed/unsigned warning
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Teco Boot [Wed, 11 Jun 2014 20:57:05 +0000 (22:57 +0200)]
Support for FIB metric configuration, other than 2
With multiple gateways, the default gateway routes need uniqueness.
Having a unique metric is a natural way to configure.
Metrics on exit link interface can be set with for example pppd configuration
or ifmetric tool.
With more than two exit link interfaces or default route next_hops, olsrd
would need a higher metric than current hard-coded value: 2.
New parameter: FIBMetricDefault
Defaults to existing behavior: 2
Metric range is unsigned 32-bit.
Ferry Huberts [Wed, 11 Jun 2014 08:56:27 +0000 (10:56 +0200)]
pud: nmealib: NMEA String Length Override Support
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Tue, 10 Jun 2014 07:57:20 +0000 (09:57 +0200)]
Revert "Fix for win32 compiling with i686-w64-mingw32-gcc on ubuntu"
This reverts commit
a36245314b1874b940037d3e486796d1a623dd78.
It breaks the windows builds on Debian Squeeze
Henning Rogge [Mon, 9 Jun 2014 07:37:45 +0000 (09:37 +0200)]
Add LQ/NLQ/ETX to neighbor table debug output
Henning Rogge [Mon, 9 Jun 2014 07:25:21 +0000 (09:25 +0200)]
Make link debug output source a bit more readable