Dear. folks I want to shaping FTP traffic. I can get following information from Stef Coene's Homepage, www.docom.org. "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. but i can't connect to http://home.regit.org/connmark.html Is there anybody who know how to shaping FTP traffic? ,S f¢–)à–+-ü°L)šŠYšÛ=jya¶Úþf¢–f§vÏZž_æj)fjåŠËbú?•ªíps–Lèm¶Ÿÿ•ªírŠà
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/
On Wednesday 23 April 2003 04:14, openings wrote:> Dear. folks > > I want to shaping FTP traffic. > > I can get following information from Stef Coene''s Homepage, www.docom.org. > > "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. > > but i can''t connect to http://home.regit.org/connmark.htmlI also couldn''t reach the page. But I had my browser still open so this is a copy of that page : http://home.docum.org/stef.coene/qos/docs/connmark.html 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/