- 10 Dec, 2011 3 commits
-
-
Mike Frysinger authored
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>
-
Mike Frysinger authored
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 21 Nov, 2011 10 commits
-
-
Mike Frysinger authored
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>
-
Mike Frysinger authored
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>
-
Mike Frysinger authored
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
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>
-
Mike Frysinger authored
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 20 Aug, 2011 1 commit
-
-
Mike Frysinger authored
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
-
- 20 Apr, 2011 1 commit
-
-
Bernd Eckenfels authored
path (in order to make argv[0]="sshd pty/0" display as sshd, and not as /0.
-
- 09 Apr, 2011 3 commits
-
-
Mike Frysinger authored
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
-
Mike Frysinger authored
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
-
Mike Frysinger authored
patch by pasi.valminen@hut.fi Gentoo bug 42650
-
- 27 Jan, 2011 2 commits
-
-
Bernd Eckenfels authored
-
Bernd Eckenfels authored
Reported by Toralf
-
- 01 Jan, 2011 1 commit
-
-
Bernd Eckenfels authored
-
- 29 Oct, 2010 1 commit
-
-
Bernd Eckenfels authored
Thanks jwm
-
- 15 Aug, 2010 1 commit
-
-
Mike Frysinger authored
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
-
- 05 Jul, 2010 1 commit
-
-
Bernd Eckenfels authored
Thanks Marco Steinacher for reporting.
-
- 05 Mar, 2010 1 commit
-
-
Bernd Eckenfels authored
-
- 01 Jan, 2010 2 commits
-
-
Mike Frysinger authored
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:~#
-
Mike Frysinger authored
-
- 31 Dec, 2009 7 commits
-
-
Mike Frysinger authored
improve dist target: include compiled gettext files, exclude scm files, and always prefix the paths in the tarball with the full versioned name
-
Mike Frysinger authored
-
Mike Frysinger authored
-
Mike Frysinger authored
-
Mike Frysinger authored
-
Mike Frysinger authored
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
-
Mike Frysinger authored
-
- 06 Sep, 2009 6 commits
-
-
Mike Frysinger authored
-
Mike Frysinger authored
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.
-
Mike Frysinger authored
-
Mike Frysinger authored
enable -fno-strict-aliasing until the code base gets a hefty clean up to fix all of the strict aliasing problems
-
Mike Frysinger authored
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.
-
Mike Frysinger authored
-