All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sébastien CRAMATTE" <s.cramatte@wanadoo.fr>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] How can  I do traffic shapping for passive ftp ?
Date: Tue, 09 Jan 2007 09:41:32 +0000	[thread overview]
Message-ID: <45A3634C.2040705@wanadoo.fr> (raw)
In-Reply-To: <45A2A8A5.4010000@wanadoo.fr>

Kajetan Staszkiewicz a écrit :
> 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
>
>
>   
I haven't specifiy that I don't use NAT.  I use this QoS manager for a
very small ISP and I can't control ftp server
Upgrading Layer7 protocols seems thas is ok ...

Regards
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      parent reply	other threads:[~2007-01-09  9:41 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
2007-01-09  9:41 ` Sébastien CRAMATTE [this message]

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=45A3634C.2040705@wanadoo.fr \
    --to=s.cramatte@wanadoo.fr \
    --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.