1. 14 Nov, 2013 14 commits
  2. 08 Nov, 2013 1 commit
  3. 07 Nov, 2013 4 commits
  4. 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
  5. 11 Jul, 2013 2 commits
  6. 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
  7. 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
  8. 27 Jun, 2013 2 commits
  9. 24 Jun, 2013 4 commits
  10. 23 Jun, 2013 2 commits
  11. 19 Jun, 2013 6 commits
  12. 18 Jun, 2013 1 commit