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