Differences between revisions 5 and 6
Revision 5 as of 2006-12-05 15:23:21
Size: 1292
Editor: mohacsi
Comment:
Revision 6 as of 2006-12-05 15:26:28
Size: 1356
Editor: mohacsi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 32: Line 32:
It means that your system supports IPv4-mapped IPv6 addresses. Simply get rid of the {{{imap-IPv4}}} instance above (or add the {{{disable = yes}}} option to the instance) and reload xinetd. It means that your system bind also to IPv4-mapped IPv6 addresses (i.e. IPv4 addresses) in case of binding IPv6 addresses. Simply get rid of the {{{imap-IPv4}}} instance above (or add the {{{disable = yes}}} option to the instance) and reload xinetd.
Line 34: Line 34:
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 In Linux 2.6.* the IPv4-mapped IPv6 addresses bind the default. You '''can''' disable (but you shouldn't) IPv4-mapped IPv6 addresses binding by the command

TableOfContents

xinetd configuration guide

The IPv6 support in xinetd started at release 2.1.8.8.pre*.

How can I 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 bind also to IPv4-mapped IPv6 addresses (i.e. IPv4 addresses) in case of binding IPv6 addresses. Simply get rid of the imap-IPv4 instance above (or add the disable = yes option to the instance) and reload xinetd.

In Linux 2.6.* the IPv4-mapped IPv6 addresses bind the default. You can disable (but you shouldn't) IPv4-mapped IPv6 addresses binding by the command

# echo 1 > /proc/sys/net/ipv6/bindv6ony

Campus6: xinetdguide (last edited 2008-04-10 15:29:31 by localhost)