Re: [squid-users] Re: AdZap: WARNING: Cannot run '/usr/local/bin/squid_redirect' process.

From: Alexander Farber <alexander.farber@dont-contact.us>
Date: Sun, 27 Nov 2005 16:55:38 +0100

Oops my problem were caused by the pf (firewall) rule:

   antispoof quick for lo

I don't know exactly why, but when I removed it,
the redirector started worked and telnet localhost too...

On 11/27/05, Alexander Farber <alexander.farber@gmail.com> wrote:
> > > > I'm running Squid 2.5.STABLE12 on OpenBSD -current (i.e. post 3.8) in
> > > > transparent mode as described at http://www.benzedrine.cx/transquid.html
> > > >
> > > > It works fine - both as transparent proxy and also if I enter the IP and
> > > > port explicitly as the proxy server in the Firefox browser settings.
> > > >
> > > > However when I add 1 line to the /etc/squid/squid.conf:
> > > >
> > > > redirect_program /usr/local/bin/squid_redirect
> > > > or
> > > > redirect_program /usr/local/bin/wrapzap
> > > >
> > > > (both scripts are from http://adzapper.sourceforge.net/ - they are there,
> > > > they are executable, the shebang lines are ok and they are in Unix text format).
> > > >
> > > > then I can't telnet to port 8080 anymore, "netstat -an" shows that no processes
> > > > are listening at that port and in the /var/squid/logs/cache.log I see:
> > > >
> > > > 2005/11/26 16:48:48| Starting Squid Cache version 2.5.STABLE12 for
> > > > i386-unknown-openbsd3.8...
> > > > 2005/11/26 16:48:48| Process ID 18166
> > > > 2005/11/26 16:48:48| With 1024 file descriptors available
> > > > 2005/11/26 16:48:48| Performing DNS Tests...
> > > > 2005/11/26 16:48:48| Successful DNS name lookup tests...
> > > > 2005/11/26 16:48:48| DNS Socket created at 0.0.0.0, port 7382, FD 4
> > > > 2005/11/26 16:48:48| Adding nameserver 127.0.0.1 from /etc/resolv.conf
> > > > 2005/11/26 16:48:48| Adding nameserver 192.168.1.1 from /etc/resolv.conf
> > > > 2005/11/26 16:48:48| helperOpenServers: Starting 5 'squid_redirect' processes
> > > > 2005/11/26 16:48:53| WARNING: Cannot run
> > > > '/usr/local/bin/squid_redirect' process.
>
Received on Sun Nov 27 2005 - 08:55:39 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:10 MST