oonf.git
15 months agoHotfix for closing UDP socket behavior mentioned in Github Issue 14 packet_socket_bug
Henning Rogge [Thu, 26 Apr 2018 09:00:16 +0000 (11:00 +0200)]
Hotfix for closing UDP socket behavior mentioned in Github Issue 14

15 months agoAdd missing build target for test creation
Henning Rogge [Wed, 25 Apr 2018 07:47:42 +0000 (09:47 +0200)]
Add missing build target for test creation

15 months agoCleanup build system for tests and add generic 'build_tests' target.
Henning Rogge [Wed, 25 Apr 2018 07:42:05 +0000 (09:42 +0200)]
Cleanup build system for tests and add generic 'build_tests' target.

15 months agoAdd more linklayer data options and a better query function
Henning Rogge [Tue, 24 Apr 2018 11:51:49 +0000 (13:51 +0200)]
Add more linklayer data options and a better query function

15 months agoRestructure ffdat plugin as preparation for external metric calculation
Henning Rogge [Tue, 24 Apr 2018 11:44:04 +0000 (13:44 +0200)]
Restructure ffdat plugin as preparation for external metric calculation
Fix compiler warning in routing code

15 months agoRemove static modifier from olsrv2/nhdp logging sources.
Henning Rogge [Tue, 24 Apr 2018 09:09:56 +0000 (11:09 +0200)]
Remove static modifier from olsrv2/nhdp logging sources.
Otherwise they cannot be used by the other source files of the plugins.

16 months agoFix return values of DLEP signal processing callbacks
Henning Rogge [Wed, 11 Apr 2018 11:50:24 +0000 (13:50 +0200)]
Fix return values of DLEP signal processing callbacks

16 months agoFix handling of lid-length TLV in DLEP session ACK
Henning Rogge [Wed, 11 Apr 2018 11:14:02 +0000 (13:14 +0200)]
Fix handling of lid-length TLV in DLEP session ACK

16 months agoAdd doxygen comments for link-id code
Henning Rogge [Wed, 11 Apr 2018 10:36:31 +0000 (12:36 +0200)]
Add doxygen comments for link-id code

16 months agoImplement lid_length mechanism into DLEP
Henning Rogge [Wed, 11 Apr 2018 09:29:16 +0000 (11:29 +0200)]
Implement lid_length mechanism into DLEP

16 months agoAdd basic link-id capability to DLEP
Henning Rogge [Wed, 11 Apr 2018 07:34:23 +0000 (09:34 +0200)]
Add basic link-id capability to DLEP

16 months agoAdd a few example configurations to the repository
Henning Rogge [Tue, 10 Apr 2018 05:40:19 +0000 (07:40 +0200)]
Add a few example configurations to the repository

16 months agoAdd support for Link-ID to layer2 database
Henning Rogge [Mon, 9 Apr 2018 11:30:45 +0000 (13:30 +0200)]
Add support for Link-ID to layer2 database

16 months agoRemove (done) TODO mark for outgoing TCP connection error handling
Henning Rogge [Wed, 4 Apr 2018 08:52:11 +0000 (10:52 +0200)]
Remove (done) TODO mark for outgoing TCP connection error handling

16 months agoImprove error handling for failed outgoing TCP connections
Henning Rogge [Wed, 4 Apr 2018 07:58:36 +0000 (09:58 +0200)]
Improve error handling for failed outgoing TCP connections

16 months agoAdd better debugging output to packet socket code
Henning Rogge [Tue, 3 Apr 2018 12:23:13 +0000 (14:23 +0200)]
Add better debugging output to packet socket code

16 months agoFix issues with DLEP udp_mode none and reconnect
Henning Rogge [Tue, 3 Apr 2018 10:46:43 +0000 (12:46 +0200)]
Fix issues with DLEP udp_mode none and reconnect

16 months agoAdd function to calculate IPv6 address from MAC
Henning Rogge [Wed, 28 Mar 2018 12:21:49 +0000 (14:21 +0200)]
Add function to calculate IPv6 address from MAC

16 months agoFixes for doxygen comments
Henning Rogge [Thu, 22 Mar 2018 08:26:21 +0000 (09:26 +0100)]
Fixes for doxygen comments

16 months agoFix variable used in layer2 generator loop
Henning Rogge [Thu, 22 Mar 2018 08:25:59 +0000 (09:25 +0100)]
Fix variable used in layer2 generator loop

16 months agoFix DLEP handling of mandatory TLVs
Henning Rogge [Thu, 22 Mar 2018 08:02:05 +0000 (09:02 +0100)]
Fix DLEP handling of mandatory TLVs

16 months agoAdd netaddr constants for MAC48 prefixes for IPv4/6 multicast
Henning Rogge [Wed, 21 Mar 2018 14:35:53 +0000 (15:35 +0100)]
Add netaddr constants for MAC48 prefixes for IPv4/6 multicast

17 months agoFixes for DLEP router UDP mode v0.15.1
Henning Rogge [Mon, 19 Mar 2018 06:55:56 +0000 (07:55 +0100)]
Fixes for DLEP router UDP mode

17 months agoMake connect_to parameter for DLEP router useful again
Henning Rogge [Fri, 16 Mar 2018 12:57:04 +0000 (13:57 +0100)]
Make connect_to parameter for DLEP router useful again

17 months agoSometimes the kernel sende rtnetlink multicast stuff with random sequence numbers.
Henning Rogge [Thu, 15 Mar 2018 14:09:48 +0000 (15:09 +0100)]
Sometimes the kernel sende rtnetlink multicast stuff with random sequence numbers.
Deliver everything to the listeners that does not have an expected number.

17 months agoAdd interface data to systeminfo
Henning Rogge [Wed, 14 Mar 2018 14:01:11 +0000 (15:01 +0100)]
Add interface data to systeminfo

17 months agoFixes for OONF_ASSERT() conversion
Henning Rogge [Wed, 14 Mar 2018 14:00:54 +0000 (15:00 +0100)]
Fixes for OONF_ASSERT() conversion

17 months agoFix color handling for stderr logging
Henning Rogge [Tue, 13 Mar 2018 13:09:07 +0000 (14:09 +0100)]
Fix color handling for stderr logging

17 months agoCleanup logging, convert asserts (except rfc5444 code for now) to OONF_ASSERT(_HEX)
Henning Rogge [Tue, 13 Mar 2018 12:20:10 +0000 (13:20 +0100)]
Cleanup logging, convert asserts (except rfc5444 code for now) to OONF_ASSERT(_HEX)

17 months agoSwitch parameter order for interface.l2neighbor
Henning Rogge [Tue, 6 Mar 2018 09:52:37 +0000 (10:52 +0100)]
Switch parameter order for interface.l2neighbor

17 months agoFix parameter check for l2neighbor/l2default parameter
Henning Rogge [Tue, 6 Mar 2018 08:54:04 +0000 (09:54 +0100)]
Fix parameter check for l2neighbor/l2default parameter

17 months agoAnother DLEP status update
Henning Rogge [Mon, 26 Feb 2018 12:13:40 +0000 (13:13 +0100)]
Another DLEP status update

17 months agoUpdated DLEP status codes
Henning Rogge [Mon, 26 Feb 2018 11:44:00 +0000 (12:44 +0100)]
Updated DLEP status codes

17 months agoDLEP SESSION UPDATE ACK has mandatory STATUS TLV
Henning Rogge [Mon, 26 Feb 2018 10:27:54 +0000 (11:27 +0100)]
DLEP SESSION UPDATE ACK has mandatory STATUS TLV

17 months agoDLEP Status TLV is mandatory for Destination up/down ACK
Henning Rogge [Mon, 26 Feb 2018 09:11:00 +0000 (10:11 +0100)]
DLEP Status TLV is mandatory for Destination up/down ACK

17 months agoCleanup error handling of mandatory olsrv2_lan parameters
Henning Rogge [Mon, 26 Feb 2018 08:23:44 +0000 (09:23 +0100)]
Cleanup error handling of mandatory olsrv2_lan parameters

17 months agoProduce warning if lan_import is configured to use mesh interface
Henning Rogge [Mon, 26 Feb 2018 08:23:20 +0000 (09:23 +0100)]
Produce warning if lan_import is configured to use mesh interface

17 months agoFix handling of OLSRv2 lan (locally attached networks) plugins (both new and legacy)
Henning Rogge [Mon, 26 Feb 2018 06:47:49 +0000 (07:47 +0100)]
Fix handling of OLSRv2 lan (locally attached networks) plugins (both new and legacy)

18 months agoAdd formating script v0.15.0
Henning Rogge [Tue, 6 Feb 2018 14:27:00 +0000 (15:27 +0100)]
Add formating script

18 months agoReformat sourcecode with clang-format-6.0
Henning Rogge [Tue, 6 Feb 2018 14:23:58 +0000 (15:23 +0100)]
Reformat sourcecode with clang-format-6.0

18 months agoAdd Clang format file
Henning Rogge [Tue, 6 Feb 2018 10:40:03 +0000 (11:40 +0100)]
Add Clang format file

20 months agoRevert "Add type "none" to layer2 database"
Henning Rogge [Mon, 4 Dec 2017 12:31:26 +0000 (13:31 +0100)]
Revert "Add type "none" to layer2 database"

This reverts commit 73755fbb827c6daf9668ab575c7931f52f98d9ee.

20 months agoAdd type "none" to layer2 database
Henning Rogge [Mon, 4 Dec 2017 06:55:26 +0000 (07:55 +0100)]
Add type "none" to layer2 database

20 months agoAllow modified layer-2 originator priorities
Henning Rogge [Fri, 1 Dec 2017 08:18:29 +0000 (09:18 +0100)]
Allow modified layer-2 originator priorities

20 months agoDon't probe nl80211-interfaces if they are down
Henning Rogge [Fri, 1 Dec 2017 06:59:06 +0000 (07:59 +0100)]
Don't probe nl80211-interfaces if they are down

20 months agoAllow metric plugins to define the layer2-data items they need.
Henning Rogge [Fri, 1 Dec 2017 06:58:28 +0000 (07:58 +0100)]
Allow metric plugins to define the layer2-data items they need.

20 months agoForgot to handle DESTINATION_UP messages for IP/Prefix handling
Henning Rogge [Thu, 23 Nov 2017 13:59:20 +0000 (14:59 +0100)]
Forgot to handle DESTINATION_UP messages for IP/Prefix handling

20 months agoMore fixes for DLEP ip transmission
Henning Rogge [Thu, 23 Nov 2017 12:10:39 +0000 (13:10 +0100)]
More fixes for DLEP ip transmission

20 months agoInform listeners if layer2 IPs are added/removed
Henning Rogge [Thu, 23 Nov 2017 10:33:13 +0000 (11:33 +0100)]
Inform listeners if layer2 IPs are added/removed

20 months agoDLEP fixes for handling of IP addresses attached to sessions/neighbors
Henning Rogge [Thu, 23 Nov 2017 10:32:47 +0000 (11:32 +0100)]
DLEP fixes for handling of IP addresses attached to sessions/neighbors

20 months agoFixes for DLEP
Henning Rogge [Wed, 22 Nov 2017 10:08:13 +0000 (11:08 +0100)]
Fixes for DLEP

21 months agoSmall cleanup in DLEP code to make sure session cleanup does not block
Henning Rogge [Tue, 14 Nov 2017 08:45:43 +0000 (09:45 +0100)]
Small cleanup in DLEP code to make sure session cleanup does not block

21 months agoUse new category for setting DLEP default metrics
Henning Rogge [Fri, 10 Nov 2017 14:48:43 +0000 (15:48 +0100)]
Use new category for setting DLEP default metrics

21 months agoAdd "unreliable" l2 origin for DLEP defaults
Henning Rogge [Fri, 10 Nov 2017 14:29:20 +0000 (15:29 +0100)]
Add "unreliable" l2 origin for DLEP defaults

21 months agoPatch for Coverity 181103/181104 for better input checking in RFC5444 printing
Henning Rogge [Mon, 6 Nov 2017 09:46:10 +0000 (10:46 +0100)]
Patch for Coverity 181103/181104 for better input checking in RFC5444 printing

21 months agoUse correct index variable for layer2 generator
Henning Rogge [Mon, 6 Nov 2017 09:29:20 +0000 (10:29 +0100)]
Use correct index variable for layer2 generator

21 months agoFix coverity 185458: split index variable into two enums
Henning Rogge [Mon, 6 Nov 2017 09:27:37 +0000 (10:27 +0100)]
Fix coverity 185458: split index variable into two enums

21 months agoFix Coverity 156528: use strscpy to make sure strings are well terminated
Henning Rogge [Mon, 6 Nov 2017 09:21:40 +0000 (10:21 +0100)]
Fix Coverity 156528: use strscpy to make sure strings are well terminated
Fix Coverity 156529: use strscpy to make sure strings are well terminated

21 months agoFixes for compiling without debug logging
Henning Rogge [Thu, 26 Oct 2017 14:06:29 +0000 (16:06 +0200)]
Fixes for compiling without debug logging

21 months agoFix small bugs in DLEP
Henning Rogge [Thu, 26 Oct 2017 13:48:46 +0000 (15:48 +0200)]
Fix small bugs in DLEP

21 months agoAdd rx broadcast bitrate to DLEP
Henning Rogge [Wed, 25 Oct 2017 07:24:41 +0000 (09:24 +0200)]
Add rx broadcast bitrate to DLEP

21 months agoAdd constant for RX broadcast bitrate to layer2 db
Henning Rogge [Wed, 25 Oct 2017 07:18:05 +0000 (09:18 +0200)]
Add constant for RX broadcast bitrate to layer2 db

21 months agoFix stupid mistake when removing the assert
Henning Rogge [Wed, 25 Oct 2017 06:42:05 +0000 (08:42 +0200)]
Fix stupid mistake when removing the assert

21 months agoMore work on Layer2 data API (removal of assert)
Henning Rogge [Wed, 25 Oct 2017 06:13:49 +0000 (08:13 +0200)]
More work on Layer2 data API (removal of assert)

21 months agoUse tokenized config option to simplify a number of plugin options.
Henning Rogge [Tue, 24 Oct 2017 06:10:58 +0000 (08:10 +0200)]
Use tokenized config option to simplify a number of plugin options.
Move old "locally attached network" to a plugin, add a new plugin with
a more sane config option (lan_import is still better!)

21 months agoRefactor configuration API and add config option for space separated tokens as value
Henning Rogge [Tue, 24 Oct 2017 05:52:16 +0000 (07:52 +0200)]
Refactor configuration API and add config option for space separated tokens as value

21 months agoAdd function to count number of words in string
Henning Rogge [Tue, 24 Oct 2017 05:41:29 +0000 (07:41 +0200)]
Add function to count number of words in string

21 months agoBetter help text for fractional digits
Henning Rogge [Fri, 20 Oct 2017 06:57:57 +0000 (08:57 +0200)]
Better help text for fractional digits

22 months agoSwitch DLEP default values to new "generic type" data of layer2 subsystem
Henning Rogge [Wed, 18 Oct 2017 07:12:47 +0000 (09:12 +0200)]
Switch DLEP default values to new "generic type" data of layer2 subsystem

22 months agoFix data type checking in dlep TLV transmission
Henning Rogge [Wed, 18 Oct 2017 06:11:17 +0000 (08:11 +0200)]
Fix data type checking in dlep TLV transmission

22 months agoSet "probe by MCS" flag for nl80211 probed interfaces
Henning Rogge [Tue, 17 Oct 2017 13:12:38 +0000 (15:12 +0200)]
Set "probe by MCS" flag for nl80211 probed interfaces

22 months agoOptimize lan_import by filtering queries earlier
Henning Rogge [Wed, 27 Sep 2017 13:29:49 +0000 (15:29 +0200)]
Optimize lan_import by filtering queries earlier

22 months agoRemove netlink commands that trigger an error from the outgoing queue
Henning Rogge [Wed, 27 Sep 2017 13:27:18 +0000 (15:27 +0200)]
Remove netlink commands that trigger an error from the outgoing queue

22 months agoFixes for netlink layer to prevent overloading from multiple triggered
Henning Rogge [Wed, 27 Sep 2017 12:43:17 +0000 (14:43 +0200)]
Fixes for netlink layer to prevent overloading from multiple triggered
interface scans. Unify routing netlink sockets and add more debugging output.

22 months agoRemove support for base 1024 isonumbers
Henning Rogge [Mon, 25 Sep 2017 12:41:34 +0000 (14:41 +0200)]
Remove support for base 1024 isonumbers
Increase testing case coverage for isonumbers

22 months agoFix buf (recently introduced) in isoprefix conversion
Henning Rogge [Fri, 22 Sep 2017 13:45:28 +0000 (15:45 +0200)]
Fix buf (recently introduced) in isoprefix conversion

22 months agoAdd API to control Hello, TC and Aggregation settings from plugins to overwrite confi...
Henning Rogge [Fri, 22 Sep 2017 06:59:40 +0000 (08:59 +0200)]
Add API to control Hello, TC and Aggregation settings from plugins to overwrite configuration

22 months agoCleanup work in layer2 database API
Henning Rogge [Thu, 21 Sep 2017 08:52:49 +0000 (10:52 +0200)]
Cleanup work in layer2 database API

22 months agoMore work on DLEP and layer2 database
Henning Rogge [Thu, 21 Sep 2017 08:05:45 +0000 (10:05 +0200)]
More work on DLEP and layer2 database

23 months agoAdd helper for netaddr host detection
Henning Rogge [Thu, 14 Sep 2017 10:53:42 +0000 (12:53 +0200)]
Add helper for netaddr host detection

23 months agoMore work on RFC compliant DLEP and IP transmission by DLEP
Henning Rogge [Tue, 12 Sep 2017 08:31:12 +0000 (10:31 +0200)]
More work on RFC compliant DLEP and IP transmission by DLEP
Preparation for "non-bridging neighbors" of DLEP

23 months agoForce ANSN increase when locally attached networks are changed
Henning Rogge [Tue, 12 Sep 2017 07:25:21 +0000 (09:25 +0200)]
Force ANSN increase when locally attached networks are changed

23 months agoMetric falls back to IP address to retrive link speed from l2 database if MAC does...
Henning Rogge [Thu, 7 Sep 2017 09:02:43 +0000 (11:02 +0200)]
Metric falls back to IP address to retrive link speed from l2 database if MAC does not match.

23 months agoRemove IPv4 tunnel with same name if it already exists
Henning Rogge [Fri, 1 Sep 2017 11:11:39 +0000 (13:11 +0200)]
Remove IPv4 tunnel with same name if it already exists

23 months agoFix bug in netaddr inline helper
Henning Rogge [Thu, 31 Aug 2017 12:33:53 +0000 (14:33 +0200)]
Fix bug in netaddr inline helper

23 months agoMore work on IP transmission with DLEP
Henning Rogge [Wed, 30 Aug 2017 12:15:30 +0000 (14:15 +0200)]
More work on IP transmission with DLEP

23 months agoMore work on making DLEP RFC compatible
Henning Rogge [Tue, 29 Aug 2017 14:14:29 +0000 (16:14 +0200)]
More work on making DLEP RFC compatible

2 years agoSmall fixes for http/telnet/tcp codepath
Henning Rogge [Fri, 18 Aug 2017 11:03:49 +0000 (13:03 +0200)]
Small fixes for http/telnet/tcp codepath

2 years agoMulti-Topology is RFC7722
Henning Rogge [Wed, 16 Aug 2017 14:06:27 +0000 (16:06 +0200)]
Multi-Topology is RFC7722

2 years agoFix for MPR flooding calculation
Henning Rogge [Wed, 16 Aug 2017 14:02:45 +0000 (16:02 +0200)]
Fix for MPR flooding calculation

2 years agoFix for RFC5444 reader check
Henning Rogge [Wed, 16 Aug 2017 09:15:14 +0000 (11:15 +0200)]
Fix for RFC5444 reader check

2 years agoFix GCC errors
Henning Rogge [Tue, 8 Aug 2017 08:18:29 +0000 (10:18 +0200)]
Fix GCC errors

2 years agoAdd additional checks to RFC5444 parser to prevent buffer over-/underflows
Henning Rogge [Tue, 8 Aug 2017 08:12:51 +0000 (10:12 +0200)]
Add additional checks to RFC5444 parser to prevent buffer over-/underflows

2 years agoMore work on the layer2 subsystem
Henning Rogge [Tue, 8 Aug 2017 07:16:19 +0000 (09:16 +0200)]
More work on the layer2 subsystem

2 years agoUpdate layer2config and layer2info for new layer2-db capabilities
Henning Rogge [Wed, 2 Aug 2017 13:33:13 +0000 (15:33 +0200)]
Update layer2config and layer2info for new layer2-db capabilities

2 years agoPrepare layer2 database for storage of DLEP based IP addresses and prefixes
Henning Rogge [Wed, 2 Aug 2017 09:13:46 +0000 (11:13 +0200)]
Prepare layer2 database for storage of DLEP based IP addresses and prefixes

2 years agoUpdate of DLEP to RFC8175, tested against Rick Taylor's
Henning Rogge [Tue, 1 Aug 2017 12:37:40 +0000 (14:37 +0200)]
Update of DLEP to RFC8175, tested against Rick Taylor's
DLEP router test harness.

2 years agoFixes github issue #11 (wrong JSON format for systeminfo time)
Henning Rogge [Mon, 31 Jul 2017 08:03:40 +0000 (10:03 +0200)]
Fixes github issue #11 (wrong JSON format for systeminfo time)

2 years agoCleanup switch fallthrough so that GCC does not complain that much
Henning Rogge [Sun, 23 Jul 2017 09:23:40 +0000 (11:23 +0200)]
Cleanup switch fallthrough so that GCC does not complain that much

2 years agoFix more GCC7.1 compiler warnings
Henning Rogge [Sun, 23 Jul 2017 09:21:46 +0000 (11:21 +0200)]
Fix more GCC7.1 compiler warnings