Fedora Linux Support Community & Resources Center
Old 19th October 2009, 09:00 PM
wt6g Offline
Registered User
Join Date: Jun 2005
Posts: 179
Limiting OUTBOUND TCP Connections to single IP

I'm having a problem that seems to plague a lot of people judging from my research on the web. I have a hosting provider that limits the number of incoming connections to the shared host to 50 per IP.

I have a single IP for outbound connections and I use Squid as a proxy server.

Lately I've tripped across the 50 connection limit frequently - and that's with only 1 user. It seems the problem is related to the performance you can get out of a desktop these days. Its not impossible to have several browsers open with several connections to different sites on the same server - and boom - locked out!

So it occurred to me that there must be some way to limit the number of outbound connections in the kernel - but I've not found it. I did find that Microsoft had been limiting the number of outbound connections in XP to 10 to address the virus problem, and I've found countless hosting complaints and dialog on the subject with no easy solution.

So my question is simply, does anyone know how to limit the number of OUTBOUND connections to a single IP in the kernel?

Len Umina
El Dorado Hills, CA
Reply With Quote
Old 19th October 2009, 10:02 PM
tho.mei Offline
Registered User
Join Date: Jun 2005
Location: St. Gallen Switzerland or Christchurch, New Zealand
Age: 32
Posts: 712
Hallo wt6g

I use KDE!
Many workstions and few servers running on Fedora or Scientific Linux professionally.
Using LINUX to do some scientific 3D-stuff.
Reply With Quote
Old 19th October 2009, 11:11 PM
wt6g Offline
Registered User
Join Date: Jun 2005
Posts: 179
Hi tho.mei,

Thanks for the response. I actually want to do something exactly the opposite. I want to prevent my workstation from ORIGINATING not more than 50 tcp connections to a single IP.

I'm involved in a long discussion right now with Site5 over this, and that would be one way to stop the problem. Of course if I can do it with my workstation, then I can do it on my squid proxy server, and then I can be sure that I don't violate their rules.

Len Umina
El Dorado Hills, CA
Reply With Quote

connections, limiting, outbound, single, tcp

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No OutBound Connections but Incomming works fine. DeadlyData Servers & Networking 2 14th April 2007 10:35 PM
Configure multiple network connections on single wifi interface clivelong Servers & Networking 2 14th July 2006 03:58 PM
Limiting network connections Omega Blue Using Fedora 0 17th March 2006 05:57 AM
Limiting connections per IP on port 80 MQ-James Servers & Networking 1 1st June 2005 05:24 PM
No connections from outbound addresses zarlac Servers & Networking 3 10th March 2005 06:57 AM

Current GMT-time: 09:30 (Saturday, 19-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat