in reply to Re: Real time log parser
in thread Real time log parser

Hi, thanks for your answer. I'm using centOS, and trying to implement something like Hi, thanks for your answer. I'm using centOS, and trying to implement something like greylist for squid. I mean when word "sorry" is found in an access.log, string that contains this URL should be passed to a "hold" subroutine this subroutine should extract a name of a certain parent proxy (for example: name=proxy_1) than find such parent in a squid.conf:

cache_peer 111.117.12.12 parent 60099 0 no-query no-digest originserver name=proxy_1 round-robin login=test:example connect-timeout=3

cache_peer_access proxy_1 allow all

If such strings are found they must be moved to some file, and proxy must be reloaded.

Replies are listed 'Best First'.
Re^3: Real time log parser
by Anonymous Monk on Jan 02, 2012 at 18:33 UTC

    I'm using centOS, and trying to implement something like greylist for squid

    Why not use "greylist for squid" instead? What is that?