FS#23024 - [rsync] bind rsyncd to specific address

Attached to Project: Arch Linux
Opened by Daniele C. (legolas558) - Thursday, 24 February 2011, 00:05 GMT
Last edited by Angel Velasquez (angvp) - Wednesday, 18 May 2011, 05:10 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Angel Velasquez (angvp)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

rsync init script should support address binding (for enhanced security) by parsing /etc/conf.d/rsyncd and properly passing the --address parameter to rsync daemon command line

See attached configuration & modified init script
   rsyncd (0.8 KiB)
This task depends upon

Closed by  Angel Velasquez (angvp)
Wednesday, 18 May 2011, 05:10 GMT
Reason for closing:  Implemented
Comment by Daniele C. (legolas558) - Thursday, 24 February 2011, 00:07 GMT
Sample configuration file (/etc/conf.d/rsyncd):

ADDRESS="192.168.1.137"
Comment by Dan McGee (toofishes) - Friday, 25 February 2011, 00:27 GMT
Why wouldn't you just keep this KISS by allowing any options in /etc/conf.d/rsyncd as the ARGS variable?
Comment by Daniele C. (legolas558) - Saturday, 26 February 2011, 08:28 GMT
Whatever solutions is OK for me. I changed the variable name to RSYNCD_ARGS, so now a sample configuration file would look like this:

RSYNCD_ARGS="--address 192.168.1.137"
   rsyncd (0.8 KiB)

Loading...