Ferry Huberts [Thu, 30 Apr 2015 13:59:05 +0000 (15:59 +0200)]
files: rename the generated configuration files
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 30 Apr 2015 15:08:55 +0000 (17:08 +0200)]
files: minor improvements to the commotion configuration file
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 30 Apr 2015 13:57:17 +0000 (15:57 +0200)]
files: minor improvements to the FunkFeuer configuration files
Remove the minimal file, it effectively the same as the default
configuration.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 30 Apr 2015 13:40:24 +0000 (15:40 +0200)]
files: remove olsrd.conf.default.lq-fisheye
It's effectively the same as olsrd.conf.default.full
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 30 Apr 2015 09:30:03 +0000 (11:30 +0200)]
cfgfile_gen: improve printing of routing table priorities
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 30 Apr 2015 09:29:26 +0000 (11:29 +0200)]
cfgfile_gen: improve printing of routing tables
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 30 Apr 2015 09:28:15 +0000 (11:28 +0200)]
cfgfile_gen: improve printing of UseNiit
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 30 Apr 2015 09:26:50 +0000 (11:26 +0200)]
cfgfile_gen: improve printing of SmartGatewayPolicyRoutingScript
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 30 Apr 2015 09:26:26 +0000 (11:26 +0200)]
cfgfile_gen: improve printing of SmartGatewayEgressInterfaces
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 30 Apr 2015 09:25:57 +0000 (11:25 +0200)]
cfgfile_gen: update comments file SmartGatewayEgressFilePeriod
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 30 Apr 2015 09:25:33 +0000 (11:25 +0200)]
cfgfile_gen: improve printing of SmartGatewayEgressFile
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 30 Apr 2015 09:25:03 +0000 (11:25 +0200)]
cfgfile_gen: improve printing of SmartGatewayPrefix
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 30 Apr 2015 09:24:26 +0000 (11:24 +0200)]
cfgfile_gen: improve printing of MainIp
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 30 Apr 2015 09:23:30 +0000 (11:23 +0200)]
cfgfile_gen: improve printing of HNAs
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 30 Apr 2015 09:21:57 +0000 (11:21 +0200)]
cfgfile_gen: print comments when the are no ipc_nets
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 30 Apr 2015 09:20:45 +0000 (11:20 +0200)]
cfgfile_gen: add some comments to the generated configuration file
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 30 Apr 2015 09:39:13 +0000 (11:39 +0200)]
cfgfile_gen: fix default for RtProto
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 29 Apr 2015 17:15:34 +0000 (19:15 +0200)]
cfgfile_gen: make sure to print IPv6Src as an IPv6 prefix
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 29 Apr 2015 17:14:00 +0000 (19:14 +0200)]
cfgfile_gen: better LinkQualityMult examples
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 29 Apr 2015 17:07:57 +0000 (19:07 +0200)]
cfgfile_gen: whitespace and typo fixes
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 29 Apr 2015 16:57:32 +0000 (18:57 +0200)]
cfg: make sure lockfile has a default as specified in the cfg file
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 29 Apr 2015 16:52:01 +0000 (18:52 +0200)]
ipcalc: fix a double slash for IPv6 in olsr_ip_prefix_to_string
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 29 Apr 2015 16:59:36 +0000 (18:59 +0200)]
pud: move the config sample into the readme
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 29 Apr 2015 16:57:55 +0000 (18:57 +0200)]
txtinfo: update the readme
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 29 Apr 2015 16:59:12 +0000 (18:59 +0200)]
secure: update the readme
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 29 Apr 2015 16:59:01 +0000 (18:59 +0200)]
jsoninfo: update the readme
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 29 Apr 2015 16:58:07 +0000 (18:58 +0200)]
httpinfo: update the readme
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 29 Apr 2015 16:58:36 +0000 (18:58 +0200)]
dyngw_plain: update the readme
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 29 Apr 2015 16:58:22 +0000 (18:58 +0200)]
dyngw: update the readme
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 29 Apr 2015 16:58:45 +0000 (18:58 +0200)]
arprefresh: update the readme
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Henning Rogge [Thu, 30 Apr 2015 09:26:08 +0000 (11:26 +0200)]
Restrict maxmimum message size (not packet size) to IPv6 minimal MTU.
Ferry Huberts [Wed, 22 Apr 2015 11:38:31 +0000 (13:38 +0200)]
jsoninfo: add version, 2hop and sgw. now in sync with txtinfo
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 22 Apr 2015 11:40:29 +0000 (13:40 +0200)]
jsoninfo: the IP address for a neighbour can also be an IPv6 address
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 22 Apr 2015 09:14:21 +0000 (11:14 +0200)]
jsoninfo: minor fixup
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 22 Apr 2015 08:33:49 +0000 (10:33 +0200)]
jsoninfo: systemTime and timeSinceStartup can be first
A comma is only added when needed.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 20 Apr 2015 13:27:20 +0000 (15:27 +0200)]
jsoninfo: formatting fixup
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 20 Apr 2015 13:08:21 +0000 (15:08 +0200)]
sgw: fix a shadowing warning
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 20 Apr 2015 12:34:34 +0000 (14:34 +0200)]
jsoninfo: refactor outputting JSON
Nicer formatting and now correct as long as the *mark* functions
are used correctly.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 20 Apr 2015 12:23:57 +0000 (14:23 +0200)]
jsoninfo: more comparison simplifications
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 20 Apr 2015 12:21:33 +0000 (14:21 +0200)]
jsoninfo: clearer distinction between JSON and non-JSON blocks
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 20 Apr 2015 12:25:28 +0000 (14:25 +0200)]
jsoninfo: some comparison simplifications
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 20 Apr 2015 10:26:13 +0000 (12:26 +0200)]
jsoninfo: formatting
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Tue, 7 Apr 2015 07:52:52 +0000 (09:52 +0200)]
sgw: egress: Android is not Linux
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Tue, 7 Apr 2015 07:42:45 +0000 (09:42 +0200)]
sgw: egress file: use full time resolution on Linux
When checking the file modification time. The file might change
again in the same second that it was last read.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Sebastian Kürten [Thu, 12 Mar 2015 23:11:25 +0000 (00:11 +0100)]
Revert "Added simple hard-coded whitelist"
This reverts commit
31d4804b088fd30261fe3189ab00136a95d62a1f.
Sebastian Kürten [Thu, 12 Mar 2015 23:02:36 +0000 (00:02 +0100)]
Added simple hard-coded whitelist
We have a list of valid IP addresses which are whitelistet, currently
none of the others will be selected as gateway.
Each whitelistet IP has an associated factor that improves the natural
cost so that we can favor individual addresses over others.
Ferry Huberts [Thu, 26 Feb 2015 11:25:01 +0000 (12:25 +0100)]
pud: nmealib: doc: upgrade doxygen configuration file
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 26 Feb 2015 11:22:54 +0000 (12:22 +0100)]
pud: nmealib: doc: disable generation of the PDF; pdflatex somehow fails
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 26 Feb 2015 10:50:15 +0000 (11:50 +0100)]
pud: nmealib: align nmea_random to olsrd _random
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 26 Feb 2015 10:54:33 +0000 (11:54 +0100)]
olsr_random: need to include time.h
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 26 Feb 2015 01:41:23 +0000 (02:41 +0100)]
olsr_switch: replace random() by our own function
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 26 Feb 2015 01:14:12 +0000 (02:14 +0100)]
contrib: replace random() by our own function
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 26 Feb 2015 01:17:40 +0000 (02:17 +0100)]
contrib: fix the build
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 26 Feb 2015 01:13:36 +0000 (02:13 +0100)]
secure: replace random() by our own function
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 26 Feb 2015 00:19:30 +0000 (01:19 +0100)]
pud: nmealib: replace random() by our own function
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 26 Feb 2015 00:11:34 +0000 (01:11 +0100)]
win32: replace random() by our own function
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 26 Feb 2015 00:27:14 +0000 (01:27 +0100)]
bsd: replace random() by our own function
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 26 Feb 2015 00:11:16 +0000 (01:11 +0100)]
unix: replace random() by our own function
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 26 Feb 2015 00:10:52 +0000 (01:10 +0100)]
main: replace random() by our own function
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 26 Feb 2015 10:27:03 +0000 (11:27 +0100)]
olsr_random: introduce better random functions
These new function read /dev/urandom (or /dev/random as a fallback)
on platforms that support those devices. They invoke random() on
other platforms.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 25 Feb 2015 20:47:42 +0000 (21:47 +0100)]
quagga: minor readability fixes
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 25 Feb 2015 20:32:37 +0000 (21:32 +0100)]
parser: fix a Coverity warning
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 25 Feb 2015 20:20:10 +0000 (21:20 +0100)]
httpinfo: fix a Coverity warning
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 25 Feb 2015 20:16:31 +0000 (21:16 +0100)]
pud: nmealib: fix a Coverity warning
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 25 Feb 2015 20:16:26 +0000 (21:16 +0100)]
pud: nmealib: fix a Coverity warning
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 25 Feb 2015 20:16:11 +0000 (21:16 +0100)]
dyn_gw: fix a Coverity warning
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Tue, 24 Feb 2015 15:43:56 +0000 (16:43 +0100)]
sgw: gwContainer can't be null here
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Tue, 24 Feb 2015 15:43:35 +0000 (16:43 +0100)]
sgw: minor improvement
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Tue, 24 Feb 2015 10:54:31 +0000 (11:54 +0100)]
sgw: ensure a bandwidth of 1 does not alias onto 0 when serialising
Since a bandwidth of 1 is better than no bandwidth at all.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Henning Rogge [Thu, 19 Feb 2015 07:47:21 +0000 (08:47 +0100)]
keep pushing data through dotdraw plugin
Henning Rogge [Mon, 16 Feb 2015 10:32:37 +0000 (11:32 +0100)]
tc: properly initialise the path_costs field in a new tc
Signed-off-by: Henning Rogge <hrogge@gmail.com>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Teco Boot [Sat, 3 Jan 2015 15:35:52 +0000 (16:35 +0100)]
arprefresh: README adjusted for plugin name
Ferry Huberts [Thu, 11 Dec 2014 17:56:16 +0000 (18:56 +0100)]
pud: wireformat-java: improve java detection
Just ask java where its home directory is
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 29 Dec 2014 12:01:55 +0000 (13:01 +0100)]
Merge branch 'release-0.6.8'
* release-0.6.8:
Update version after release of v0.6.8
Release v0.6.8
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Henning Rogge [Mon, 29 Dec 2014 11:17:19 +0000 (12:17 +0100)]
Update version after release of v0.6.8
Signed-off-by: Henning Rogge <hrogge@gmail.com>
Henning Rogge [Mon, 29 Dec 2014 11:17:19 +0000 (12:17 +0100)]
Update version after release of v0.6.8
Signed-off-by: Henning Rogge <hrogge@gmail.com>
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>
Henning Rogge [Sun, 28 Dec 2014 13:51:52 +0000 (14:51 +0100)]
Fix bug of former commit
Henning Rogge [Sun, 28 Dec 2014 13:04:41 +0000 (14:04 +0100)]
Prevent memory leak when setting up new interface
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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.
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>
Henning Rogge [Sun, 16 Nov 2014 15:07:00 +0000 (16:07 +0100)]
Merge branch 'master' of git://olsr.org/olsrd
Henning Rogge [Sun, 16 Nov 2014 15:06:29 +0000 (16:06 +0100)]
Only use IPV6_TCLASS and IPV6_V6ONLY when defined
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>
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>