[Shorewall-newbies] specific log-prefix

Tom Eastep teastep at shorewall.net
Tue Feb 10 13:30:05 PST 2004


On Tuesday 10 February 2004 01:16 pm, xavier wrote:
> Hello,
>
> I'd like to log with a specific log-prefix,
> for each of my rules....
>
> say  :
> ACCEPT<10/sec:20>:debug fw      lan:$ntp_servers      udp 123
>
> would give :
>
> ACCEPT<10/sec:20>:debug fw      lan:$ntp_servers      udp 123 - - - - ntp
>
> or something like that...
>
> i want to add a logprefix : "ntp".
> (or anything else, like irc, ssh, ntp, or names like xavier...
> i want it arbitrary)
>
> is there an easy hack to do ?
>

Not particularly since it would have to interact with the LOGFORMAT option in 
shorewall.conf.

-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ teastep at shorewall.net




More information about the Shorewall-newbies mailing list