https://bugzilla.redhat.com/show_bug.cgi?id=2324539



--- Comment #4 from Petr Menšík <[email protected]> ---
(In reply to Benson Muite from comment #3)
> Review request for one of the unpackaged dependencies:
> https://bugzilla.redhat.com/show_bug.cgi?id=2326842
> 
> cmyruwhois seems quite old. Maybe something newer could be used?

whoisdomain is actively maintained, but does not support IP lookups in whois.
We might want to use python3-maxminddb together with geolite2-asn. That should
be pretty fast, already maintained and good choice even for the future.

aslookup module would be decent alternative, but that is not packaged for
Fedora anyway.

maxminddb code is simple enough:

import maxminddb
ASNDB='/usr/share/GeoIP/GeoLite2-ASN.mmdb'
db = maxminddb.open_database(ASNDB)
db.get('8.8.8.8')


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2324539

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202324539%23c4

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to