I understand this error is due to size limit of a zone name which by default
is set to 5, correct?  But I don't understand from the doc's how to change
the limit to a higher number. My largest zone name is 12 characters...


In 'man shorewall-zones' I read:

ZONE - zone[:parent-zone[,parent-zone]...]
Name of the zone. The names "all", "none", "SOURCE" and "DEST" are reserved
and may not be used as zone names. The maximum length of a zone name is
determined by the setting of the LOGFORMAT option in shorewall.conf(5). With
the default LOGFORMAT, zone names can be at most 5 characters long.


And in 'man shorewall.conf' I read:

LOGFORMAT=["formattemplate"]
The value of this variable generate the --log-prefix setting for Shorewall
logging rules. It contains a "printf" formatting template which accepts
three arguments (the chain name, logging rule number (optional) and the
disposition). To use LOGFORMAT with fireparse, set it as:

    LOGFORMAT="fp=%s:%d a=%s "If the LOGFORMAT value contains the substring
"%d" then the logging rule number is calculated and formatted in that
position; if that substring is not included then the rule number is not
included. If not supplied or supplied as empty (LOGFORMAT="") then
"Shorewall:%s:%s:" is assumed.


But after reading this I still have no clue on how o change the current
setting (LOGFORMAT="Shorewall:%s:%s:") to allow a 12 character zone name...

Sander


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to