From mboxrd@z Thu Jan 1 00:00:00 1970 From: "openings" Date: Sun, 20 Apr 2003 07:27:03 +0000 Subject: [LARTC] My filter setting is right? Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org dear, folks. I want to following policy. =3D=3D=3D=3D=3D=3D=3D=3D=3D policy which i want (eth0)=3D=3D=3D=3D=3D=3D=3D eth0 HTB(1:0) | 1:1 / \ / \ / \ =20 1:10 1:11 host 1(dst) host 2(dst) / | \ / | \ / | \ / | \ / | \ / | \ / | \ / | = \ =20 1:21 1:22 1:23 1:31 1:32 1:33 port80 port22 etc. port80 port22 etc. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D i use following filter setting (pseudo setting).=20 is this right? # for traffic to host1 filter add dev eth0 , prio 0 , match ip dst [host1 IP],match ip dport 80, f= lowid 1:21 filter add dev eth0 , prio 1 , match ip dst [host1 IP],match ip dport 22, f= lowid 1:22 filter add dev eth0 , prio 2 , match ip dst [host1 IP],flowid 1:23 #for traffic to host2 filter add dev eth0 , prio 0 , match ip dst [host2 IP],match ip dport 80, f= lowid 1:31 filter add dev eth0 , prio 1 , match ip dst [host2 IP],match ip dport 22, f= lowid 1:32 filter add dev eth0 , prio 2 , match ip dst [host2 IP],flowid 1:33 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D all etc traffic which destined to host1 must classify to class 1:23. my filter's priority setting is right?=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF= =FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=CB=01= =14=C2=99=A8=A5=8Ax%=8A=CB=7F,=04S=0B=F9=9A=8AY=9A=9F=F7l=F5=AF=E7=96=1Bm= =A7=FF=FF=99=A8=A5=99=A9=FFv=CFZ=FEy=7F=99=A8=A5=99=A9=FF=96+-=8Aw=E8=FEV= =AB=B5=C1=CEY3=FF=86=DBi=FF=FF=E5j=BB\=FE=8A=E0