Skip to content

ASN Lookup expert: Missing sane default value for database path #2566

Open
@sebix

Description

@sebix

database = None # TODO: should be pathlib.Path

I suggest that the default path is /var/lib/intelmq/bots/asn_lookup/ipasn.dat as was the case some time ago.

Also, the update script could check first if the path exists (and isn't a None or empty string) and even if it is writeable before downloading the data.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions