public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* Problem with squid 5.7 and '/usr/bin/asnbl-helper.py' - exception => traceback => helper exits
@ 2022-12-30 11:22 Matthias Fischer
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Fischer @ 2022-12-30 11:22 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 2372 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Problem with squid 5.7 and '/usr/bin/asnbl-helper.py' - exception => traceback => helper exits
@ 2022-12-30 11:24 Matthias Fischer
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Fischer @ 2022-12-30 11:24 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 246 bytes --]

Hi,

I forgot to mention:

After *unticking* "Deny access to destinations hosted on fast flux
setup" and "Deny access to destinations hosted on selectively announced
networks" the tracebacks are gone. 'squid' is running normally.

Best,
Matthias

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-30 11:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-30 11:22 Problem with squid 5.7 and '/usr/bin/asnbl-helper.py' - exception => traceback => helper exits Matthias Fischer
2022-12-30 11:24 Matthias Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox