Community discussions

MUM Europe 2020
 
User avatar
Equis
Forum Veteran
Forum Veteran
Topic Author
Posts: 888
Joined: Mon Jun 06, 2005 6:48 am

Rate Limit p2p and udp

Sun May 21, 2006 8:59 am

Hello

When I rate limit my udp even to 10000 per sec, my dns server & msn stopps working

Also, when rate limit p2p whatever I chose P2p will no longer connect

Does anyone have a sampel what they use to limit p2p and udp?

I don't want to limit speed, I do that with queue and priority

I'm just intrested in limiting the number of connections

Thanks
 
cibernet
Long time Member
Long time Member
Posts: 610
Joined: Fri Jan 28, 2005 7:22 pm
Location: Marcos Juárez, Córdoba, Argentina
Contact:

Re: Rate Limit p2p and udp

Mon May 22, 2006 2:28 am

Hello

When I rate limit my udp even to 10000 per sec, my dns server & msn stopps working

Also, when rate limit p2p whatever I chose P2p will no longer connect

Does anyone have a sampel what they use to limit p2p and udp?

I don't want to limit speed, I do that with queue and priority

I'm just intrested in limiting the number of connections

Thanks
You cannot limit UDP connections...
José Ignacio Acosta
MikroTik Consultant IDAR0001
Mikronet

Movile: +54 9 3472-624722
Email/Msn: info[at]mikronet.com.ar
 
User avatar
Equis
Forum Veteran
Forum Veteran
Topic Author
Posts: 888
Joined: Mon Jun 06, 2005 6:48 am

Mon May 22, 2006 2:29 am

Ok, That explains it :)
 
User avatar
fatonk
Member
Member
Posts: 439
Joined: Tue Feb 22, 2005 11:06 am
Location: Mitrovica/Kosova

Mon May 22, 2006 10:19 am

I have rate limitetd successfully p2p with this configuration:

p firewall mangle add chain=forward p2p=all-p2p action=mark-connection new-connection-mark=p2p_conn

ip firewall mangle add chain=forward connection-mark=p2p_conn action=mark-packet new-packet-mark=p2p

ip firewall mangle add chain=forward connection-mark=!p2p_conn action=mark-packet new-packet-mark=other

queue type add name=p2p-Down kind=pcq pcq-rate=56000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=2000

queue type add name=p2p-Up kind=pcq pcq-rate=56000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=2000

queue tree add name=p2p-up parent=5.8Ghz packet-mark=p2p limit-at=0 queue=p2p-Up priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s

queue tree add name=p2p-Down parent=ether1 packet-mark=p2p limit-at=0 queue=p2p-Down priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s


Regards

Faton

Who is online

Users browsing this forum: socada, Zacharias and 68 guests