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]

 



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@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