[Bug 2324539] Review Request: python-dnsdiag - DNS Measurement, Troubleshooting and Security Auditing Toolset (ping, traceroute)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #4 from Petr Menšík <pemensik@xxxxxxxxxx> ---
(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 -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux