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.
Phil Blundell [Sun, 28 May 2000 15:19:15 +0000 (15:19 +0000)]
Fix stupid bug in netstat -i.
Phil Blundell [Sun, 28 May 2000 11:05:58 +0000 (11:05 +0000)]
net-tools 1.56
Phil Blundell [Sat, 27 May 2000 17:36:16 +0000 (17:36 +0000)]
Check /proc before opening ECONET sockets.
Try to fix the problem with alias interfaces and non INET sockets.
Phil Blundell [Mon, 22 May 2000 20:27:05 +0000 (20:27 +0000)]
Make `route -A inet6 add default ...' work.
Phil Blundell [Sun, 21 May 2000 19:35:34 +0000 (19:35 +0000)]
Update manual pages to better match reality.
Pull code from ifconfig into interface.c; implement ifconfig -s
and netstat -i -e.
Phil Blundell [Sun, 21 May 2000 13:46:39 +0000 (13:46 +0000)]
Documentation updates.
Phil Blundell [Sun, 21 May 2000 13:44:36 +0000 (13:44 +0000)]
Add mii-tool from David Hinds.
Phil Blundell [Sat, 20 May 2000 18:08:48 +0000 (18:08 +0000)]
Add support for `add' and `del' with IPv4.
Patch from mrs.brisby@nimh.org.
Phil Blundell [Sat, 20 May 2000 18:07:34 +0000 (18:07 +0000)]
Fix warnings.
Phil Blundell [Sat, 20 May 2000 18:07:19 +0000 (18:07 +0000)]
Make more glibc friendly.
Phil Blundell [Sat, 20 May 2000 13:38:10 +0000 (13:38 +0000)]
Add X.25 support.
Patch from "J.H.M. Dassen (Ray)" <jdassen@cistron.nl>
Bernd Eckenfels [Wed, 5 Apr 2000 00:59:56 +0000 (00:59 +0000)]
re applied the ipv6 addresses patch from Matthew (for intel platform)
Bernd Eckenfels [Mon, 3 Apr 2000 23:25:59 +0000 (23:25 +0000)]
patch from matthew flanagan for better ipv6 address representation in
netstat
Phil Blundell [Sun, 2 Apr 2000 18:36:41 +0000 (18:36 +0000)]
Updated Estonian translation, from Meelis Roos <mroos@linux.ee>
Phil Blundell [Sun, 2 Apr 2000 12:56:41 +0000 (12:56 +0000)]
Add STRIP support.
Bernd Eckenfels [Thu, 23 Mar 2000 01:14:03 +0000 (01:14 +0000)]
fix from Lapo Pieri to support non ethernet Default HW types
Phil Blundell [Sun, 19 Mar 2000 17:33:18 +0000 (17:33 +0000)]
Set VERSION to 1.55
Phil Blundell [Sun, 19 Mar 2000 12:39:07 +0000 (12:39 +0000)]
Updated man page from Bryan Henderson
Phil Blundell [Sun, 19 Mar 2000 12:36:39 +0000 (12:36 +0000)]
Make `netstat -p' work with 2.0 kernels.
Patch from bryanh@giraffe-data.com (Bryan Henderson)
Bernd Eckenfels [Sun, 5 Mar 2000 16:14:08 +0000 (16:14 +0000)]
fixed compile warning for NULL instead of 0 in "suppress_null_addr" (who did
that?!)
Phil Blundell [Sun, 5 Mar 2000 11:26:02 +0000 (11:26 +0000)]
Fix problems with hwtype initialisation.
Reported by Anthony Towns <ajt@debian.org>