| 1 | # default: off |
| 2 | # description: The rsync server is a good addition to an ftp server, as it \ |
| 3 | # allows crc checksumming etc. |
| 4 | service rsync |
| 5 | { |
| 6 | disable = yes |
| 7 | flags = IPv6 |
| 8 | socket_type = stream |
| 9 | wait = no |
| 10 | user = root |
| 11 | server = /usr/bin/rsync |
| 12 | server_args = --daemon |
| 13 | log_on_failure += USERID |
| 14 | only_from = localhost localhost6 |
| 15 | only_from += evilhost |
| 16 | only_from += evilhost2 |
| 17 | only_from -= notexiting notexiting2 |
| 18 | only_from -= evilhost evilhost2 |
| 19 | only_from += localhost123 |
| 20 | only_from -= notexiting123 localhost6 |
| 21 | only_from -= localhost |
| 22 | only_from -= localhost6 |
| 23 | only_from += only_this_is_allowed |
| 24 | only_from -= localhost123 |
| 25 | } |