Age | Commit message (Collapse) | Author | Files | Lines |
|
(RHBZ #579854, Debian #561161)
original patch from Sami Farin
|
|
Steps to Reproduce:
/sbin/nameif eth1 00:00:10:10:11:11; echo $?
Actual Results:
interface 'eth1' not found
0
Expected Results:
interface 'eth1' not found
1
|
|
de.po: warning: Charset "iso8859-1" is not a portable encoding name.
Message conversion to user's charset might not work.
|
|
|
|
http://www.gnu.org/licenses/gpl-2.0.html
|
|
On a system with a gigabit NIC attached to a 100mbit switch:
# mii-tool -v eth0
capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
Clearly the last two fields are swapped, and reading the code supports
this hypothesis.
URL: https://bugs.gentoo.org/393107
URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511395
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
ssh://net-tools.git.sourceforge.net/gitroot/net-tools/net-tools
|
|
|
|
Signed-off-by: Bernd Eckenfels <bernd@eckenfels.net>
|
|
These tools provide quite a bit of good information which is available
to non-root users, so let's move them to /bin for people to use.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
The tcp/udp/raw protocols duplicate the logic for looking up addresses and
their ports, and then formatting them nicely. They also duplicate this for
local and remote addresses. They also encode a few assumptions about the
length of the strings they get back which can cause buffer over and under
flows.
Add a new helper called addr_do_one that unifies all of this duplicate
logic in one place, and handles any string size correctly.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
On 64bit systems where sizeof(void *) != sizeof(int), we get a warning
when trying to assign the return of atoi(). So insert a cast to avoid.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
Some of these are unused, so drop them. Others are only used in debug
code, so refactor those so things are always compiled.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
This was causing the %.o rule to get ignored which meant most of the
dependencies were ignored.
Once that gets fixed, we see that the %.o rule doesn't properly use
$(CPPFLAGS). So add that while we're here.
Gentoo bug 379715
|
|
path (in order to make argv[0]="sshd pty/0" display as sshd, and not as /0.
|
|
According to the manual the option "--numeric-ports" should not
affect host resolution, but it does. All connected hosts are displayed
with numeric values instead of their FQDN.
patch by Mads Martin Joergensen in Gentoo bug 76756
|
|
The kernel really only treats sockets with a value of -1 as an error.
The rest are an unsigned quantity. So tweak the nestat lookup to use
an unsigned value.
patch based on Antonio Galea's work in Debian bug 345331
|
|
patch by pasi.valminen@hut.fi
Gentoo bug 42650
|
|
|
|
Reported by Toralf
|
|
|
|
Thanks jwm
|
|
newer versions of glibc (like 2.12) have cleaned up headers so you need
to include sys/stat.h explicitly for S_XXX macros
Gentoo bug 332853
|
|
Thanks Marco Steinacher for reporting.
|
|
Berlios
|
|
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:~#
|
|
|
|
always prefix the paths in the tarball with the full versioned name
|
|
|
|
|
|
descend into it
|
|
|
|
64bit hosts -- no functional changes since these only have an 8bit range anyways
|
|
|
|
|
|
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.
|
|
and permission changing
|
|
all of the strict aliasing problems
|
|
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.
|