Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't raise alerts for DNS records that point to 0.0.0.0 #428

Open
anjackson opened this issue Aug 12, 2021 · 0 comments
Open

Don't raise alerts for DNS records that point to 0.0.0.0 #428

anjackson opened this issue Aug 12, 2021 · 0 comments
Labels

Comments

@anjackson
Copy link
Collaborator

When scanning previously-known domains, Heritrix really does not like DNS records that point to 0.0.0.0 and raises alerts like this:

SEVERE: Problem java.lang.IllegalStateException: got suspicious value 0.0.0.0 for www.absolute-lofts.co.uk occurred when trying to process 'http://www.absolute-lofts.co.uk/' at step ABOUT_TO_BEGIN_PROCESSOR in

java.lang.IllegalStateException: got suspicious value 0.0.0.0 for www.absolute-lofts.co.uk
        at org.archive.modules.fetcher.DefaultServerCache.getHostFor(DefaultServerCache.java:112)
        at org.archive.modules.net.ServerCache.getHostFor(ServerCache.java:64)
        at org.archive.crawler.prefetch.QuotaEnforcer.innerProcessResult(QuotaEnforcer.java:392)
        at org.archive.modules.Processor.process(Processor.java:142)
        at org.archive.modules.ProcessorChain.process(ProcessorChain.java:131)
        at org.archive.crawler.framework.ToeThread.run(ToeThread.java:147)

This clogs up the alert logs. Unfortunately it seems like this is a common practice these days, so perhaps Heritrix should just quietly ignore this condition rather than raise an IllegalStateException.

@ato ato added the bug label Aug 31, 2021
kris-sigur pushed a commit to kris-sigur/heritrix3 that referenced this issue Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants