lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090630095628.GB8592@ff.dom.local>
Date:	Tue, 30 Jun 2009 09:56:28 +0000
From:	Jarek Poplawski <jarkao2@...il.com>
To:	Badalian Vyacheslav <slavon@...telecom.ru>
Cc:	"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: tc filter flow hash question

On Tue, Jun 30, 2009 at 01:49:11PM +0400, Badalian Vyacheslav wrote:
...
> This example not approach? 
> 
> tc qdisc add dev eth0 root handle 1 htb default 7
> tc class add dev eth0 parent 1: classid 1:7 htb rate 500mbit ceil 1000mbit prio 3
> tc qdisc add dev eth0 parent 1:7 handle 10: sfq perturb 10
> 
> # all traffic go to class 1-7.
> 
> # Try group traffic by "src,dst" key
> 
> tc filter add dev eth0 protocol ip parent 10: handle 2 flow hash keys src,dst
> 
> # all traffic dropped

Try:
tc filter add dev eth0 protocol ip parent 10: handle 2 flow hash keys src,dst divisor 1024

Jarek P.
> >   
> >>> Here are some hints (if we don't mention google ;-)
> >>> http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.29.y.git;a=commitdiff;h=e5dfb815181fcb186d6080ac3a091eadff2d98fe
> >>>
> >>> Regards,
> >>> Jarek P
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ