xinetd configuration guide
The IPv6 support in xinetd started at release 2.1.8.8.pre*.
How to configure a service to run over IPv6?
You can enable IPv6 support by adding a new service instance with the flags=IPv6 option, e.g:
service imap
{
id = imap-IPv4
flags = IPv4
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/imapd
}
service imap
{
id = imap-IPv6
flags = IPv6
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/imapd
}
Help! I did as you wrote above and get 'bind failed (Address already in use' messages from xinetd
It means that your system supports IPv4-mapped IPv6 addresses. Simply get rid of the imap-IPv4 instance from above (or add the disable = yes flag to the instance) and reload xinetd.
In Linux 2.6.* IPv4-mapped IPv6 addresses are supported by default. You can disable (but you shouldn't) IPv4-mapped IPv6 addresses by the command
# echo 1 > /proc/sys/net/ipv6/bindv6ony
Campus IPv6 Wiki
Supported by GVOP AKF