1. 16 May, 2014 4 commits
  2. 14 Nov, 2013 21 commits
  3. 08 Nov, 2013 1 commit
  4. 07 Nov, 2013 4 commits
  5. 24 Jul, 2013 1 commit
    • Baptiste Jonglez's avatar
      Cap neighbour cost to INFINITY · cfdb93fc
      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.
      cfdb93fc
  6. 11 Jul, 2013 2 commits
  7. 09 Jul, 2013 2 commits
    • Baptiste Jonglez's avatar
      Prevent a DoS by making the local interface non-blocking · e01f1925
      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.
      e01f1925
    • Baptiste Jonglez's avatar
      Refactor acceptance of new local connections · 186a40f3
      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.
      186a40f3
  8. 02 Jul, 2013 1 commit
    • Matthieu Boutier's avatar
      Fix parsing of compressed IPv4 Updates · 5a41d3a4
      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.
      5a41d3a4
  9. 27 Jun, 2013 2 commits
  10. 24 Jun, 2013 2 commits