Skip to content

Instantly share code, notes, and snippets.

@v0112358
Last active August 4, 2018 02:30
Show Gist options
  • Save v0112358/38e922fc43b7cecff5d6e25fcdac6ca6 to your computer and use it in GitHub Desktop.
Save v0112358/38e922fc43b7cecff5d6e25fcdac6ca6 to your computer and use it in GitHub Desktop.
Disable reverse lookup in rsync daemon on CentOS 6
# yum install http://mirror.hmc.edu/rpmforge/redhat/el6/en/x86_64/extras/RPMS/rsync-3.1.1-1.el6.rfx.x86_64.rpm
# [root@srv ~]# cat /etc/rsyncd.conf
uid = root
gid = root
use chroot = false
max connections = 23
lock file = /var/run/rsync.lock
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
reverse lookup = no
log format = %a %i %B %f [%l]
# service xinetd restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment