Archive for the ‘pubblicita’ Category

Apache2 mod_spamhaus

Posted: 16th maggio 2017 by luca in pubblicita, Software

Download

Languages: C
Original Author: Luca Ercoli – http://www.lucaercoli.it/en/mod_spamhaus.html
Description: mod_spamhaus is an Apache module that use DNSBL in order to block spam relay via web forms, preventing URL injection, block http DDoS attacks from bots and generally protecting your web service denying access to a known bad IP address.

I fixed some compiling error, like this:

apxs2 -Wc, -Wc,-DDST_CLASS=3 -c src/mod_spamhaus.c
/usr/share/apr-1.0/build/libtool –silent –mode=compile –tag=disable-static x86_64-linux-gnu-gcc -std=gnu99 -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -DDST_CLASS=3 -c -o src/mod_spamhaus.lo src/mod_spamhaus.c && touch src/mod_spamhaus.slo
In file included from /usr/include/string.h:635:0,
from /usr/include/apr-1.0/apr_want.h:63,
from /usr/include/apr-1.0/apr_pools.h:47,
from /usr/include/apr-1.0/apr_tables.h:26,
from /usr/include/apr-1.0/apr_hooks.h:22,
from /usr/include/apache2/ap_hooks.h:40,
from /usr/include/apache2/ap_config.h:25,
from /usr/include/apache2/httpd.h:44,
from src/mod_spamhaus.c:28:
src/mod_spamhaus.c: In function ‘check_whitelist’:
src/mod_spamhaus.c:183:42: error: ‘conn_rec’ has no member named ‘remote_ip’
if ( strcmp(lista[count],r->connection->remote_ip) == 0 ) return 1;

Pubblicità?!?

Posted: 31st marzo 2011 by luca in me?!, pubblicita
Tags:

Qualcuno ci avrà fatto caso, altri no… ma nell’ultimo mese ho pubblicato su cuore.org (e anche memini.it di conseguenza) alcuni piccolo AD di google..

Ho cercato di inserirli in maniera poco invasiva e sopratutto più elegante possibile… ma in caso di problemi di visualizzazione (leggi: il template si incasina in maniera molesta) scrivetemi…

ah dimenticavo… se mi cliccate i link mi fate un IMMENSO favore 😛

 

Messaggio Promozionale

Posted: 10th marzo 2011 by luca in pubblicita

[ad name=”cuore_pulsante_lungo 234×60″]