Community discussions

MikroTik App
 
flyfly
just joined
Topic Author
Posts: 14
Joined: Tue Apr 13, 2010 2:01 pm

Packet monitor

Thu Nov 11, 2010 12:53 pm

How can I make script that will for example disable interface once it reaches above specific number of Bytes ?
for example to make mangle that will count bytes and script that will monitor it and disable outgoing interface when some limit is reached.

thank you in advance
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Packet monitor

Thu Nov 11, 2010 4:00 pm

in firewall you can check for certain pattern, certain data or data received/sent by some parameters. then you only have to checkk if that firewall rule have caught the packet and do something if it has.

same way you can check on how much data have passed through interface and act on that.

Who is online

Users browsing this forum: No registered users and 19 guests