- Jun 08, 2016
-
-
Ondřej Filip authored
-
- Jun 04, 2016
-
-
Ondřej Filip authored
-
- May 30, 2016
-
-
Maria Matejka authored
-
- May 12, 2016
-
-
Ondřej Zajíček authored
-
Pavel Tvrdik authored
-
Pavel Tvrdik authored
-
- May 10, 2016
-
-
Stijn Tintel authored
The netlink code assumes an order for the members of struct msghdr. This breaks recvmsg and sendmsg with musl libc on mips64. Fix this by using designated initializers instead. Signed-off-by:
Stijn Tintel <stijn@linux-ipv6.be>
-
- May 03, 2016
-
-
Pavel Tvrdik authored
==00:00:00:02.831 2468== Syscall param socketcall.setsockopt(optval) points to uninitialised byte(s) ==00:00:00:02.831 2468== at 0x513BDEA: setsockopt (in /usr/lib/libc-2.23.so) ==00:00:00:02.831 2468== by 0x45C7AF: sk_setup (io.c:1216) ==00:00:00:02.831 2468== by 0x45CDFF: sk_open (io.c:1417) ==00:00:00:02.831 2468== by 0x44B562: rip_open_socket (packets.c:740) ==00:00:00:02.831 2468== by 0x4481A7: rip_iface_locked (rip.c:616) ==00:00:00:02.831 2468== by 0x4133E4: olock_run_event (locks.c:177) ==00:00:00:02.831 2468== by 0x45A6DE: ev_run (event.c:85) ==00:00:00:02.831 2468== by 0x45A7AD: ev_run_list (event.c:142) ==00:00:00:02.831 2468== by 0x45E0FC: io_loop (io.c:2066) ==00:00:00:02.831 2468== by 0x463B56: main (main.c:845) ==00:00:00:02.831 2468== Address 0xffefffd24 is on thread 1's stack ==00:00:00:02.831 2468== in frame #1, created by sk_setup (io.c:1188) ==00:00:00:02.831 2468== Uninitialised value was created by a stack allocation ==00:00:00:02.831 2468== at 0x45C6BB: sk_setup (io.c:1188)
-
- Apr 29, 2016
-
-
Ondřej Zajíček authored
-
Ondřej Zajíček authored
-
- Apr 28, 2016
-
-
Ondřej Zajíček authored
This patch implements the IPv6 subset of the Babel routing protocol. Based on the patch from Toke Hoiland-Jorgensen, with some heavy modifications and bugfixes. Thanks to Toke Hoiland-Jorgensen for the original patch.
-
- Apr 13, 2016
-
-
Ondřej Zajíček authored
Add code for manipulation with TCP-MD5 keys in the IPsec SA/SP database at FreeBSD systems. Now, BGP MD5 authentication (RFC 2385) keys are handled automatically on both Linux and FreeBSD. Based on patches from Pavel Tvrdik.
-
- Apr 11, 2016
-
-
Ondřej Zajíček authored
-
- Apr 08, 2016
-
-
Ondřej Zajíček authored
When enabled, direct protocol generates routes only if the underlying link state is up.
-
- Apr 07, 2016
-
-
Ondřej Zajíček authored
Add option that changes default paths for config file and control socket to the current working directory.
-
Ondřej Zajíček authored
Counter exp_routes is increased during initial route feed after GR recovery, so it has to start with zero, otherwise BIRD will end with double value in exp_routes.
-
- Apr 06, 2016
-
-
Ondřej Zajíček authored
Event cycle may took too much time and trigger next timer events, so avoid cycling between timer and event cycles inside the loop cycle.
-
Ondřej Zajíček authored
In BIRD, RX has lower priority than TX with the exception of RX from control socket. The patch replaces heuristic based on socket type with explicit mark and uses it for both control socket and BGP session waiting to be established. This should avoid an issue when during heavy load, outgoing connection could connect (TX event), send open, but then failed to receive OPEN / establish in time, not sending notifications between and therefore got hold timer expired error from the neighbor immediately after it finally established the connection.
-
Ondřej Zajíček authored
When a kernel route changed, function krt_learn_scan() noticed that and replaced the route in internal kernel FIB, but after that, function krt_learn_prune() failed to propagate the new route to the nest, because it confused the new route with the (removed) old best route and decided that the best route did not changed. Wow, the original code (and the bug) is almost 17 years old.
-
- Mar 30, 2016
-
-
Maria Matejka authored
The events variable is used in the short loop decision. The reasons are not much clear, keeping this to keep the former behaviour.
-
- Mar 23, 2016
-
-
The old linked list implementation used some wild typecasts and required GCC option -fno-strict-aliasing to work properly. This patch fixes that. However, we still keep the option due to other potential problems. (Commited by Ondrej Santiago Zajicek)
-
Ondřej Zajíček authored
To avoid byzantine behavior in case of some errors, linked lists are cleared after rem_node() and resource headers are cleared after rfree().
-
Ondřej Zajíček authored
After restart, LSAs locally originated by the previous instance are received from neighbors. They are installed to LSA db and flushed. If export of a route triggers origination of a new external LSA before flush of the received one is complete, the check in ospf_originate_lsa() causes origination to fail (because en->nf is NULL for the old LSA and non-NULL for the new LSA). The patch fixes this by updating the en->nf for LSAs being flushed (as is already done for empty ones). Generally, en->nf field deserves some better description in the code. Thanks to Jigar Mehta for analyzing the problem.
-
Ondřej Zajíček authored
-
Ondřej Zajíček authored
Thanks to Pavel Tvrdik for noticing it.
-
- Mar 22, 2016
-
-
Maria Matejka authored
-
- Mar 18, 2016
-
-
Maria Matejka authored
It does strange things when even one fd larger than FD_SETSIZE is passed to select().
-
- Mar 17, 2016
-
-
Pavel Tvrdík authored
-
Pavel Tvrdík authored
-
- Mar 15, 2016
-
-
Maria Matejka authored
-
- Mar 11, 2016
-
-
Maria Matejka authored
This should lift the limit of FD_SETSIZE and allow more than 1024 fd's. FD_SETSIZE limit doesn't matter now when creating new sockets.
-
- Feb 25, 2016
-
-
Maria Matejka authored
-
Ondřej Zajíček authored
-
Maria Matejka authored
No more need to disable pthread for specific BSD's.
-
- Feb 16, 2016
-
-
Ondřej Zajíček authored
-
- Feb 11, 2016
-
-
Ondřej Zajíček authored
Pointer to current_log_name has to be changed even if the name is the same, because the old one will be invalid/freed after reconfiguration.
-
Ondřej Zajíček authored
When a BGP session was established by an outgoing connection with Graceful Restart behavior negotiated, a pending incoming connection in OpenSent state, and another incoming connection was received, then the outgoing connection (and whole BGP session) was closed, but the old incoming connection was just overwritten by the new one. That later caused a crash when the hold timer from the old connection fired.
-
- Nov 25, 2015
-
-
Ondřej Zajíček authored
-
- Nov 24, 2015
-
-
-
Ondřej Zajíček authored
-