LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-08-2005, 04:51 AM   #1
fritz001
Member
 
Registered: Aug 2004
Posts: 176

Rep: Reputation: 18
howto limit max concurent connections ??


well i try to find if there is any possibilities to limit the max conections a user can establish...

ex: ip 192.154.1.111 not to be allowed to establish more then 50 conections,... on TCP/UDP protocol...
 
Old 08-08-2005, 10:11 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Connections of what type? SSH? HTTP? FTP? All of the above combined?
 
Old 08-09-2005, 03:44 AM   #3
fritz001
Member
 
Registered: Aug 2004
Posts: 176

Original Poster
Rep: Reputation: 18
let[s say a user(host 192.168.154.224) is using dc++ or emule....

i want to limit the max connections to 50 for that host...

...or he is using a download accelerator and setup the program to establish 60 connections
but to be limited to only 50 conn....
 
Old 08-09-2005, 12:10 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Most P2P file sharing programs have their own settings for limiting concurrent connections.
 
Old 08-11-2005, 11:26 AM   #5
lunarnexus
LQ Newbie
 
Registered: Aug 2005
Location: Indianapolis
Posts: 2

Rep: Reputation: 0
I'd like to know also. I'm working on a firewall project and that would be a usefull feature.
 
Old 08-11-2005, 11:36 AM   #6
lunarnexus
LQ Newbie
 
Registered: Aug 2005
Location: Indianapolis
Posts: 2

Rep: Reputation: 0
Well it seems I always find my own answers.

/proc/sys/net/ipv4/ip_conntrack_max
 
Old 08-11-2005, 11:38 AM   #7
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
ip_conntrack_max is the maximum number of connections that can be tracked by ip_conntrack (obviously). This limits the TOTAL number of connections an IP Forwarding box can handle. It is not per-client, and only applies to firewalls.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
APACHE: limit max connections from the same IP ? tclwp Linux - Networking 3 06-24-2005 11:47 AM
Threads - Max Limit socratesinus Linux - Software 5 04-20-2005 03:43 PM
max connections yuhuashi Programming 1 09-25-2004 10:38 AM
Max connections from a IP cli_man Linux - Networking 2 04-08-2004 02:57 PM
IE max connections mrozkan General 16 03-20-2004 09:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration