From: Patrick McHardy <kaber@stinky.trash.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Newbie ask
Date: Sat, 28 Dec 2002 11:38:55 +0000 [thread overview]
Message-ID: <marc-lartc-104107560422657@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104105968716621@msgid-missing>
Hi.
On Sat, 28 Dec 2002, Robert Penz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Saturday 28 December 2002 12:24, Stef Coene wrote:
> > Oops. Indeed. 20 & 21 is ftp.
> port 21 is the control channel port, but port 20 doesn't need to be the data
> port. e.g. passive ftp or if the server chooses an other port than 20 to send
> the data from.
>
> its only sure that its port 20 if you control the ftp and deny passiv ftp.
anyway for qos it is probably mostly important to detect and mark ftp data
connections. this can easily be done with CONNMARK which gives the same
mark to RELATED connection as the expectants mark. Another possibility
might be the helper match, but i've never tried it.
Bye,
Patrick
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2002-12-28 11:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-28 7:13 [LARTC] Newbie ask liang jian
2002-12-28 10:31 ` Stef Coene
2002-12-28 11:24 ` Stef Coene
2002-12-28 11:27 ` Robert Penz
2002-12-28 11:38 ` Patrick McHardy [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=marc-lartc-104107560422657@msgid-missing \
--to=kaber@stinky.trash.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox