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 hidden (Show)

cli - ipinfo-3.3.0

Published by UmanShahzad 10 months ago

  • Fixed several bugs in the ipinfo tool aggregate CLI.
  • Added several new tools:
    • ipinfo tool is_loopback
    • ipinfo tool is_multicast
    • ipinfo tool is_unspecified
    • ipinfo tool is_global_unicast
    • ipinfo tool is_interface_local_multicast
    • ipinfo tool is_link_local_multicast
    • ipinfo tool is_link_local_unicast

PRs:

cli - ipinfo-3.1.0

Published by UmanShahzad about 1 year ago

  • IP calculator introduced in calc subcommand for doing arbitrary arithmetic
    on IP addresses.
  • Bulk ASN now supported via asn bulk subcommand.
  • ipinfo tool upper introduced to get the upper IP of an IP range or CIDR.
  • ipinfo tool lower introduced to get the lower IP of an IP range or CIDR.
  • ipinfo tool next introduced to get the next IP of a given IP.
  • ipinfo tool prev introduced to get the previous IP of a given IP.
  • ipinfo tool is_v4 introduced to check whether an IP is v4.
  • ipinfo tool is_v6 introduced to check whether an IP is v6.
  • ipinfo tool is_one_ip introduced to check whether an IP range or CIDR
    contains only a single IP.
  • ipinfo tool is_valid introduced to check whether an IP is a valid IP or
    not.
  • ipinfo tool unmap introduced to return an IP with any IPv4-mapped IPv6
    address prefix removed.
  • Fixed CLI token parameter not being recognized in download subcommand.
  • Fixed CLI login not getting saved after init.
  • Now performing a checksum comparison on database downloads.
  • YAML output now has null values removed for cleaner output.

Pull Requests

cli - ipinfo-3.0.1

Published by UmanShahzad about 1 year ago

  • Fixed a bug where the default output type for mmdb read was not set.
cli - grepip-1.2.2

Published by UmanShahzad about 1 year ago

  • Some special bogon edge cases are now properly ignored by grepip when requested.
cli - ipinfo-3.0.0

Published by UmanShahzad about 1 year ago

  • A mmdb subcommand was added that is the same as our mmdbctl command, used for managing MMDB files. (https://github.com/ipinfo/mmdbctl)
  • A quota subcommand was added to print the request quota of your account.
  • A download subcommand was added to allow downloading IPinfo's free Country ASN database files.
  • A init subcommand was added to allow initiating the sign up process for a token directly from the CLI. It also allows you to login directly from there.
  • A tool aggregate subcommand was added which serves as a CIDR aggregation tool.
  • Added YAML output support whereever JSON was available.
  • Auto-completion for -f and --field now works with the <ip> and <asn> subcommands.
  • Some special bogon edge cases are now properly ignored by grepip when requested.
  • Added flags and a config to allow force-disabling the opening of a browser at all times.
  • Removed the country flag emoji for friendly IP output as it doesn't render properly in many terminals.
cli - ipinfo-2.10.1

Published by UmanShahzad over 1 year ago

Fixed a rare bug where a cache could exceed 1GB in size but have less than 10k
entries, thus causing a crash due to a presumption that at least 10k entries
would exist.

cli - ipinfo-2.10.0

Published by UmanShahzad about 2 years ago

ipinfo now includes splitcidr as a new subcommand, which splits larger
CIDRs into smaller CIDRs.

cli - splitcidr-1.0.0

Published by UmanShahzad about 2 years ago

Initial release of splitcidr which splits larger CIDRs into smaller CIDRs.

cli - ipinfo-2.9.0

Published by UmanShahzad about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/ipinfo/cli/compare/ipinfo-2.8.1...ipinfo-2.9.0

cli - ipinfo-2.8.1

Published by UmanShahzad over 2 years ago

  • Upgrades the underlying IPinfo Go SDK to make batch operations more stable
    when inputting extremely large inputs.
cli - range2cidr-1.3.0

Published by UmanShahzad over 2 years ago

  • Fixed range2cidr not properly re-writing headers when they were available.
cli - ipinfo-2.8.0

Published by UmanShahzad over 2 years ago

  • Fixed range2cidr not properly re-writing headers when they were available.
  • -f region wasn't working for when selecting specific fields.
  • Don't cancel on reading newlines when reading from files.
cli - ipinfo-2.7.0

Published by UmanShahzad almost 3 years ago

  • Added a config subcommand for configuring the cache, the token, and more in
    the future.
  • Fixes a bug where the IP in bulk lookup context was not showing if the output
    format was CSV.
cli - ipinfo-2.6.1

Published by UmanShahzad almost 3 years ago

Fixes a bug where if the config directory was not created, the cache would
not be used until it was created manually.

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.