fixunix
Tags Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Howto force Squid to log to a pipe - squid

This is a discussion on Howto force Squid to log to a pipe - squid ; Hi all, in our company we have the orer to monitor the usage of web-ressource apart from the company business (users must not use ebay, p**n-sites, etc.). But we are not allowded to save all accessed ressources for every user. ...


Fix Unix > Tools > squid > Howto force Squid to log to a pipe

Reply
 
LinkBack Tools
  #1  
Old 01-25-2008, 09:06 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Howto force Squid to log to a pipe

Hi all,

in our company we have the orer to monitor the usage of web-ressource
apart from the company business (users must not use ebay, p**n-sites,
etc.). But we are not allowded to save all accessed ressources for
every user. So I plan to confogure to squid to

- use authentication
- write an access log that contains informationabout the user and the
ressource, that has been accesed

Then I plan to create a script to anonymize the user information
within the access.log (substitute each named user with a different
random number) and store these anonymized access-log to the disk. I
want squid to write the original access log to a pipe and my script to
read from this pipe so the non-anonymized information don't get
written to the disk.

But until know I didn't find an option to make squid write to a
network pipe. I can create a filesystem-pipe on the disk, but if my
anonymizing script collapses, squid gets confused, sometimes create
the logfile as normal file and then my script gets confused. -
Confusing, isn´t it ;-)

So my question is:
-----------------------------

How can I make squid write access.log information to a network pipe? I
didn't find any option so far.

Thanx a lot

Dirk

Reply With Quote
Reply

Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
[squid-users] Howto: squid - valid user auth with IP ttl (resolved IE problem) unix squid 0 10-08-2007 06:21 AM
[squid-users] Howto: squid - valid user auth with IP ttl (resolved IE problem) unix squid 0 10-08-2007 06:21 AM
Re: Could someone force the rebuild of securing-debian-howto on master? unix Debian 0 10-06-2007 05:19 PM
Could someone force the rebuild of securing-debian-howto on master? unix Debian 3 10-06-2007 05:19 PM
Howto force DOS window to stay open unix Programmer 1 10-04-2007 05:55 PM


All times are GMT. The time now is 09:36 AM.