> > > never seen a file created with a newline in the filename > > (except, perhaps as a test). The newline in filename issue > > And in security exploits :-) Given a newline-based format, one *must* > quote or deny newlines in filenames, not assume they're rare. (No > obvious reason not to use URL-style %-quoting, or mime-style > =-quoting, if you want to preserve ease of filtering...) > ---------- This brings up an issue that I believe can be solved in a simpler way than with brute force C code. I suspect some of you will cringe when you hear this, but a taintperl log parsing program would be best for this. rsync could generate a verbose log file that is not human readable, designed to be read by a perl postprocessing script. I think this would allow greater flexibility, and modularize the functionality to avoid some possible security problems. This way log parsing would not be done at the authentication level of rsync(root) but at some lower level with read access to the log file. Does this sound like a reasonable solution?
Robert Weber University of Colorado -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html