mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 17:28:35 +02:00
Fix priority mingling in tc filters
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8356 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
0fff85751a
commit
eadad9a363
@ -12,6 +12,8 @@ Changes in 4.1.7
|
|||||||
|
|
||||||
6) Add MANGLE_ENABLED option.
|
6) Add MANGLE_ENABLED option.
|
||||||
|
|
||||||
|
7) Fix priority mingling in tc filters.
|
||||||
|
|
||||||
Changes in 4.1.6
|
Changes in 4.1.6
|
||||||
|
|
||||||
1) Deprecate IMPLICIT_CONTINUE=Yes
|
1) Deprecate IMPLICIT_CONTINUE=Yes
|
||||||
|
@ -79,6 +79,16 @@ Problems corrected in Shorewall-perl 4.1.7.
|
|||||||
2) Trailing columns containing '-' would outwit Shorewall-perl's
|
2) Trailing columns containing '-' would outwit Shorewall-perl's
|
||||||
detection of 'too few columns' errors.
|
detection of 'too few columns' errors.
|
||||||
|
|
||||||
|
3) 'shorewall start' could fail with an error similar to the following:
|
||||||
|
|
||||||
|
RTNETLINK answers: Invalid argument
|
||||||
|
We have an error talking to the kernel
|
||||||
|
ERROR: Command "tc filter add dev bond0.207 parent 1:0 protocol ip
|
||||||
|
pref 10 u32 match ip protocol 6 0xff match u8 0x05 0x0f at 0 match u16
|
||||||
|
0x0000 0xffc0 at 2 match u8 0x10 0xff at 33 flowid 1:11" Failed
|
||||||
|
/sbin/shorewall: line 723: 755 Terminated
|
||||||
|
$SHOREWALL_SHELL ${VARDIR}/.restart $debugging restart
|
||||||
|
|
||||||
New Features in 4.1.7.
|
New Features in 4.1.7.
|
||||||
|
|
||||||
1) If an interface fails when using balanced multi-ISP routing, the
|
1) If an interface fails when using balanced multi-ISP routing, the
|
||||||
|
@ -787,11 +787,11 @@ sub setup_traffic_shaping() {
|
|||||||
#
|
#
|
||||||
# add filters
|
# add filters
|
||||||
#
|
#
|
||||||
emit "run_tc filter add dev $device protocol ip parent $devicenumber:0 pref 10 handle $mark fw classid $classid" unless $devref->{classify};
|
emit "run_tc filter add dev $device protocol ip parent $devicenumber:0 prio 1 handle $mark fw classid $classid" unless $devref->{classify};
|
||||||
#
|
#
|
||||||
#options
|
#options
|
||||||
#
|
#
|
||||||
emit "run_tc filter add dev $device parent $devref->{number}:0 protocol ip pref 10 u32 match ip protocol 6 0xff match u8 0x05 0x0f at 0 match u16 0x0000 0xffc0 at 2 match u8 0x10 0xff at 33 flowid $classid" if $tcref->{tcp_ack};
|
emit "run_tc filter add dev $device parent $devref->{number}:0 protocol ip prio 10 u32 match ip protocol 6 0xff match u8 0x05 0x0f at 0 match u16 0x0000 0xffc0 at 2 match u8 0x10 0xff at 33 flowid $classid" if $tcref->{tcp_ack};
|
||||||
|
|
||||||
for my $tospair ( @{$tcref->{tos}} ) {
|
for my $tospair ( @{$tcref->{tos}} ) {
|
||||||
my ( $tos, $mask ) = split q(/), $tospair;
|
my ( $tos, $mask ) = split q(/), $tospair;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user