Commit Graph

46 Commits

Author SHA1 Message Date
Paul Warren
3fae1acf14 Fix handling of packets that are too short to be valid - Frédéric Perrin <fperrin@brocade.com>
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).
2017-01-05 21:16:43 +00:00
Paul Warren
96a691484e Fix mac address display
iftop would display portions of mac address with large ffffff prefixes.
Make if_hw_addr type consistent.  Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2017-01-04 22:55:26 +00:00
Paul Warren
3a4a63c3e9 Update changelog 2017-01-03 21:55:24 +00:00
pdw
dc26689ad5 Test commit. 2014-03-31 07:03:12 +00:00
pdw
23c18303e5 Updated ChangeLog 2014-01-19 20:32:50 +00:00
pdw
4995ff52f5 Updated change log. 2014-01-01 15:49:53 +00:00
pdw
af3ed6ff48 Fixed typo in changelog, and error in application of i/f autodetection patch. 2011-10-04 20:40:34 +00:00
pdw
09f3d33527 Updated changelog. 2011-10-04 18:55:35 +00:00
pdw
07f4a0857e s/0.18/1.0/ 2010-11-27 11:57:57 +00:00
pdw
0146fd03a6 Updated changelog and pre-release notice. 2010-11-27 11:39:32 +00:00
pdw
950623a9d1 Updated change log. 2010-03-01 22:14:56 +00:00
pdw
06a6479ca2 Fix for "-b" option. 2010-01-20 22:40:59 +00:00
pdw
f36b3ee020 * Fix frozen order drives line totals crazy.
* Fix for crash on arm.
2010-01-20 22:39:29 +00:00
pdw
6c7ced9aeb Fix for armeb bug. 2010-01-20 22:32:50 +00:00
pdw
4eb85aa475 Documentation changes. 2010-01-20 22:31:56 +00:00
pdw
d81065e845 UI typo fixes from Gerben Roest <g.roest@grepit.nl> 2009-11-21 19:30:50 +00:00
1a82863479 Note bits/bytes fix. 2006-06-06 09:10:28 +00:00
pdw
42c26600fa Updated change log 2005-12-25 12:15:08 +00:00
pdw
d5cdd96df5 . 2004-07-31 09:33:10 +00:00
pdw
6623fda6d6 . 2004-07-26 20:37:25 +00:00
pdw
09cb936020 Testing. 2004-03-30 21:22:29 +00:00
pdw
58eaad91cd testing. 2004-03-30 21:08:22 +00:00
pdw
7d542e5f2a Changelog update. 2004-03-22 00:28:55 +00:00
pdw
4327f0ef4d Added support for DLT_NULL
0.16
2004-02-28 18:53:37 +00:00
pdw
e6cd8bdbee 0.16pre1 2004-02-07 11:25:57 +00:00
pdw
f123c4f1f7 Pointless. 2004-01-26 19:37:26 +00:00
pdw
ab1f1e813d Pointless 2004-01-26 19:36:33 +00:00
pdw
a0d94641ad Another pointless commit 2004-01-26 19:35:31 +00:00
pdw
e35e7f41d8 Another pointless commit 2004-01-26 19:34:50 +00:00
pdw
1db3bc35fa Another pointless commit. 2004-01-26 19:33:59 +00:00
pdw
1d8588aee6 Pointless change to test mailed commit. 2004-01-26 19:31:28 +00:00
pdw
328652da0c pthread.c fixes for Solaris. 2004-01-20 09:58:02 +00:00
pdw
50cab8a742 Fixes to -n and -N options. 2004-01-20 09:45:35 +00:00
pdw
1d7189212b 0.15 2003-11-10 22:06:39 +00:00
pdw
fa64b3dd74 Added updated spec file. 2003-10-24 18:40:45 +00:00
pdw
10d93e0cfc . 2003-10-20 21:44:24 +00:00
pdw
6f80fb214d Randomly renamed options and buttons.
Stopped whinging about default config file not existing.
0.15pre2
2003-10-20 21:41:53 +00:00
pdw
b7eb237e15 v0.15pre1
Added configurable bars options.
Made log/lin run-time option.
2003-10-14 20:57:49 +00:00
43eb6fd581 "" 2003-09-07 15:35:19 +00:00
pdw
9b8f09233a 0.14 2003-09-06 13:53:57 +00:00
pdw
37f7fadd8a Fixed resolver to not do any DNS resolution if dns_resolution == 0 2003-08-30 09:40:03 +00:00
pdw
ebb28db1b6 Mac OS X fixes. 2003-08-27 18:29:27 +00:00
pdw
fc967957da 0.13 2003-06-11 17:18:36 +00:00
pdw
b2a940d013 0.13pre2 2003-06-09 19:26:49 +00:00
pdw
b35175b006 *** empty log message *** 2003-06-08 18:02:44 +00:00
pdw
4089483e6a Solaris/autoconf patch from Jonathan Abbey <jonabbey@ganymeta.org> 2003-06-06 22:42:35 +00:00