Hi Matthias, Looks like someone else is having problems with asnbl-helper.py with CU 172. They have raised a bug on it. Not sure if it is the same as what you are experiencing as the symptoms are different but they solve it by disabling all anomaly detection.
Worth a look-see to check if it is related to your problem or not.
Regards,
Adolf.
On 30/12/2022 12:22, Matthias Fischer wrote:
Hi,
sorry, but...
With Core 171 I ran 'squid 5.7' with the options "Deny access to destinations hosted on fast flux setup" and "Deny access to destinations hosted on selectively announced networks" both ticked (activated). No problems.
With Core 172, I found that the 'squid-asnbl-helper.py'-script is having problems with specific urls - it logs a 'traceback' and the helper exits.
Below is an excerpt from '/var/log/squid/cache.log':
***SNIP*** 2022/12/30 11:56:01 kid1| helperOpenServers: Starting 1/10 'asnbl-helper.py' processes current master transaction: master64 Dec 30 11:56:01 squid-asnbl-helper[776] WARN: No ASNBL configured. This is acceptable as long as this script is configured to do anything, you just have been warned... Dec 30 11:56:01 squid-asnbl-helper[776] INFO: ASN database operational - excellent. Waiting for input... Dec 30 11:56:01 squid-asnbl-helper[778] WARN: No ASNBL configured. This is acceptable as long as this script is configured to do anything, you just have been warned... Dec 30 11:56:01 squid-asnbl-helper[778] INFO: ASN database operational - excellent. Waiting for input... Traceback (most recent call last): File "/usr/bin/asnbl-helper.py", line 488, in <module> resolvedasn = resolve_asn(singleip, ASNDB) File "/usr/bin/asnbl-helper.py", line 184, in resolve_asn result = asndb.lookup(str(ipaddr)) BlockingIOError: [Errno 11] Resource temporarily unavailable Traceback (most recent call last): File "/usr/bin/asnbl-helper.py", line 488, in <module> resolvedasn = resolve_asn(singleip, ASNDB) File "/usr/bin/asnbl-helper.py", line 184, in resolve_asn result = asndb.lookup(str(ipaddr)) BlockingIOError: [Errno 11] Resource temporarily unavailable 2022/12/30 11:56:01 kid1| WARNING: external_acl_type #Hlpr5 exited current master transaction: master63 2022/12/30 11:56:01 kid1| Too few external_acl_type processes are running (need 1/10) current master transaction: master63 2022/12/30 11:56:01 kid1| Starting new helpers current master transaction: master63 2022/12/30 11:56:01 kid1| helperOpenServers: Starting 1/10 'asnbl-helper.py' processes current master transaction: master63 2022/12/30 11:56:01 kid1| WARNING: external_acl_type #Hlpr7 exited current master transaction: master67 ***SNAP***
Can anyone confirm? And if yes - should I open a bug report?
Best, Matthias