Community discussions

MikroTik App
 
tico77
just joined
Topic Author
Posts: 4
Joined: Fri Feb 02, 2018 8:48 am

Limiting p2p

Sat Jun 30, 2018 3:02 pm

hello to everyone
I would like you to help me understand a few things.
to control the P2P traffic I made the following configuration:
-i have created a layer7 regexp for p2P: IP------->FIREWALL------->LAYER7-------->regexp:^(\x13bittorrent protocol|azver\x01$|get /scrape\?info_hash=get /announce\?info_hash=|get /client/bitcomet/|GET /data\?fid=)|d1:ad2:id20:|\x08'7P\)[RP]
-I have marked P2P traffic in mangle: IP------->FIREWALL------->MANGLE----->plus
chain:forward
connection state:new
layer7protocol :p2pregexp
action:mark connection
newconnection mark:p2pconnection
passtrhough:checked
"apply" and "ok"
-I have maked another matching: IP------->FIREWALL------->MANGLE----->plus
chain:forward
connection mark:p2pconnection
action:mark packet
newpacket mark:p2p-packet
passtrhough:unchecked
"apply" and "ok"
-Afetr a matching i have created a queue
queues----->simple queues ------>plus
name:p2p queue
target:0.0.0.0/0
maxlimit: 64k/64k
packets mark:p2p-packet
limit at:64k/64k
queue type:default small/defaultsmall
parent:none
"apply" and "ok"
THIS QUEUE IS ABOVE TO ALL ANOTHER QUEUES.
at the beginning I controlled the p2p flows then after a while it did not work anymore and when i reset all counter it work then it not work .
Someone can help me please......
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 2989
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: Limiting p2p

Sat Jun 30, 2018 8:16 pm

please do not create multiple topics for the same
 
tico77
just joined
Topic Author
Posts: 4
Joined: Fri Feb 02, 2018 8:48 am

Re: Limiting p2p

Sun Jul 01, 2018 10:38 am

Im sorry .....
Please someone can help me

Who is online

Users browsing this forum: No registered users and 9 guests