From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damion de Soto Date: Tue, 18 May 2004 00:25:26 +0000 Subject: Re: [LARTC] 2 Questions on filtering incoming stuff Message-Id: <40A957F6.5050509@snapgear.com> List-Id: References: <40A92F1A.4030706@wildgooses.com> In-Reply-To: <40A92F1A.4030706@wildgooses.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi Ed, > First is: Can I prioritise my "drops" on incoming traffic when the link > is overloaded. ie instead of just tail dropping, can I "prefer" to drop > certain classes of traffic? If so, do I do this by setting up, say, a > HTB tree like on the incoming, but the only action at the leaf is to drop? You can't set up a HTB or any classful qdiscs on incoming traffic, you can only create ingress policer filters. You can setup different filters with different priorities, to try and drop one particular type of traffic moreso than others. If you're using a linux gateway onto your lan, then you can use a HTB qdiscs on the outgoing (lan) interface which would do a better job. regards -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Damion de Soto - Software Engineer email: damion@snapgear.com SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809 | Custom Embedded Solutions fax: +61 7 3891 3630 | and Security Appliances web: http://www.snapgear.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- Free Embedded Linux Distro at http://www.snapgear.org --- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/