RE: [logs] log analysis of netfilter entries?

From: Brendan Murray (brendanat_private)
Date: Fri Dec 07 2001 - 17:43:22 PST

  • Next message: terry white: "RE: [logs] log analysis of netfilter entries?"

    "Steve Wray" <steve.wrayat_private>   wrote:
    
    
    > > Another possible is something as simple as scripting some grep
    > > passes. Using Netfilter's --log-prefix switch allows you to ID log entries
    > 
    > This sounded fantastic until I tried it.
    > You know what? Its in the man page, but when I try to use
    > it I get;
    > iptables v1.2.2: Unknown arg `--log-prefix`
    > 
    > Its in the &$@! man page!!! Its there in black and white!
    > But it ain't in the program!
    
    Ummm, I use it all the time
    
    /path/iptables -A INPUT -p TCP -j LOG --log-prefix "DEBUG " 
    
    for example
    
    Never had any trouble with it. You didn't leave out the "-j LOG" did you? 
    the --log-prefix is associated with the LOG target and if that isn't there 
    you would get the behaviour you describe.
    
    Brendan.
    
    
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: loganalysis-unsubscribeat_private
    For additional commands, e-mail: loganalysis-helpat_private
    



    This archive was generated by hypermail 2b30 : Mon Dec 10 2001 - 11:54:25 PST