Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: mod_limitipconn.dll - Limit Connections By IP (Win32) |
|
Author |
|
ntropic
Joined: 17 Sep 2006 Posts: 2
|
Posted: Tue 10 Mar '09 3:55 Post subject: mod_limitipconn.dll - Limit Connections By IP (Win32) |
|
|
Mod_LimitIPConn is an Apache Module that allows for the limiting of connections to your server/directory/location by IP. While the site http://dominia.org/djao/limitipconn2.html has links or downloads for Windows 32 and 64 (See Sawo's post http://www.apachelounge.com/viewtopic.php?p=12682#12682 for Win64 version), the Precompiled Win32.dll does not want to load under Apache's httpd-2.2.11 environment. Fortunately, Apachez included the C++ .project files and I was able to successfully build a Windows 32 version of the .dll that will load in httpd-2.2.11 environment. It seems to work effectively at limiting connections to the number of connections which can configured in httpd.conf or vhost.conf files. I have tested it on XP and 2 different 2003 servers running 2.2.11 and it seems to work, however I have not fully tested it yet.
For much more information about this module, please visit
http://dominia.org/djao/limitipconn.html, and
http://dominia.org/djao/limitipconn2.html
To download the precompiled mod_limitipconn.dll which I did with Visual C++ 2005 Express and httpd 2.2.11 you can click the following:
http://ntropic.org/files/mod_limitipconn.httpd-2.2.11-WIN32.zip
Be sure to read the Readme.txt file for information, disclaimers and credit to others.
USE AT YOUR OWN RISK. EXPERIMENTAL ONLY!
If the precompiled mod does not work for your Apache installation on Windows, please do not request that I do another version. I'm not a programmer. Like Sawo, I got lucky after a lot of trial and error in getting it to build successfully and work under Win2k3.
Thanks and Credits to:
Apachez (Precompiled Win32 DLL and VC2005 Project files)
Ben (Compilation Environment)
David Jao (Original Creator)
sawo (see http://www.apachelounge.com/viewtopic.php?p=12682#12682) for inspiration.
Cheers!
[edit] David Jao has also posted a copy of my .dll build on his site. Thanks David! |
|
Back to top |
|
|
|
|
|
|