A more extensive and tested rsync guard