From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Unterkircher Date: Sat, 05 Nov 2005 14:00:42 +0000 Subject: Re: [LARTC] ftp shaping and excluding ls packets Message-Id: <436CBB0A.1010005@netshadow.at> 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 Another idea would be - if the directory which will be listed isn't too large - that you use netfilters connbytes match. If less data are requested via ftp-data the will get a higher priority then bulk ftp-data. You can match with iptables and put them in the desired queues. Cheers, Andreas nix4me wrote: > Toby wrote: > >> nix4me wrote: >> >> >>> I have examined the packets leaving and i can't seem to pin point >>> which are the listings. I ran ethereal and then continually >>> requested lists, the only packets i see leaving are coming from port >>> 60000 which is the control port. >>> >> >> >> As far as I know listings don't go through the control port, they go >> through one of the data ports, as if you were downloading a file. >> >> That's why you cannot differentiate them from regular downloads, unless >> the server software uses a different data port or different TOS flags or >> something. >> >> >> Toby >> >> >> > Yes, I see them now. They are indeed leaving on a shaped port range. > And the packets are larger than the ACK size that I am putting at the > head of the que. > > They seem to be 1450 in length. > > Mark > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc