Enrico Weigelt, metux IT service [Wed, 28 Oct 2009 23:38:04 +0000 (29 00:38 +0100)]
Splitted out mii-tool as own package
In several embedded environments, we just need the standalone
mii-tool - nothing else of this package. Therefore we've split
it out into it's own package.
Enrico Weigelt, metux IT service [Sat, 24 Apr 2010 17:14:12 +0000 (24 19:14 +0200)]
mii-tool: fixed warning: "initialization discards qualifiers from pointer target"
Enrico Weigelt, metux IT service [Sat, 24 Apr 2010 16:53:04 +0000 (24 18:53 +0200)]
mii-tool: fixed syslog() call to use literal format string
ecki [Fri, 5 Mar 2010 15:35:02 +0000 (5 15:35 +0000)]
netstat: PIDs can be long, Bug #199702 of Ubuntu Launchpad, Bug #16913 of Berlios
vapier [Fri, 1 Jan 2010 06:35:30 +0000 (1 06:35 +0000)]
interface: fix IPv6 parsing of interfaces with large indexes (> 255)
patch from Dave Johnson <djohnson@sw.starentnetworks.com> via Debian #433543
When running 'ifconfig' it will not show any IPv6 addresses for
interfaces that have an ifindex > 255.
Because the kernel will increment the ifindex every time an interface
is added or removed, it is not necessary to have 256 interfaces at
once, just creating 256 interfaces since system boot and they will no
longer show IPv6 addresses.
This is due to an improper fscanf() maximum range argument. Patch to
fix the problem is below.
Example:
st34:~# ip addr list dev eth1.110
268: eth1.110@eth1: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc noqueue
link/ether 00:e0:81:2a:0d:2d brd ff:ff:ff:ff:ff:ff
inet6 fd4d:5643:2886:6e::ea:0/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::2e0:81ff:fe2a:d2d/64 scope link
valid_lft forever preferred_lft forever
st34:~# ifconfig eth1.110
eth1.110 Link encap:Ethernet HWaddr 00:E0:81:2A:0D:2D
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:676 (676.0 b)
st34:~# grep eth1.110 /proc/net/if_inet6
fd4d56432886006e0000000000ea0000 10c 40 00 80 eth1.110
fe8000000000000002e081fffe2a0d2d 10c 40 20 80 eth1.110
st34:~#
vapier [Fri, 1 Jan 2010 05:59:20 +0000 (1 05:59 +0000)]
po/man: if LINGUAS is set, only install translations for those langs
vapier [Thu, 31 Dec 2009 20:38:02 +0000 (31 20:38 +0000)]
improve dist target: include compiled gettext files, exclude scm files, and always prefix the paths in the tarball with the full versioned name
vapier [Thu, 31 Dec 2009 20:32:20 +0000 (31 20:32 +0000)]
ignore generated gettext files
vapier [Thu, 31 Dec 2009 20:14:55 +0000 (31 20:14 +0000)]
set BASEDIR to DESTDIR by default so the default install matches most packages
vapier [Thu, 31 Dec 2009 20:06:53 +0000 (31 20:06 +0000)]
fix parallel build problems with the lib/ subdir and multiple targets that descend into it
vapier [Thu, 31 Dec 2009 19:54:16 +0000 (31 19:54 +0000)]
netstat: fix %*s handling -- the field takes an int, not a size_t
vapier [Thu, 31 Dec 2009 19:51:31 +0000 (31 19:51 +0000)]
interface slip: cast keepalive/outfill to unsigned long to fix warnings on 64bit hosts -- no functional changes since these only have an 8bit range anyways
vapier [Thu, 31 Dec 2009 19:05:34 +0000 (31 19:05 +0000)]
ignore patch related files
vapier [Sun, 6 Sep 2009 23:05:28 +0000 (6 23:05 +0000)]
netstat: add sctp connection decoding (Debian #306428 and Gentoo #258714)
vapier [Sun, 6 Sep 2009 23:01:16 +0000 (6 23:01 +0000)]
ifconfig: fix no output when if_readlist_proc() fails
The rewrite of if_readlist() on 28 Jun 2003 broke the function when the
proc interface isn't readable. Have if_readlist() return an error only if
both if_readxxx funcs failed. This fixes Gentoo 238363.
vapier [Sun, 6 Sep 2009 22:59:43 +0000 (6 22:59 +0000)]
slattach: use fchown() rather than chown() to avoid race between creation and permission changing
vapier [Sun, 6 Sep 2009 22:58:40 +0000 (6 22:58 +0000)]
enable -fno-strict-aliasing until the code base gets a hefty clean up to fix all of the strict aliasing problems
vapier [Sun, 6 Sep 2009 22:56:50 +0000 (6 22:56 +0000)]
convert -idirafter to -I
The local include trees no longer need -idirafter semantics, so use the
normal -I flags to avoid random cruft on users' systems. This fixes Gentoo
#283759 where user had local headers named the same as the net-tools local
headers, but the toolchain defaulted to the system paths due to -idirafter.
vapier [Sun, 6 Sep 2009 22:55:13 +0000 (6 22:55 +0000)]
add missing dependency on version.h to libdir target to fix parallel build failures
vapier [Sun, 6 Sep 2009 22:53:54 +0000 (6 22:53 +0000)]
touch up build system to respect normal toolchain env vars rather than requiring people to set random custom ones
vapier [Sun, 6 Sep 2009 22:52:01 +0000 (6 22:52 +0000)]
handle raw "IP" masqinfo
vapier [Sun, 6 Sep 2009 22:50:58 +0000 (6 22:50 +0000)]
move man/fr_FR/*.8 pages into the "administrator" section
vapier [Sun, 6 Sep 2009 22:50:11 +0000 (6 22:50 +0000)]
arp: document the existing -e/-t options
vapier [Sun, 6 Sep 2009 22:47:46 +0000 (6 22:47 +0000)]
netstat: fix typo in udp display
The recent patch to add udplite support introduced a typo in the udp name.
This fixes Gentoo #282794 and Debian #545328. Originally reported by
Ambroz Bizjak <ambro@b4ever.net>.
vapier [Sun, 6 Sep 2009 22:40:33 +0000 (6 22:40 +0000)]
start a .gitignore
ecki [Sun, 6 Sep 2009 22:39:20 +0000 (6 22:39 +0000)]
Missing include to make compileable with gcc-4.3.2 and glibc-2.9_p20081201
Patch from Petr Pisar [Berlios Bug#16232].
vapier [Sun, 6 Sep 2009 22:39:11 +0000 (6 22:39 +0000)]
ignore local .git dir
ecki [Thu, 27 Aug 2009 20:29:19 +0000 (27 20:29 +0000)]
Fix for Feature Request from ssb
[ Feature Request #4466 ] --continuous should flush stdout
ecki [Thu, 27 Aug 2009 20:13:08 +0000 (27 20:13 +0000)]
Czech translation update by petr.pisar@atlas.cz
ecki [Tue, 28 Jul 2009 01:40:17 +0000 (28 01:40 +0000)]
Avoid name resolution for listening or established sockets (-l) by return
fast. Problem reported by Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
ecki [Wed, 8 Jul 2009 00:24:03 +0000 (8 00:24 +0000)]
scanf format length fix (non exploitable?) from
Fabian Hugelshofer <hugelshofer2006@gmx.ch>
ecki [Tue, 2 Dec 2008 02:00:24 +0000 (2 02:00 +0000)]
-W option
ecki [Tue, 2 Dec 2008 01:58:01 +0000 (2 01:58 +0000)]
new date, reformatted authors section (shorter)
ecki [Tue, 2 Dec 2008 01:53:48 +0000 (2 01:53 +0000)]
sorted options
ecki [Mon, 1 Dec 2008 23:15:35 +0000 (1 23:15 +0000)]
UDPlite Support for net-stat by Brian Micek <bmicek@gmail.com>
luk [Sun, 16 Nov 2008 16:45:08 +0000 (16 16:45 +0000)]
Add wide option to prevent truncating IPv6 addresses
ecki [Fri, 3 Oct 2008 02:09:57 +0000 (3 02:09 +0000)]
moved H suport for Infiniband to the right section
ecki [Fri, 3 Oct 2008 01:52:03 +0000 (3 01:52 +0000)]
Add hardware support for InfiniBand (Debian Bug #294252 Tom Duffy from Sun).
ecki [Fri, 3 Oct 2008 01:39:06 +0000 (3 01:39 +0000)]
avoid unused filetype, fix formatting of -p headers
ecki [Fri, 3 Oct 2008 01:07:47 +0000 (3 01:07 +0000)]
conditional printing of values (to support -tuw options for netstat -s)
ecki [Fri, 3 Oct 2008 01:06:33 +0000 (3 01:06 +0000)]
Support netstat -s with -6tuw options (incl. usage())
ecki [Fri, 3 Oct 2008 00:05:20 +0000 (3 00:05 +0000)]
Enable netstat -s for IPv6 (Debian Bug #453859 from Varun Chandramohan)
ecki [Thu, 2 Oct 2008 23:31:04 +0000 (2 23:31 +0000)]
Avoid segfault of ifconfig(8) on missing /proc/net/dev
(Debian Bug #222209 Pierre Lombard, Tollef Fog Heen)
ecki [Thu, 2 Oct 2008 23:16:59 +0000 (2 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)
ecki [Thu, 2 Oct 2008 22:42:51 +0000 (2 22:42 +0000)]
fix some more hypens, changed book name and updated date to 2008-10-03
ecki [Thu, 2 Oct 2008 22:30:25 +0000 (2 22:30 +0000)]
document the additional info in Send-Q/Recv-Q with recent kernels for
listening sockets.
ecki [Thu, 2 Oct 2008 22:05:54 +0000 (2 22:05 +0000)]
allow netstat to print Rcv/Snd-Q for TCP_LISTEN (containing accept
backlog)
ecki [Tue, 17 Jun 2008 00:18:54 +0000 (17 00:18 +0000)]
Spelling error (Debian Bug #486448 reported by Volker Stolz)
ecki [Sun, 2 Dec 2007 04:42:31 +0000 (2 04:42 +0000)]
fixed interfaceS spelling (Debian Bug #435690). Thanks Alan and Liu Xing.
ecki [Sun, 2 Dec 2007 02:19:52 +0000 (2 02:19 +0000)]
more backoff
ecki [Sat, 1 Dec 2007 19:36:55 +0000 (1 19:36 +0000)]
backoff proc_fopen usage from etherfile.
ecki [Sat, 1 Dec 2007 19:00:40 +0000 (1 19:00 +0000)]
use new page aliged proc_fopen for address families
ecki [Sat, 1 Dec 2007 18:51:09 +0000 (1 18:51 +0000)]
Page aligned fopen buffer
ecki [Sat, 1 Dec 2007 18:44:56 +0000 (1 18:44 +0000)]
Faster pagesize aligned fopen for netstat -s (Eric Dumazet)
ecki [Sat, 1 Dec 2007 18:29:05 +0000 (1 18:29 +0000)]
Better netstat -s error handling and larger buffers
ecki [Sat, 1 Dec 2007 18:19:32 +0000 (1 18:19 +0000)]
cleanup man page (arp.8 2007-12-01)
ecki [Sat, 1 Dec 2007 18:12:34 +0000 (1 18:12 +0000)]
ROSE support (not yet enabled)
ecki [Sat, 1 Dec 2007 17:49:35 +0000 (1 17:49 +0000)]
ROSE support
ecki [Wed, 7 Nov 2007 23:01:38 +0000 (7 23:01 +0000)]
Fix Formatting Bug for ifconfig.8 (Debian Bug#450432 reported by Ivan
Shmakov)
ecki [Thu, 14 Dec 2006 23:36:24 +0000 (14 23:36 +0000)]
unneeded %s in translation (Debian Bug #403033)
Thanks to Marco Tulio Gontijo e Silva
ecki [Wed, 11 Oct 2006 01:14:33 +0000 (11 01:14 +0000)]
fixed signedness compiler warning
ecki [Wed, 11 Oct 2006 01:13:57 +0000 (11 01:13 +0000)]
Fixed Debian Bug #392263 reported by Jochen Voss
(buffer overflow in dev argument processing)
ecki [Tue, 10 Oct 2006 05:58:46 +0000 (10 05:58 +0000)]
formatting fixes from Justin Pryzby in Debian Bug #391495
ecki [Wed, 27 Sep 2006 20:59:18 +0000 (27 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
ecki [Thu, 16 Mar 2006 08:59:42 +0000 (16 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.
ecki [Sun, 4 Dec 2005 05:15:36 +0000 (4 05:15 +0000)]
use file version
ecki [Sun, 4 Dec 2005 05:14:08 +0000 (4 05:14 +0000)]
make slattach 3-wire -L mode work (no RTSCTS) (Debian Bug #175743)
ecki [Sun, 4 Dec 2005 02:57:15 +0000 (4 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
ecki [Sun, 4 Sep 2005 04:23:13 +0000 (4 04:23 +0000)]
X25 code compiles with 2.4 and 2.6 kernel headers (Debian Bug#271678)
ecki [Sun, 4 Sep 2005 03:51:39 +0000 (4 03:51 +0000)]
Spelling fix for Debian Bug#326124 reported by A. Costa.
ecki [Fri, 26 Aug 2005 16:01:31 +0000 (26 16:01 +0000)]
added link to berliOS
ecki [Tue, 23 Aug 2005 22:46:51 +0000 (23 22:46 +0000)]
Eric Oberlander reported in Debian Bug#323261 that byte counter unit
should be named "B" not "b".
ecki [Tue, 2 Aug 2005 22:28:10 +0000 (2 22:28 +0000)]
make ipx in 2.6 work (perhaps).
Fixes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=318503
ecki [Thu, 30 Jun 2005 19:26:37 +0000 (30 19:26 +0000)]
minor formatting
ecki [Thu, 30 Jun 2005 18:42:52 +0000 (30 18:42 +0000)]
added pointer to iptables(8) not only ipchains(8) (Toralf Förster)
ecki [Mon, 16 May 2005 10:07:48 +0000 (16 10:07 +0000)]
make it compile with 2.4 and 2.6 kernel headers (Debian Bug #271678)
ecki [Mon, 16 May 2005 04:30:17 +0000 (16 04:30 +0000)]
desupport dontpub in arp.8 and arp -? (Debian Bug #203396)
ecki [Mon, 16 May 2005 03:21:58 +0000 (16 03:21 +0000)]
updated pot file and use msgmerge instead of tupdate (Debian Bug #271426)
ecki [Mon, 16 May 2005 03:15:12 +0000 (16 03:15 +0000)]
token ring patch from linuxtr.net/download/net-tools-1.60.patch
Fixes Debian Bug #79462
ecki [Fri, 13 May 2005 22:34:20 +0000 (13 22:34 +0000)]
line break fix debian bug #305637
ecki [Fri, 13 May 2005 22:31:41 +0000 (13 22:31 +0000)]
spellig fix debian bug #305638
ecki [Fri, 13 May 2005 22:28:41 +0000 (13 22:28 +0000)]
spelling fix debian bug #305640
ecki [Tue, 29 Jun 2004 20:28:08 +0000 (29 20:28 +0000)]
little formatting fix
ecki [Fri, 4 Jun 2004 00:06:50 +0000 (4 00:06 +0000)]
default all options which work with recent systems to on
ecki [Thu, 3 Jun 2004 22:49:17 +0000 (3 22:49 +0000)]
debians version of nstrcmp - ugly but works
ecki [Thu, 3 Jun 2004 22:41:53 +0000 (3 22:41 +0000)]
merged debian patch to make it compile with new headers
ecki [Thu, 3 Jun 2004 22:27:37 +0000 (3 22:27 +0000)]
avoid namespace conflicts
ecki [Thu, 3 Jun 2004 22:18:26 +0000 (3 22:18 +0000)]
added linebreak to version signature
ecki [Sun, 28 Mar 2004 21:35:11 +0000 (28 21:35 +0000)]
added diagnostics (closes debian bug #239229: EINVAL for downed interface)
ecki [Sat, 25 Oct 2003 21:15:09 +0000 (25 21:15 +0000)]
Typo Fix for german translation of arp po file reported by Christoph Berg
(Debian Bug #176151)
ecki [Mon, 20 Oct 2003 22:22:22 +0000 (20 22:22 +0000)]
make sure version string is helpful
ecki [Mon, 20 Oct 2003 22:01:13 +0000 (20 22:01 +0000)]
patch to recognize more hardware without MII support (from Redhat Bug#77882,
notified by Tilmann Bubeck).
pb [Sun, 19 Oct 2003 11:57:37 +0000 (19 11:57 +0000)]
fix portability problem on 64-bit big endian.
patch from Mads Martin Joergensen <mmj@suse.de>
ecki [Sat, 11 Oct 2003 21:08:10 +0000 (11 21:08 +0000)]
Maik Broemme contributed gcc warning fixes (break after default: label)
ecki [Thu, 2 Oct 2003 20:06:23 +0000 (2 20:06 +0000)]
fixes for man page bugs reported by Hugh Redelmeier.
ak [Thu, 11 Sep 2003 03:46:49 +0000 (11 03:46 +0000)]
Fix off by one in name length checking
ecki [Sat, 28 Jun 2003 03:19:04 +0000 (28 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.
ecki [Sat, 28 Jun 2003 02:03:31 +0000 (28 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.
ecki [Thu, 12 Jun 2003 03:22:30 +0000 (12 03:22 +0000)]
make hostname compile warnign free with gcc 3.3 (Ec)
ecki [Thu, 29 May 2003 02:09:14 +0000 (29 02:09 +0000)]
added 'ull' prefix to unsigned long long constants to make gcc 3.3 happy