1. 16 May, 2014 8 commits
  2. 01 Dec, 2013 1 commit
  3. 15 Nov, 2013 1 commit
  4. 14 Nov, 2013 21 commits
  5. 08 Nov, 2013 1 commit
  6. 07 Nov, 2013 4 commits
  7. 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
  8. 11 Jul, 2013 2 commits
  9. 09 Jul, 2013 1 commit
    • 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