Recientemente me he econtrado con una SLES (piquetes a ella), que inclye lo que un alemán hasta el culo de anfetaminas le da por poner en los repositorios, con lo que la implementación de SquidClamAV Redirector ha tenido que ser a manita.
Lo clásico:
# wget -c http://www.samse.fr/GPL/squidclamav/squidclamav-3.2.tar.gz
(or something like this...)
Y luego:
cd squidclamav-3.2
./configure
make
make install
cp squidclamav.conf.dist /etc/squidclamav.conf
touch /var/log/squidclamav.log
chown squid /var/log/squidclamav.log
La impementación con squid se hace incluyendo las siguientes líneas:
En ñas ACL :
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
En http_acces:
http_access deny to_localhost
http_access allow localhost
url_rewrite_access deny localhost
y para redirijir:
url_rewrite_program /usr/local/bin/squidclamav
url_rewrite_children 15
ó
redirect_program /usr/local/bin/squidclama
redirect_program
15
Según versión de SQUID
Que te habra hecho la pobre SUSE? La culpa no es de la distribucion, si no de la politica que hay detras.
Lastima que no dejen poner una Debian bien ligerita. En fin , cosas del politiqueo vario.
Animo Solusan!!!
Gracias....... lo único que ha hecho SUSE es haber sido comprada por Novell, la cual hace migas directas con Micro$oft... calcula :((
¿Pero qué pasa? A bajarse el código y a compilar!!! que muy mal acostumbrados estáis!!! Donde quedarán esos tiempos en que tenías que hacer proezas para poder bajarte un par de megas con los que intentar mantener alguna mínima actualización, que implicaban conseguir algún oasi de red perdido donde bajar a más de 20k diera vértigo... (y después de todo eso nadie te asegurarba que compilara)
En fin... que muy mal acostumbrados estáis!!! usad AIXs si os atrevéis!!!
¿Has probado de buscar listas de repositorios de desarrollo? habitualmente los que vienen por defecto lo único que proporcionan son actualizaciones a los paquetes por defecto!!!
Nada nada, si te gastas una pasta en una licencia, mínimo, que tengan software disponible.
🙁
En debian me da errores al compilar:
main.c:67:23: error: curl/curl.h: No existe el fichero o el directorio
main.c: In function âmainâ:
main.c:164: error: âCURLâ undeclared (first use in this function)
main.c:164: error: (Each undeclared identifier is reported only once
main.c:164: error: for each function it appears in.)
main.c:164: error: âehâ undeclared (first use in this function)
main.c:167: error: âCURL_ERROR_SIZEâ undeclared (first use in this function)
main.c:245: error: âCURL_GLOBAL_ALLâ undeclared (first use in this function)
main.c:257: error: âCURLOPT_WRITEFUNCTIONâ undeclared (first use in this function)
main.c:259: error: âCURLOPT_ERRORBUFFERâ undeclared (first use in this function)
main.c:261: error: âCURLOPT_TIMEOUTâ undeclared (first use in this function)
main.c:263: error: âCURLOPT_NOSIGNALâ undeclared (first use in this function)
main.c:265: error: âCURL_HTTP_VERSION_1_0â undeclared (first use in this function)
main.c:270: error: âCURLOPT_FAILONERRORâ undeclared (first use in this function)
main.c:275: error: âCURLOPT_FOLLOWLOCATIONâ undeclared (first use in this function)
main.c:277: error: âCURLOPT_MAXREDIRSâ undeclared (first use in this function)
main.c:380: error: âCURLOPT_PROXYâ undeclared (first use in this function)
main.c:382: error: âCURLOPT_URLâ undeclared (first use in this function)
main.c:384: error: âCURLOPT_NOBODYâ undeclared (first use in this function)
main.c:407: error: âCURLINFO_CONTENT_LENGTH_DOWNLOADâ undeclared (first use in this function)
main.c:408: error: âCURLE_OKâ undeclared (first use in this function)
main.c:423: error: âCURLINFO_CONTENT_TYPEâ undeclared (first use in this function)
main.c:550: error: âCURLOPT_HTTPGETâ undeclared (first use in this function)
make: *** [main.o] Error 1
y al crear el usuario