Displaying 2 results from an estimated 2 matches for "_logrules".
2004 Jul 15
3
slight simplification to firewall log_rule_limit code
...hange the existing firewall logging code for
log_rule_limit (where you have one case for for LOGRULENUMBERS and
another almost identical case without) down to this slightly shorter
version with no duplication (excerpt):
if [ -n "$LOGRULENUMBERS" ]; then
eval rulenum=\$${chain}_logrules
[ -z "$rulenum" ] && rulenum=1
fi
case $level in
ULOG) log=ulog LOGTYPE=ULOG loglevel= ;;
*) log=log LOGTYPE=LOG loglevel="--log-level $level" ;;
esac
eval iptables -A $chain $@ $limit -j $LOGTYPE $LOGPARMS \
$loglevel...
2004 Feb 10
22
Re: [Shorewall-newbies] specific log-prefix ... patch
Let''s move this to the Shorewall Development list....
On Tuesday 10 February 2004 03:14 pm, xavier wrote:
> here is a patch to allow this :
> |ACCEPT<10/sec:20>:debug fw lan:$ntp_servers udp 123 - - - - ntp
>
> a problem with the patch is that now the logprefix is mandatory.
> i''m trying to debug it, but i can''t find the flaw.
Also, with