The net-tools package contains a collection of programs that form the base set of the NET-3 networking distribution for the Linux operating system. It contains the important tools for controlling the network subsystem of the Linux kernel including arp, hostname, ifconfig, netstat, rarp and route.
| Tags | Networking |
|---|---|
| Licenses | GPL |
Recent releases


Changes: This release fixes several occurrences of missing break statements in the default clause of a switch, which GCC3 and GCC4 complain about. It explicitly includes stdlib.h where required. Conditional code has been added to deal with a difference between the 2.4 and 2.6 kernel types for struct x25_address (it's a typedef in 2.4 and a plain struct in 2.6).


No changes have been submitted for this release.


Changes: A fix for a bug in the net-tools 1.58 release that made ifconfig unusable for many people.


Changes: Notable changes since 1.55 include a bug relating to IPv4 alias interfaces being fixed, support for X.25 and STRIP being added, and the addition of a tool for configuring MII transceivers.


Changes: Bugfix on ifconfig for new kernels.
- All comments
Recent commentsRe: Compilation of net-tools
this patch helped me:
http://www.bitshrine.org/gpp/net-tools-1.60-2.patch
Re: Net-Tools Security Advisory from RedHat
> It's not there. Shame on you for
> advertising your blog by lies.
Dude, you have been answering to an 8 year old comment. It is not unreasonable to asume, that the link was valid a few years ago, dont you think?
Anyway current homepage is on berlios http://net-tools.berlios.de/ (and yes i would have updated that project but i cant w/o help from Phil. I plan to do that on next release which is somewhat ... flooooaaating :)
Bernd
Re: Net-Tools Security Advisory from RedHat
It's not there. Shame on you for advertising your blog by lies.
Re: Compilation of net-tools
I inserted a semi-colon at line 108 of your file to get past a compile error.
Now I'm stuck at: (while compiling nettools 1.60)
cc -D_GNU_SOURCE -O2 -Wall -g -I. -idirafter ./include/ -Ilib -I/home/dpace/net-tools-1.60 -idirafter /home/dpace/net-tools-1.60/include -c -o x25_sr.o x25_sr.c
x25_sr.c: In function 'X25_setroute':
x25_sr.c:80: error: 'x25_address' undeclared (first use in this function)
x25_sr.c:80: error: (Each undeclared identifier is reported only once
x25_sr.c:80: error: for each function it appears in.)
make[1]: *** [x25_sr.o] Error 1
Compilation of net-tools
I have an lfs system which was compiled myself. I do *not* claim that this is a clean environment to compile this package. I, nevertheless, had problems with /usr/include/linux/route.h. I compiled with C_INCLUDE_PATH=/usr/src/linux-2.6.x/include because i used linux-libc-headers. I noted in net-tools-1.60/lib/inet_sr.c the comment /* this is really broken */ after #include <linux/route.h>.
It failed to install, even with a number of patches i found on the internet. I was able to fix it by commenting out the #include <linux/route.h> and, after all other includes pasting struct rtentry {... as found in <linux/route.h>. This is apparently the only dependency on the linux/route.h file. This is not a great way to fix this problem, but it does work when all else fails.