- 24 Apr, 2021 1 commit
-
-
Antonin Décimo authored
This is triggered when flushing an interface. 4 bytes in 1 blocks are definitely lost in loss record 1 of 6 at 0x483A77F: malloc (vg_replace_malloc.c:307) by 0x11155E: check_interface_ipv4 (interface.c:161) by 0x110FCD: interface_updown (interface.c:460) by 0x1116E2: check_interfaces (interface.c:550) by 0x10AFAA: main (babeld.c:546)
-
- 23 Apr, 2021 1 commit
-
-
Juliusz Chroboczek authored
RFC 8966 Section 3.2.6 says that the route table is indexed by triples of the form (prefix, plen, neigh). Our indexing used to be incorrect, we'd sometimes include the next hop address, which made it impossible to interpret retractions with no next hop.
-
- 16 Jan, 2021 1 commit
-
-
Nick Hainke authored
The kind-definitions are contained in the header file: LOCAL_FLUSH 0 LOCAL_ADD 1 LOCAL_CHANGE 2 The function (local_kind) that converts them into strings again is private. New addons (for example openwrt ubus bindings) that make use of babeld should also use the same function to convert the kind to string format. This allows to ensure uniformity over all addons. Signed-off-by: Nick Hainke <vincent@systemli.org>
-
- 20 Dec, 2020 3 commits
-
-
Juliusz Chroboczek authored
This reverts commit 580257c7.
-
Juliusz Chroboczek authored
Thanks to Fabian Blaese.
-
Martin Weinelt authored
Setting sysctls is not allowed for unprivileged users, so let's not try to set per interface rp_filter when `skip-kernel-setup` is set. After this change babeld can run as an unprivileged users with CAP_NET_ADMIN. The user needs to take care of setting up the sysctls themselves.
-
- 10 Oct, 2020 3 commits
-
-
Juliusz Chroboczek authored
This means we no longer need to keep source-specific routes at the beginning, so remove the debugging check (which should never have made it into production anyway).
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
-
- 20 Sep, 2020 1 commit
-
-
Antonin Décimo authored
Babel-users mailing list threads: - [Babel-users] Higher CPU usage since 1.9.x leads to instability on slow devices https://alioth-lists.debian.net/pipermail/babel-users/2020-May/003734.html - [Babel-users] Removing source-specific for older kernels [was: Higher CPU usage since 1.9.x leads to instability on slow devices] https://alioth-lists.debian.net/pipermail/babel-users/2020-June/003742.html Rules are obsoleted by the removal of the disambiguation code. See https://alioth-lists.debian.net/pipermail/babel-users/2020-June/003744.html
-
- 19 Sep, 2020 8 commits
-
-
Antonin Décimo authored
-
Antonin Décimo authored
-
Antonin Décimo authored
-
Antonin Décimo authored
The buffer is already zero'ed on declaration.
-
Antonin Décimo authored
The C standard (§J.1-1) reads: > The following [is] unspecified > — The value of a union member other than the last one stored into (6.2.6.1). Zero-ing the `raw` member first makes the value of the `nh` member unspecified. It’s better to zeroise the whole union.
-
Antonin Décimo authored
-
Antonin Décimo authored
-
Antonin Décimo authored
-
- 21 Apr, 2020 1 commit
-
-
Juliusz Chroboczek authored
-
- 17 Apr, 2020 2 commits
-
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
An empty IPv4 source prefix is represented by a v4mapped default prefix. This was not always the case. Thanks to Fabian Blaese.
-
- 15 Apr, 2020 10 commits
-
-
Théophile Bastian authored
-
Antonin Décimo authored
-
Antonin Décimo authored
-
Antonin Décimo authored
-
Antonin Décimo authored
The code was removed in 0111f5c1.
-
Antonin Décimo authored
-
Antonin Décimo authored
-
Antonin Décimo authored
-
Antonin Décimo authored
-
Antonin Décimo authored
The original code was taken from netlink's manpage, which is buggy. The buffer might not be aligned to struct nlmsghdr pointers.
-
- 20 Aug, 2019 1 commit
-
-
Juliusz Chroboczek authored
-
- 19 Aug, 2019 1 commit
-
-
Dave Taht authored
-
- 18 Aug, 2019 1 commit
-
-
Juliusz Chroboczek authored
This would cause an assertion failure whenever we sent a Unicast Hello. Thanks to Dave Taht.
-
- 07 Aug, 2019 1 commit
-
-
Christof Schulze authored
* clarify code flow, only checking for future state once * clarify error messages when MTU is guessed by including the MTU value
-
- 05 Aug, 2019 2 commits
-
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
-
- 04 Aug, 2019 1 commit
-
-
Juliusz Chroboczek authored
As suggested by Christof Schulze.
-
- 26 Jul, 2019 2 commits
-
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
-