1. 17 May, 2016 3 commits
  2. 13 May, 2016 2 commits
  3. 12 May, 2016 9 commits
  4. 10 May, 2016 5 commits
  5. 03 May, 2016 1 commit
    • Pavel Tvrdik's avatar
      Initialize variable ifr in sk_setup() · f7a99acb
      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)
      f7a99acb
  6. 29 Apr, 2016 2 commits
  7. 28 Apr, 2016 1 commit
    • Ondřej Zajíček's avatar
      Add the Babel routing protocol (RFC 6126) · 937e75d8
      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.
      937e75d8
  8. 13 Apr, 2016 1 commit
    • Ondřej Zajíček's avatar
      BSD: Add the IPsec SA/SP database entries control · a7baa098
      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.
      a7baa098
  9. 11 Apr, 2016 1 commit
  10. 08 Apr, 2016 3 commits
  11. 07 Apr, 2016 4 commits
  12. 06 Apr, 2016 3 commits
    • Ondřej Zajíček's avatar
      IO: Avoid multiple event cycles in one loop cycle. · bd22d7f4
      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.
      bd22d7f4
    • Ondřej Zajíček's avatar
      IO: Replace RX priority heuristic with explicit mark · 9e7b3ebd
      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.
      9e7b3ebd
    • Ondřej Zajíček's avatar
      KRT: Fix route learn scan when route changed · e86cfd41
      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.
      e86cfd41
  13. 30 Mar, 2016 1 commit
  14. 23 Mar, 2016 4 commits
    • Jan Moskyto Matejka's avatar
      Birdlib: Modify lists to avoid problems with pointer aliasing rules · 54bb032d
      Jan Moskyto Matejka authored
      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)
      54bb032d
    • Ondřej Zajíček's avatar
      Birdlib: Do cleanups after remove/free · 665b8e52
      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().
      665b8e52
    • Ondřej Zajíček's avatar
      OSPF: Fix bogus LSA ID collisions between received and originated LSAs · 39a6b19d
      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.
      39a6b19d
    • Ondřej Zajíček's avatar
      Minor changes in documentation · 0a505706
      Ondřej Zajíček authored
      0a505706