From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Wed, 04 Sep 2002 18:03:00 +0000 Subject: Re: [LARTC] Limit FTP traffic Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Wednesday 04 September 2002 13:46, Luciano Lima wrote: > Hi all, > > I'm trying to shape ftp traffic. I saw in netstat that when a ftp get is > started, a session is established using high ports (above 1024) > randomic. So I can't guess what port will be used. > What could be the tc filter parameters for this ? > > I think marking packet is a way, but I'm using ipchains in the router, > wich does not have established parameter. The establish parameter will help you neither. But there is a patch for iptables (sorry) so you can mark ftp-data packets. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/