From: Kajetan Staszkiewicz <kajtek@biezanow.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] How can I do traffic shapping for passive ftp ?
Date: Tue, 09 Jan 2007 08:14:29 +0000 [thread overview]
Message-ID: <200701090914.29687.kajtek@biezanow.net> (raw)
In-Reply-To: <45A2A8A5.4010000@wanadoo.fr>
Dnia poniedzia³ek, 8 stycznia 2007 21:25, Sébastien CRAMATTE napisa³(a):
> Hello
>
> I've setuped a bridge with iptables + layer + ipp2p + tc
> I don't know how to shape passive ftp ?
>
> If I put rules on port 20, 21 or using layer 7 iptables accounting
> still empty ...
> When I done a tcpdump I can see that othe port than 20 or 21 are used ...
Use ip_nat_ftp and ip_conntrack_ftp modules. Then mark ftp traffic with helper
match.
example:
iptables -t mangle -A FORWARD -m helper --helper ftp -j MARK --set-mark 0x03
--
| pozdrawiam / greetings | powered by Trustix, Gentoo and FreeBSD |
| Kajetan Staszkiewicz | jabber,email,www: vegeta()tuxpowered net |
| Vegeta | IMQ devnames: http://tuxpowered.net |
`------------------------^------------------------------------------'
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2007-01-09 8:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-08 20:25 [LARTC] How can I do traffic shapping for passive ftp ? Sébastien CRAMATTE
2007-01-09 7:32 ` Nikolay Kichukov
2007-01-09 8:14 ` Kajetan Staszkiewicz [this message]
2007-01-09 9:41 ` Sébastien CRAMATTE
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200701090914.29687.kajtek@biezanow.net \
--to=kajtek@biezanow.net \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.