Start | Previous | Next IPv6 Main | General | Overview | Basic Softw | Important App | Additional App | Network Conf | Changes+Testing | Obsolete | Firewalling

IPv6 & Linux - HowTo - Part 3

Version: 3.21 from 2001-10-24


(P) & (C) 1997-2001 by Peter Bieringer <[email protected]>, see copyright notice for more details
Original site of publishing: http://www.bieringer.de/linux/IPv6/; suggestions, comments and improvements are welcome!

Important Applications

If you miss hint for the old inet6-apps based stuff, please goto Obsoletes

Contents


Net-Tools (hostname, netstat, arp, ifconfig, rarp, route)

IPv6-maintained by Philip Blundell <[email protected]>

Why?

In older distributions several needed net-tools only supply IPv4, but for interface configuration you need IPv6 enabled tools.

ToDo

Distribution RHL 6.2 RHL 7.1 RHL 7.2
ToDo rebuild SRPMS rebuild SRPMS install from distribution

URLs:

Version and filename of the packet:

Latest version I have compiled like shown was net-tools-1.54.tar.gz longer time ago...
Latest version I use is 1.60 from Red Hat rawhide (rebuilded SRPMS), because there were some byte-order problems earlier versions (results in swapped output of parts of IPv6 addresses).

Additional informations:

Net-Tools must be built with IPv6 enabled kernel source (2.2.x., 2.4.x)

Contents:

Application Path Description
hostname /bin/hostname  
netstat /bin/netstat Network status
arp /sbin/arp ARP cache manipulation
ifconfig /sbin/ifconfig  Interface configuration
rarp /sbin/rarp RARP cache manipulation
route /sbin/route  Internet route manipulation

Unpacking, configuration and installation

  1. Move into the source directory:
  2. Unpack the new source:
  3. Rename the new directory:
  4. Now create/overwrite the softlink, necessary for shorter paths:
  5. Move into the source directory:
  6. Configure the compile options: make clean; make config

  7. Don't forget to set other options depending on your system, too!
Net-tools option Suboption Selection
GNU gettext yes, if glibc-2
Protocol Families UNIX protocol family yes
INET (TCP/IP) protocol family yes
INET6 (IPv6) protocol family yes
Device hardware types SIT (IPv6-inIPv4) support yes
  1. Now compile:
  2. And install:


IP Utilities (ping6, tracepath6, traceroute6...)

(IPv6)-maintained by Alexey N.Kuznetsov
 

Why?

Perhaps your installed IP utilites do not support IPv6.

ToDo

Distribution RHL 6.2 RHL 7.1 RHL 7.2
ToDo install from distribution install from distribution install from distribution

URLs:

Version and filename of the packet:

RedHat 6.2 contains iputils-20000121, which is already IPv6 enabled, later versions should also be IPv6 enabled.

tcp_wrappers

IPv6-patch by USAGI

Why?

Access control to TCP/UDP services

ToDo

Distribution RHL 6.2 RHL 7.1 RHL 7.2
ToDo problems rebuild SRPMS install from distribution

URLs:

Version and filename of the packet:

Latest version I've tested is a rebuild from tcp_wrappers-7.6-19.src.rpm

Contents:

Application Path Description
tcpd /usr/sbin/tcpd TCP wrapper daemon
libwrap.a /usr/lib/libwrap.a Wrapper libary

Using SRPMS: RPM build and install (RHL 6.2)

Hopefully filled soon....there is a problem with missing "sin6_scope_id" in glibc-2.1

Using SRPMS: RPM build and install (RHL 7.1)

Using source: Unpacking, configuration and installation

Perhaps filled in the future

Usage

Hints


eXtended InterNET super Daemon (xinetd)

(IPv6-)maintained by the developers

Why?

Normally, your installed internet super daemon isn't ready to handle IPv6 addresses, and not all of the daemons should run in stand-alone mode.

ToDo

Distribution RHL 6.2 RHL 7.1 RHL 7.2
ToDo rebuild SRPMS install from updates install from distribution

Additional information

Because of security issues, please use the latest release (2.3.3+) instead of the versions shown.  See RHSA-2001:092-02.
This also supports IPv6 "out of the box" with daemon xinetd-ipv6 (See Bugzilla Bug 49621,http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=49621 ).

URLs:

Version and filename of the packet:

Latest version I've tested is a rebuild from xinetd-2.3.0-3.src.rpm from http://www.netcore.fi/pekkas/linux/ipv6/, it rebuilds into 2 binary RPMs, one for IPv4 and one for IPv6 (due some not well socket binding code you cannot start the IPv4-only xinetd on an IPv6 enabled system). If you install both, the runlevel start script will choose the right one depending on IPv6 switches.

Latest tarball version I have tested is xinetd-2.1.8.8p2.tar.gz
I've published a modified spec file. You can use it for rebuilding a given SRPMS: ftp://ftp.bieringer.de/pub/linux/IPv6/xinetd/

Contents:

Application Path Description
xinetd /usr/sbin/xinetd Internet super daemon
itox /usr/sbin/itox Conversion utility for inetd.conf

Preparation

Using SRPMS: RPM build and install (RHL 6.2)

Using SRPMS: RPM build and install (RHL 7.1)

Using source: Unpacking, configuration and installation

  1. Move into the source directory:
  2. Unpack the new source:
  3. Move into the source directory:
  4. Run configure
  5. Compile:
  6. And install:

Running

IPv6 test


Telnet client and server

Important informations:

Do not use telnetd for remote logins because of clear text password transport, take SSH instead!

ToDo

Distribution RHL 6.2 RHL 7.1 RHL 7.2
ToDo rebuild SRPMS rebuild SRPMS install from distribution

Important: older versions than 0.17*-18 (Red Hat Linux) contain a remote exploitable security hole, so update as soon as possible!
See also RHSA-2001-099

URLs:

Using SRPMS: RPM build and install


Finger client

ToDo

Distribution RHL 6.2 RHL 7.1 RHL 7.2
ToDo rebuild SRPMS rebuild SRPMS install from distribution

URLs:

Using SRPMS: RPM build and install


FTP server "ftpd-BSD"

(IPv6)-maintained by the developers

URLs:

Version and filename of the packet:

Latest RPM version I have tried is 0.3.3
Important: older versions (e.g. 0.3.2) contain a remote exploitable security hole, so update as soon as possible
See advisory here http://www.openbsd.org/advisories/ftpd_replydirname.txt

Contents:

Application Path Description
ftpd-BSD /usr/sbin/ftpd-BSD FTP daemon

Unpacking, configuration and installation

Download RPM and install it (package is already RPM enabled)

Test

  1. Test, if no other FTP daemon is running
  2. Start FTP daemon in standalone and IPv6 enabled mode
  3. Look for listening on IPv4 only port:
  4. Look for listening on an IPv6 port:


FTP client netkit ftp

(IPv6)-maintained by ?

ToDo

Distribution RHL 6.2 RHL 7.1 RHL 7.2
ToDo rebuild SRPMS rebuild SRPMS install from distribution

URLs:

Using SRPMS: RPM build and install


FTP client "lukemftp"

(IPv6)-maintained by the developers

URLs:

Version and filename of the packet:

Latest tarball version I have tested is  lukemftp-1.5beta2.tar.gz

Contents:

Application Path Description
ftp /usr/local/bin/ftp FTP client

Unpacking, configuration and installation

  1. Move into the source directory, create new subdirectory and change into it
  2. Unpack the new source:
  3. Move into the source directory and read the information files README, INSTALL,...
  4. Run configure
  5. Compile:
  6. And install:

TCPdump and libpcap (tcpdump)

(IPv6)-maintained by the developers

ToDo

Distribution RHL 6.2 RHL 7.1 RHL 7.2
ToDo rebuild SRPMS rebuild SRPMS install from distribution

Additional informations:

Known bug: version 3.6 shows no longer any interface string.
Hint: to select all interfaces for packet capturing, use option "-i any"

URLs:

Version and filename of the packet:

Latest tarball version I have tested is tcpdump-3.6.2.tar.gz, libpcap-0.6.2.tar.gz and rebuilded 3.6.2-2.src.rpm

Contents:

Application Path Description Overlap
libpcap.a Packet capture libary existing installed tcpdump
tcpdump Sniffer existing installed tcpdump

Using SRPMS: RPM build and install

Using source: Unpacking, configuration and installation (libpcap)

  1. Move into the source directory, create directory and move into it:
  2. Unpack the new source:
  3. Change to created directory and read the information files README, INSTALL,...
  4. Run configure utility:
  5. Now compile:
  6. And install the libary

Using source: Unpacking, configuration and installation (tcpdump)

  1. Move into the source directory, create directory and move into it:
  2. Unpack the new source:
  3. Change to created directory and read the information files README, INSTALL,...
  4. Run configure utility:
  5. Now compile:
  6. And install, but attention, selectively installing the binaries prevents you overriding existing ones