Package: iftop
Version: 0.16-1
Severity: minor
Tags: patch

-N use for disabling port service name lookups, -F for network
filtering.  The man page and the usage has -N instead of -F.

I corrected the iftop.8 not the iftop.cat as I assumed the iftop.cat was
generated from the iftop.8 file.



diff -upr iftop-0.16.original/ChangeLog iftop-0.16/ChangeLog
--- iftop-0.16.original/ChangeLog       2004-02-28 12:53:37.000000000 -0600
+++ iftop-0.16/ChangeLog        2005-10-22 10:23:27.000000000 -0500
@@ -4,6 +4,11 @@ $Id: ChangeLog,v 1.23 2004/02/28 18:53:3
 Attributions apply to all preceding items up to the next blank line.
 Unattributed items are by Paul Warren and Chris Lightfoot.
 
+0.?? 02/10/2005
+* Corrected the man page and usage string for the -N and -F options.
+  -F network filter, -N don't resolve port numbers
+    David Fries <[EMAIL PROTECTED]>
+
 0.16 28/02/04
 * Added support for DLT_NULL
 * Fix for pthread.c behaviour on Solaris.
diff -upr iftop-0.16.original/iftop.8 iftop-0.16/iftop.8
--- iftop-0.16.original/iftop.8 2003-10-22 14:28:31.000000000 -0500
+++ iftop-0.16/iftop.8  2005-10-22 10:18:26.000000000 -0500
@@ -29,9 +29,9 @@ by using the \fB-n\fP option or by press
 
 By default, \fBiftop\fP counts all IP packets that pass through the filter, and
 the direction of the packet is determined according to the direction the packet
-is moving across the interface.  Using the \fB-N\fP option it is possible to
+is moving across the interface.  Using the \fB-F\fP option it is possible to
 get \fBiftop\fP to show packets entering and leaving a given network.  For
-example, \fBiftop -N 10.0.0.0/255.0.0.0\fP will analyse packets flowing in and
+example, \fBiftop -F 10.0.0.0/255.0.0.0\fP will analyse packets flowing in and
 out of the 10.* network.
 
 Some other filter ideas:
@@ -257,12 +257,12 @@ frozen.  In this case some captured info
 you, but is included in the totals.
 
 A more subtle explanation comes about when running in promiscuous mode
-without specifying a \fB-N\fP option.  In this case there is no easy way
+without specifying a \fB-F\fP option.  In this case there is no easy way
 to assign the direction of traffic between two third parties.  For the purposes
 of the main display this is done in an arbitrary fashion (by ordering of IP
 addresses), but for the sake of totals all traffic between other hosts is
 accounted as incoming, because that's what it is from the point of view of your
-interface.  The \fB-N\fP option allows you to specify an arbitrary network
+interface.  The \fB-F\fP option allows you to specify an arbitrary network
 boundary, and to show traffic flowing across it.
 
 \fBPeak totals don't add up\fP
diff -upr iftop-0.16.original/options.c iftop-0.16/options.c
--- iftop-0.16.original/options.c       2004-01-20 05:33:55.000000000 -0600
+++ iftop-0.16/options.c        2005-10-22 10:08:48.000000000 -0500
@@ -236,7 +236,7 @@ static void usage(FILE *fp) {
     fprintf(fp,
 "iftop: display bandwidth usage on an interface by host\n"
 "\n"
-"Synopsis: iftop -h | [-npbBP] [-i interface] [-f filter code] [-N net/mask]\n"
+"Synopsis: iftop -h | [-nNpbBP] [-i interface] [-f filter code] [-F 
net/mask]\n"
 "\n"
 "   -h                  display this message\n"
 "   -n                  don't do hostname lookups\n"


-- System Information:
Debian Release: 3.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.26
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages iftop depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libncurses5                   5.4-9      Shared libraries for terminal hand
ii  libpcap0.7                    0.7.1-1    System interface for user-level pa

iftop recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to