Re: [LARTC] U32 Port Range
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 oops it's rather sport 0 0xfc00 than sport 0 0xfbff if it worked the way I think it would. - -- 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) iD8DBQFBY9qtZx4hBtWQhl4RAtvCAJ41eu0Obnx0GjA6g1/krgQ+6ovXCACfZLVL S0c0r0rvd6zZJSuzjy0S2Kw= =XmFZ -END PGP SIGNATURE- ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
[LARTC] U32 Port Range
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/
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/