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@xxxxxxxxx> 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. >