platform/upstream/net-tools.git
25 years agoRebuild.
Ralf Bächle [Tue, 2 Mar 1999 09:27:11 +0000 (09:27 +0000)]
Rebuild.

25 years agoUpdates list of files from which xgettext collects strings.
Ralf Bächle [Tue, 2 Mar 1999 09:26:01 +0000 (09:26 +0000)]
Updates list of files from which xgettext collects strings.

25 years agoInternationalize.
Ralf Bächle [Tue, 2 Mar 1999 09:24:24 +0000 (09:24 +0000)]
Internationalize.

25 years agoFix typo.
Ralf Bächle [Tue, 2 Mar 1999 09:20:44 +0000 (09:20 +0000)]
Fix typo.

25 years agoMention IGMP support. From Tuan Hoang.
Phil Blundell [Mon, 1 Mar 1999 10:20:12 +0000 (10:20 +0000)]
Mention IGMP support.  From Tuan Hoang.

25 years agoHandle libinet6 structures. From Ambrose Li <acli@acli.interlog.com>
Phil Blundell [Mon, 1 Mar 1999 10:19:13 +0000 (10:19 +0000)]
Handle libinet6 structures.  From Ambrose Li <acli@acli.interlog.com>

25 years agoGerman translatation, rough cuts #1.
Ralf Bächle [Sun, 28 Feb 1999 22:22:15 +0000 (22:22 +0000)]
German translatation, rough cuts #1.

25 years agoDECnet support, from Steve Whitehouse, <SteveW@ACM.org>
Phil Blundell [Sat, 27 Feb 1999 11:27:47 +0000 (11:27 +0000)]
DECnet support, from Steve Whitehouse, <SteveW@ACM.org>

25 years agoAdd support for `-V' to slattach and plipconfig
Phil Blundell [Thu, 25 Feb 1999 12:20:35 +0000 (12:20 +0000)]
Add support for `-V' to slattach and plipconfig
Add support for netstat --groups, from Tuan Hoang.
Add support for netstat --programs, from Jan Kratochvil
Don't delete .pot files when making clean in po/
Bump VERSION to 1.51

25 years agoInclude `po' in `make clean'.
Phil Blundell [Tue, 23 Feb 1999 12:48:07 +0000 (12:48 +0000)]
Include `po' in `make clean'.

25 years agoHandle ICMP masquerade properly. (From Debian net-tools
Phil Blundell [Tue, 23 Feb 1999 12:46:31 +0000 (12:46 +0000)]
Handle ICMP masquerade properly.  (From Debian net-tools
maintainer, Anthony Towns <aj@azure.humbug.org.au>)

25 years agoRename utils.c to util-ank.c to avoid confusion with util.c.
Phil Blundell [Tue, 23 Feb 1999 12:44:23 +0000 (12:44 +0000)]
Rename utils.c to util-ank.c to avoid confusion with util.c.
Remove the traffic-class-related stuff; it doesn't seem to be
used and was causing compiles to fail on old systems.

25 years agoFix unfortunate typo.
Phil Blundell [Mon, 1 Feb 1999 22:40:43 +0000 (22:40 +0000)]
Fix unfortunate typo.

25 years agoWhen setting point-to-point address, use the AF-specific
Phil Blundell [Sun, 17 Jan 1999 21:20:25 +0000 (21:20 +0000)]
When setting point-to-point address, use the AF-specific
socket not the generic one.

25 years agoProvide local definition of IPPROTO_GRE to allow iptunnel
Phil Blundell [Wed, 13 Jan 1999 14:01:25 +0000 (14:01 +0000)]
Provide local definition of IPPROTO_GRE to allow iptunnel
to build under glibc 2.0.
Make it configurable whether iptunnel & ipmaddr are built,
with the default being off.  This seems to be necessary since
making them work with 2.0 looks hard.  Does it sound
reasonable?

25 years agoFix IPv6 compilation problems.
Phil Blundell [Sun, 10 Jan 1999 18:05:04 +0000 (18:05 +0000)]
Fix IPv6 compilation problems.
`netstat -c -i' works now (reported by rogerk@tis.com)
Update RPM spec & makefile for new tools.

25 years agoCosmetics
Phil Blundell [Sat, 9 Jan 1999 15:37:32 +0000 (15:37 +0000)]
Cosmetics

25 years agoSeveral new additions to net-tools. From Alexey's iproute2,
Phil Blundell [Sat, 9 Jan 1999 14:35:59 +0000 (14:35 +0000)]
Several new additions to net-tools.  From Alexey's iproute2,
the `maddr' and `tunnel' routines are now included here.  Also
slattach and plipconfig, taken from the Debian netbase package.

25 years agoSome cleanups:
Klaas Freitag [Wed, 6 Jan 1999 12:05:49 +0000 (12:05 +0000)]
Some cleanups:
- Finish net/netstat support
- Fix a few bugs
- Cleanups
- Print some statistics only when >0

25 years agoA whole pile of fixes from Bernd, plus a fix for an arp
Phil Blundell [Tue, 5 Jan 1999 20:52:48 +0000 (20:52 +0000)]
A whole pile of fixes from Bernd, plus a fix for an arp
problem reported by Klaus Kudielka <kudielka@ieee.org>.
Also an ifconfig patch for alias deletion from
Roman Sulzhyk <roman@staff.prodigy.com>.  I'm not too happy
with this one but I put it in anyway.  Andi, see what you
think (look at ifconfig.c about line 1100).  Is there really
no better way to delete an alias?

25 years agosipx_network is defined __u32 in the kernel, so it should not be
Jakub Jelinek [Tue, 15 Dec 1998 10:42:43 +0000 (10:42 +0000)]
sipx_network is defined __u32 in the kernel, so it should not be
unsigned long in userland.
Also, update version number in the spec file.

25 years agoFew random typo/documentation fixes.
Phil Blundell [Fri, 11 Dec 1998 10:48:49 +0000 (10:48 +0000)]
Few random typo/documentation fixes.
(Partly taken from the Debian netbase package.)
Released as 1.49

25 years agoMiscellaneous minor mods. Unless anything turns up in the next
Phil Blundell [Sun, 6 Dec 1998 16:17:41 +0000 (16:17 +0000)]
Miscellaneous minor mods.  Unless anything turns up in the next
day or so this will be net-tools 1.49.

25 years agoMore socket-open fixes
Phil Blundell [Sat, 5 Dec 1998 10:33:51 +0000 (10:33 +0000)]
More socket-open fixes

25 years agoAllow interface names to be 9 characters long rather than
Phil Blundell [Tue, 1 Dec 1998 20:48:41 +0000 (20:48 +0000)]
Allow interface names to be 9 characters long rather than
just 8, to help people with lots (!!) of aliases.

25 years agodoh...
Phil Blundell [Tue, 1 Dec 1998 09:30:06 +0000 (09:30 +0000)]
doh...

25 years agoAX25 improvements, from Tomi Manninen <tpm@prkele.tky.hut.fi>
Phil Blundell [Tue, 1 Dec 1998 09:28:09 +0000 (09:28 +0000)]
AX25 improvements, from Tomi Manninen <tpm@prkele.tky.hut.fi>

25 years agoDon't do name lookups for all-zero addresses.
Phil Blundell [Sun, 29 Nov 1998 13:29:44 +0000 (13:29 +0000)]
Don't do name lookups for all-zero addresses.

25 years agoMake --tcp and similar options behave sensibly.
Phil Blundell [Sun, 29 Nov 1998 13:29:11 +0000 (13:29 +0000)]
Make --tcp and similar options behave sensibly.

25 years agoAdded RPM packaging stuff.
Phil Blundell [Thu, 26 Nov 1998 10:18:33 +0000 (10:18 +0000)]
Added RPM packaging stuff.
Various small makefile tweaks.
Released as 1.48

25 years agoMore #include "util.h"
Phil Blundell [Thu, 26 Nov 1998 10:16:38 +0000 (10:16 +0000)]
More #include "util.h"

25 years agoCouple of small makefile changes (from Red Hat)
Phil Blundell [Wed, 25 Nov 1998 09:37:26 +0000 (09:37 +0000)]
Couple of small makefile changes (from Red Hat)
Bump RELEASE to 1.48.

25 years agoInclude util.h where needed
Phil Blundell [Thu, 19 Nov 1998 13:01:47 +0000 (13:01 +0000)]
Include util.h where needed

25 years agoRemove erroneously-added prototype.
Phil Blundell [Thu, 19 Nov 1998 12:55:51 +0000 (12:55 +0000)]
Remove erroneously-added prototype.

25 years agoSome cosmetic fixes to program error messages.
Klaas Freitag [Thu, 19 Nov 1998 06:36:57 +0000 (06:36 +0000)]
Some cosmetic fixes to program error messages.

25 years agoFix off by one error.
Klaas Freitag [Thu, 19 Nov 1998 05:06:04 +0000 (05:06 +0000)]
Fix off by one error.

25 years agoAdd prototype for safe_strncpy()
Phil Blundell [Wed, 18 Nov 1998 13:46:09 +0000 (13:46 +0000)]
Add prototype for safe_strncpy()
Move some helper functions to interface.c.
Tweak `netstat -i' output format to allow more
room for packet counts.

25 years agoHack to make NETROM sockets work.
Phil Blundell [Wed, 18 Nov 1998 10:33:38 +0000 (10:33 +0000)]
Hack to make NETROM sockets work.

25 years agoCompatibility gunk for ECONET and new glibc
Phil Blundell [Wed, 18 Nov 1998 10:31:58 +0000 (10:31 +0000)]
Compatibility gunk for ECONET and new glibc
(patch from Ralf)

25 years agoOnly update sfd when we successfully open a
Phil Blundell [Tue, 17 Nov 1998 22:10:16 +0000 (22:10 +0000)]
Only update sfd when we successfully open a
socket. Based (loosely) on a patch from
"Maciej W. Rozycki" <macro@ds2.pg.gda.pl>

25 years ago- Allow device probing again (this should fix the problem Arnaldo de Melo
Klaas Freitag [Tue, 17 Nov 1998 15:16:09 +0000 (15:16 +0000)]
- Allow device probing again (this should fix the problem Arnaldo de Melo
reported)

- Various cleanups and bug fixes.

- Better error message for ENODEV.

- Proper exit codes for interface printing

- Add safe_strncpy and use it everywhere: this fixes quite a lot of
strncpy bugs (strncpy doesn't add a '\0' when the source string is too
long!)

25 years agoPrint just "ARCnet", not "1.5Mbps ARCnet" since
Phil Blundell [Mon, 16 Nov 1998 15:13:48 +0000 (15:13 +0000)]
Print just "ARCnet", not "1.5Mbps ARCnet" since
apparently it's not actually a 1.5Mbps network.

25 years agoFix off-by-one handling TCP6 connections.
Phil Blundell [Mon, 16 Nov 1998 10:13:27 +0000 (10:13 +0000)]
Fix off-by-one handling TCP6 connections.
Make `--inet6' do roughly the right thing.
`Activate NETROM sockets' -> `Active NETROM sockets',
ditto for AX.25

25 years agoUse ifru_mtu instead of ifru_ivalue for compatibility with 2.0 kernel
Klaas Freitag [Sun, 15 Nov 1998 20:16:16 +0000 (20:16 +0000)]
Use ifru_mtu instead of ifru_ivalue for compatibility with 2.0 kernel
headers.

25 years agoYow. This is net-tools completely reindented.
Klaas Freitag [Sun, 15 Nov 1998 20:07:31 +0000 (20:07 +0000)]
Yow. This is net-tools completely reindented.

Some other cleanups:
- lib/net-string.c removed because it was not used and had a copyright notice
that conflicted with the GPL.
- Minor cleanups.
- Fix an potential buffer overflow in ax25.
- Switch to CVS $Id$ for versioning consistently

25 years ago- Use numerical sort for interface sorting.
Klaas Freitag [Sun, 15 Nov 1998 18:58:33 +0000 (18:58 +0000)]
- Use numerical sort for interface sorting.
- Use an AF_INET socket for SIOCGIFCONF

25 years agoi18n fixes from Arnaldo Carvalho de Melo.
Phil Blundell [Sun, 15 Nov 1998 18:20:24 +0000 (18:20 +0000)]
i18n fixes from Arnaldo Carvalho de Melo.

25 years agoFix the initialization of aftype_netrom. This was breaking everything
Ralf Bächle [Sun, 15 Nov 1998 14:21:34 +0000 (14:21 +0000)]
Fix the initialization of aftype_netrom.  This was breaking everything
in net-tools dealing with interfaces, including other address families.

25 years agoCheck for /proc/net, not /proc only to see if the proc file system exists.
Klaas Freitag [Sun, 15 Nov 1998 08:18:30 +0000 (08:18 +0000)]
Check for /proc/net, not /proc only to see if the proc file system exists.

25 years agoRework socket handling again. Rather than
Phil Blundell [Sat, 14 Nov 1998 10:37:04 +0000 (10:37 +0000)]
Rework socket handling again.  Rather than
issuing ioctls to a random socket and just
hoping, we do our best to pick the right one
for the address family in use.  This should
fix a bug reported for 1.47 where a command like
"ifconfig eth0 broadcast 1.0.0.255" picked on the
AF_APPLETALK socket and so didn't work.

Quite an invasive fix but hopefully the right one.
Andi, can you take a look since this is stuff you've
been working on recently.

25 years agoUpdate for snapshot
Phil Blundell [Sat, 31 Oct 1998 09:57:31 +0000 (09:57 +0000)]
Update for snapshot

25 years agoUpdate
Phil Blundell [Sat, 31 Oct 1998 09:56:17 +0000 (09:56 +0000)]
Update

25 years agoAdd support for SLIP keepalive and linefill.
Phil Blundell [Sat, 31 Oct 1998 09:55:40 +0000 (09:55 +0000)]
Add support for SLIP keepalive and linefill.
Based on patch from "Stanislav V. Voronyi"
<stas@cnti.uanet.kharkov.ua>

25 years agoCheck /proc files first before opening sockets to work around 2.1
Klaas Freitag [Fri, 30 Oct 1998 14:15:46 +0000 (14:15 +0000)]
Check /proc files first before opening sockets to work around 2.1
modprobe problem. Only barely tested, more testers (using the more exotic
network protocols) are needed.

Preliminary support for IFF_DYNAMIC.

25 years agoRevert accidential commit.
Klaas Freitag [Fri, 23 Oct 1998 07:31:52 +0000 (07:31 +0000)]
Revert accidential commit.

25 years agoPrint 2.1 interface aliases in netstat and ifconfig.
Klaas Freitag [Fri, 23 Oct 1998 06:15:04 +0000 (06:15 +0000)]
Print 2.1 interface aliases in netstat and ifconfig.

25 years agoFix typo (reported by dtaylor@xfiles.nildram.co.uk)
Phil Blundell [Thu, 22 Oct 1998 10:28:11 +0000 (10:28 +0000)]
Fix typo (reported by dtaylor@xfiles.nildram.co.uk)

25 years agoAdd -D_GNU_SOURCE for compatibility with latest glibc 2.1.
Phil Blundell [Sun, 20 Sep 1998 14:23:36 +0000 (14:23 +0000)]
Add -D_GNU_SOURCE for compatibility with latest glibc 2.1.
(Spotted by Andreas Jaeger)

25 years ago1.46 is released.
Phil Blundell [Tue, 1 Sep 1998 13:15:46 +0000 (13:15 +0000)]
1.46 is released.

25 years agoMake i18n default to off (and fix typo in config.in)
Phil Blundell [Sat, 29 Aug 1998 11:47:36 +0000 (11:47 +0000)]
Make i18n default to off (and fix typo in config.in)
Cosmetic changes to ifconfig.  Fix lots of stuff to
compile properly with glibc2.1.
Fix HIPPI and HDLC/LAPB for new i18n code.

25 years agoReplace outdated NLS support with GNU gettext (patch from
Phil Blundell [Mon, 10 Aug 1998 20:48:01 +0000 (20:48 +0000)]
Replace outdated NLS support with GNU gettext (patch from
Arnaldo Carvalho de Melo <acme@conectiva.com.br>).  This
touches virtually every file but the changes are fairly
superficial.

Please check I haven't broken your favourite AF/hardware
type during the conversion.

26 years agoFix uninitialised variable (was causing problems on SPARC apparently)
Phil Blundell [Thu, 11 Jun 1998 13:23:40 +0000 (13:23 +0000)]
Fix uninitialised variable (was causing problems on SPARC apparently)

(From Aron Griffis <agriffis@coat.com>)

26 years agoBe robust, allow to skip leading zero as RH4.2 does.
Pete Zaitcev [Thu, 28 May 1998 18:31:12 +0000 (18:31 +0000)]
Be robust, allow to skip leading zero as RH4.2 does.

26 years agoAdd -f to usage message.
Pete Zaitcev [Thu, 28 May 1998 18:29:41 +0000 (18:29 +0000)]
Add -f to usage message.

26 years agoAdded HDLC/LAPB support (from Szemethy Tivadar <tiv@itc.hu>)
Phil Blundell [Wed, 13 May 1998 16:48:11 +0000 (16:48 +0000)]
Added HDLC/LAPB support (from Szemethy Tivadar <tiv@itc.hu>)

26 years agoComplete conversion to proc_get_fmt.
Klaas Freitag [Tue, 12 May 1998 23:13:21 +0000 (23:13 +0000)]
Complete conversion to proc_get_fmt.

26 years agoFirst try at extension tolerant /proc parser. Only used by route so far.
Klaas Freitag [Tue, 12 May 1998 22:59:07 +0000 (22:59 +0000)]
First try at extension tolerant /proc parser. Only used by route so far.

26 years agoOnly set netmask in rtrequest if there was really a netmask specified.
Klaas Freitag [Tue, 12 May 1998 18:24:27 +0000 (18:24 +0000)]
Only set netmask in rtrequest if there was really a netmask specified.

26 years agodon't try to delete public ARP entries if already succeeded in deleting a private...
Jes Sorensen [Fri, 8 May 1998 16:20:54 +0000 (16:20 +0000)]
don't try to delete public ARP entries if already succeeded in deleting a private one - gives such
silly error messages

26 years agothe last part of the cleanup
Jes Sorensen [Fri, 8 May 1998 14:48:57 +0000 (14:48 +0000)]
the last part of the cleanup

26 years agoremove the references to OLD_SIOC[SD]ARP ... this was really pre-historic
Jes Sorensen [Fri, 8 May 1998 14:44:00 +0000 (14:44 +0000)]
remove the references to OLD_SIOC[SD]ARP ... this was really pre-historic

26 years agoMore buffer overrun fixes.
Klaas Freitag [Thu, 7 May 1998 13:57:39 +0000 (13:57 +0000)]
More buffer overrun fixes.

26 years agoSupport /prefix syntax for IPv4 in ifconfig too.
Klaas Freitag [Thu, 7 May 1998 13:33:27 +0000 (13:33 +0000)]
Support /prefix syntax for IPv4 in ifconfig too.

Add getmask() to aftype structure to generalize.

Fix numerous buffer overruns. net-tools is full of them!
[still many left]

26 years agoBasic HIPPI support - now to find out why arp can't figure out that an
Jes Sorensen [Thu, 7 May 1998 12:32:38 +0000 (12:32 +0000)]
Basic HIPPI support - now to find out why arp can't figure out that an
address on the HIPPI NIC's network should be type HIPPI and not Ether.

26 years agoSupport /prefixlen netmask specification for route -add
Klaas Freitag [Thu, 7 May 1998 02:13:27 +0000 (02:13 +0000)]
Support /prefixlen netmask specification for route -add

Fix buffer overflow in route [there are probably more in the nettools]

Allow device argument everywhere on the command line, but only when
it starts with the keyword.

26 years agocouple of small fixes
Phil Blundell [Thu, 16 Apr 1998 20:08:51 +0000 (20:08 +0000)]
couple of small fixes

26 years agoPrint unknown fields in /proc/net/snmp unformatted instead of ignoring
Klaas Freitag [Thu, 16 Apr 1998 16:45:07 +0000 (16:45 +0000)]
Print unknown fields in /proc/net/snmp unformatted instead of ignoring
them.

26 years agoMove the HAVE_TXQUEUELEN check into the common include file interface.h -
Klaas Freitag [Thu, 16 Apr 1998 10:21:46 +0000 (10:21 +0000)]
Move the HAVE_TXQUEUELEN check into the common include file interface.h -
this makes txqueuelen work again, because the code in interface.c was always
omitted.

26 years agoAdd OutRsts and InErrs fields for TCP.
Klaas Freitag [Wed, 15 Apr 1998 15:29:22 +0000 (15:29 +0000)]
Add OutRsts and InErrs fields for TCP.

26 years agoMake it compile without econet.
Klaas Freitag [Wed, 15 Apr 1998 15:27:50 +0000 (15:27 +0000)]
Make it compile without econet.
Fix a few bad typos.
Fix a few warnings.
Change all #ifdef HAVE_... to #if HAVE_... because the config script
uses #define .. 0 for disabled options instead of #undef.
Make atalk functional again (not tested).

26 years agoPile of net-tools goodies. I plan to make a 1.45 release this
Phil Blundell [Fri, 10 Apr 1998 21:53:32 +0000 (21:53 +0000)]
Pile of net-tools goodies.  I plan to make a 1.45 release this
weekend - please give it a go and make sure it at least compiles
on your system. :-)

26 years agoUpdate for new kernel, plus more changes.
Phil Blundell [Mon, 2 Mar 1998 22:02:22 +0000 (22:02 +0000)]
Update for new kernel, plus more changes.

26 years agoMerge more changes from my private tree, mostly ifconfig tidyups.
Phil Blundell [Fri, 13 Feb 1998 20:41:55 +0000 (20:41 +0000)]
Merge more changes from my private tree, mostly ifconfig tidyups.

26 years agoVarious ifconfig cleanups and new arp.
Phil Blundell [Sun, 8 Feb 1998 19:38:50 +0000 (19:38 +0000)]
Various ifconfig cleanups and new arp.

26 years agoSome small Ash changes.
Phil Blundell [Thu, 5 Feb 1998 21:49:40 +0000 (21:49 +0000)]
Some small Ash changes.

26 years agoAlways display a U flag for routes
Phil Blundell [Sat, 31 Jan 1998 12:24:54 +0000 (12:24 +0000)]
Always display a U flag for routes

26 years agoChange version number and release 980126 snapshot
Phil Blundell [Mon, 26 Jan 1998 21:40:23 +0000 (21:40 +0000)]
Change version number and release 980126 snapshot

26 years agoRemove the comment about address and route deletion not being
Phil Blundell [Mon, 26 Jan 1998 14:28:48 +0000 (14:28 +0000)]
Remove the comment about address and route deletion not being
implemented for IPv6, since this is no longer the case.

26 years agoFDDI compiled under glibc now, plus misc other fixes
Phil Blundell [Sun, 25 Jan 1998 21:56:23 +0000 (21:56 +0000)]
FDDI compiled under glibc now, plus misc other fixes

26 years agoMore fixes
Phil Blundell [Sun, 25 Jan 1998 13:47:51 +0000 (13:47 +0000)]
More fixes

26 years agoMerge various changes from my private tree.
Phil Blundell [Sun, 25 Jan 1998 12:54:35 +0000 (12:54 +0000)]
Merge various changes from my private tree.
 - ROSE and FDDI support is in now
 - `route' ignores routes that are deleted, to avoid confusing users.
 - `ifconfig' no longer even tries to use SIOCGIFCOUNT.  Even old ifconfigs
   will work correctly without it though, so let's delete this ioctl now
   before 2.2 is released.  It was only added in the mid 2.1 series so no code
   should rely on it yet.

Also the usual round of tidying up.

I need to check whether Bernd has any outstanding changes, and then I want
to release net-tools 1.50 in the fairly near future.

26 years agoAdd Ash support
Phil Blundell [Wed, 14 Jan 1998 13:31:49 +0000 (13:31 +0000)]
Add Ash support

26 years agoAdd txqueuelen argument to ifconfig.
Klaas Freitag [Mon, 12 Jan 1998 14:39:31 +0000 (14:39 +0000)]
Add txqueuelen argument to ifconfig.
Some libc5 fixes.

Note that it isn't tested yet, because I still don't have a kernel
with a working SIOCGIFFTXQLEN.

26 years agoInitial revision
Phil Blundell [Thu, 8 Jan 1998 09:54:43 +0000 (09:54 +0000)]
Initial revision