jvdmr / mod_evasive

Apache mod_evasive module
GNU General Public License v2.0
15 stars 8 forks source link

segfault with apache 2.4.37 #4

Open ROBERT-MCDOWELL opened 5 years ago

ROBERT-MCDOWELL commented 5 years ago

set with mod_mpm_event

I get Nov 18 23:29:54 node177 kernel: httpd[12742]: segfault at 10 ip 00007f6b20b94504 sp 00007f6b09310920 error 4 in mod_evasive.so[7f6b20b92000+4000] Nov 18 23:29:54 node177 kernel: Code: 75 12 48 83 c4 28 5b 5d 41 5c 41 5d c3 b8 ff ff ff ff eb de e8 ad ee ff ff 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 53 48 89 fb <48> 8b 7f 10 e8 23 ef ff ff 48 8b 7b 38 e8 42 ee ff ff 48 8b 7b 40

strangely I patched long time ago the original mod_evasive20.c for 2.4 so I installed it back and works. but my hack is not really as clean as yours, (attached) there is mod_evasive24.c to compile but in httpd.conf there's still LoadModule evasive20_module modules/mod_evasive24.so

ROBERT-MCDOWELL commented 5 years ago

don't know why but upload files and edit button does not work anymore for me so I cannot join the gzip file

jvdmr commented 3 months ago

If this is still relevant, can you provide me with more details?

I notice that your error mentions mod_evasive.so while your config seems to load mod_evasive24.so, is it possible that both get loaded at the same time which might cause issues?