On Wednesday 16 March 2011 23:40:13 Tom Eastep wrote:
> On 3/16/11 3:31 PM, Steven Jan Springl wrote:
> > Tom
> >
> > A few minor issues with shorewall.conf parameter TC_PRIOMAP.
> >
> > If a value has a decimal point:
> >
> > TC_PRIOMAP="2.1 3 3 3 2 3 1 1 2 2 2 2 2 2 2 2"
> >
> > The following error messages are produced:
> >
> > Illegal "priomap" element
> > ERROR: Command "tc qdisc add dev eth0 root handle 1: prio bands 3 priomap
> > 1.1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1" Failed
> >
> > -------------------------------------------------------------------------
> >------------------------------------------------------
> >
> > If a value is negative:
> >
> > TC_PRIOMAP="-1 3 3 3 2 3 1 1 2 2 2 2 2 2 2 2"
> >
> > The following error messages are produced:
> >
> > "priomap" element is out of bands
> > ERROR: Command "tc qdisc add dev eth0 root handle 1: prio bands 3 priomap
> > -2 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1" Failed
> >
> > -------------------------------------------------------------------------
> >------------------------------------------------------
> >
> > If the closing " is missing:
> >
> > TC_PRIOMAP="2 3 3 3 2 3 1 1 2 2 2 2 2 2 2 2
> >
> > The following error messages are produced:
> >
> > "priomap" element is out of bands
> > ERROR: Command "tc qdisc add dev eth0 root handle 1: prio bands 3 priomap
> > -1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1" Failed
>
> Steven,
>
> I couldn't reproduce the last problem -- I kept getting /etc/shorewall
>
>       /shorewall.conf: 63: Syntax error: Unterminated quoted string
>
> But the attached patch corrects the other two.
>
> Thanks!
> -Tom

Tom

I can confirm the patch fixes the first two issues. 
It also fixes the third issue. I now get the following Shorewall message which 
I am happy with:

ERROR: Invalid TC_PRIOMAP entry ("2)

Thanks.

Steven.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to