Author Topic: Installing mod_evasive  (Read 5013 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Installing mod_evasive
« on: February 19, 2021, 03:00:52 PM »
Hi,

Can anyone help me on installing mod_evasive ? yum install mod_evasive is causing problems.

Regards.

Offline
*****
Re: Installing mod_evasive
« Reply #1 on: February 20, 2021, 02:42:43 AM »
Hi,

Can anyone help me on installing mod_evasive ? yum install mod_evasive is causing problems.

Regards.
hello
you need to use nginx rate limiting instead of this old apache module.

Offline
*
Re: Installing mod_evasive
« Reply #2 on: February 20, 2021, 04:11:50 AM »
Hi,

That was my first choice but here is what i get;

nginx[19691]: nginx: [emerg] bind() to x.x.x.67:80 failed (98: Address already in use)
nginx[19691]: nginx: [emerg] bind() to x.x.x.80:80 failed (98: Address already in use)
nginx[19691]: nginx: [emerg] bind() to x.x.x.75:80 failed (98: Address already in use)
....

and so on

I've tried stoping all services and start them again.

If i start apache first nginx cant start and throws that error, if i start nginx first and then apache this time apache throws

apachectl[19394]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 Feb 20 07:05:19
apachectl[19394]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
« Last Edit: February 20, 2021, 04:20:03 AM by mrnovo »

Offline
*
Re: Installing mod_evasive
« Reply #3 on: February 22, 2021, 04:31:38 AM »
So I've found out that because of my previous edits on httpd.conf, I think webserver rebuild on CWP was unable to edit httpd.conf Listen directive to 8181 thats was i was getting error.


Offline
*****
Re: Installing mod_evasive
« Reply #4 on: February 22, 2021, 10:22:47 AM »
I would try to rebild WEB Servers without nginx and then Apache+nginx. It will change configuration.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services