olsrd.git
4 years agoRelease v0.6.8 v0.6.8
Henning Rogge [Mon, 29 Dec 2014 11:17:09 +0000 (12:17 +0100)]
Release v0.6.8

Signed-off-by: Henning Rogge <hrogge@gmail.com>
4 years agoFix bug of former commit
Henning Rogge [Sun, 28 Dec 2014 13:51:52 +0000 (14:51 +0100)]
Fix bug of former commit

4 years agoPrevent memory leak when setting up new interface
Henning Rogge [Sun, 28 Dec 2014 13:04:41 +0000 (14:04 +0100)]
Prevent memory leak when setting up new interface

4 years agoRename 'struct interface' to 'struct interface_olsr'
Ferry Huberts [Thu, 11 Dec 2014 18:54:34 +0000 (19:54 +0100)]
Rename 'struct interface' to 'struct interface_olsr'

The struct name clashes on the Windows builds on Fedora 21
and the name is not very well chosen anyway.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agobuild: add some pud targets
Ferry Huberts [Thu, 4 Dec 2014 18:23:18 +0000 (19:23 +0100)]
build: add some pud targets

So that the coverity build can build everything in one go

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agobuild: uberclean must also remove builddata.txt
Ferry Huberts [Thu, 4 Dec 2014 18:34:12 +0000 (19:34 +0100)]
build: uberclean must also remove builddata.txt

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agotxtinfo: fix output of /sgw command
Ferry Huberts [Wed, 3 Dec 2014 16:57:31 +0000 (17:57 +0100)]
txtinfo: fix output of /sgw command

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: react to path cost changes on all active gateways
Ferry Huberts [Wed, 3 Dec 2014 17:40:40 +0000 (18:40 +0100)]
sgw: react to path cost changes on all active gateways

Instead of only to path cost changes of the best active gateway

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: the costs are signed numbers
Ferry Huberts [Wed, 3 Dec 2014 16:16:55 +0000 (17:16 +0100)]
sgw: the costs are signed numbers

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: fix cost calculation for advertised speeds greater or equal than MAX
Ferry Huberts [Wed, 26 Nov 2014 17:04:09 +0000 (18:04 +0100)]
sgw: fix cost calculation for advertised speeds greater or equal than MAX

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: use MAX_SMARTGW_SPEED instead of hard-coding it
Ferry Huberts [Wed, 26 Nov 2014 17:04:31 +0000 (18:04 +0100)]
sgw: use MAX_SMARTGW_SPEED instead of hard-coding it

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: tune the status file for IPv4, making it a bit more compact
Ferry Huberts [Tue, 25 Nov 2014 13:37:31 +0000 (14:37 +0100)]
sgw: tune the status file for IPv4, making it a bit more compact

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: uplink and downlink fields can be 9 chars wide in the output file
Ferry Huberts [Mon, 24 Nov 2014 14:31:18 +0000 (15:31 +0100)]
sgw: uplink and downlink fields can be 9 chars wide in the output file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: refactor egress file change detection
Ferry Huberts [Fri, 21 Nov 2014 15:44:58 +0000 (16:44 +0100)]
sgw: refactor egress file change detection

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: only advertise egress speeds
Ferry Huberts [Fri, 21 Nov 2014 12:04:38 +0000 (13:04 +0100)]
sgw: only advertise egress speeds

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: when there is no best overall link advertise 0 bandwidth
Ferry Huberts [Fri, 21 Nov 2014 11:22:35 +0000 (12:22 +0100)]
sgw: when there is no best overall link advertise 0 bandwidth

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: refresh the advertised speed when the best overall link changes
Ferry Huberts [Fri, 21 Nov 2014 10:45:23 +0000 (11:45 +0100)]
sgw: refresh the advertised speed when the best overall link changes

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: always clear egress settings when this egress file is not readable
Ferry Huberts [Fri, 21 Nov 2014 09:43:35 +0000 (10:43 +0100)]
sgw: always clear egress settings when this egress file is not readable

Proper fix now.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agoRevert "sgw: always clear egress settings when this egress file is not readable"
Ferry Huberts [Fri, 21 Nov 2014 09:30:23 +0000 (10:30 +0100)]
Revert "sgw: always clear egress settings when this egress file is not readable"

This reverts commit ad6b5a445925f4731a747bd721f33dcb524c0a79.

4 years agosgw: always clear egress settings when this egress file is not readable
Ferry Huberts [Mon, 17 Nov 2014 11:46:17 +0000 (12:46 +0100)]
sgw: always clear egress settings when this egress file is not readable

We need to do this because of the situation in which the egress file
was first successfully read and then it disappears; in that case all
the settings must be reset.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agoMerge branch 'master' of git://olsr.org/olsrd
Henning Rogge [Sun, 16 Nov 2014 15:07:00 +0000 (16:07 +0100)]
Merge branch 'master' of git://olsr.org/olsrd

4 years agoOnly use IPV6_TCLASS and IPV6_V6ONLY when defined
Henning Rogge [Sun, 16 Nov 2014 15:06:29 +0000 (16:06 +0100)]
Only use IPV6_TCLASS and IPV6_V6ONLY when defined

4 years agopud: duplicate android regex trick from nameservice
Ferry Huberts [Fri, 14 Nov 2014 13:31:47 +0000 (14:31 +0100)]
pud: duplicate android regex trick from nameservice

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: fix android build
Ferry Huberts [Fri, 14 Nov 2014 13:25:14 +0000 (14:25 +0100)]
sgw: fix android build

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agoandroid: fixup regex makefile
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>
4 years agoandroid: bump the NDK compiler version
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>
4 years agosgw: android has no getline(), implement it
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>
4 years agobuild: make TOPDIR an absolute path
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>
4 years agosgw: change the cached timestamp
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>
4 years agosgw: unshadow a variable
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>
4 years agosgw: remove an unused variable
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>
4 years agosgw: initialise the egress best routes differently
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>
4 years agosgw: do not make the egress types available only on linux
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>
4 years agoMerge branch 'msgw'
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
  ...

4 years agosgw: do not prematurely exit doRoutesMultiGw
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>
4 years agosgw: reset cached egress file timestamp on file access errors
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>
4 years agosgw: show all sgw tunnels in the output file instead of only the active one
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>
4 years agosgw: lazily determine the sgw costs weights
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>
4 years agosgw: initialise the egress interfaces earlier
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>
4 years agosgw: fix default path costs for egress interfaces
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>
4 years agosgwdynspeed: only allow the plugin in single-sgw mode
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>
4 years agosgw: program egress link routes
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>
4 years agosgw: program best egress link route
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>
4 years agosgw: program best overall link routes
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>
4 years agosgw: add reportNewGateway function
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>
4 years agosgw: add the smart gateway status file writer
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>
4 years agosgw: add SmartGatewayStatusFile setting
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>
4 years agosgw: determine best overall link in doRoutesMultiGw
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>
4 years agosgw: determine best exit link in doRoutesMultiGw
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>
4 years agosgw: introduce function to process multi-sgw changes
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>
4 years agosgw: use the smartgw_tunnel_monitor to track up/down of egress interfaces
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>
4 years agosgw: track the up status of an egress interface
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>
4 years agosgw: track the interface index of an egress interface
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>
4 years agosgw: add egress file reader
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>
4 years agosgw: add egress file reader settings
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>
4 years agosgw: store table & rule numbers in the sgw_egress_if structure
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>
4 years agosgw: move 'struct sgw_egress_if' type into a separate include file
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>
4 years agotxtinfo: fix formatting in ipc_print_sgw
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>
4 years agosgw: fix deserialize_gw_speed
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>
4 years agoMerge branch 'release-0.6.7'
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>
4 years agorelease: fix up the CHANGELOG
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>
4 years agoUpdate version after release of v0.6.7.1
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>
4 years agoRelease v0.6.7.1 v0.6.7.1
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>
4 years agodyn gw plugin - add PingCmd parameter
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.

4 years agoMerge branch 'release-0.6.7'
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

4 years agojsoninfo: fix indentation
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>
4 years agotxtinfo: ensure null termination of string buffer
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>
4 years agotxtinfo: duplicate code in branch
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>
4 years agoMerge branch 'release-0.6.7'
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

4 years agoplugins: add a comment to clarify strange behaviour
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>
4 years agotxtinfo: set_plugin_boolean stores into an int
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>
4 years agojsoninfo: set_plugin_boolean stores into an int
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>
4 years agosgwdynspeed: fix strto* result checking for out-of-range situations
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>
4 years agopud: fix strto* result checking for out-of-range situations
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>
4 years agoconfig parser: minor improvement for SmartGatewayEgressInterfaces
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>
4 years agoandroid: fix build on 32 bit platform (see 0295e11)
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>
4 years agoandroid: use the machine specific NDK instead of always the 32bit variant
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>
4 years agosgw: cost calculation can now directly account for interface up/down status
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>
4 years agosgw: make sure gw->ipv6 is always set for a new gateway
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>
4 years agosgw: export multi_gateway_mode method
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>
4 years agosgw: move add/remove of ifchange handler to better place
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>
4 years agolinux: fix a typo
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>
4 years agoMerge branch 'release-0.6.7'
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>
4 years agoUpdate version after release of v0.6.7
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>
4 years agoRelease v0.6.7 v0.6.7
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>
4 years agoconf parser: fix a warning
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>
4 years agolinux: olsr_if_isup: fix return code in error path
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>
4 years agoMissing patch of header files for "Add boolean ipv6only parameter to txtinfo and...
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"

4 years agoAdd 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

4 years agoandroid: fix build on 32 bit platform (see 0295e11)
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>
4 years agoMerge branch 'linux-routes.v1'
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

4 years agoandroid: use the machine specific NDK instead of always the 32bit variant
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>
4 years agoBranch v0.6.7
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>
4 years agoUpdate version after branch of v0.6.7
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>
4 years agoMerge remote-tracking branch 'olsr/openbsd'
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

4 years agoCHANGELOG: add a note about the configuration files
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>
4 years agolinux: export the olsr_new_netlink_route function
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>
4 years agolinux: make it possible to add/remove blackhole routes
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>
4 years agolinux: add 'scope' parameter to olsr_new_netlink_route function
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>
4 years agolinux: add 'flags' parameter to olsr_new_netlink_route function
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>