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
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'.