Hi
> On Saturday 08 March 2003 17.42, TiloLutz@gmx.de wrote:
> > Is it possible external_acl_type isn't working in Squid 2.5?
> it is defenitely working.
Does squid cache the acls in any way?
>
> > external_acl_type room_external %SRC /usr/local/nms/nmsdeamon2
> > acl room external room_external
> > http_access allow room
> >
> I am missing a "$|=1;" in that script..but that is another question.
What does this line do?
> > 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.
Now I use a very basic script. It justs pass the Clientaddress to a file:
#! /usr/bin/perl
while ( 1 == 1 )
{
$input = <STDIN> ;
open (FILE, ">> /output");
print FILE $input ;
close FILE;
print "OK\n";
}
The first time I try to access a website my IP is send to my script.
But if I close the browser and try another Site my IP won't be sent to my
script again.
Is there any way to change this?
Background:
In out school we have several computerrooms. If a room is allowed to use
the proxy, it's subnetnmask is safed in a file.
192.168.3.0/24
192.168.6.0/24
....
With Squid 2.4 I used an ordinary acl linked with the file and made a
"suqid -k reconfigure" each time the file has changed.
Unfortunatly we use a filtersoftware, smartfilter, which causes squid
to crash if I'll run squid -k reconfigure.
Tilo
-- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l�cheln! Fotogalerie online mit GMX ohne eigene Homepage!Received on Mon Mar 10 2003 - 06:39:11 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:59 MST