- 07 Nov, 2013 4 commits
-
-
Baptiste Jonglez authored
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
-
Matthieu Boutier authored
The prefix field’s size is Plen/8 rounded upwards.
-
- 24 Jul, 2013 1 commit
-
-
Baptiste Jonglez authored
With large txcost and rxcost, the calculated cost to a neighbour can exceed 65535, i.e. INFINITY. This is not a real issue, since any cost over 65535 is equally seen as infinity. However, it can confuse other tools (e.g. babelweb) who wouldn't expect a cost higher than infinity.
-
- 11 Jul, 2013 2 commits
-
-
Gregoire Henry authored
This is buggy on OS X, at least. As for linux we choose to be safe and we deactivate atomic route changes on all BSDs.
-
Gregoire Henry authored
This flag is easiest way to filter out babel's route in the kernel_routes function. This reverts commit 0845af77.
-
- 09 Jul, 2013 2 commits
-
-
Baptiste Jonglez authored
This prevents a DoS from the local interface, which could be performed by any user on the system running babeld. A malicious attacker could connect to the local interface, and then wait without reading any data. When the send buffer eventually fills up, babeld would block; as a result, it would become completely inoperative. Note that 'local_server_socket' is already non-blocking, but the sockets spawned by accept() don't inherit this flag. From accept(2): On Linux, the new socket returned by accept() does not inherit file status flags such as O_NONBLOCK and O_ASYNC from the listening socket.
-
Baptiste Jonglez authored
The various cases of success or failure are quite intricate. Since we plan to intricate it further in an upcoming commit, it's better to refactor it now.
-
- 02 Jul, 2013 1 commit
-
-
Matthieu Boutier authored
We were using the Flags field instead of the AE field when parsing compressed IPv4 prefixes in Update messages. This bug shouldn't trigger, since we never use compression with IPv4.
-
- 27 Jun, 2013 2 commits
-
-
Matthieu Boutier authored
-
Matthieu Boutier authored
-
- 24 Jun, 2013 4 commits
-
-
Matthieu Boutier authored
-
Matthieu Boutier authored
-
Matthieu Boutier authored
-
Matthieu Boutier authored
-
- 23 Jun, 2013 2 commits
-
-
Juliusz Chroboczek authored
This avoids multiple config file entries for the same interface causing an assertion failure. Reported by Baptiste Jonglez.
-
Gabriel Kerneis authored
-
- 19 Jun, 2013 6 commits
-
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
Conflicts: CHANGES
-
Juliusz Chroboczek authored
It turns out that the rp_filter is only disabled if both all/rp_filter and ifname/rp_filter are set to 0. This sets and restores all of these values explicitly, which fixes mysterious issues on distributions that set rp_filter by default.
-
Juliusz Chroboczek authored
This avoids a crash when an interface is added both in the configuration file and on the command-line.
-
- 18 Jun, 2013 2 commits
-
-
Juliusz Chroboczek authored
-
Matthieu Boutier authored
This was causing the parser to ignore the rest of the file after an unknown option.
-
- 16 Jun, 2013 1 commit
-
-
Juliusz Chroboczek authored
-
- 15 Jun, 2013 5 commits
-
-
Matthieu Boutier authored
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
-
Toke Høiland-Jørgensen authored
-
Toke Høiland-Jørgensen authored
-
- 14 Jun, 2013 4 commits
-
-
Juliusz Chroboczek authored
This avoids various unpleasant edge-cases.
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
-
- 13 Jun, 2013 2 commits
-
-
Matthieu Boutier authored
-
Juliusz Chroboczek authored
This probably ensures that everything that can be done from the command-line can be done from the configuration file.
-
- 12 Jun, 2013 2 commits
-
-
Juliusz Chroboczek authored
-
Juliusz Chroboczek authored
-