Intevation / intelmq-certbund-contact

IntelMQ expert bots to lookup contact information in a database (part of the intelmq-cb-mailgen solution).
GNU Affero General Public License v3.0
3 stars 2 forks source link

Import less specific CIDR if abuse-c is missing #8

Open bernhardreiter opened 6 years ago

bernhardreiter commented 6 years ago

Problem: Some CIDRs with a specific country code do not have an abuse email address via abuse-c or the org, but a wider CIDR that covers the range has and is from a different country.

Right now the wider CIDR is not imported because it is from a different country. So we do not find an abuse contact for the CIDR.

Technical solution idea

If no abuse mail-address is found in the CIDR for a country, look into wider CIDRs covering the range until one with an abuse address is found. The first one that is found, will be imported.

bernhardreiter commented 6 years ago

Implementation considerations