[LARTC] Re: U32 Port Range

2004-10-06 Thread gt90bh
Thanks a lot man, but it didn't work...
Any other clue?
Where is the official web site of U32?

Thanks,

LEANDRO TRAVAGLIA


- Original Message -
From: "Thilo Schulz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 05, 2004 11:24 AM
Subject: Re: [LARTC] U32 Port Range


> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Tuesday 05 October 2004 13:06, [EMAIL PROTECTED] wrote:
> > - I know that is something about the 0x parameter
>
> I guess it is some kind of bitmask and works similarly to a netmask. If
you
> only want to categorise traffic from port 1-1024, using "sport 0 0xfbff"
> *might* work, though I am not sure about that. Some core QoS developers
on
> the kernel may give you more insight than I am able to do. But you can
still
> try it, better than nothing :).
>
> - --
> Thilo Schulz
>
> My public PGP key is available at
http://home.bawue.de/~arny/public_key.asc
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.4 (GNU/Linux)
>
> iD8DBQFBYq6JZx4hBtWQhl4RAsKvAKDVX5mv6HurtkNCuTqt8RNZg1lUTQCeP5NS
> TF7X0Qhn7GkIXhnviZ2rQTw=
> =L6y/
> -END PGP SIGNATURE-
> ___
> LARTC mailing list / [EMAIL PROTECTED]
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/04




--
Use o melhor sistema de busca da Internet
Radar UOL - http://www.radaruol.com.br



___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] U32 Port Range

2004-10-05 Thread gt90bh
Hi all...
How do i set U32 to filter a port range, instead of a single port?
In normal use: source port 80 we use: "... match ip sport 80 0x ..."
- I know that is something about the 0x parameter

I need to filter ports 1 ~ 1024 to a higher priority class... i tried with
IPTABLES MARK and TC FW, but it's not working

(...)
# iptables -t mangle -A PREROUTING -p tcp -sport 10:1024 -j MARK --set-mark
2
# tc filter add dev eth1 protocol ip parent 1:0 prio 1 handle 2 fw classid
1:1
(...)







--
Use o melhor sistema de busca da Internet
Radar UOL - http://www.radaruol.com.br



___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/