oonf.git
2 years 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

2 years 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

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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

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

2 years 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

2 years 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

2 years 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

2 years 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)

2 years 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!)

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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.

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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.

2 years 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

2 years 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

2 years 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

2 years 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

2 years agoMerge pull request #8 from OLSR/gcc-7.1
Henning Rogge [Wed, 12 Jul 2017 19:07:15 +0000 (21:07 +0200)]
Merge pull request #8 from OLSR/gcc-7.1

Fix isonumer build failure on GCC 7.1

2 years agoFix isonumer build failure on GCC 7.1 8/head
Ferry Huberts [Wed, 12 Jul 2017 14:53:22 +0000 (16:53 +0200)]
Fix isonumer build failure on GCC 7.1

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoAllow send/recv to not IP sockets (e.g. tun/tap)
Henning Rogge [Mon, 3 Jul 2017 10:46:59 +0000 (12:46 +0200)]
Allow send/recv to not IP sockets (e.g. tun/tap)

2 years agoAllow AutoLL4 on IPv4-Only interfaces
Henning Rogge [Wed, 14 Jun 2017 06:51:54 +0000 (08:51 +0200)]
Allow AutoLL4 on IPv4-Only interfaces

2 years agoFix build warnings of GCC in release mode v0.14.1
Henning Rogge [Tue, 13 Jun 2017 08:34:07 +0000 (10:34 +0200)]
Fix build warnings of GCC in release mode

2 years agoFix Bug in RFC5444 address compression
Henning Rogge [Tue, 13 Jun 2017 08:22:26 +0000 (10:22 +0200)]
Fix Bug in RFC5444 address compression
Fix Buf in list merge
Fix test cases to check for fixed bugs
Add new test case for address compression

2 years agoStart testcase for address compression (WBMv10)
Henning Rogge [Sat, 10 Jun 2017 11:13:15 +0000 (13:13 +0200)]
Start testcase for address compression (WBMv10)

2 years agoAdd metric aging to lan_import plugin
Henning Rogge [Fri, 9 Jun 2017 10:54:56 +0000 (12:54 +0200)]
Add metric aging to lan_import plugin

2 years agoUpdate OpenWRT GIT Build Files
Henning Rogge [Thu, 8 Jun 2017 18:15:54 +0000 (20:15 +0200)]
Update OpenWRT GIT Build Files

2 years agoIncrease maximum number of template keys
Henning Rogge [Thu, 8 Jun 2017 17:24:45 +0000 (19:24 +0200)]
Increase maximum number of template keys

2 years agoFix MTR update callbacks v0.14.0
Henning Rogge [Mon, 8 May 2017 08:18:58 +0000 (10:18 +0200)]
Fix MTR update callbacks

2 years agoFixes for MPR plugin
Henning Rogge [Mon, 8 May 2017 06:50:31 +0000 (08:50 +0200)]
Fixes for MPR plugin

2 years agoFix Info-only/Warn-only build
Henning Rogge [Sun, 7 May 2017 18:33:39 +0000 (20:33 +0200)]
Fix Info-only/Warn-only build

2 years agoFix "domain 0" cases in MPR plugin
Henning Rogge [Sun, 7 May 2017 18:24:43 +0000 (20:24 +0200)]
Fix "domain 0" cases in MPR plugin

2 years agoAdd function to increase ANSN
Henning Rogge [Tue, 25 Apr 2017 08:35:06 +0000 (10:35 +0200)]
Add function to increase ANSN

2 years agoFix possible segfault in os_interface system
Henning Rogge [Tue, 25 Apr 2017 07:54:06 +0000 (09:54 +0200)]
Fix possible segfault in os_interface system

2 years agoMerge branch 'mpr_rework'
Henning Rogge [Fri, 7 Apr 2017 06:10:07 +0000 (08:10 +0200)]
Merge branch 'mpr_rework'

2 years agoRemove unused code
Henning Rogge [Fri, 7 Apr 2017 06:05:45 +0000 (08:05 +0200)]
Remove unused code

2 years agoMake FFDAT sampling interval the same as the local interface Hello interval
Henning Rogge [Fri, 7 Apr 2017 06:04:05 +0000 (08:04 +0200)]
Make FFDAT sampling interval the same as the local interface Hello interval

2 years agoFixes for info level compilation
Henning Rogge [Thu, 23 Mar 2017 06:47:10 +0000 (07:47 +0100)]
Fixes for info level compilation

2 years agoFix refactoring bugs
Henning Rogge [Wed, 22 Mar 2017 13:14:21 +0000 (14:14 +0100)]
Fix refactoring bugs

2 years agodoxygen fixes
Henning Rogge [Wed, 22 Mar 2017 13:04:10 +0000 (14:04 +0100)]
doxygen fixes

2 years agoAllocate DLEP radio Layer2 originator
Henning Rogge [Wed, 8 Mar 2017 13:59:24 +0000 (14:59 +0100)]
Allocate DLEP radio Layer2 originator

3 years agoFix initialization of peer addresses
Henning Rogge [Thu, 23 Feb 2017 08:16:09 +0000 (09:16 +0100)]
Fix initialization of peer addresses

3 years agoFix os_interface behavior for p2p interfaces with peer addresses.
Henning Rogge [Thu, 23 Feb 2017 08:11:33 +0000 (09:11 +0100)]
Fix os_interface behavior for p2p interfaces with peer addresses.
Fix nhdp_writer behavior for interfaces without MAC address (e.g. PPP tunnel).

3 years agoAdd "MAC broadcast" to netaddr constants
Henning Rogge [Wed, 22 Feb 2017 12:49:05 +0000 (13:49 +0100)]
Add "MAC broadcast" to netaddr constants

3 years agoFix overwriting layer2 data from same source/priority
Henning Rogge [Wed, 22 Feb 2017 10:13:10 +0000 (11:13 +0100)]
Fix overwriting layer2 data from same source/priority

3 years agoFix info build
Henning Rogge [Thu, 16 Feb 2017 12:47:24 +0000 (13:47 +0100)]
Fix info build

3 years agoMerge branch 'master' into mpr_rework
Henning Rogge [Thu, 16 Feb 2017 07:54:09 +0000 (08:54 +0100)]
Merge branch 'master' into mpr_rework

3 years agoKeep statistics of logged warnings
Henning Rogge [Thu, 16 Feb 2017 07:06:45 +0000 (08:06 +0100)]
Keep statistics of logged warnings

3 years agoadd "get base" function for Class memory block extensions
Henning Rogge [Wed, 15 Feb 2017 14:10:01 +0000 (15:10 +0100)]
add "get base" function for Class memory block extensions

3 years agoImplement delayed MPR recalculation
Henning Rogge [Wed, 15 Feb 2017 12:42:11 +0000 (13:42 +0100)]
Implement delayed MPR recalculation

3 years agoMore fixes for TC production in MPR environments
Henning Rogge [Wed, 15 Feb 2017 10:18:22 +0000 (11:18 +0100)]
More fixes for TC production in MPR environments

3 years agoMerge branch 'master' into mpr_rework
Henning Rogge [Wed, 15 Feb 2017 07:14:56 +0000 (08:14 +0100)]
Merge branch 'master' into mpr_rework

3 years agoCheck interface address collisions before allowing a NHDP 1-hop link
Henning Rogge [Wed, 15 Feb 2017 07:14:30 +0000 (08:14 +0100)]
Check interface address collisions before allowing a NHDP 1-hop link

3 years agoMerge branch 'master' into mpr_rework
Henning Rogge [Tue, 14 Feb 2017 14:13:33 +0000 (15:13 +0100)]
Merge branch 'master' into mpr_rework

3 years agoMove statistics output to systeminfo plugin
Henning Rogge [Tue, 14 Feb 2017 14:13:05 +0000 (15:13 +0100)]
Move statistics output to systeminfo plugin

3 years agoAdd information about allocated sockets to remotecontrol plugin
Henning Rogge [Tue, 14 Feb 2017 13:31:38 +0000 (14:31 +0100)]
Add information about allocated sockets to remotecontrol plugin

3 years agoMore explicit routing change when receiving a TC
Henning Rogge [Mon, 13 Feb 2017 12:34:05 +0000 (13:34 +0100)]
More explicit routing change when receiving a TC

3 years agoTrigger dijkstra when TC change happened
Henning Rogge [Mon, 13 Feb 2017 12:33:04 +0000 (13:33 +0100)]
Trigger dijkstra when TC change happened

3 years agoFixes for MPR rework
Henning Rogge [Mon, 13 Feb 2017 09:02:15 +0000 (10:02 +0100)]
Fixes for MPR rework

3 years agoMerge branch 'master' into mpr_rework
Henning Rogge [Mon, 13 Feb 2017 07:17:37 +0000 (08:17 +0100)]
Merge branch 'master' into mpr_rework

3 years agoImprove runtime of MPR plugin by adding cache mechanisms
Jonathan Kirchhoff [Fri, 3 Feb 2017 14:22:39 +0000 (15:22 +0100)]
Improve runtime of MPR plugin by adding cache mechanisms

3 years agoOnly trigger MPR calculation when a Hello is sent
Henning Rogge [Thu, 2 Feb 2017 12:06:12 +0000 (13:06 +0100)]
Only trigger MPR calculation when a Hello is sent

3 years agoFix some includes in MPR plugin
Henning Rogge [Thu, 2 Feb 2017 07:23:19 +0000 (08:23 +0100)]
Fix some includes in MPR plugin

3 years agoFix GCC warnings for INFO/WARN builds
Henning Rogge [Wed, 1 Feb 2017 12:54:44 +0000 (13:54 +0100)]
Fix GCC warnings for INFO/WARN builds

3 years agoRevert "Replace ff_data interval parameter with automatic generation from remote"
Henning Rogge [Wed, 1 Feb 2017 12:38:47 +0000 (13:38 +0100)]
Revert "Replace ff_data interval parameter with automatic generation from remote"

This reverts commit e768e59c5222aec72656ad9ec67a72d6c19f60a9.

3 years agoReplace ff_data interval parameter with automatic generation from remote
Henning Rogge [Wed, 1 Feb 2017 11:54:33 +0000 (12:54 +0100)]
Replace ff_data interval parameter with automatic generation from remote
hello intervals