Re: Re: Reg : Limiting http connections at Apache 2.4.25

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Luca,
I am trying to use the mod_qos mod_qos-11.39. Is this applicable for Apache 2.4.25 reverse proxy in Red Hat Enterprise Linux 7.2. I followed the below command. however, mod_qos.so file is not getting created though I don't see any error with below commands. I am using non-root privileged account.

I tried compiling it using "apxs -i -c mod_qos.c -lcrypto -lpcre" , but could not succeed.
any help ?

tar xfz httpd-2.2.27.tar.gz
tar xfz mod_qos-11.39-src.tar.gz
ln -s httpd-2.2.27 httpd
cd httpd
mkdir modules/qos
cp ../mod_qos-11.39/apache2/* modules/qos
./buildconf
./configure --with-mpm=worker --enable-so --enable-qos=shared --enable-ssl --enable-unique-id
make


Regards,
Velmurugan Dhakshnamoorthy (Vel)
Singapore.

On Tue, Apr 18, 2017 at 2:51 PM, Luca Toscano <toscano.luca@xxxxxxxxx> wrote:
Not sure what is the status of mod_qos (third party module), but you might want to give it a try and see if it fits your needs! 


Luca

2017-04-17 3:08 GMT+02:00 Velmurugan Dhakshnamoorthy <dvel.hex@xxxxxxxxx>:
Dear All,  
Any specific setup to cut and disallow the the further HTTP connections after specified limit (ex: 50 sessions?).

My requirement is to allow only 50 users and 51st user should get a custom error message to login after sometime. 

Regards, 
Vel

On Mar 16, 2017 21:30, "Velmurugan Dhakshnamoorthy" <dvel.hex@xxxxxxxxx> wrote:
Thanks for response, 

Yes my requirement is to completely restrict/disalllow any further connections, example I want to allow only 50 sessions,  51st connection should get an error message to login later  after certain period of time. 


Regards, 
Vel 

On Mar 16, 2017 18:58, "Nick Kew" <niq@xxxxxxxxxx> wrote:
On Thu, 2017-03-16 at 02:05 +0100, Daniel wrote:
> See about mpm settings/directives such as MaxRequestWorkers, which
> will limit the number of concurrent requests your server can take.

Indeed, but I don't think that's what the OP is looking for in an
apache proxy.  Rather the proxy reply with a "too busy" error page
than not take the connection at all, right?

The proxy balancer would be a place to look: that offers various
ways to determine how much traffic to send to a backend.  If that
doesn't meet your needs, there are several third-party traffic-
limiting modules.

--
Nick Kew



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux