[squid-users] is it possible to pass the destination ip address to external_acl_type program ?

Dieter Bloms squid at bloms.de
Wed Nov 11 19:42:13 UTC 2015


Hello,

I want to write a little script for an external_acl_type to block access
to many ip addresses.
As far as I can see %DST contains the fqdn of the destination and not
the ip address.
I know that I can do dns lookups in my script, but I think squid does it
anyway, so it may be faster to pass the ip address to the external helper.
So is there any undocumented parameter like %DSTIP or something like
that ?


-- 
Regards

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.


More information about the squid-users mailing list