cli

Official Command Line Interface for the IPinfo API (IP geolocation and other types of IP data)

APACHE-2.0 License

Stars
1.7K
Committers
26

Bot releases are visible (Hide)

cli - ipinfo-2.6.0

Published by UmanShahzad almost 3 years ago

The randip subcommand now supports allowing generation of only unique IPs via
the --unique or -u flags.

Additionally, a bug was fixed where the ending IP of a range of size greater
than 1 was never selected.

cli - randip-1.1.0

Published by UmanShahzad almost 3 years ago

randip now supports allowing generation of only unique IPs via the --unique
or -u flags.

Additionally, a bug was fixed where the ending IP of a range of size greater
than 1 was never selected.

cli - prips-1.0.0

Published by UmanShahzad almost 3 years ago

prips is a command for printing all the IPs that exist within a CIDR and/or
IP range; it is effectively a combination of range2ip and cidr2ip in one.

The command exists as a standalone binary in addition to as a subcommand on the
main ipinfo command.

prips accepts inputs the same way our other commands do, via stdin, args,
files, etc.

cli - ipinfo-2.5.0

Published by UmanShahzad almost 3 years ago

The randip subcommand is added which generates random IPs between any range,
for either IPv4 or IPv6, and optionally excludes bogon ranges.

The command also exists as a standalone binary.

cli - randip-1.0.0

Published by UmanShahzad almost 3 years ago

randip generates random IPs between any range, for either IPv4 or IPv6, and
optionally excludes bogon ranges.

The command exists as a standalone binary in addition to as a subcommand on the
main ipinfo command.

cli - ipinfo-2.4.1

Published by UmanShahzad almost 3 years ago

Fixes an issue with grepip's IPv6 parsing where IPv6 addresses with
compression in the middle were not properly having their the full remaining
string at the right side of the compression recognized as being a part of the
full IPv6 address.

cli - grepip-1.2.1

Published by UmanShahzad almost 3 years ago

Fixes an issue with IPv6 parsing where IPv6 addresses with compression in the
middle was not properly recognizing the full remaining string at the right side
of the compression.

cli - ipinfo-2.4.0

Published by UmanShahzad almost 3 years ago

A cidr2ip subcommand is added which converts CIDRs to individual IPs within
those CIDRs.

The command also exists as a standalone binary.

cidr2ip accepts inputs the same way our other commands do, via stdin, args,
files, etc.

cli - cidr2ip-1.0.0

Published by UmanShahzad almost 3 years ago

cidr2ip converts CIDRs to individual IPs within those CIDRs.

The command exists as a standalone binary in addition to as a subcommand on the
main ipinfo command.

cidr2ip accepts inputs the same way our other commands do, via stdin, args,
files, etc.

cli - ipinfo-2.3.1

Published by UmanShahzad almost 3 years ago

Added the new relay and service fields from the API into the CLI.

Also updated the summarize subcommand to include summarized relay counts and
top privacy services.

cli - ipinfo-2.3.0

Published by UmanShahzad almost 3 years ago

A range2ip subcommand is added which converts IP ranges to individual IPs
within those ranges.

The command also exists as a standalone binary.

range2ip accepts inputs the same way our other commands do, via stdin, args,
files, etc.

cli - range2ip-1.0.0

Published by UmanShahzad almost 3 years ago

range2ip converts IP ranges to individual IPs within those ranges.

The command exists as a standalone binary in addition to as a subcommand on the
main ipinfo command.

range2ip accepts inputs the same way our other commands do, via stdin, args,
files, etc.

cli - ipinfo-2.2.0

Published by UmanShahzad almost 3 years ago

  • ipinfo now supports file-based caching by default. All requests will be
    cached for 24 hours, and the maximum cache file size will be 1GB before
    pruning automatically occurs.
    • You may disable the cache with --nocache on any command that would
      otherwise use it.
    • You can manually clear the cache with ipinfo cache clear.
    • We will add more capabilities and configuration to the cache in future
      releases.
  • ipinfo <domain> is now allowed, e.g. ipinfo google.com, which will lookup
    the IP address found at google.com.
  • ipinfo's field selection flag -f/--field can now accept multiple fields
    separated by commas, including repeatedly, e.g.
    ipinfo 1.1.1.1 -f ip,asn,privacy,company.type.
  • ipinfo prips now allows piping in input the same exact way as ipinfo bulk
    and other commands that take IP inputs.
  • When inputting files via stdin or arguments for commands like ipinfo bulk,
    ipinfo map, etc., the files may now also contain CIDRs & IP ranges which
    will be converted into individual IPs.
  • ipinfo login now also accepts the token as the first argument, e.g.
    ipinfo login <token>.
  • ipinfo login now checks if the token you're logging in with is actually
    valid, by checking via an IPinfo API endpoint.
  • When login is required for some features, error messages shown when logged
    out now indicate that login is required.
  • Fix a bug in ipinfo summarize where percentage calculations were off when
    the total IP count did not match the unique IP count.
  • Fix a bug in grepip where -o doesn't properly handle outputting lines
    where more than 2 IPs were on the same line being parsed.
  • Fix a bug in grepip where it could crash due to a too-lenient IPv4 parser.
  • When cidr2range accepts a file, it now also looks to see if there is a
    header in CSV form, and if so changes the first column to range, just as it
    changes the first non-header columns from CIDRs to IP ranges.
  • When range2cidr accepts a file, it now also looks to see if there is a
    header in CSV form, and if so changes the first column to cidr, just as it
    changes the first non-header columns from IP ranges to CIDRs. NOTE: this
    will work even if the IP range takes up 2 columns as in start_ip,end_ip,
    in which case both columns are replaced by a single column cidr.
  • Support for plan9 builds will be removed in future releases for the
    separate commands cidr2range, range2cidr and grepip, and will be
    dropped right now for ipinfo. Please see the following issue for details:
    https://github.com/etcd-io/bbolt/issues/231
cli - grepip-1.2.0

Published by UmanShahzad almost 3 years ago

  • Fix a bug in grepip where -o doesn't properly handle outputting lines
    where more than 2 IPs were on the same line being parsed.
  • Fix a bug in grepip where it could crash due to a too-lenient IPv4 parser.
cli - range2cidr-1.2.0

Published by UmanShahzad almost 3 years ago

  • When range2cidr accepts a file, it now also looks to see if there is a
    header in CSV form, and if so changes the first column to cidr, just as it
    changes the first non-header columns from IP ranges to CIDRs. NOTE: this
    will work even if the IP range takes up 2 columns as in start_ip,end_ip,
    in which case both columns are replaced by a single column cidr.
cli - cidr2range-1.2.0

Published by UmanShahzad almost 3 years ago

  • When cidr2range accepts a file, it now also looks to see if there is a
    header in CSV form, and if so changes the first column to range, just as it
    changes the first non-header columns from CIDRs to IP ranges.
cli - ipinfo-2.1.1

Published by UmanShahzad about 3 years ago

Fixed ipinfo cidr2range so it supports IPv6 on the argument line as well, and
not just in files.

cli - cidr2range-1.1.1

Published by UmanShahzad about 3 years ago

Fixed cidr2range so it supports IPv6 on the argument line as well, and not
just in files.

cli - ipinfo-2.1.0

Published by UmanShahzad about 3 years ago

ipinfo cidr2range and ipinfo range2cidr now support IPv6 ranges & CIDRs for
conversion.

cli - range2cidr-1.1.0

Published by UmanShahzad about 3 years ago

range2cidr now supports IPv6 ranges for conversion into CIDRs.