Added lo:* to list of excluded interfaces.
This commit is contained in:
8
CHANGES
8
CHANGES
@@ -1,6 +1,14 @@
|
|||||||
Change log for iftop
|
Change log for iftop
|
||||||
$Id$
|
$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
|
0.8
|
||||||
|
|
||||||
Added support for displaying port numbers
|
Added support for displaying port numbers
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -30,7 +30,7 @@ MANDIR = man
|
|||||||
#MANDIR = share/man # FHS-ish
|
#MANDIR = share/man # FHS-ish
|
||||||
|
|
||||||
# You shouldn't need to change anything below this point.
|
# You shouldn't need to change anything below this point.
|
||||||
VERSION = 0.9pre2
|
VERSION = 0.9pre3
|
||||||
CFLAGS += -g -Wall "-DIFTOP_VERSION=\"$(VERSION)\""
|
CFLAGS += -g -Wall "-DIFTOP_VERSION=\"$(VERSION)\""
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
LDLIBS += -lpcap -lpthread -lcurses -lm
|
LDLIBS += -lpcap -lpthread -lcurses -lm
|
||||||
|
|||||||
13
TODO
13
TODO
@@ -1,8 +1,21 @@
|
|||||||
Things to do for iftop
|
Things to do for iftop
|
||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
|
* Bandwidth display in bytes/s
|
||||||
|
|
||||||
|
* Search for BSD interface names - need to know what to look for.
|
||||||
|
|
||||||
* IP types other than v4?
|
* 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?
|
* 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
|
* Single keypress firewalling of troublesome connections, a la top(1)'s K
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
@@ -29,6 +28,7 @@ char optstr[] = "+i:f:n:dhpbP";
|
|||||||
* that they don't refer to interfaces of external type on which we are
|
* 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. */
|
* likely to want to listen. We also compare candidate interfaces to lo. */
|
||||||
static char *bad_interface_names[] = {
|
static char *bad_interface_names[] = {
|
||||||
|
"lo:",
|
||||||
"dummy",
|
"dummy",
|
||||||
"vmnet",
|
"vmnet",
|
||||||
NULL /* last entry must be NULL */
|
NULL /* last entry must be NULL */
|
||||||
|
|||||||
Reference in New Issue
Block a user