Modify

Ticket #573 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

Apply rule priority to the iptables marking system

Reported by: ejhernandez@… Owned by: ejhernandez@…
Milestone: 0.9.1 Component: trafficshaping
Severity: normal Keywords: iptables priority
Cc:

Description

Currently, if two rules match the same packet, the last is applied since it overwrites any previous mark. The order of iptables rules are applied is random.

The order of iptables are inserted should depend on the user selection finally matching a packet with one of the highest priority rule.

Attachments

Change History

comment:1 Changed 6 years ago by ejhernandez@…

  • Status changed from new to assigned

comment:2 Changed 6 years ago by ejhernandez@…

  • hours changed from 0 to 2.75
  • Status changed from assigned to closed
  • Resolution set to fixed
  • totalhours changed from 0.0 to 2.75

(In [7131]) Now iptables rules are printed in priority order (first highest) and not set a mark if other mark has set before closes #573 (spent 2.75)

comment:3 Changed 6 years ago by ejhernandez@…

It should be taken into account that MAC address filter is the one with the highest priority since the mark are set at Forwarding not in postrouting as the remainder ones do.

comment:4 Changed 6 years ago by ejhernandez@…

(In [7132]) Fixing that setting the lowest priority always to the default pipe out refs #573

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.