Commit Graph

48 Commits

Author SHA1 Message Date
Robert Marko 0fed081486 treewide: refresh hashes after move to use ZSTD as default
With the recent move to using ZSTD as the default compression format
for packaging git repo clones we must refresh all of the hashes for
the packages feed as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-07 20:04:28 +02:00
Maciej Krüger 618e80a06a oonf-olsrd2: add support to check if service is running
Signed-off-by: Maciej Krüger <mkg20001@gmail.com>
2023-06-11 09:37:15 +02:00
Jakob Riepler 1b063f315e oonf-olsrd2: update to current develop branch - fixes routing#899
Development of OONF is very slow. The master branch is completely out of
date and new releases haven't been tagged since 2018.
According to this PR https://github.com/OLSR/OONF/pull/49#issuecomment-1229195523 the authors will probably just abandon the current master branch and replace it by the develop branch.
During my testing, the current development branch is more stable than
the latest tagged version on current OpenWrt versions.

Signed-off-by: Jakob Riepler <jakob+openwrt@chaosfield.at>
2023-03-11 11:57:07 +01:00
Patrick Grimm 3f74d8a16a oonf-olsrd2: a usable default configuration
Compile tested: mips_24kc, arm_cortex-a9_vfpv3-d16, i386_pentium4, x86_64, i386_pentium-mmx, mipsel_24kc

Description:
- OONF_OLSRV2_LAN_IMPORT for integration off other routing protocol (OLSR1, BGP, ...)
- OONF_OLSRV2_ROUTE_MODIFIER for overwriting the link qualitty of a neighbor, called LinkQuality Multiplicator in OLSR1
- OONF_GENERIC_REMOTECONTROL one of the goal of olsrv2
- OONF_OLSRV2_MPR reduce the routing graph when the network gets bigger

Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2023-02-22 08:05:34 +01:00
Maciej Krüger 521a4068de oonf-olsrd2: fix building with multiple plugins - fixes #826
Code to replace colons wasn't working (debian stable)
Took it from stackoverflow, works now

Signed-off-by: Maciej Krüger <mkg20001@gmail.com>
2023-02-22 08:05:34 +01:00
Patrick Grimm 8a82f32d3f oonf-olsrd2: change to git version from 2022-08-25
Compile tested: mips_24kc, arm_cortex-a9_vfpv3-d16, i386_pentium4, x86_64, i386_pentium-mmx, mipsel_24kc
Description:
c7d404f8 build lan_import
bbbd4f3d the package dh-systemd is not longer present in recent Ubuntu versions
1a5fa2a7 add missing extern to global symbol
5ea168ce fix build for gcc-10 (-fno-common default)
ced3ace0 Fix schema name for logging in README
c6dd02a1 test_config_delta: fix the build on GCC 9
f40be238 include unistd.h in oonf.h to keep modern GCC (e.g. in LEDE) from complaining about ssize_t
95fbcb35 Do avl_for_each_elements_with_key_safe() by hand until we had a closer look at the macro
e9b08759 use scaling factor when dealing with fixed integer conversion calls
2f615dab Prevent division by zero through (malformed) RLQ value
8d424b24 Fix NHDP link status for interfaces without MAC addresses
eecc3333 Add missing telnet dependency to layer2-config
965c2f73 Allow "non-unicast" routes to be imported
243e17e3 Allow setting l2config via telnet
40f24ab9 Partly working telnet code for l2config
c33d680e Add LID capability to oonf_layer2 and l2config subsystem
bad48ebc Do not accept configuration with unknown sections/values if 'global.failfast' is true. Set 'global.failfast' to true by default
05682c0c Make VIF sockets non-blocking
63345654 Reorder libraries for testcase creation to prevent Ubuntu 16.04 Bug (MOTOR-50)
3c1984f8 Fix compilation issue with "no-debug" logging
3765eb01 Cleanup ffdat metric to be able to import rx_throughput.
bdee26ba Improve combination of DAT speed and L2 throughput values
a1c3ea66 Allow ffdat metric to consider rx_throughput field
c8ec8301 Fix token validation
ad72038e Improve DAT-Metric by shifting hysteresis to the loss side and consider other layer2 parameters
9addfba4 Fix fixed integer arithmetics handling
f9ccd26b Track scaling factors of layer2 data elements. Handle different scaling for DLEP conversion.
603e48e8 Fix router_id for Netjson domain output
234e9109 Improve hello interval overwriting
7fc0f50b Add SNR to layer2 neighbor data
f9ebcf8e Fix bad 'is in list' test in stream socket processing
29a2a385 Set path prefix length in CMakeListsGlobal
a2ea9186 Replace VIF name pointer with array
e8f04530 Simplify test case creation
271ff097 Move 'enable test' to CMakeListsGlobal.cmake
0482db42 Fix no-debug/no-info compilation
38edcced Add more doxygen comments for layer2 import
1a709b5c Add missing comment for subsystem shutdown initiation, remove empty files
c7a68650 Fix the handling of neighbor IPs in dlep radio.
c255ead5 Add avl_for_each_elements_with_key_safe() macro and do some basic tests
5f835533 Don't filter for protocol for routes being removed (linux does not report protocol in this case)
83b19c54 Allow imported routed to be combined by l2import into the same l2 network. Allow multiple IP addresses being reported by DLEP
5274ce6a Fix tarball generator
6dd188ed Use relative path for calling archive builder
988aac6e Move included cmake files into CMakeListsGlobal to allow inclusion in wrapper projects
2a072733 Cleanup build installation directories
fc1fbbed Move test include to include directory
4043202f Rename "subsystems" directory to "base"
2e3578ba Add "config query" command to remotecontrol plugin to query a configuration value including default
48c2cdcb Prevent theoretical buffer overlow to make Coverity more happy (Coverity #181104)
19583704 Fix possible Null reference in colored logging (Coverity #188445)
6fa04505 Fix GCC 8 warning about small buffer
356d3b9b Allow wrapped build directory around OONF directory
11be4696 Cleanup and simplify OONF directory strucure
f1a30ade Restructure import of FIB entries to go through the layer2 db allow export of layer2 IP entries to FIB allow transmission of layer2 IP entries over DLEP
32bf829c Remove debugging code accidently left in for LID preparation
f6b884b1 Hotfix for closing UDP socket behavior mentioned in Github Issue 14
e7e5b685 Add missing build target for test creation
88efd166 Cleanup build system for tests and add generic 'build_tests' target.
2e5803bd Add more linklayer data options and a better query function
2dac53d9 Restructure ffdat plugin as preparation for external metric calculation Fix compiler warning in routing code
8cb39863 Remove static modifier from olsrv2/nhdp logging sources. Otherwise they cannot be used by the other source files of the plugins.
3a2dd24e Fix return values of DLEP signal processing callbacks
b2e18c91 Fix handling of lid-length TLV in DLEP session ACK
2b7b3ef8 Add doxygen comments for link-id code
bc24cba0 Implement lid_length mechanism into DLEP
b12ef6ea Add basic link-id capability to DLEP
8cc2d03e Add a few example configurations to the repository
1e3fb288 Add support for Link-ID to layer2 database
28adaf5a Remove (done) TODO mark for outgoing TCP connection error handling
2bfbcff3 Improve error handling for failed outgoing TCP connections
1d1e8876 Add better debugging output to packet socket code
3b89103e Fix issues with DLEP udp_mode none and reconnect
d4d64875 Add function to calculate IPv6 address from MAC
bdc2c2e6 Fixes for doxygen comments
5e2a7b48 Fix variable used in layer2 generator loop
a38b6847 Fix DLEP handling of mandatory TLVs
d242e098 Add yet more Markdown formatting to BUILDING.md
074dd7c3 Add more Markdown formatting to BUILDING.md
51d78c27 Rename BUILDING to BUILDING.md

Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2023-02-21 13:08:26 +01:00
Patrick Grimm 14afd9b172 oonf-olsrd2: add missing static plugin olsrv2_lan
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2023-02-20 22:56:35 +01:00
Patrick Grimm 53ab677c9e oonf: fix IB warnings 'include file not found'
Compile tested: mips_24kc, arm_cortex-a9_vfpv3-d16, i386_pentium4, x86_64, i386_pentium-mmx, mipsel_24kc

Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2023-01-23 14:24:10 +01:00
Nick Hainke d709225ed0 oonf-olsrd2: set PKG_MIRROR_HASH and refresh patch
Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-06-13 10:30:17 +02:00
Rosen Penev 519d7bae29 oonf-olsrd2: fix compilation with Ninja
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-13 10:30:17 +02:00
Rosen Penev 186b2117f4
oonf-olsrd2: fix static problems
The GCC 10 patch marked several variables in headers as extern, which
is correct. However some upstream change marked the definitions as
static even though the definition was not local to the c files.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-05 15:50:26 -07:00
Moritz Warning d30adf2d53
Merge pull request #597 from neheb/oon
oons-olsrd2: fix compilation with GCC 10
2020-09-30 17:10:15 +02:00
Nick Hainke 1d00adeb94 oonf-olsrd2: update version to v0.15.1
Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-09-04 01:27:12 +02:00
Rosen Penev e4b5d31049
oons-olsrd2: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-11 12:38:48 -07:00
Henning Rogge bb8271c304 Update OONF to 0.14.1-1 2017-06-13 10:56:49 +02:00
Henning Rogge 4c7624017c Update 0.14.1 release 2017-06-09 15:28:43 +02:00
Henning Rogge 565cd8d4f9 v0.14.1 2017-06-08 20:27:17 +02:00
Henning Rogge 560504b852 Control build type by CONFIG_DEBUG option 2017-06-08 19:06:40 +02:00
Henning Rogge 5a9cd902ab Fix http plugin option for olsrd2 2017-06-08 12:40:44 +02:00
Henning Rogge cfb3e95251 Allow HTTP Plugin 2017-06-07 21:49:05 +02:00
Henning Rogge 71d0a0b58a Add v0.14.0 OONF 2017-06-06 16:48:53 +02:00
Henning Rogge cb5478e079 Update to OONF version 0.13.0 2016-10-21 12:50:17 +02:00
Henning Rogge a62ca047ef Update to OONF 0.12.4 2016-09-04 14:21:45 +02:00
Henning Rogge 7dddc0f353 Update to OONF 0.12.3 2016-08-17 17:21:10 +02:00
Henning Rogge dda5a7d2d4 Update to OONF 0.12.2 + coverity fix 2016-08-01 11:59:05 +02:00
Henning Rogge 1c4438d506 OONF release 0.12.1 2016-06-07 11:19:12 +02:00
Henning Rogge e96845fca6 Update to v0.12.0 2016-05-31 08:59:35 +02:00
Henning Rogge 582abc1754 Update to 0.12.0a2 2016-05-25 16:57:35 +02:00
Henning Rogge 0c475a5925 remove interface subsystem 2016-05-25 12:34:07 +02:00
Henning Rogge d0b4ede9e6 Alpha of 0.12.0 for Federico Capoano 2016-05-25 11:06:31 +02:00
Henning Rogge c57210d93c Update OONF to v0.11.7 2016-05-13 15:00:12 +02:00
Henning Rogge de014ca55f Update OONF to 0.11.6 2016-05-13 10:48:35 +02:00
Henning Rogge 6b17ce6f61 Add remotecontrol plugin to selectable Olsrd2 plugins 2016-05-05 14:21:03 +01:00
Henning Rogge 22040963a5 Add optional packages to OONF olsrd2 2016-05-05 13:59:52 +01:00
Henning Rogge 2b5276e104 Update to OONF v0.11.4 2016-04-25 08:21:47 +02:00
Henning Rogge 0e4d44f8ec Update to OONF 0.11.3 2016-04-19 12:29:36 +02:00
Henning Rogge bbcd1922bf Update to version 0.11.2 2016-03-17 14:11:18 +01:00
Henning Rogge 101c9c07f9 Update to OONF 0.11.1 2016-03-12 00:46:59 +01:00
Henning Rogge f5bb690ab5 Forgot to change to switch from os_socket to os_fd for OONF 2016-02-29 19:05:12 +01:00
Henning Rogge 9c45d3e724 OONF version 0.11.0 2016-02-28 21:31:24 +01:00
Henning Rogge ae62ce0642 update to v0.9.2 2015-09-08 18:25:55 +02:00
Henning Rogge 2a34bedcec Unified Openwrt startup scripts for OONF 2015-08-06 21:59:14 +02:00
Henning Rogge 8afb34944b Update to 0.9.1-r1 release for better openwrt startup script 2015-08-01 09:22:46 +02:00
Henning Rogge ba4f448870 Update to oonf v0.9.1 2015-07-31 08:55:51 +02:00
Henning Rogge 793495fba3 Update OONF packages to 0.9.0 2015-07-30 17:03:16 +02:00
Henning Rogge a8608be74a Fix name of netjson plugin on oonf-olsrd2 package 2015-06-30 09:14:14 +02:00
Henning Rogge 859b1d95ed Update OONF packages to v0.8.3 2015-06-29 21:00:03 +02:00
Henning Rogge 45fc164df8 Add v0.8.2 OONF build files 2015-06-08 10:08:11 +02:00