Community discussions

MikroTik App
 
BuccaNET
newbie
Topic Author
Posts: 40
Joined: Fri Mar 28, 2008 4:30 pm

Connections

Mon Apr 14, 2008 3:20 pm

How do I list connections from a specific IP address? How do I count connections from each IP?

In the manual, to limit connections to 5 per client it says do:
/ip firewall filter add chain=forward protocol=tcp tcp-flags=syn connection-limit=6,32
action=drop

I assume the 6 means drop the sixth connection, what does the 32 represent?

I want to limit connections because we have a couple of users using a lot of connections, but I don't want to mess up the normal user.

Thanks,

Cory
RB1000 ROS 3.7
 
bdr
Trainer
Trainer
Posts: 31
Joined: Mon May 28, 2007 11:49 pm
Location: Bytom, Poland
Contact:

Re: Connections

Mon Apr 14, 2008 4:41 pm

How do I list connections from a specific IP address?
Use Torch tool.
/ip firewall filter add chain=forward protocol=tcp tcp-flags=syn connection-limit=6,32
action=drop
It allows max 6 connections per one IP (second parameter is a mask - 32 means one host, 24 - 254 hosts)

regards
 
BuccaNET
newbie
Topic Author
Posts: 40
Joined: Fri Mar 28, 2008 4:30 pm

Re: Connections

Mon Apr 14, 2008 5:48 pm

Thank you. Is there a place for more documentation on torch. I am watching my ip in winbox with torch and there are hundreds of items. I've seen as many as 100 just for one ssh connection. There are about 30 for the winbox connection. So 6 max connections seems a little small unless I am misunderstanding something.

Thanks,

Cory