mandiant / GeoLogonalyzer

GeoLogonalyzer is a utility to analyze remote access logs for anomalies such as travel feasibility and data center sources.
Apache License 2.0
194 stars 59 forks source link

AttributeError: 'Reader' object has no attribute 'asn' #8

Closed misthi1 closed 5 years ago

misthi1 commented 6 years ago

I got this error whenever i executed command raceback (most recent call last): File "GeoLogonalyzer.py", line 985, in main(args) File "GeoLogonalyzer.py", line 762, in main asn_db_match = asn_db_reader.asn(ip_string) AttributeError: 'Reader' object has no attribute 'asn'

davidpany commented 5 years ago

Hi misthi1, testing indicated that an older version of the geoip2 dependency may have caused the mmdb files to load without all available data such as the asn attribute.

The requirements.txt file now requires geoip2>=2.9.0 and the tool checks for the recent version as well. Please report back if you still have issues.

misthi1 commented 5 years ago

I am using windows.

On Mon, 8 Oct 2018 7:43 pm davidpany, notifications@github.com wrote:

Hi misthi1, out of curiosity, are you running this tool on a Mac or Windows system?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fireeye/GeoLogonalyzer/issues/8#issuecomment-427850729, or mute the thread https://github.com/notifications/unsubscribe-auth/AmEy5ewLQhGmRf9TzHr9we_Qd1dAuhCnks5ui12UgaJpZM4UZnWC .