From: jamal <hadi@cyberus.ca>
To: Reinaldo de Carvalho <reinaldoc@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
netdev@vger.kernel.org, bugzilla-daemon@bugzilla.kernel.org,
bugme-daemon@bugzilla.kernel.org
Subject: Re: [Bugme-new] [Bug 15379] New: u32 classifier port range calculation error
Date: Thu, 25 Feb 2010 16:47:05 -0500 [thread overview]
Message-ID: <1267134425.24915.16.camel@bigi> (raw)
In-Reply-To: <4a5881461002251111r654b6f90l42a4d596125cb796@mail.gmail.com>
On Thu, 2010-02-25 at 16:11 -0300, Reinaldo de Carvalho wrote:
> Testing with mask 0xFFE0... (1 port match)
>
> # Stats...
> # tc -s filter show dev eth0
> filter parent 1: protocol ip pref 1 u32
> filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1
> filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht
> 800 bkt 0 flowid 1:1200 (rule hit 13 success 0)
> match 00001ae0/0000ffe0 at 20 (success 0 )
>
> # Sending packets...
> # nmap example.ufpa.br -p 1-65535
>
> # Stats...
> # tc -s filter show dev eth0
> filter parent 1: protocol ip pref 1 u32
> filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1
> filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht
> 800 bkt 0 flowid 1:1200 (rule hit 65459 success 1)
> match 00001ae0/0000ffe0 at 20 (success 1 )
Ok, you forced me to setup a system and install nmap.
-------
bigismall:~# tc -s filter show dev eth0
filter parent 1: protocol ip pref 1 u32
filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht
800 bkt 0 flowid 1:1200 (rule hit 15 success 0)
match 00001ae0/0000ffe0 at 20 (success 0 )
bigismall:~# nmap bigi -p 1-65535
Starting Nmap 5.00 ( http://nmap.org ) at 2010-02-25 16:40 UTC
Interesting ports on bigi (10.0.0.26):
Not shown: 65532 closed ports
PORT STATE SERVICE
22/tcp open ssh
MAC Address: 00:16:2E:12:4D:2E (Unknown)
Nmap done: 1 IP address (1 host up) scanned in 65.55 seconds
bigismall:~# tc -s filter show dev eth0
filter parent 1: protocol ip pref 1 u32
filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht
800 bkt 0 flowid 1:1200 (rule hit 65614 success 32)
match 00001ae0/0000ffe0 at 20 (success 32 )
bigismall:~#
--------------
cheers,
jamal
prev parent reply other threads:[~2010-02-25 21:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-15379-10286@http.bugzilla.kernel.org/>
2010-02-24 22:52 ` [Bugme-new] [Bug 15379] New: u32 classifier port range calculation error Andrew Morton
2010-02-25 3:24 ` jamal
2010-02-25 11:25 ` Reinaldo de Carvalho
2010-02-25 13:24 ` jamal
2010-02-25 19:11 ` Reinaldo de Carvalho
2010-02-25 21:47 ` jamal [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=1267134425.24915.16.camel@bigi \
--to=hadi@cyberus.ca \
--cc=akpm@linux-foundation.org \
--cc=bugme-daemon@bugzilla.kernel.org \
--cc=bugzilla-daemon@bugzilla.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=reinaldoc@gmail.com \
/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.