Enabling IPv6 for rsync daemon

The new rsync logoI’m running an rsync daemon on rsync.opensuse-education.org to allow mirror servers to download packages and ISO images via this nice protocol. As openSUSE-Education will be participating on the IPv6 day, I thought it might be a good idea to let rsync also run on the according IPv6 address of the server.

But (as always) simply adding the IPv6 address to the configuration is not enough to be successful. So here is my current configuration that is stored in /etc/xinetd.d/rsync (yes: I’m running the rsync server via the xinetd):

# description: rsync file transfer daemon
service rsync
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        server          = /usr/sbin/rsyncd
        server_args     = --daemon
        disable         = no
        instances       = 70
        per_source      = 5
        bind            = 178.63.20.18
}

service rsync
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        flags           = IPv6
        user            = root
        server          = /usr/sbin/rsyncd
        server_args     = --daemon
        disable         = no
        instances       = 70
        per_source      = 5
        bind            = 2a01:4f8:110:5461::18
}

The most important part is another ‘service’ entry binding to the IPv6 address and using the flags = IPv6 attribute. Everything else stays the same.

Advertisements

About Lars Vogdt

This is the private blog space of Lars Vogdt, the topics will be in first place work related.
This entry was posted in network. Bookmark the permalink.

3 Responses to Enabling IPv6 for rsync daemon

  1. ramachandra reddy says:

    many thanks for the information.. i wanted to bind link local address for my rsync. but unable to do it so

  2. ramachandra reddy says:

    i am able to do it

  3. ramachandra reddy says:

    How to bind link local ? below one not working
    bind = fe80::ff:fd01:fe01
    I added this link local in /etc/hosts as well

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s