El 21/07/11 15:55, Yoel Villarreal Dávila escribió:
Jeje.. Se nota que no soy nada sysadmin... Bueno a ver... Cada vez que un cliente (de 
cualquier tipo) hace una peticion, en las cabeceras http viaja esa info que quieres.. Con 
php es facil de tomar y procesar. Viendo algun que otro articulo asi rapido en "la 
nube" me topo con uno que dice asi:

Tag Name        useragent_log
Usage   useragent_log Directory-path/filename

Description
If configured with the "--enable-useragent_log" configure option, Squid will 
write the User-Agent field from HTTP requests to the filename specified here.
Default         useragent_log none (By default useragent_log is disabled.)

Example
useragent_log /var/log/useragent.log

O sea... Hay lago para ponerle en la conf y que te haga eso que quieres pero 
debes haberlo compilado con ese soporte...


______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l

      TAG NAME                                   useragent_log
Description Using this tag, you can make Squid to write User-Agent field from HTTP requests to the filename specified in this tag

Build Option                           --enable-useragent-log
Usage                                  useragent_log path/filename
Default                                none
Synopsis
By default useragent_log is disabled.

Arguments
 path           Path for the useragent log file
 filename       File that contains useragent logs

Example(s)
useragent_log /var/logs/usragent.log


______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l

Responder a