Skip to contentSkip to conversation

I want to shaping FTP traffic.

LARTC openings 3 participants 3 messages Apr 23, 2003

lore
Share & tools
lore

openings

author
#0 lore raw

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? ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿË™¨¥Šx%ŠË,S ùšŠYšŸ÷lõ¯ç–m§ÿÿ™¨¥™©ÿvÏZþy™¨¥™©ÿ–+-ŠwèþV«µÁÎY3ÿ†Ûiÿÿåj»\þŠà

#1 lore raw
Quoted 2 lines · openings

"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.

Signature · 6 lines
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/[email protected]            7BD9 09C0 3AC1 6DF2
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to openings
Quoted 4 lines · openings

Dear. folks

I want to shaping FTP traffic.

Quoted 8 lines

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

I 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

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/