Re: ftp shaping and excluding ls packets

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux