Equis
1
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…
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