From: "Jan Gerritsen" <artur@gmx.net>
To: lartc@vger.kernel.org
Subject: AW: [LARTC] Tc - Class HTB - Filter u32 - Match ip dport
Date: Wed, 08 Oct 2003 14:05:43 +0000 [thread overview]
Message-ID: <marc-lartc-106562225900608@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106562110431418@msgid-missing>
Hi,
> ftp> get test
> local: test remote: test
> 227 Entering Passive Mode (203,200,72,102,12,231)
^^^^^^^^^^^^
> 150 Opening BINARY mode data connection for test (1025830 bytes).
> ##############################################################
> ########...................################
> 226 Transfer complete.
> 1025830 bytes received in 262 secs (3.8 Kbytes/sec)
> ftp>
This log shows that you are using Passive FTP
> tc filter add dev eth0 parent 10: protocol ip prio 100 u32 match ip sport
> 20 0xffff flowid 10:10
now you put up a rule for sport 20.
Passiv FTP does not use sport 20, it uses any port > 1024,
only "active" FTP uses port 20 as sport for data transfare,..
Jan Gerritsen
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿË\x01\x14™¨¥Šx%ŠË\x7f,\x04S\vùšŠYšŸ÷lõ¯ç–^[m§ÿÿ™¨¥™©ÿvÏZşy\x7f™¨¥™©ÿ–+-ŠwèşV«µÁÎY3ÿ†Ûiÿÿåj»\şŠà
prev parent reply other threads:[~2003-10-08 14:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-08 13:59 [LARTC] Tc - Class HTB - Filter u32 - Match ip dport Somesh Banerji
2003-10-08 14:05 ` Jan Gerritsen [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-106562225900608@msgid-missing \
--to=artur@gmx.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