Organizational string associated with ASNum will be stored in database encoding with iso-8859-1 to preserve original names (though it's normalized in the frontend)
There are now three options for rendering the reports:
The normal way, displaying data labels like AS15169
Making the data labels be the organizational name, like Google Inc.
Combining them into a "display name" like AS15169: Google Inc.
These are controlled by passing no argument, --owner, and --display-name as arguments to asn_report.
In addition, this also refactors and cleans up some code. Specifically it adds the class ASNLookup which transparently glues together maxmind org lookup and ip to asn lookup into a nice interface. This allows in code to do something like:
Description
This PR from
develop
adds some features:There are now three options for rendering the reports:
These are controlled by passing no argument,
--owner
, and--display-name
as arguments toasn_report
.In addition, this also refactors and cleans up some code. Specifically it adds the class
ASNLookup
which transparently glues together maxmind org lookup and ip to asn lookup into a nice interface. This allows in code to do something like: