Skip to content
Snippets Groups Projects
  1. Mar 21, 2017
  2. Mar 17, 2017
  3. Mar 16, 2017
  4. Mar 15, 2017
  5. Mar 14, 2017
  6. Mar 13, 2017
  7. Mar 11, 2017
  8. Mar 10, 2017
  9. Mar 09, 2017
  10. Mar 07, 2017
    • Pierre LALET's avatar
      Accept TCP RST packets with .ack == 0 as answers · 0e233601
      Pierre LALET authored
      Without this code, when an out of connection TCP packet receives a
      TCP answer with flag RST and the ack set to 0, it is not seen as an
      answer.
      
      This comes without regression tests because I have been unable to
      find a reliable machine without firewall on the Internet.
      
      Simple test, if 192.168.0.1 has no firewall:
      
      >>> sr(IP(dst="192.168.0.1")/TCP(sport=80, dport=12345, flags='SA'),
      ...    timeout=2)
      
      This test will not terminate without this patch.
      0e233601
Loading