1. 05 Jan, 2017 1 commit
    • Fix handling of packets that are too short to be valid - Frédéric Perrin <fperrin@brocade.com> · 3fae1acf
      When packets that are too short to be valid IP packets happen to start
      with 0x45 or 0x60, iftop will still try to read source and destination
      addresses, which will usually just be random garbage.
      
      Note the assumption about what libpcap guarantees in the comments to
      handle_ip_packet():
      
          * It is assumed that the snaplen (currently hard-coded to 1000) is
          * big enough to always capture the IP header past the L2 encap, and
          * that pcap never truncates the packet to less than snaplen; in
          * other words, that pcaphdr->caplen = MIN(pcaphdr->len, snaplen).
      Paul Warren committed
  2. 04 Jan, 2017 3 commits
  3. 03 Jan, 2017 1 commit
  4. 19 Jan, 2014 1 commit
  5. 05 Jan, 2014 2 commits
  6. 01 Jan, 2014 3 commits
  7. 04 Oct, 2011 1 commit
  8. 03 Oct, 2011 6 commits
  9. 02 Oct, 2011 1 commit
  10. 27 Nov, 2010 1 commit
  11. 01 Mar, 2010 2 commits
  12. 31 Mar, 2005 1 commit
  13. 26 Jul, 2004 1 commit
  14. 28 Feb, 2004 1 commit
  15. 05 Feb, 2004 1 commit
  16. 21 Jan, 2004 1 commit
  17. 20 Oct, 2003 1 commit
  18. 19 Oct, 2003 1 commit
  19. 06 Jun, 2003 1 commit
  20. 21 May, 2003 1 commit
  21. 20 May, 2003 1 commit
  22. 19 May, 2003 1 commit
  23. 06 Feb, 2003 1 commit
  24. 04 Nov, 2002 1 commit
  25. 31 Oct, 2002 1 commit
  26. 25 Oct, 2002 4 commits