Bernd Eckenfels [Fri, 3 Oct 2008 01:07:47 +0000 (01:07 +0000)]
conditional printing of values (to support -tuw options for netstat -s)
Bernd Eckenfels [Fri, 3 Oct 2008 01:06:33 +0000 (01:06 +0000)]
Support netstat -s with -6tuw options (incl. usage())
Bernd Eckenfels [Fri, 3 Oct 2008 00:05:20 +0000 (00:05 +0000)]
Enable netstat -s for IPv6 (Debian Bug #453859 from Varun Chandramohan)
Bernd Eckenfels [Thu, 2 Oct 2008 23:31:04 +0000 (23:31 +0000)]
Avoid segfault of ifconfig(8) on missing /proc/net/dev
(Debian Bug #222209 Pierre Lombard, Tollef Fog Heen)
Bernd Eckenfels [Thu, 2 Oct 2008 23:16:59 +0000 (23:16 +0000)]
Fix hypen in man pages (Debian Bug#288343 from Andrew Moise)
Move man pages to sysadmin books
update samples for route(8) (Debian Bug#400844, #368697 Danny Rathjens)
update see also for ifconfig(8) (Debian Bug#365916 Dan Jacobs)
Bernd Eckenfels [Thu, 2 Oct 2008 22:42:51 +0000 (22:42 +0000)]
fix some more hypens, changed book name and updated date to 2008-10-03
Bernd Eckenfels [Thu, 2 Oct 2008 22:30:25 +0000 (22:30 +0000)]
document the additional info in Send-Q/Recv-Q with recent kernels for
listening sockets.
Bernd Eckenfels [Thu, 2 Oct 2008 22:05:54 +0000 (22:05 +0000)]
allow netstat to print Rcv/Snd-Q for TCP_LISTEN (containing accept
backlog)
Bernd Eckenfels [Tue, 17 Jun 2008 00:18:54 +0000 (00:18 +0000)]
Spelling error (Debian Bug #486448 reported by Volker Stolz)
Bernd Eckenfels [Sun, 2 Dec 2007 04:42:31 +0000 (04:42 +0000)]
fixed interfaceS spelling (Debian Bug #435690). Thanks Alan and Liu Xing.
Bernd Eckenfels [Sun, 2 Dec 2007 02:19:52 +0000 (02:19 +0000)]
more backoff
Bernd Eckenfels [Sat, 1 Dec 2007 19:36:55 +0000 (19:36 +0000)]
backoff proc_fopen usage from etherfile.
Bernd Eckenfels [Sat, 1 Dec 2007 19:00:40 +0000 (19:00 +0000)]
use new page aliged proc_fopen for address families
Bernd Eckenfels [Sat, 1 Dec 2007 18:51:09 +0000 (18:51 +0000)]
Page aligned fopen buffer
Bernd Eckenfels [Sat, 1 Dec 2007 18:44:56 +0000 (18:44 +0000)]
Faster pagesize aligned fopen for netstat -s (Eric Dumazet)
Bernd Eckenfels [Sat, 1 Dec 2007 18:29:05 +0000 (18:29 +0000)]
Better netstat -s error handling and larger buffers
Bernd Eckenfels [Sat, 1 Dec 2007 18:19:32 +0000 (18:19 +0000)]
cleanup man page (arp.8 2007-12-01)
Bernd Eckenfels [Sat, 1 Dec 2007 18:12:34 +0000 (18:12 +0000)]
ROSE support (not yet enabled)
Bernd Eckenfels [Sat, 1 Dec 2007 17:49:35 +0000 (17:49 +0000)]
ROSE support
Bernd Eckenfels [Wed, 7 Nov 2007 23:01:38 +0000 (23:01 +0000)]
Fix Formatting Bug for ifconfig.8 (Debian Bug#450432 reported by Ivan
Shmakov)
Bernd Eckenfels [Thu, 14 Dec 2006 23:36:24 +0000 (23:36 +0000)]
unneeded %s in translation (Debian Bug #403033)
Thanks to Marco Tulio Gontijo e Silva
Bernd Eckenfels [Wed, 11 Oct 2006 01:14:33 +0000 (01:14 +0000)]
fixed signedness compiler warning
Bernd Eckenfels [Wed, 11 Oct 2006 01:13:57 +0000 (01:13 +0000)]
Fixed Debian Bug #392263 reported by Jochen Voss
(buffer overflow in dev argument processing)
Bernd Eckenfels [Tue, 10 Oct 2006 05:58:46 +0000 (05:58 +0000)]
formatting fixes from Justin Pryzby in Debian Bug #391495
Bernd Eckenfels [Wed, 27 Sep 2006 20:59:18 +0000 (20:59 +0000)]
GigE Support by Stephen Hemminger from
http://developer.osdl.org/shemminger/prototypes/mii-tool.tar.bz2
with verbose register patch from Dean Gaudet
Bernd Eckenfels [Thu, 16 Mar 2006 08:59:42 +0000 (08:59 +0000)]
Debian Bug #260587 fixed, make sure the Columns state and user in netstat -t -e
are separated by blanks. This may cause scripts to fail parsing by column width.
Better wait for the script compatible output. Problems exists for ESTABLIHED
state only.
Bernd Eckenfels [Sun, 4 Dec 2005 05:15:36 +0000 (05:15 +0000)]
use file version
Bernd Eckenfels [Sun, 4 Dec 2005 05:14:08 +0000 (05:14 +0000)]
make slattach 3-wire -L mode work (no RTSCTS) (Debian Bug #175743)
Bernd Eckenfels [Sun, 4 Dec 2005 02:57:15 +0000 (02:57 +0000)]
In order to fix alignment bugs with recent GCCs I have to use
sockaddr_storage instead of sockaddr for allocation.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=340384
Thanks to Blars Blarson, Jurij Smakov and Steve Langasek
Bernd Eckenfels [Sun, 4 Sep 2005 04:23:13 +0000 (04:23 +0000)]
X25 code compiles with 2.4 and 2.6 kernel headers (Debian Bug#271678)
Bernd Eckenfels [Sun, 4 Sep 2005 03:51:39 +0000 (03:51 +0000)]
Spelling fix for Debian Bug#326124 reported by A. Costa.
Bernd Eckenfels [Fri, 26 Aug 2005 16:01:31 +0000 (16:01 +0000)]
added link to berliOS
Bernd Eckenfels [Tue, 23 Aug 2005 22:46:51 +0000 (22:46 +0000)]
Eric Oberlander reported in Debian Bug#323261 that byte counter unit
should be named "B" not "b".
Bernd Eckenfels [Tue, 2 Aug 2005 22:28:10 +0000 (22:28 +0000)]
make ipx in 2.6 work (perhaps).
Fixes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=318503
Bernd Eckenfels [Thu, 30 Jun 2005 19:26:37 +0000 (19:26 +0000)]
minor formatting
Bernd Eckenfels [Thu, 30 Jun 2005 18:42:52 +0000 (18:42 +0000)]
added pointer to iptables(8) not only ipchains(8) (Toralf Förster)
Bernd Eckenfels [Mon, 16 May 2005 10:07:48 +0000 (10:07 +0000)]
make it compile with 2.4 and 2.6 kernel headers (Debian Bug #271678)
Bernd Eckenfels [Mon, 16 May 2005 04:30:17 +0000 (04:30 +0000)]
desupport dontpub in arp.8 and arp -? (Debian Bug #203396)
Bernd Eckenfels [Mon, 16 May 2005 03:21:58 +0000 (03:21 +0000)]
updated pot file and use msgmerge instead of tupdate (Debian Bug #271426)
Bernd Eckenfels [Mon, 16 May 2005 03:15:12 +0000 (03:15 +0000)]
token ring patch from linuxtr.net/download/net-tools-1.60.patch
Fixes Debian Bug #79462
Bernd Eckenfels [Fri, 13 May 2005 22:34:20 +0000 (22:34 +0000)]
line break fix debian bug #305637
Bernd Eckenfels [Fri, 13 May 2005 22:31:41 +0000 (22:31 +0000)]
spellig fix debian bug #305638
Bernd Eckenfels [Fri, 13 May 2005 22:28:41 +0000 (22:28 +0000)]
spelling fix debian bug #305640
Bernd Eckenfels [Tue, 29 Jun 2004 20:28:08 +0000 (20:28 +0000)]
little formatting fix
Bernd Eckenfels [Fri, 4 Jun 2004 00:06:50 +0000 (00:06 +0000)]
default all options which work with recent systems to on
Bernd Eckenfels [Thu, 3 Jun 2004 22:49:17 +0000 (22:49 +0000)]
debians version of nstrcmp - ugly but works
Bernd Eckenfels [Thu, 3 Jun 2004 22:41:53 +0000 (22:41 +0000)]
merged debian patch to make it compile with new headers
Bernd Eckenfels [Thu, 3 Jun 2004 22:27:37 +0000 (22:27 +0000)]
avoid namespace conflicts
Bernd Eckenfels [Thu, 3 Jun 2004 22:18:26 +0000 (22:18 +0000)]
added linebreak to version signature
Bernd Eckenfels [Sun, 28 Mar 2004 21:35:11 +0000 (21:35 +0000)]
added diagnostics (closes debian bug #239229: EINVAL for downed interface)
Bernd Eckenfels [Sat, 25 Oct 2003 21:15:09 +0000 (21:15 +0000)]
Typo Fix for german translation of arp po file reported by Christoph Berg
(Debian Bug #176151)
Bernd Eckenfels [Mon, 20 Oct 2003 22:22:22 +0000 (22:22 +0000)]
make sure version string is helpful
Bernd Eckenfels [Mon, 20 Oct 2003 22:01:13 +0000 (22:01 +0000)]
patch to recognize more hardware without MII support (from Redhat Bug#77882,
notified by Tilmann Bubeck).
Phil Blundell [Sun, 19 Oct 2003 11:57:37 +0000 (11:57 +0000)]
fix portability problem on 64-bit big endian.
patch from Mads Martin Joergensen <mmj@suse.de>
Bernd Eckenfels [Sat, 11 Oct 2003 21:08:10 +0000 (21:08 +0000)]
Maik Broemme contributed gcc warning fixes (break after default: label)
Bernd Eckenfels [Thu, 2 Oct 2003 20:06:23 +0000 (20:06 +0000)]
fixes for man page bugs reported by Hugh Redelmeier.
Andi Kleen [Thu, 11 Sep 2003 03:46:49 +0000 (03:46 +0000)]
Fix off by one in name length checking
Bernd Eckenfels [Sat, 28 Jun 2003 03:19:04 +0000 (03:19 +0000)]
Use new style MII ioctls only. This will give you a warning, if compiled
with old kernel source tree. It will also not work if compiled with
new source on old kernels. The new ioctls also require root for reading, the
old didnt. This fixes Debian bug #133648. No fallback compatibility
is included for reasons of cleaner source.
Bernd Eckenfels [Sat, 28 Jun 2003 02:03:31 +0000 (02:03 +0000)]
bugfix: Skipping readlist, if readlist_proc sicceeded is not a
good idea. I Rewrote that section for clarity. This is also
present in the 1.60-8 debian package, which fixed #197582 and
#197924.
Bernd Eckenfels [Thu, 12 Jun 2003 03:22:30 +0000 (03:22 +0000)]
make hostname compile warnign free with gcc 3.3 (Ec)
Bernd Eckenfels [Thu, 29 May 2003 02:09:14 +0000 (02:09 +0000)]
added 'ull' prefix to unsigned long long constants to make gcc 3.3 happy
Bernd Eckenfels [Wed, 28 May 2003 21:14:40 +0000 (21:14 +0000)]
added mii-tool as featured tool
Bernd Eckenfels [Wed, 28 May 2003 21:06:10 +0000 (21:06 +0000)]
fixed compile warning (unneeded default: label in switch)
Bernd Eckenfels [Wed, 28 May 2003 20:59:46 +0000 (20:59 +0000)]
fixed wording of binary units counters and interpunctuation in netstat(8)
Bernd Eckenfels [Wed, 28 May 2003 19:41:16 +0000 (19:41 +0000)]
make it compile on stricter gcc3.3
Bernd Eckenfels [Thu, 6 Mar 2003 23:26:52 +0000 (23:26 +0000)]
Fix Debian Bug#178209, Fix RedHat Bug#85748: nameif segfaults
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