On 9/9/12 4:35 PM, Mr Dash Four wrote:
>> The two priorities are unrelated. The new PRIORITY column governs
>> the order in which filters are evaluated.

> Could you elaborate on this a bit please? I always thought that the
> "PRIORITY" column in tcclasses defines the priority with which a
> certain packet is served. From man shorewall-tcclasses:
> 
> PRIORITY - priority: The priority in which classes will be serviced
> by the packet shaping scheduler and also the priority in which
> bandwidth in excess of the rate will be given to each class. Higher
> priority classes will experience less delay since they are serviced
> first. Priority values are serviced in ascending order (e.g. 0 is
> higher priority than 1). Classes may be set to the same priority, in
> which case they will be serviced as equals.
> 
> What is the difference between the priority you introduce with your
> patch and the PRIORITY column in tcclasses? How is the priority of
> classes described in tcrules determined then, if it is not the one
> defined in the PRIORITY column in tclcasses?

The priority of filter rules determines the order in which they are
evaluated. This priority is involved in classifying packets. If no rule
of priority 1 classifies the packet then the rule(s) at priority 2 (if
any) are evaluated. If the packet is still not classified then the rules
at priority 3 (if any) are evaluated.

Once the packet is classified and assigned to a class, then the class's
priority determines the service given to the packet.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to