From: Michael Tremer Date: Fri, 24 Sep 2021 14:57:11 +0000 (+0100) Subject: IPsec: Replace MARK 50 by 0x00800000 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5fc4fa4f9f07e10406e963176f9acbca91df3fbb;p=people%2Fms%2Fipfire-2.x.git IPsec: Replace MARK 50 by 0x00800000 This change is necessary because we are using the right-hand two bytes for storing the QoS classes. All IPsec traffic will now be skipped and never classified by the QoS. Signed-off-by: Michael Tremer --- diff --git a/config/qos/makeqosscripts.pl b/config/qos/makeqosscripts.pl index b1bb637b35..fc8b8b84f1 100644 --- a/config/qos/makeqosscripts.pl +++ b/config/qos/makeqosscripts.pl @@ -61,6 +61,9 @@ my $QOS_INC_MASK = 0x0000ff00; my $QOS_INC_SHIFT = 8; my $QOS_OUT_MASK = 0x000000ff; my $QOS_OUT_SHIFT = 0; +my $IPSEC_MASK = 0x00800000; +my $QOS_INC_SKIP_MASK = $QOS_INC_MASK | $IPSEC_MASK; +my $QOS_OUT_SKIP_MASK = $QOS_OUT_MASK | $IPSEC_MASK; &General::readhash("${General::swroot}/ethernet/settings", \%netsettings); @@ -220,10 +223,7 @@ print <