From: Ivan Lopez <ivan@askai.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Re: Shaping only FTP traffic
Date: Tue, 25 Sep 2001 11:56:51 +0000 [thread overview]
Message-ID: <marc-lartc-100141899804856@msgid-missing> (raw)
In-Reply-To: <marc-lartc-100140813700807@msgid-missing>
On Sep/25/2001, Shanker Balan wrote:
> Is it possible to use the Iptable's "established,related" functions to
> mark FTP data traffic and then use the "fw" classifier on it?
yes, using ip_conntrack_ftp, it will be something like this (take a look at http://www.cs.princeton.edu/~jns/security/iptables/iptables_conntrack.html)
iptables -A OUTPUT -t mangle -o $IF_LAN -p tcp --sport 1024: --dport 1024: -m state --state ESTABLISHED,RELATED -j MARK --set-mark 1
passive ftp-data traffic will be marked with this rule, but this is very generic and may catch other traffic totally unrelated to an ftp communication... (ie. a dcc send using ip_conntrack_irc)
ivan
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
next prev parent reply other threads:[~2001-09-25 11:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-25 8:55 [LARTC] Re: Shaping only FTP traffic Shanker Balan
2001-09-25 10:08 ` Ivan Lopez
2001-09-25 10:49 ` Shanker Balan
2001-09-25 11:29 ` Daniel Bergqvist
2001-09-25 11:56 ` Ivan Lopez [this message]
2001-09-25 12:43 ` Shanker Balan
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=marc-lartc-100141899804856@msgid-missing \
--to=ivan@askai.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.