hi,
Today I am attached by a slow-loris attack. And I find this article:
http://help.directadmin.com/item.php?id=302
But I can not install it. The error message:
Please help. thanks
Today I am attached by a slow-loris attack. And I find this article:
http://help.directadmin.com/item.php?id=302
But I can not install it. The error message:
Code:
/var/www/build/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -I/usr/include/apache -I/usr/include/apache -I/usr/include/apache -c -o mod_antiloris.lo mod_antiloris.c && touch mod_antiloris.slo
mod_antiloris.c: In function ‘pre_connection’:
mod_antiloris.c:126: error: ‘conn_rec’ has no member named ‘remote_ip’
mod_antiloris.c:133: warning: passing argument 1 of ‘ap_get_scoreboard_worker’ makes pointer from integer without a cast
/usr/include/apache/scoreboard.h:185: note: expected ‘struct ap_sb_handle_t *’ but argument is of type ‘int’
mod_antiloris.c:133: error: too many arguments to function ‘ap_get_scoreboard_worker’
mod_antiloris.c:146: error: ‘conn_rec’ has no member named ‘remote_ip’
apxs:Error: Command failed with rc=65536
Please help. thanks