From 2c49679ad86e1d04e7f209be300e58df81c72a9f Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 12 Apr 2012 14:46:16 +0200 Subject: [PATCH] mark outgoint packets on all interfaces but internal --- root/etc/e-smith/templates/etc/rc.d/init.d/qos/30Functions75SetMark | 2 +- smeserver-qos.spec | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/root/etc/e-smith/templates/etc/rc.d/init.d/qos/30Functions75SetMark b/root/etc/e-smith/templates/etc/rc.d/init.d/qos/30Functions75SetMark index 1f06bda..d76e751 100644 --- a/root/etc/e-smith/templates/etc/rc.d/init.d/qos/30Functions75SetMark +++ b/root/etc/e-smith/templates/etc/rc.d/init.d/qos/30Functions75SetMark @@ -2,7 +2,7 @@ # Clasification based on the DSCP field set previously $IPT -t mangle -A POSTROUTING -o $LANDEV -j RETURN -$IPT -t mangle -A POSTROUTING -o $EXTDEV -j QOS +$IPT -t mangle -A POSTROUTING -j QOS $IPT -t mangle -A POSTROUTING -m dscp --dscp 1 -o $EXTDEV -j MARK --set-mark 0x1 $IPT -t mangle -A POSTROUTING -m dscp --dscp 2 -o $EXTDEV -j MARK --set-mark 0X2 $IPT -t mangle -A POSTROUTING -m dscp --dscp 3 -o $EXTDEV -j MARK --set-mark 0x3 diff --git a/smeserver-qos.spec b/smeserver-qos.spec index 0c99d9a..597f802 100644 --- a/smeserver-qos.spec +++ b/smeserver-qos.spec @@ -4,7 +4,7 @@ %define name smeserver-qos %define version 1.2.0 -%define release 0.beta6 +%define release 0.beta7 Summary: Install management web console for QoS Name: %{name} @@ -27,6 +27,7 @@ SME Server admin interface for QoS %changelog * Thu Apr 12 2012 Daniel B. - 1.2.0-1.sme - Remove all squid stuff +- Revert Only mark packets going out on EXTDEV patch * Fri Oct 07 2011 Daniel B. - 1.2-1.sme - Add squid delay pools