[squid-users] squid 7.1 , url_rewrite_program does not work

Dmitry Melekhov dm at belkam.com
Wed Oct 22 04:15:53 UTC 2025


21.10.2025 22:32, Alex Rousskov пишет:
> On 2025-10-21 02:21, Dmitry Melekhov wrote:
>>>> FTR, Rejik v3.2.12 or later should be able to work via the Squid 
>>>> external_acl_type interface. Like so:
>>>>
>>>>  external_acl_type redirector %>ru %>a/%>A %un %>rm \
>>>>     /usr/local/rejik3/redirector \
>>>>     /usr/local/rejik3/redirector.conf
>>>>
>>
>> by the way this gives error:
>
>> 2025/10/21 10:16:17 kid1| FATAL: assertion failed: 
>> external_acl.cc:321: "len == strlen(token)"
>
> That assertion is now covered by a bug report:
> https://bugs.squid-cache.org/show_bug.cgi?id=5518
>
> FWIW, replacing "%>a/%>A" with "%>a %>A" works around that bug.


In this case I get from rejik

2025-10-22 08:12:53 [292660] Error convert input string to input 
structure str=api.vk.com:443 192.168.0.32 userhostname.com - CONNECT -

but "Rejik v3.2.12 or later should be able to work via the Squid 
external_acl_type interface." right?





More information about the squid-users mailing list