UDP packets can only be dropped and you can not limit the connection
numbers as UDP is connectionless…
Is anyone aware, how to minumize the effects of mulitple UDP packets on an AP and/or network without dropping the entire protocol that is using it?. ie Bit-Torrent (P2P). beyond speed/burst etc..
Does changing the connection UDP timeout from 30 seconds to 5-10 seconds help? or will it hinder other protocols?
I’m trying to figure out an IP specific solution, or one across the entire
IP class, but keep running into a dead end.
What you need a re p2p bandwidth rules. Attached are the ones you need.
Easiest way to use it is copy the below list, paste into text document then save as p2p.rsc or whatever name you like. Must use text app like notepad, not work. Upload via ftp to your mikrotik. type import and the name of the file and that should be it. Dont past in terminal window of mikrotik or it will crash.
Good luck, hope it helped.
\
add queue types for p2p limiting
change below IP to that of the interface that the client is attached to.
Change the 8192 (bytes) to whatever you want the max limit to be.
I use bandwidth rules for p2p,full pipe and individual uploads.
As I understand that only addresses the TCP part of P2P ,(even though it is layer 7 filtering)
not UDP as that can only be dropped,so what i was looking for is a way to “count” UDP packets that are P2P and drop after a certain amount–yet not interfere with normal UDP traffic ,ie DNS.