From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damion de Soto Date: Sun, 07 Sep 2003 23:22:08 +0000 Subject: Re: [LARTC] prioritizing traffic using PRIO qdisc Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Matus Petrulak wrote: > tc qdisc add dev eth1 root handle 1: prio > iptables -t mangle -A OUTPUT -i eth1 -p tcp --sport ssh -j MARK --set-mark 1 > tc filter add dev eth1 parent 1: protocol ip prio 1 handle 1 fw classid 1:1 > > but the ssh connection was not interactive. My bandwidth is 256kbit. > Please can someone help me? Don't forget this is only going to affect outgoing traffic. (assuming eth0 is your LAN and eth1 is your internet). Incoming traffic can still flood your high-priority ssh traffic coming back in unless you have other measures in place, like: shaping on eth0 as well ingress policer using prio qdisc on a imq device. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Damion de Soto - Software Engineer email: damion@snapgear.com SnapGear --- ph: +61 7 3435 2809 | Custom Embedded Solutions fax: +61 7 3891 3630 | and Security Appliances web: http://www.snapgear.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/