[ILUG] SSH dictionary attacks.
Pádraig Brady
P at draigBrady.com
Thu Aug 24 15:29:34 IST 2006
Ciaran Johnston wrote:
> Aine Douglas said:
>
>>Thanks Rick, my problem was I was debugging and watching for log
>>outputs of an app with tail -f, and my output was getting lost in the
>>dictionary attack logs.
>
>
> tail -f pipes very nicely to grep
>
> tail -f <file> | grep -v <stuff I don't want to see>
> tail -f <file> | grep <only the stuff I want to see>
You probably want to use grep --line-buffered in this case; see:
http://www.pixelbeat.org/programming/stdio_buffering/
Pádraig.
More information about the ILUG
mailing list