Sha256: 0c637edfb08db478e5058ba00ce7b69935e9f1c1146092c33c41b8c9175fe2c7

Contents?: true

Size: 1.25 KB

Versions: 4

Compression:

Stored size: 1.25 KB

Contents

# ronin-db-asn 1 "April 2012" Ronin "User Manuals"

## SYNOPSIS

`ronin-db asn` [*options*]

## DESCRIPTION

Queries or updates Autonomous System Numbers (ASNs) in the database.

## OPTIONS

`--db` *NAME*
  The database name to connect to. Defaults to `default` if not given.

`--db-uri` *URI*
  The explicit database URI to connect to
  (ex: `postgres://user:password@host/db`).

`-v`, `--verbose`
  Enables verbose output

`-n`, `--number` *INT*
  Searches for all ASN records with the AS number.

`-C`, `--country-code` *XX*\|`None`\|`Uknown`
  Searches for all ASN records with the country code.

`-N`, `--name` *NAME*
  Searches for all ASN records with the matching name.

`-I`, `--ip` *IP*
  Queries the ASN record for the IP.

`-4`, `--ipv4`
  Filter ASN records for only IPv4 ranges.

`-6`, `--ipv6`
  Filter ASN records for only IPv6 ranges.

`-u`, `--update`
  Updates the ASN records.

`-U`, `--url` *URI*
  Overrides the default ASN list URL.
  Defaults to `https://iptoasn.com/data/ip2asn-combined.tsv.gz` if not given.

`-f`, `--file` *FILE*
  Overrides the default ASN list file.
  Defaults to `~/.local/share/ronin/ronin-support/ip2asn-combined.tsv.gz`
  if not given.

`-h`, `--help`
  Print help information.

## AUTHOR

Postmodern <postmodern.mod3@gmail.com>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ronin-db-0.1.0.beta2-java man/ronin-db-asn.1.md
ronin-db-0.1.0.beta2 man/ronin-db-asn.1.md
ronin-db-0.1.0.beta1-java man/ronin-db-asn.1.md
ronin-db-0.1.0.beta1 man/ronin-db-asn.1.md