Re: [squid-users] external_acl_type not working

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 9 Mar 2003 20:08:56 +0100

On Saturday 08 March 2003 17.42, TiloLutz@gmx.de wrote:
> Hi
>
> Is it possible external_acl_type isn't working in Squid 2.5?

it is defenitely working.

> I've added the following lines to squid.conf:
> external_acl_type room_external %SRC /usr/local/nms/nmsdeamon2
> acl room external room_external
> http_access allow room
>
> Heres my little perl-program. I know the code isn't good but it
> should work: #! /usr/bin/perl

I am missing a "$|=1;" in that script..but that is another question.

> I've added some lines to get debiug-infmormation in /output
> The Problem is the CLient-Adress is not send to my program.
> Squids only sends "\n".

Testing.. works here.

external_acl_type test %SRC /home/henrik/squid/bin/test1
acl test external test
http_access allow test

The IP address is sent to the helper as expected.

Have not tested your perl script.

Regards
Henrik
Received on Sun Mar 09 2003 - 12:08:03 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:58 MST