Community discussions

MikroTik App
 
User avatar
Campano
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 63
Joined: Mon Apr 17, 2006 2:35 am
Location: Ñuñoa - Chile
Contact:

limit conextions per IP

Sun Nov 05, 2006 2:55 pm

Hello, i need limit te simultaneous conecions per IP, per example:

user : 10.8.1.112 in port 22 max conection 2 simultaneous

this is need.... what do this?


sorry my indian and very poor english :P
 
User avatar
HarvSki
Member
Member
Posts: 395
Joined: Fri May 28, 2004 3:37 pm
Location: London, UK

Tue Nov 07, 2006 3:44 pm

This might help http://forum.mikrotik.com/viewtopic.php?t=2424

Anyone limiting connections to / from there users? I've implemented 101 connections per IP on my wireless network but these seems not enough for one or two users!
 
User avatar
samsoft08
Long time Member
Long time Member
Posts: 613
Joined: Sat Nov 26, 2005 10:52 pm

Sat Nov 11, 2006 9:31 pm

101 connections are not enogh ???? wht r they doing ???
 
wildbill442
Forum Guru
Forum Guru
Posts: 1055
Joined: Wed Dec 08, 2004 7:29 am
Location: Sacramento, CA

Sun Nov 12, 2006 12:10 am

P2P most likely.
 
User avatar
HarvSki
Member
Member
Posts: 395
Joined: Fri May 28, 2004 3:37 pm
Location: London, UK

Sun Nov 12, 2006 1:04 am

I upped the limit to 200 and still not enough!
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Mon Nov 13, 2006 8:47 am

Some agressive p2p clients can generate more than 200 connections per user. TCP connection limit is actual, when p2p is not allowd in your network, because enabled p2p does not allow to plan average connections per users. E.g. one client using bittorent client can generate more than 1000 simultaneous connections, etc.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Mon Nov 13, 2006 11:45 am

what do you mean by `not enough`, what does the client tell you, that he has a few hundred browswer windows open? it's obviously some serious P2P network running there. tell him to shut it off an 100 connections will be enough :) actually 20 is fine for most users, even if they use p2p
 
User avatar
HarvSki
Member
Member
Posts: 395
Joined: Fri May 28, 2004 3:37 pm
Location: London, UK

Mon Nov 13, 2006 1:58 pm

They use Skype - which I'm told by the user drops out... I've other users using SIP VOIP and further from the wired gateway having no problems at all. I think that they also use p2p as well.

Looking at my OS X version of Skype there seems no way of limiting the number of connections.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Mon Nov 13, 2006 1:59 pm

I don't believe skype makes more than 200 connections. we can check this
 
User avatar
HarvSki
Member
Member
Posts: 395
Joined: Fri May 28, 2004 3:37 pm
Location: London, UK

Mon Nov 13, 2006 2:02 pm

Thanks Normis, what is the easiest way to count the number of connections from a certain IP? I can use Torch in winbox but must count the connections myself from the screen...
 
User avatar
GlueGuy
Frequent Visitor
Frequent Visitor
Posts: 62
Joined: Tue May 16, 2006 10:57 pm
Location: San Francisco Bay Area California (CA)
Contact:

Mon Nov 13, 2006 10:41 pm

We limit all our customers to a total of 40 connections; 20 inbound and 20 outbound.

The only time we see a problem with this is when they are over-running connections using some p2p application like bittorrent, or if they have a virus-infected PC.

Even the most aggressive "normal" user rarely goes above 20 or 25 total simultaneous connections.

bp
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Tue Nov 14, 2006 9:10 am

If we're talking about skype - apparently it makes only one UDP connection

Who is online

Users browsing this forum: BartoszP, drymarau, itimo01, patrikg, pts0, tdw and 59 guests