Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Paul Warren
iftop
Commits
7a997c4e
Commit
7a997c4e
authored
Oct 21, 2002
by
pdw
Browse files
Added lo:* to list of excluded interfaces.
parent
9c38f171
Changes
4
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
7a997c4e
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
...
...
Makefile
View file @
7a997c4e
...
...
@@ -30,7 +30,7 @@ MANDIR = man
#MANDIR = share/man # FHS-ish
# You shouldn't need to change anything below this point.
VERSION
=
0.9pre
2
VERSION
=
0.9pre
3
CFLAGS
+=
-g
-Wall
"-DIFTOP_VERSION=
\"
$(VERSION)
\"
"
LDFLAGS
+=
-g
LDLIBS
+=
-lpcap
-lpthread
-lcurses
-lm
...
...
TODO
View file @
7a997c4e
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
...
...
options.c
View file @
7a997c4e
...
...
@@ -6,7 +6,6 @@
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <stdlib.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
* 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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment