From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank v Waveren Date: Wed, 23 Apr 2003 03:45:42 +0000 Subject: Re: [LARTC] I want to shaping 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 Wed, Apr 23, 2003 at 11:14:40AM +0900, openings wrote: > "Ftp uses random ports, so matching the data traffic is not easy. However it can done if you use iptables to mark ftp-data packets and use that mark with the fw filter. For more info see http://home.regit.org/connmark.html. " > General information about the conntrack module can be found here. The trick would be to mark all packets coming from the ftp daemon using iptables with --uid-owner, --pid-owner or --cmd-owner and '-j MARK --mark n', and then use tc filter to get the packets into the right class. -- Frank v Waveren Fingerprint: 21A7 C7F3 fvw@[var.cx|stack.nl|chello.nl] ICQ#10074100 1FF3 47FF 545C CB53 Public key: hkp://wwwkeys.pgp.net/fvw@var.cx 7BD9 09C0 3AC1 6DF2 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/