New apache mod_evasive-1.10 ebuild - was know as mod_dosevasive Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 69126 [details] mod_evasive-1.10.ebuild
(In reply to comment #1) > Created an attachment (id=69126) [edit] > mod_evasive-1.10.ebuild > This is a .shar file. PS: mod_dosevasive wasn't in portage, I just said "was know as mod_dosevasive", for those who know it...
Please attach the ebuild as plain text an reopen.
(In reply to comment #3) > Please attach the ebuild as plain text an reopen. What's the prob??? It's a shar to have all files inside, including the *.conf
Created attachment 69128 [details] 69_mod_evasive_apache1.conf
Created attachment 69129 [details] 69_mod_evasive_apache2.conf
Created attachment 69130 [details] mod_evasive-1.10.ebuild
> What's the prob??? No one wants to download and unpack something just to look at what you attach. Just use always plain text. - please remove RESTRICT="nomirror" + comment - please remove the stray #need_apache - I'm not familiar with the apache stuff, but "if use apache2; [...] fi" should probably be in pkg_setup(), not in global scope. - einfo "Check the docs at /usr/share/doc/${P}" should be einfo "Check the docs at ${ROOT}usr/share/doc/${P}"
ew..
Those if ... else statements should be removed, the eclass will do the job. Just leave what's inside them.
(In reply to comment #8) > No one wants to download and unpack something just to look at what you attach. > Just use always plain text. They will if they want to use it! Besides, the purpose, is to download from portage not here. > - I'm not familiar with the apache stuff Aparently.... > ... but "if use apache2; [...] fi" should probably be in pkg_setup(), not in global scope. Aparently they shouldn't even exist. Corrected. > einfo "Check the docs at ${ROOT}usr/share/doc/${P}" Corrected this one.
Created attachment 69135 [details] mod_evasive-1.10.ebuild
Created attachment 69137 [details] mod_evasive-1.10.ebuild Repoman: Not in a CVS repository; enabling pretend mode. Setting paths: PORTDIR = "/usr/portage" PORTDIR_OVERLAY = "/usr/local/portage" RepoMan does a once-over of the neighborhood... changelog.missing 1 www-apache/mod_evasive/ChangeLog ebuild.allmasked 1 www-apache/mod_evasive metadata.missing 1 www-apache/mod_evasive/metadata.xml RepoMan sez: "You're only giving me a partial QA payment? I'll take it this time, but I'm not happy." But I guess this is not up to me right?
Dam! I forgot the nomirror RESTRICT.... Oh well, you can remove it!
Created attachment 69146 [details] mod_evasive-1.10.ebuild (FINAL) Everything fixed!
Created attachment 77252 [details] www-apache/mod_evasive-1.10.1 New mod_evasive version with a more accurate 69_mod_evasive_apache2.conf configuration file
Created attachment 77255 [details] 69_mod_evasive_apache2.conf Addes support for the email notification, log location, IPs range white lists
HOMEPAGE="http://www.nuclearelephant.com/projects/mod_evasive/" 404 there. Should it be: http://www.zdziarski.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz
When I run the test.pl script I get segfaults (I'm using default evasive conf): [Tue Feb 13 08:22:42 2007] [notice] child pid 30610 exit signal Segmentation fault (11) [Tue Feb 13 08:22:42 2007] [notice] child pid 14405 exit signal Segmentation fault (11) [Tue Feb 13 08:22:42 2007] [notice] child pid 2214 exit signal Segmentation fault (11) [Tue Feb 13 08:22:42 2007] [notice] child pid 1380 exit signal Segmentation fault (11) [Tue Feb 13 08:22:42 2007] [notice] child pid 1628 exit signal Segmentation fault (11) [Tue Feb 13 08:22:42 2007] [notice] child pid 11779 exit signal Segmentation fault (11) [Tue Feb 13 08:22:42 2007] [notice] child pid 18550 exit signal Segmentation fault (11) [Tue Feb 13 08:22:42 2007] [notice] child pid 22872 exit signal Segmentation fault (11) [Tue Feb 13 08:22:42 2007] [notice] child pid 9616 exit signal Segmentation fault (11) [Tue Feb 13 08:22:42 2007] [notice] child pid 28889 exit signal Segmentation fault (11) This is my current apache setup: net-www/apache-2.0.58-r2 net-www/mod_security-1.8.7 net-www/mod_bw-0.7 www-apache/mod_evasive-1.10.1 kernel: 2.6.18-hardened
Created attachment 115910 [details] mod_evasive-1.10.1.ebuild
Comment on attachment 115910 [details] mod_evasive-1.10.1.ebuild Updated ebuild for the stable version 1.10.1. Homepage and download links have changed
1.10.1 in cvs