[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/
[LARTC] How to config a linux router for to make QoS support
Dear lartc's members I am a new linux user and I was configured a linux router with cbq.init I have installed a VoIP gateway with one voice port (fxs) for a commun telephone and one ethernet port for the LAN navigation and a ethernet port for wan interfaz, i.e., the gateway do NAT. The gateway has a públic IP at the wan interface and a private IP at the Lan interface. I do'nt know how to do that a IP packet that come from voice port has major priority (QoS) that a IP packet from the lan port. Both packets come from the same IP (public IP of the gateway) but I want to prior the one that come from voice port and to asign it the 80% of bandwidth Please, I do'nt speak english very well If any person speak spanish, is better Thank you Antonio Lara Ecuador _ Do You Yahoo!? La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
[LARTC] QOS on each interface
Title: QOS on each interface I have a firewall with 3 interfaces DMZ, INTERNET, LAN. Does anyone have an example script to do QOS on multiple intefaces using htb? Gareth Segree mailto:[EMAIL PROTECTED] Technical Support Analyst The Gleaner Company Ltd. 7 North Street Kingston Tel: 922-3400
RE: [LARTC] QOS on each interface
Htb-init has what you are looking for. Warm regards Mohan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Segree, Gareth Sent: Wednesday, October 06, 2004 3:40 AM To: '[EMAIL PROTECTED]' Subject: [LARTC] QOS on each interface I have a firewall with 3 interfaces DMZ, INTERNET, LAN. Does anyone have an example script to do QOS on multiple intefaces using htb? Gareth Segree mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Technical Support Analyst The Gleaner Company Ltd. 7 North Street Kingston Tel: 922-3400 ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/