Search squid archive

Re: how to put the destination ip to an external acl helper ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Amos,

On Wed, Jul 20, Amos Jeffries wrote:

> On 20/07/22 10:02, NgTech LTD wrote:
> > But which one of them?
> 
>    " %<A %<a "

I've tried to use them, but they %<a is filled with "-".
I configured an ip based rule beforehand the external helper acl to
force a dns lookup, but %<a is filled with "-" every time.

Here the relevant parts of my config:

# we have to force a dns lookup to get the ip addresses for the external helper
acl alldestination dst 1.1.1.1/32
http_access allow alldestination

external_acl_type aclhelper ttl=0 negative_ttl=0 grace=50 children-max=1 children-startup=1 %SRC %DST %<a %PORT %METHOD /usr/local/bin/aclhelper.py
acl aclhelper external aclhelper
http_access allow aclhelper


-- 
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.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux