Clay Davis wrote:
Can someone give me an idea what is causing this and of its causing a
problem with my SA config?
I am using wget to ftp download several of the SARE rules on a weekly
basis. When I look at the rule on the SARE site, its formatting looks
normal (spaces, tabs, indents, etc.); however, after an ftp download to
my PC and opening it in Notepad, its all run together and all the
formatting is gone. Is this a result of ASCII vs binary? Am I fouling
SA up?
It's most likely a case of Windows vs Unix end-of-line format. That
_would_ be fixed if you ftp'ed in text/ascii mode instead of binary mode
... but you can also fix it if you have a simple unix2dos program on
your PC.
I don't know if SA under windows chokes on the file format differences,
though. You might want to look into a text file editor that can deal
with both formats. Probably vim can do it (which you'd probably need to
use with cygwin).