From 7a997c4ec259c2106aadcf2f18230cc0df0f4534 Mon Sep 17 00:00:00 2001 From: pdw <> Date: Mon, 21 Oct 2002 10:40:23 +0000 Subject: [PATCH] Added lo:* to list of excluded interfaces. --- CHANGES | 8 ++++++++ Makefile | 2 +- TODO | 13 +++++++++++++ options.c | 2 +- 4 files changed, 23 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index acde1aa..f047d06 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,14 @@ Change log for iftop $Id$ +0.9 + +Now works on FreeBSD +Added service resolution toggle ("R") +Added on-line help ("h") +More fixes to rate display +Improved interface selection (excludes lo:* and vmnet*) + 0.8 Added support for displaying port numbers diff --git a/Makefile b/Makefile index 2287471..f65e7d8 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ MANDIR = man #MANDIR = share/man # FHS-ish # You shouldn't need to change anything below this point. -VERSION = 0.9pre2 +VERSION = 0.9pre3 CFLAGS += -g -Wall "-DIFTOP_VERSION=\"$(VERSION)\"" LDFLAGS += -g LDLIBS += -lpcap -lpthread -lcurses -lm diff --git a/TODO b/TODO index 616d9dc..5819523 100644 --- a/TODO +++ b/TODO @@ -1,8 +1,21 @@ Things to do for iftop $Id$ +* Bandwidth display in bytes/s + +* Search for BSD interface names - need to know what to look for. + * IP types other than v4? +* Redesign totals: + + 2sec 10sec 40sec Peak Total +TX x x x x x +RX x x x x x +Total x x x x x + +* Find someone gullible to sort out autoconf. + * Which average to use for the bar graph? Show several and peaks? Colours? * Single keypress firewalling of troublesome connections, a la top(1)'s K diff --git a/options.c b/options.c index 59cd453..569d498 100644 --- a/options.c +++ b/options.c @@ -6,7 +6,6 @@ #include #include -#include #include #include @@ -29,6 +28,7 @@ char optstr[] = "+i:f:n:dhpbP"; * that they don't refer to interfaces of external type on which we are * likely to want to listen. We also compare candidate interfaces to lo. */ static char *bad_interface_names[] = { + "lo:", "dummy", "vmnet", NULL /* last entry must be NULL */