Phil Blundell
philb@gnu.org
-11th November 1998
+11th December 1998
-Notes for IPv6.
+Notes for IPv6
+--------------
If you are using libc5, you may need to edit the Makefile so that
libinet6 is linked in and your IPv6 include files are found in the
-right place. The definitions in question are at about line 91.
+right place. The definitions in question are at about line 91. You may
+also find that the header files provided with inet6-apps are not exactly
+what net-tools expects. This is not a bug in net-tools as such and will
+not be fixed in future releases (though if anybody would like to contribute
+a patch I would be happy to add a pointer to it here.) If you have the
+option you might consider changing to glibc instead (see below) in which
+case you can use the header files supplied with the C library.
-If you use glibc, you should get the latest 2.1 snapshot. In this
-case you do not need to edit the Makefile or apply any patches.
-Version 2.0 of glibc has no support for IPv6.
+If you use glibc, you should get the latest 2.1 release (or pre-release)
+that you can find; look in sourceware.cygnus.com:/pub/glibc. 2.1 prereleases
+have version numbers 2.0.x where x is greater than 90. With such a libc
+installed there should be no need to edit the Makefile or patch net-tools.
-You may find that you are missing files such as <netinet/ip6.h>. This is
-not a bug in net-tools; you should find some newer include files.
+Version 2.0 of glibc has no support for IPv6. Patches did exist at one
+point but they are now seriously updated. Consider upgrading to glibc 2.1
+instead.
+
+BUGS
+----
+
+"ifconfig eth0 add ..." does not currently auto-load the IPv6 module.
be answered.
.br
.B NOTE:
-This has to be different from the interface to witch the IP
-Packages will be routed.
+This has to be different from the interface to which the IP
+datagrams will be routed.
.TP
.B "\-s hostname hw_addr, \-\-set hostname"
Manually create an ARP address mapping entry for host
.RB [ \-\-tcp | \-t ]
.RB [ \-\-udp | \-u ]
.RB [ \-\-raw | \-w ]
-.RB [ \-\-unix | \-u ]
+.RB [ \-\-unix | \-x ]
.RB [ \-\-inet | \-\-ip ]
.RB [ \-\-ax25 ]
.RB [ \-\-ipx ]
.RB [ \-\-tcp | \-t ]
.RB [ \-\-udp | \-u ]
.RB [ \-\-raw | \-w ]
-.RB [ \-\-unix | \-u ]
+.RB [ \-\-unix | \-x ]
.RB [ \-\-inet | \-\-ip ]
.RB [ \-\-ax25 ]
.RB [ \-\-ipx ]
* NET-3 Networking Distribution for the LINUX operating
* system.
*
- * Version: $Id: netstat.c,v 1.14 1998/12/06 16:17:46 philip Exp $
+ * Version: $Id: netstat.c,v 1.15 1998/12/11 10:48:52 philip Exp $
*
* Authors: Fred Baumgarten, <dc6iq@insu1.etec.uni-karlsruhe.de>
* Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
fprintf(stderr, _(" -r, --route display routing table\n")); /* xxx */
fprintf(stderr, _(" -L, --netlink display netlink kernel messages\n"));
fprintf(stderr, _(" -i, --interfaces display interface table\n"));
+#if HAVE_FW_MASQUERADE
fprintf(stderr, _(" -M, --masquerade display masqueraded connections\n\n"));
+#endif
fprintf(stderr, _(" -v, --verbose be verbose\n"));
fprintf(stderr, _(" -n, --numeric dont resolve names\n"));
fprintf(stderr, _(" -e, --extend display other/more informations\n"));
{"help", 0, 0, 'h'},
{"route", 0, 0, 'r'},
{"netlink", 2, 0, 'L'},
+#if HAVE_FW_MASQUERADE
{"masquerade", 0, 0, 'M'},
+#endif
{"protocol", 1, 0, 'A'},
{"tcp", 0, 0, 't'},
{"udp", 0, 0, 'u'},