From: Toby Date: Sat, 05 Nov 2005 11:21:46 +0000 Subject: Re: [LARTC] ftp shaping and excluding ls packets Message-Id: <20051105112146.GD26102@ikkoku.ath.cx> List-Id: References: <436C0373.7080804@cfl.rr.com> In-Reply-To: <436C0373.7080804@cfl.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org nix4me wrote: > When a user goes to list a dir, the listing is also getting shaped. > This causes dir listings to be very slow. > Is there a way to differentiate the dir listing packets? Only if your ftp server software can send dir lists on different ports and/or with different IP TOS flags. If it doesn't and you're using open source software it shouldn't be difficult to hack it yourself to set for example IPTOS_LOWDELAY when sending dir lists, then use iptables --tos to put it into a different class. See how OpenSSH sets IP TOS flags in packet.c: packet_set_tos() Toby -- UNIX is a lever for the intellect. -John R. Mashey _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc