On Tue, Jan 01, 2002 at 08:54:06PM -0600, Chad and Doria Skinner wrote:
> I am trying to log a few packets using the following rule:
> 
>   $IPTABLES -A DENY_PORTS -p tcp --dport $PORT -m limit --limit 5/minute \
>             -j LOG --log-level $LOG_LEVEL --log-prefix "DENIED PORT:  "
> 
> When this loads it gives me an error stating that "DENIED PORT:   " is an
> invalid attribute. Does anyone know how I can fix this error in my syntax?
> 
I've had problems getting iptables to accept log prefixes that had spaces
in them. Using underscores instead of spaces fixed the problem for me.

HTH

Jeff
-- 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to