how to define a port range?
hi,
i´am new in tcc (tcng). i try to define my qos for VoIP-Services. For this i wantto define a class for a port range 10000 till 15000.
how is the right way?
this down works:
class (<$voip>) if tcp_sport => 10000 || tcp_sport <= 10000 ;
are there any examples of real installations - maybe including VoIP, HTTP and P2P services?
regards
thorsten gehrig
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Quoted 8 lines · Thorsten Gehrig
hi,
i´am new in tcc (tcng). i try to define my qos for VoIP-Services. For this i wantto define a class for a port range 10000 till 15000.how is the right way?
this down works:
class (<$voip>) iftcp_sport=> 10000 ||tcp_sport<= 10000 ;
Quoted 6 lines
are there any examples of real installations - maybe including VoIP, HTTP and P2P services?
regards
thorsten gehrig
Hi,
You may want to use the mask.
Go to the LART QoS Cookbook, and you'll see tc filter lines with:
"21 0xfffff"
If you want to match both 21 and 22, use: "22 0xffffe"
Regards,
Sylvain
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc