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