...
asn.pl is a simple script to quickly and easily determine Autonomous System (AS) information for specified host(s).
An AS defines either a single network or a group of networks that is controlled by an administrative entity such as a business enterprise, a university etc. etc. AS's are assigned a globally unique number called a Autonomous System Number (ASN).
Download
Version | Link |
---|---|
1.01 |
Installation
Installation requires that Perl5 be installed. It is a standard package that is installed on most *nux systems. To install asn.pl, ensure that
If you have root privileges
and run:
Code Block |
---|
make install |
This will copy the asn.pl script into /usr/local/bin and the required perl modules into /usr/lib/site_perl.
If you do not have root privileges
run:
Code Block |
---|
make install_local |
This will copy the asn.pl and required perl modules into your $HOME/bin directory.
Usage
Once installed, one can run the script by:
Code Block |
---|
$ asn.pl
Usage: asn.pl <ipv4 address|dns address>
|
If you have installed the script without root privileges, then run the asn.pl script with the command:
Code Block |
---|
$ $HOME/bin/asn.pl
Usage: asn.pl <ipv4 address|dns address>
|
The where the ipv4 address or the dns address of the node that you are interested in is supplied as the only argument.
...