platform/upstream/net-tools.git
23 years agoBump buffer sizes for 2.4 kernels; patch from Tim Waugh
Phil Blundell [Fri, 2 Feb 2001 18:01:23 +0000 (18:01 +0000)]
Bump buffer sizes for 2.4 kernels; patch from Tim Waugh

23 years agoread netdev counters as unsigned lon, not signed long, should fix the debian
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

23 years agodisplay all IFF_ flags for netstat -i (print_short and print_long has equal
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)

23 years agofixed capsulation of -L option in man page (Debin Bug #77495)
Bernd Eckenfels [Tue, 19 Dec 2000 01:07:07 +0000 (01:07 +0000)]
fixed capsulation of -L option in man page (Debin Bug #77495)

23 years agobyte count will be displayed in ifconfig, patch from John Corey <kunglao@prairienet...
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)

23 years agochanged hor.tab into whitespace for arp columns, closes Debian bug #76606)
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)

23 years agoremoved -N from usage, since it does not work correct (Debian Bug #50266)
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)

23 years agoTypo fix from Tim Waugh
Phil Blundell [Mon, 6 Nov 2000 19:48:49 +0000 (19:48 +0000)]
Typo fix from Tim Waugh

24 years agoHandle getnameinfo() failures a bit better (should avoid segfault
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.

24 years agoAlways complain when SIOCGIFMAP fails.
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.

24 years agoAlso add nameif to the Makefile.
Andi Kleen [Wed, 18 Oct 2000 17:27:08 +0000 (17:27 +0000)]
Also add nameif to the Makefile.

24 years agoAdd nameif, a small tool for logical network interface naming.
Andi Kleen [Wed, 18 Oct 2000 17:26:29 +0000 (17:26 +0000)]
Add nameif, a small tool for logical network interface naming.

24 years agopatch from Alex Belits <abelits@phobos.illtel.denver.co.us> to support
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)

24 years agofeature from the guys at RedHat for more selective "-n" option:
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

24 years agofix from bug#9215 in bugzilla@redhat (ifconfig sl0 mtu 1440 works now)
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)

24 years agoadded mandir= and default it to /usr/share/man (patch from Jeff Johnson, RH)
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)

24 years agoRemove my email address from the ifconfig manpage.
Andi Kleen [Sat, 19 Aug 2000 22:13:00 +0000 (22:13 +0000)]
Remove my email address from the ifconfig manpage.

24 years agoSpeed up list operations by exploiting that the interface list is ordered,
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.

24 years agoDebian's patch for better device name/lock handling
Bernd Eckenfels [Mon, 14 Aug 2000 02:44:11 +0000 (02:44 +0000)]
Debian's patch for better device name/lock handling

24 years agopatch from debian to be a bit more verbose about IRQ conflicts
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

24 years agosome fixes in the german catalog from Jens P. Elsner. Thanks!
Bernd Eckenfels [Tue, 1 Aug 2000 03:19:48 +0000 (03:19 +0000)]
some fixes in the german catalog from Jens P. Elsner. Thanks!

24 years agofixed a segfault condition in ifconfig when setting hw address for AF loop,
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.

24 years agomake net-lib compile again, not sure why this is not passed to the subdir
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.

24 years agoPrint unknown MIBs.
Andi Kleen [Mon, 3 Jul 2000 23:39:27 +0000 (23:39 +0000)]
Print unknown MIBs.

24 years agoarp takes --numeric, not --umeric
Andi Kleen [Sat, 1 Jul 2000 14:31:36 +0000 (14:31 +0000)]
arp takes --numeric, not --umeric

Noticed by Hubert Mantel.

24 years agoAdd descriptions for 2.4 and 2.2.17pre5 netstat variables.
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.

24 years agoFix stray brace.
Phil Blundell [Sun, 11 Jun 2000 15:44:21 +0000 (15:44 +0000)]
Fix stray brace.
Patch from Richard Huveneers <richard@hekkihek.hacom.nl>

24 years agoChange NET-LIB to NET_LIB to avoid problems with new make.
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.

24 years agoFix stupid bug in netstat -i.
Phil Blundell [Sun, 28 May 2000 15:19:15 +0000 (15:19 +0000)]
Fix stupid bug in netstat -i.

24 years agonet-tools 1.56
Phil Blundell [Sun, 28 May 2000 11:05:58 +0000 (11:05 +0000)]
net-tools 1.56

24 years agoCheck /proc before opening ECONET sockets.
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.

24 years agoMake `route -A inet6 add default ...' work.
Phil Blundell [Mon, 22 May 2000 20:27:05 +0000 (20:27 +0000)]
Make `route -A inet6 add default ...' work.

24 years agoUpdate manual pages to better match reality.
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.

24 years agoDocumentation updates.
Phil Blundell [Sun, 21 May 2000 13:46:39 +0000 (13:46 +0000)]
Documentation updates.

24 years agoAdd mii-tool from David Hinds.
Phil Blundell [Sun, 21 May 2000 13:44:36 +0000 (13:44 +0000)]
Add mii-tool from David Hinds.

24 years agoAdd support for `add' and `del' with IPv4.
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.

24 years agoFix warnings.
Phil Blundell [Sat, 20 May 2000 18:07:34 +0000 (18:07 +0000)]
Fix warnings.

24 years agoMake more glibc friendly.
Phil Blundell [Sat, 20 May 2000 18:07:19 +0000 (18:07 +0000)]
Make more glibc friendly.

24 years agoAdd X.25 support.
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>

24 years agore applied the ipv6 addresses patch from Matthew (for intel platform)
Bernd Eckenfels [Wed, 5 Apr 2000 00:59:56 +0000 (00:59 +0000)]
re applied the ipv6 addresses patch from Matthew (for intel platform)

24 years agopatch from matthew flanagan for better ipv6 address representation in
Bernd Eckenfels [Mon, 3 Apr 2000 23:25:59 +0000 (23:25 +0000)]
patch from matthew flanagan for better ipv6 address representation in
netstat

24 years agoUpdated Estonian translation, from Meelis Roos <mroos@linux.ee>
Phil Blundell [Sun, 2 Apr 2000 18:36:41 +0000 (18:36 +0000)]
Updated Estonian translation, from Meelis Roos <mroos@linux.ee>

24 years agoAdd STRIP support.
Phil Blundell [Sun, 2 Apr 2000 12:56:41 +0000 (12:56 +0000)]
Add STRIP support.

24 years agofix from Lapo Pieri to support non ethernet Default HW types
Bernd Eckenfels [Thu, 23 Mar 2000 01:14:03 +0000 (01:14 +0000)]
fix from Lapo Pieri to support non ethernet Default HW types

24 years agoSet VERSION to 1.55
Phil Blundell [Sun, 19 Mar 2000 17:33:18 +0000 (17:33 +0000)]
Set VERSION to 1.55

24 years agoUpdated man page from Bryan Henderson
Phil Blundell [Sun, 19 Mar 2000 12:39:07 +0000 (12:39 +0000)]
Updated man page from Bryan Henderson

24 years agoMake `netstat -p' work with 2.0 kernels.
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)

24 years agofixed compile warning for NULL instead of 0 in "suppress_null_addr" (who did
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?!)

24 years agoFix problems with hwtype initialisation.
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>

24 years agoFix netstat -ci (#6904 in RedHat bugzilla)
Phil Blundell [Sun, 20 Feb 2000 17:50:01 +0000 (17:50 +0000)]
Fix netstat -ci (#6904 in RedHat bugzilla)
Patch from Jeff Johnson

24 years agoFrom Arnaldo Carvalho de Melo (acme@conectiva.com.br):
Ralf Bächle [Sun, 13 Feb 2000 22:27:58 +0000 (22:27 +0000)]
From Arnaldo Carvalho de Melo (acme@conectiva.com.br):
 - Change hostname.c to make translation easier.
 - Update pt_BR translation.
 - Rebuild net-tools.pot and merge the other .po files (me).

24 years agoAccept mtu as synonym for mss
Klaas Freitag [Thu, 3 Feb 2000 06:02:05 +0000 (06:02 +0000)]
Accept mtu as synonym for mss

24 years agoRemove typo to make it compile
Klaas Freitag [Wed, 2 Feb 2000 08:56:30 +0000 (08:56 +0000)]
Remove typo to make it compile

24 years agoslightly modified patch from georg.funke@netcologne.de to the german po file
Bernd Eckenfels [Wed, 5 Jan 2000 01:02:41 +0000 (01:02 +0000)]
slightly modified patch from georg.funke@netcologne.de to the german po file

24 years agoUpdate.
Phil Blundell [Sun, 2 Jan 2000 23:50:33 +0000 (23:50 +0000)]
Update.

24 years agoSome patches from Kurt Garloff to handle /etc/networks correctly
Klaas Freitag [Sat, 11 Dec 1999 13:35:53 +0000 (13:35 +0000)]
Some patches from Kurt Garloff to handle /etc/networks correctly

Make ifconfig more forgiving when /proc is not mounted

Avoid endless recursion when /proc/net/dev is empty :-)

24 years agoSupport new token ring ARP type
Phil Blundell [Sat, 11 Dec 1999 12:09:23 +0000 (12:09 +0000)]
Support new token ring ARP type
Patch from "Mike Phillips" <phillim@amtrak.com>

24 years agoAllow exchange of hostname and mac address in the file read by arp -f.
Klaas Freitag [Mon, 6 Dec 1999 16:57:27 +0000 (16:57 +0000)]
Allow exchange of hostname and mac address in the file read by arp -f.
This is for consistency with rarp /etc/ethers. Default to /etc/ethers
when no file name is supplied.

This hack does not work with IPv6, but arp does not work with IPv6
anyways so it does not matter.

Patch from Thorsten Kukuk

Fixed man pages (only German and English one).

Add blurb about automagic subnet arp.

24 years agoFix description of the mss argument. The default is not 536.
Klaas Freitag [Fri, 3 Dec 1999 13:03:22 +0000 (13:03 +0000)]
Fix description of the mss argument. The default is not 536.

For the de and en Versions I also added a short note on how it is useful
to work around pmtu blackhole problems. For fr and pt I just deleted
the offending sentence.

24 years agoakamatsu@kobedenshi.ac.jp reported a problem with --device without
Bernd Eckenfels [Sun, 21 Nov 1999 00:40:27 +0000 (00:40 +0000)]
akamatsu@kobedenshi.ac.jp reported a problem with --device without
mandatory argument.

24 years agoready for net-tools 1.54...
Phil Blundell [Sat, 20 Nov 1999 22:49:16 +0000 (22:49 +0000)]
ready for net-tools 1.54...

25 years agoFix another reference to hw->sprint
Phil Blundell [Tue, 28 Sep 1999 09:01:49 +0000 (09:01 +0000)]
Fix another reference to hw->sprint

25 years agoRemove `sprint' member from struct hwtype. As far as I can see
Phil Blundell [Mon, 27 Sep 1999 11:00:42 +0000 (11:00 +0000)]
Remove `sprint' member from struct hwtype.  As far as I can see
it served no useful purpose.  Please check I didn't break your
favourite hardware type in the process.
Add derisory support for Ash protocols.

25 years agoMake it compile without HAVE_HWSLIP.
Klaas Freitag [Mon, 27 Sep 1999 00:36:16 +0000 (00:36 +0000)]
Make it compile without HAVE_HWSLIP.
Found by Rick Hohensee.

25 years agoTypo fix
Phil Blundell [Tue, 31 Aug 1999 19:27:05 +0000 (19:27 +0000)]
Typo fix

25 years agoadded cs to makefile for building/installing
Bernd Eckenfels [Mon, 30 Aug 1999 22:28:37 +0000 (22:28 +0000)]
added cs to makefile for building/installing

25 years agoJiri Pavlovsky pavlovsk@ff.cuni.cz:
Bernd Eckenfels [Mon, 30 Aug 1999 21:19:55 +0000 (21:19 +0000)]
Jiri Pavlovsky pavlovsk@ff.cuni.cz:
attached is Czech (cs) translation of the net-tools messages. It was announced
to Czech mailing list several weeks ago and I received no complaints so far,
so it should be ready for distribution.

25 years agoFix warning in netstat.
Phil Blundell [Sat, 28 Aug 1999 11:26:08 +0000 (11:26 +0000)]
Fix warning in netstat.
Only build util-ank if iptunnel and ipmaddr were requested

25 years agoPortability/cross-compile fixes from Chris G. Demetriou
Phil Blundell [Thu, 26 Aug 1999 09:08:04 +0000 (09:08 +0000)]
Portability/cross-compile fixes from Chris G. Demetriou

25 years agoclear struct to get all matching v6 addresses in ifconfig
Bernd Eckenfels [Tue, 24 Aug 1999 16:47:24 +0000 (16:47 +0000)]
clear struct to get all matching v6 addresses in ifconfig
(thanks to Ulrich Drepper)

25 years agoPatch from Jeff Johnson <jbj@redhat.com> to fix `netstat -c'
Phil Blundell [Wed, 28 Jul 1999 21:53:34 +0000 (21:53 +0000)]
Patch from Jeff Johnson <jbj@redhat.com> to fix `netstat -c'
fd leak.

25 years agofixed compile error (missing __u16) for some libs/headers like RH5.1
Bernd Eckenfels [Thu, 15 Jul 1999 01:46:18 +0000 (01:46 +0000)]
fixed compile error (missing __u16) for some libs/headers like RH5.1

25 years agospelling fix
Bernd Eckenfels [Wed, 14 Jul 1999 17:42:37 +0000 (17:42 +0000)]
spelling fix

25 years agochanged /usr/bin/install to install (thanks Stanislav Brabec)
Bernd Eckenfels [Wed, 14 Jul 1999 17:40:49 +0000 (17:40 +0000)]
changed /usr/bin/install to install (thanks Stanislav Brabec)

25 years agoBump version to 1.53
Phil Blundell [Sat, 12 Jun 1999 23:04:12 +0000 (23:04 +0000)]
Bump version to 1.53
Fix some buffer overruns.
Add support to netstat for GRE and ESP.

25 years ago* ecki: added some more output if the -d option is used
Bernd Eckenfels [Sat, 29 May 1999 16:23:51 +0000 (16:23 +0000)]
* ecki: added some more output if the -d option is used
* ecki: now use O_NDELY for opening the devie file, this will enable us
  to open the new-style (kernel 2.2) ttySx files, since cua is deprecated

25 years agoEstonian translation, from Meelis Roos (mroos@tartu.cyber.ee)
Phil Blundell [Fri, 21 May 1999 18:01:30 +0000 (18:01 +0000)]
Estonian translation, from Meelis Roos (mroos@tartu.cyber.ee)

25 years agoAdd support for Econet hardware; internationalize Token Ring.
Phil Blundell [Sun, 16 May 1999 16:41:03 +0000 (16:41 +0000)]
Add support for Econet hardware; internationalize Token Ring.

25 years agoMore i18n, from Meelis Roos
Phil Blundell [Fri, 23 Apr 1999 08:32:37 +0000 (08:32 +0000)]
More i18n, from Meelis Roos

25 years agoFix 2.0 compatibility
Phil Blundell [Wed, 21 Apr 1999 09:30:32 +0000 (09:30 +0000)]
Fix 2.0 compatibility

25 years agoCompile fixes
Phil Blundell [Wed, 21 Apr 1999 09:09:13 +0000 (09:09 +0000)]
Compile fixes

25 years agoAdd IrDA support; patch from Dag Brattli <dagb@cs.uit.no>
Phil Blundell [Wed, 21 Apr 1999 08:59:55 +0000 (08:59 +0000)]
Add IrDA support; patch from Dag Brattli <dagb@cs.uit.no>

25 years agoRename utils.h -> util-ank.h
Phil Blundell [Wed, 21 Apr 1999 08:58:43 +0000 (08:58 +0000)]
Rename utils.h -> util-ank.h

25 years agoSmall netstat fixes from Tuan Hoang.
Phil Blundell [Tue, 20 Apr 1999 14:28:14 +0000 (14:28 +0000)]
Small netstat fixes from Tuan Hoang.

25 years agoDelete final executables on `make clean' (use `make mostlyclean'
Phil Blundell [Tue, 20 Apr 1999 14:14:02 +0000 (14:14 +0000)]
Delete final executables on `make clean' (use `make mostlyclean'
to get the old behaviour)
Update i18n comment in config.in

25 years agoUse libc headers not kernel ones.
Phil Blundell [Tue, 20 Apr 1999 13:31:46 +0000 (13:31 +0000)]
Use libc headers not kernel ones.

25 years agoMinor textual updates/corrections
Phil Blundell [Sun, 18 Apr 1999 20:28:38 +0000 (20:28 +0000)]
Minor textual updates/corrections

25 years agoUpdate
Phil Blundell [Sun, 18 Apr 1999 19:43:35 +0000 (19:43 +0000)]
Update

25 years agoAdd support for `--version'
Phil Blundell [Sun, 18 Apr 1999 19:41:16 +0000 (19:41 +0000)]
Add support for `--version'

25 years agoFix formatting in `arp' output.
Phil Blundell [Sun, 18 Apr 1999 19:07:16 +0000 (19:07 +0000)]
Fix formatting in `arp' output.

25 years agoipfw is dead, dead, dead ...
Ralf Bächle [Tue, 13 Apr 1999 02:16:27 +0000 (02:16 +0000)]
ipfw is dead, dead, dead ...

25 years agoUpdated French translation by Jean-Michel Vansteene
Ralf Bächle [Tue, 13 Apr 1999 02:05:20 +0000 (02:05 +0000)]
Updated French translation by Jean-Michel Vansteene
(vanstee@worldnet.fr)

25 years agoInclude <asm/types.h> in utils.h (apparently needed to build
Phil Blundell [Mon, 5 Apr 1999 20:15:22 +0000 (20:15 +0000)]
Include <asm/types.h> in utils.h (apparently needed to build
on some machines).  Don't include it in util-ank.c therefore.

25 years agoRemove bogus checks for loopback, use the real ARPHRD value.
Phil Blundell [Sun, 4 Apr 1999 21:37:00 +0000 (21:37 +0000)]
Remove bogus checks for loopback, use the real ARPHRD value.
Take out special-casing of Ash and ATM for don't-print-null-
hwaddr purposes; make it a flag in struct hwtype.
Add appropriate /proc check for Econet presence.
Call it 1.52.

25 years agoFrom Philip Chong <pchong@r-491a.ihouse.berkeley.edu>
Phil Blundell [Thu, 25 Mar 1999 11:40:23 +0000 (11:40 +0000)]
From Philip Chong <pchong@r-491a.ihouse.berkeley.edu>

 - don't try to install ipmaddr/iptunnel if they weren't built
 - make i18n-disabled builds work better

25 years agoFix filename in error message.
Phil Blundell [Wed, 24 Mar 1999 19:54:44 +0000 (19:54 +0000)]
Fix filename in error message.
Patch from Meelis Roos <mroos@tartu.cyber.ee>

25 years agoUpdate.
Ralf Bächle [Wed, 24 Mar 1999 11:36:38 +0000 (11:36 +0000)]
Update.

25 years agoInclude intl.h to make it compile.
Ralf Bächle [Wed, 24 Mar 1999 11:30:39 +0000 (11:30 +0000)]
Include intl.h to make it compile.

25 years agoMore i18n, from Meelis Roos <mroos@tartu.cyber.ee>
Phil Blundell [Wed, 24 Mar 1999 09:49:43 +0000 (09:49 +0000)]
More i18n, from Meelis Roos <mroos@tartu.cyber.ee>

25 years agoFix typo.
Phil Blundell [Sun, 21 Mar 1999 11:10:00 +0000 (11:10 +0000)]
Fix typo.