Bernd Eckenfels [Tue, 25 Feb 2003 21:03:53 +0000 (21:03 +0000)]
Marc Lehmann pointed out that binary prefixes are made up by the IEEE and
are not official SI yet. (Debian Bug #182478)
Andi Kleen [Wed, 12 Feb 2003 03:30:57 +0000 (03:30 +0000)]
Add text for two new TCP statistics and fix some existing descriptions
Bernd Eckenfels [Sat, 8 Feb 2003 22:49:12 +0000 (22:49 +0000)]
add a comment about alias interfaces and primary interface of scopes
(intended to fix Debian wishlist bug #179780 and normal bug #64458)
Bernd Eckenfels [Sat, 8 Feb 2003 19:56:25 +0000 (19:56 +0000)]
fixed an logic error in the "not found" handling for deleting entries
also added a documentation comment and newer errno values for 2.4
Thanks to niteowl@intrinsity.com for pointing out.
Bernd Eckenfels [Tue, 10 Dec 2002 01:03:09 +0000 (01:03 +0000)]
use [::]:port as wildcard ipv6 address instead of *:port
Bernd Eckenfels [Tue, 10 Dec 2002 01:01:24 +0000 (01:01 +0000)]
change confusing "*" into "<from_interface>"
Bernd Eckenfels [Tue, 10 Dec 2002 00:56:41 +0000 (00:56 +0000)]
- change columns of netstat -i/ifconfig -s to avoid run-into (Stefan Illner)
- prevent segfault on protocol families without host error member
- use /128 as default prefix if not specified instead of /0
Bernd Eckenfels [Tue, 10 Dec 2002 00:37:33 +0000 (00:37 +0000)]
Bruno Hall contributed a small and working nstrcmp()
Bernd Eckenfels [Thu, 5 Dec 2002 22:10:32 +0000 (22:10 +0000)]
corrected typo to make lib/interfaces.c actually compile
Bernd Eckenfels [Thu, 5 Dec 2002 21:54:50 +0000 (21:54 +0000)]
better ioctl fallback handling for interface listing, avoids duplicate
interfaces, thanks for the help from Bruno Hall.
Bernd Eckenfels [Sun, 15 Sep 2002 00:25:14 +0000 (00:25 +0000)]
Implemented the Sean Reifenschneider suggested fflush() to the --watch
function of mii-tool.
Bernd Eckenfels [Tue, 30 Jul 2002 05:24:20 +0000 (05:24 +0000)]
route now support -6 -4 or -46 option
better layout for ipv6 routing table
-C support for ipv6 routing cache
more flags (i.e. reject) are recogniced for ipv6 routes
Bernd Eckenfels [Tue, 30 Jul 2002 05:19:29 +0000 (05:19 +0000)]
more stable ipx parsing (no segfault anymore)
Bernd Eckenfels [Tue, 30 Jul 2002 05:17:29 +0000 (05:17 +0000)]
ethernet mac in lower case hex digits
Bernd Eckenfels [Tue, 23 Jul 2002 21:08:16 +0000 (21:08 +0000)]
allow support for -6 and -4 options to netstat, also allow both, and
print out tcp6, udp6 or raw6 if it is a v6 socket
Bernd Eckenfels [Fri, 5 Jul 2002 17:36:02 +0000 (17:36 +0000)]
Jack Bloch noticed that the hw comamnd of ifconfig returns a
confusing -EBUSY if interface is up (on lkml).
Bernd Eckenfels [Wed, 3 Jul 2002 23:40:47 +0000 (23:40 +0000)]
there is no such thing as -i option for ifconfig
removed variable, fixed usage, added options to english man page
Bernd Eckenfels [Thu, 27 Jun 2002 18:04:02 +0000 (18:04 +0000)]
fixing debian bug #151130 reported by Dan Jacobson where netstat
was printing 81 chars in a line for tcp, udp and raw.
Bernd Eckenfels [Fri, 14 Jun 2002 01:33:50 +0000 (01:33 +0000)]
thanks to "Erik A. Hendriks" <hendriks@lanl.gov> the interface nane
bug in debian (#135744) is fixed, with his patch in (#149579) hopefully.
Bernd Eckenfels [Fri, 14 Jun 2002 01:08:20 +0000 (01:08 +0000)]
this fixes segfault on -A "" and -F "" in mii-tool reported in debian
bug #139027
Bernd Eckenfels [Sun, 2 Jun 2002 05:25:15 +0000 (05:25 +0000)]
simple patch from Ajax <ajax@firest0rm.org> (corrected) to print DDP
(AppleTalk) routing table.
Bernd Eckenfels [Wed, 1 May 2002 11:49:56 +0000 (11:49 +0000)]
brken buffer for printed irda address, reported by Christoph Bartelmus
Andi Kleen [Sun, 28 Apr 2002 15:41:01 +0000 (15:41 +0000)]
Fix some counter descriptions.
Noted by Jamal Hadi.
Bernd Eckenfels [Tue, 5 Mar 2002 00:47:36 +0000 (00:47 +0000)]
export procnetdev_version, get_dev_fields, get_name from
lib/interface.c for general usage (e.g. in my next patch
to iptunnel)
Bernd Eckenfels [Sat, 23 Feb 2002 21:27:30 +0000 (21:27 +0000)]
make RX-OK and TX-OK col. in "netstat -i" 1 digit longer by left aligning
metric and TX-OVR and shorten max length of them.
Bernd Eckenfels [Wed, 20 Feb 2002 14:31:00 +0000 (14:31 +0000)]
fixed typo in german man page and added a comment that man page is currently
not completely up-to-date.
Bernd Eckenfels [Tue, 19 Feb 2002 01:12:49 +0000 (01:12 +0000)]
inodes in unix domain sockets are now padded to 8chars (netstat -x)
Bernd Eckenfels [Tue, 19 Feb 2002 00:55:35 +0000 (00:55 +0000)]
fixes debian bug#134600 (sigsegv in netstat on negative inoded in
/proc/net/udp) on "netstat -lpu". Thanks to Arnaud Giersch for the report.
Bernd Eckenfels [Sun, 25 Nov 2001 06:55:06 +0000 (06:55 +0000)]
fixed debian bug#111642 reported by Jonathan Amery <jdamery@pick.ucam.org>
(newline missing in nameif usage)
Bernd Eckenfels [Sun, 25 Nov 2001 06:48:50 +0000 (06:48 +0000)]
this fixes Debian Bug #109164 (netstat -ci does only print stats once). It
also renames add_interface and free_interface list to if_cache_add/free.
I am not sure if removing the "proc_read" flag will harm performance, looks
likt this check is never triggereed. Anyway, we need more efficient b-search
sooner or later.
Bernd Eckenfels [Sat, 24 Nov 2001 05:56:44 +0000 (05:56 +0000)]
fixed minor errors in netstat.8 man page (--numeric-users was missing, some
font problems and --interfaces has no <interface> argument (Debian Bug #120475)
thanks for the report to Uwe Hermann.
Bernd Eckenfels [Sat, 24 Nov 2001 05:23:35 +0000 (05:23 +0000)]
fixed debian bug#109370 (empty line if baseaddr < 0x100 in ifconfig).
Patch by Jonathan Amery <jdamery@pick.ucam.org>
Bernd Eckenfels [Mon, 12 Nov 2001 02:12:05 +0000 (02:12 +0000)]
added EUI64 Hardware Address Family
Daniel Stodden <stodden@in.tum.de>
Bernd Eckenfels [Mon, 12 Nov 2001 01:46:20 +0000 (01:46 +0000)]
added documentation about SI prefixes for decimal numbers
Bernd Eckenfels [Mon, 12 Nov 2001 01:36:48 +0000 (01:36 +0000)]
added SI unit patch from adam@cfar.umd.edu to output of ifconfig byte
counters
Bernd Eckenfels [Sat, 10 Nov 2001 17:10:01 +0000 (17:10 +0000)]
sscanf pattern is %Lu not %llu for long long unsigned byte counters.
This fixes the 0 byte output of ifconfig/netstat -i
Bernd Eckenfels [Mon, 5 Nov 2001 13:12:11 +0000 (13:12 +0000)]
changed troff syntax according to ESR's report
Bernd Eckenfels [Mon, 5 Nov 2001 13:07:51 +0000 (13:07 +0000)]
fixed troff syntax, as reported by ESR. Did not changed the date of the man
page.
Bernd Eckenfels [Thu, 1 Nov 2001 03:00:13 +0000 (03:00 +0000)]
delay the setting of netmask derived from /mask after setting address
(Debian Bug #116573 reported by Brian Warner)
Bernd Eckenfels [Thu, 1 Nov 2001 01:54:49 +0000 (01:54 +0000)]
minor fix to return E_USAGE on -V instead of exit(0);
Bernd Eckenfels [Thu, 1 Nov 2001 01:48:31 +0000 (01:48 +0000)]
failed to set error flag if netmask setting reported an error
(Debian Bug #117837 reported by Sam Clegg)
Andi Kleen [Wed, 24 Oct 2001 11:57:05 +0000 (11:57 +0000)]
(Finally) update netstat -s for 2.4 statistics.
Andi Kleen [Fri, 19 Oct 2001 09:28:01 +0000 (09:28 +0000)]
Only print unknown statistics when their counter is > 0.
Andi Kleen [Sun, 26 Aug 2001 05:25:21 +0000 (05:25 +0000)]
Fix netstat -- don't print all v4 addresses as v4-mapped-in-v6.
Andi Kleen [Thu, 9 Aug 2001 15:52:39 +0000 (15:52 +0000)]
Increase SIOCGIFCONF buffer size faster for many interfaces.
Phil Blundell [Tue, 17 Jul 2001 07:27:15 +0000 (07:27 +0000)]
Remove Debian-specific path.
Phil Blundell [Tue, 17 Jul 2001 07:24:36 +0000 (07:24 +0000)]
doh
Phil Blundell [Tue, 17 Jul 2001 07:21:57 +0000 (07:21 +0000)]
Fix confusion between bits and bytes
Bernd Eckenfels [Fri, 29 Jun 2001 07:47:59 +0000 (07:47 +0000)]
made man page more useful and added right link for irq conflicts in
ifconfig.8
Bernd Eckenfels [Fri, 29 Jun 2001 03:56:08 +0000 (03:56 +0000)]
a fix for Debian which can be nicely included upstream (#102139)
Bernd Eckenfels [Fri, 29 Jun 2001 03:50:06 +0000 (03:50 +0000)]
man page fix CLOSED -> CLOSE
Bernd Eckenfels [Fri, 29 Jun 2001 03:48:51 +0000 (03:48 +0000)]
this will check after clearing a flag, that it is indeed cleared. it will
also be a bit more verbose and precise on errors. See Debian Bug #102474
Bernd Eckenfels [Fri, 29 Jun 2001 03:15:54 +0000 (03:15 +0000)]
fixed CLOSED -> CLOSE in french and english manpage as of bug report from
Matthew Tippett
Bernd Eckenfels [Sun, 6 May 2001 02:14:07 +0000 (02:14 +0000)]
changed a type arp -a now prints PUB instead of PUP for proxy arp entries
Phil Blundell [Mon, 16 Apr 2001 18:43:27 +0000 (18:43 +0000)]
Update from Meelis Roos
Phil Blundell [Sun, 15 Apr 2001 14:41:17 +0000 (14:41 +0000)]
Fix punctuation.
Phil Blundell [Sun, 15 Apr 2001 14:34:57 +0000 (14:34 +0000)]
This is net-tools 1.60.
Phil Blundell [Fri, 13 Apr 2001 18:25:18 +0000 (18:25 +0000)]
Fix typo.
Phil Blundell [Fri, 13 Apr 2001 18:24:21 +0000 (18:24 +0000)]
Reformat recently-added code to match style of the rest.
Replace strcpy with safe_strncpy, sprintf with snprintf.
Exit successfully for `--version'.
Phil Blundell [Fri, 13 Apr 2001 18:16:53 +0000 (18:16 +0000)]
Check that ap->input is non NULL before dereferencing it.
Phil Blundell [Sun, 8 Apr 2001 17:05:05 +0000 (17:05 +0000)]
Use setlocale at program initialisation.
Patch from Arnaldo Carvalho de Melo.
Phil Blundell [Sun, 1 Apr 2001 15:04:43 +0000 (15:04 +0000)]
Fix reporting of IPv6 multicast addresses.
Phil Blundell [Sun, 1 Apr 2001 14:50:24 +0000 (14:50 +0000)]
Undo "close spare sockets" patch to fix IPv6 breakage.
Improve some diagnostics.
Bernd Eckenfels [Sun, 18 Mar 2001 04:10:35 +0000 (04:10 +0000)]
some changes in the routing flags, 2 flags are outstanding... anybody has an
idea what it is? :)
Bernd Eckenfels [Sun, 18 Mar 2001 04:04:01 +0000 (04:04 +0000)]
added nameif und mii-tool to .cvsignore (i hate the warnings :)
Bernd Eckenfels [Mon, 19 Feb 2001 21:42:43 +0000 (21:42 +0000)]
Adam Richter pointed out, that 0 is a valid fd value, even if it is unlikely
to be the case in this situation.
Phil Blundell [Fri, 16 Feb 2001 08:58:54 +0000 (08:58 +0000)]
Updated Estonian translation
Bernd Eckenfels [Tue, 13 Feb 2001 00:27:34 +0000 (00:27 +0000)]
i am sorry for that double change, didnt noticed, my cvs change mail seems
to be mising
Bernd Eckenfels [Tue, 13 Feb 2001 00:18:37 +0000 (00:18 +0000)]
added nameif to the makefile, fixed typo, changed version: to date
Phil Blundell [Mon, 12 Feb 2001 22:35:51 +0000 (22:35 +0000)]
Actually install nameif.
Patch from Tuan Hoang <tuan@optimus.mitre.org>
Phil Blundell [Mon, 12 Feb 2001 21:06:47 +0000 (21:06 +0000)]
Avoid closing a socket we're about to use.
Phil Blundell [Sat, 10 Feb 2001 19:31:14 +0000 (19:31 +0000)]
Make packet/byte counters 64 bits wide
Phil Blundell [Fri, 2 Feb 2001 18:01:23 +0000 (18:01 +0000)]
Bump buffer sizes for 2.4 kernels; patch from Tim Waugh
Bernd Eckenfels [Tue, 19 Dec 2000 01:36:27 +0000 (01:36 +0000)]
read netdev counters as unsigned lon, not signed long, should fix the debian
bug #45107
Bernd Eckenfels [Tue, 19 Dec 2000 01:28:34 +0000 (01:28 +0000)]
display all IFF_ flags for netstat -i (print_short and print_long has equal
count of printed flags now)
Bernd Eckenfels [Tue, 19 Dec 2000 01:07:07 +0000 (01:07 +0000)]
fixed capsulation of -L option in man page (Debin Bug #77495)
Bernd Eckenfels [Tue, 19 Dec 2000 01:01:41 +0000 (01:01 +0000)]
byte count will be displayed in ifconfig, patch from John Corey <kunglao@prairienet.org>
as reported in debian wishlist bug #20516)
Bernd Eckenfels [Tue, 19 Dec 2000 00:34:27 +0000 (00:34 +0000)]
changed hor.tab into whitespace for arp columns, closes Debian bug #76606)
Bernd Eckenfels [Tue, 19 Dec 2000 00:26:16 +0000 (00:26 +0000)]
removed -N from usage, since it does not work correct (Debian Bug #50266)
Phil Blundell [Mon, 6 Nov 2000 19:48:49 +0000 (19:48 +0000)]
Typo fix from Tim Waugh
Phil Blundell [Sat, 28 Oct 2000 11:04:00 +0000 (11:04 +0000)]
Handle getnameinfo() failures a bit better (should avoid segfault
when glibc is upgraded).
Bump version to 1.58 in preparation for new release.
Andi Kleen [Thu, 26 Oct 2000 03:19:06 +0000 (03:19 +0000)]
Always complain when SIOCGIFMAP fails.
Make sure the argument counter is incremented in all error paths.
Andi Kleen [Wed, 18 Oct 2000 17:27:08 +0000 (17:27 +0000)]
Also add nameif to the Makefile.
Andi Kleen [Wed, 18 Oct 2000 17:26:29 +0000 (17:26 +0000)]
Add nameif, a small tool for logical network interface naming.
Bernd Eckenfels [Sun, 8 Oct 2000 01:16:42 +0000 (01:16 +0000)]
patch from Alex Belits <abelits@phobos.illtel.denver.co.us> to support
longer IDs in new Metricom Modems as described in:
http://phobos.illtel.denver.co.us/~abelits/metricom/ (Kernel patch pending)
Bernd Eckenfels [Sun, 8 Oct 2000 01:00:43 +0000 (01:00 +0000)]
feature from the guys at RedHat for more selective "-n" option:
-numeric-host, -numeric-port, -numeric-user. Send to me by Jeff Johnson
and reported by jik@kamens.brookline.ma.us
Bernd Eckenfels [Sun, 8 Oct 2000 00:48:35 +0000 (00:48 +0000)]
fix from bug#9215 in bugzilla@redhat (ifconfig sl0 mtu 1440 works now)
Bernd Eckenfels [Sun, 8 Oct 2000 00:12:30 +0000 (00:12 +0000)]
added mandir= and default it to /usr/share/man (patch from Jeff Johnson, RH)
Andi Kleen [Sat, 19 Aug 2000 22:13:00 +0000 (22:13 +0000)]
Remove my email address from the ifconfig manpage.
Andi Kleen [Mon, 14 Aug 2000 07:57:19 +0000 (07:57 +0000)]
Speed up list operations by exploiting that the interface list is ordered,
and the kernel list is normally ordered to.
This allows to list 7000 aliases in a reasonable time.
Also be a bit smarter on when to read SIOCGIFCONF.
The stupid IPv6 /proc parsing on every address still burns a lot of CPU
time.
Bernd Eckenfels [Mon, 14 Aug 2000 02:44:11 +0000 (02:44 +0000)]
Debian's patch for better device name/lock handling
Bernd Eckenfels [Mon, 14 Aug 2000 01:06:23 +0000 (01:06 +0000)]
patch from debian to be a bit more verbose about IRQ conflicts
Bernd Eckenfels [Tue, 1 Aug 2000 03:19:48 +0000 (03:19 +0000)]
some fixes in the german catalog from Jens P. Elsner. Thanks!
Bernd Eckenfels [Mon, 31 Jul 2000 01:13:33 +0000 (01:13 +0000)]
fixed a segfault condition in ifconfig when setting hw address for AF loop,
as reorted by ADAM Sulmicki.
Bernd Eckenfels [Fri, 28 Jul 2000 07:01:01 +0000 (07:01 +0000)]
make net-lib compile again, not sure why this is not passed to the subdir
from the top level makefile anymore, but this way it is more stable for a
stand alone libnet-lib anyway.
Andi Kleen [Mon, 3 Jul 2000 23:39:27 +0000 (23:39 +0000)]
Print unknown MIBs.
Andi Kleen [Sat, 1 Jul 2000 14:31:36 +0000 (14:31 +0000)]
arp takes --numeric, not --umeric
Noticed by Hubert Mantel.
Andi Kleen [Wed, 21 Jun 2000 23:48:53 +0000 (23:48 +0000)]
Add descriptions for 2.4 and 2.2.17pre5 netstat variables.
Use %u instead of %d for most outputs.
Phil Blundell [Sun, 11 Jun 2000 15:44:21 +0000 (15:44 +0000)]
Fix stray brace.
Patch from Richard Huveneers <richard@hekkihek.hacom.nl>
Phil Blundell [Sun, 28 May 2000 18:15:39 +0000 (18:15 +0000)]
Change NET-LIB to NET_LIB to avoid problems with new make.