Re: [squid-users] squid 5.1: external_acl_type: Get public remote address

2021-09-16 Thread David Touzeau
Thanks, i will try in this way Le 16/09/2021 à 21:03, Alex Rousskov a écrit : On 9/16/21 2:52 PM, David Touzeau wrote: It is true that it would be possible to use an external_acl in the http_reply_access. Do you think that adding it in this position I would be able to use squid's resolution r

Re: [squid-users] Compile/Rebuilding on debian bullseye (or buster)

2021-09-16 Thread L . P . H . van Belle
Good Afernoon Amos, (and others offcourse), A small update on this. Short version, i can make bullseye package ready for production but not for buster (yet). Long version.. If i pull in the debian salsa git, the build fails on bullseye. ( thats more me, because i lack knowledge on git use )

Re: [squid-users] squid 5.1: external_acl_type: Get public remote address

2021-09-16 Thread Alex Rousskov
On 9/16/21 2:52 PM, David Touzeau wrote: > It is true that it would be possible to use an external_acl in the > http_reply_access. > > Do you think that adding it in this position I would be able to use > squid's resolution results ? Yes, bugs notwithstanding, an external ACL evaluated at http_r

Re: [squid-users] squid 5.1: external_acl_type: Get public remote address

2021-09-16 Thread David Touzeau
Thanks for the clarification and I agree with you completely. a multipath and a round-robin DNS method will return different records between our DNS calculation and the final squid results It is true that it would be possible to use an external_acl in the http_reply_access. Do you think tha

Re: [squid-users] squid 5.1: external_acl_type: Get public remote address

2021-09-16 Thread Alex Rousskov
On 9/16/21 1:30 PM, David Touzeau wrote: > I'm turning to create a DNS resolution dev and I'm giving up looking > retreive this information through Squid. Please note that if you do your own DNS resolution, then Squid DNS resolution results will probably mismatch your results in some cases. There

Re: [squid-users] squid 5.1: external_acl_type: Get public remote address

2021-09-16 Thread David Touzeau
Amos, Thank you for your response and kindness, I'm turning to create a DNS resolution dev and I'm giving up looking retreive this information through Squid. Le 16/09/2021 à 19:13, Amos Jeffries a écrit : On 17/09/21 2:42 am, David Touzeau wrote: Thanks Amos for quick answer. Can you take a

Re: [squid-users] squid 5.1: external_acl_type: Get public remote address

2021-09-16 Thread Amos Jeffries
On 17/09/21 2:42 am, David Touzeau wrote: Thanks Amos for quick answer. Can you take away any hope of a workaround with Squid ? This makes me plan having to develop a function that has to perform DNS resolution inside the helper with the performance consequences that this will impose. I w

Re: [squid-users] SOLVED - compiling squid 5.1

2021-09-16 Thread Amos Jeffries
Interesting. Okay, I'm currently using this patch for Debian to avoid having to depend on make at all. Seems like I'm going to have to bring it upstream for the 5.2 release.

Re: [squid-users] SOLVED - compiling squid 5.1

2021-09-16 Thread Meike Stone
Am Do., 16. Sept. 2021 um 16:15 Uhr schrieb Amos Jeffries : > > On 17/09/21 1:38 am, Meike Stone wrote: > > Hello Amos, > > > > thanks for answering! > > > > Am Mi., 8. Sept. 2021 um 11:26 Uhr schrieb Amos Jeffries: > >> > >> This hack only works if you are building manually from source code, in >

Re: [squid-users] squid 5.1: external_acl_type: Get public remote address

2021-09-16 Thread David Touzeau
Thanks Amos for quick answer. Can you take away any hope of a workaround with Squid ? This makes me plan having to develop a function that has to perform DNS resolution inside the helper with the performance consequences that this will impose. Le 16/09/2021 à 16:21, Amos Jeffries a écrit :

Re: [squid-users] squid 5.1: external_acl_type: Get public remote address

2021-09-16 Thread Amos Jeffries
On 16/09/21 10:09 pm, David Touzeau wrote: Hi comunity, Squid fans I would like to use an external acl process for Geoip processing i have tried to setup squid to send the remote peer address using %code but it always reply with a "-" external_acl_type MyGeopip ttl=3600 negative_ttl=3600 chil

Re: [squid-users] SOLVED - compiling squid 5.1

2021-09-16 Thread Amos Jeffries
On 17/09/21 1:38 am, Meike Stone wrote: Hello Amos, thanks for answering! Am Mi., 8. Sept. 2021 um 11:26 Uhr schrieb Amos Jeffries: This hack only works if you are building manually from source code, in the same directory you expanded the sources. Which is not he case for anyone building with

Re: [squid-users] SOLVED - compiling squid 5.1

2021-09-16 Thread Meike Stone
Hello Amos, thanks for answering! Am Mi., 8. Sept. 2021 um 11:26 Uhr schrieb Amos Jeffries : > > This hack only works if you are building manually from source code, in > the same directory you expanded the sources. Which is not he case for > anyone building with automated tools or CI systems. th

Re: [squid-users] Compile/Rebuilding on debian bullseye (or buster)

2021-09-16 Thread L . P . H . van Belle
Good Morning. > > > > I have spent a while working on it today and have pushed an update to > Debian packaging repo. Please pull a new copy of that latest. > It should fix all the issues you have. Wow, Thank you very very much Amos.. Im on it now :-) ?¾ I'll post the results later today.

[squid-users] squid 5.1: external_acl_type: Get public remote address

2021-09-16 Thread David Touzeau
Hi comunity, Squid fans I would like to use an external acl process for Geoip processing i have tried to setup squid to send the remote peer address using %code but it always reply with a "-" external_acl_type MyGeopip ttl=3600 negative_ttl=3600 children-startup=2 children-idle=2 children-max