Skip to content

Releases: ipinfo/cli

range2ip-1.0.0

09 Nov 16:52
30cee54
Compare
Choose a tag to compare

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.

ipinfo-2.3.0

09 Nov 18:49
Compare
Choose a tag to compare

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.

range2cidr-1.2.0

21 Oct 04:29
a657e1f
Compare
Choose a tag to compare
  • 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.

ipinfo-2.2.0

21 Oct 04:51
a657e1f
Compare
Choose a tag to compare
  • 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:
    etcd-io/bbolt#231

grepip-1.2.0

21 Oct 04:33
a657e1f
Compare
Choose a tag to compare
  • 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.

cidr2range-1.2.0

21 Oct 04:26
a657e1f
Compare
Choose a tag to compare
  • 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.

range2cidr-1.1.0

16 Aug 14:17
Compare
Choose a tag to compare

range2cidr now supports IPv6 ranges for conversion into CIDRs.

ipinfo-2.1.1

16 Aug 17:32
Compare
Choose a tag to compare

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

ipinfo-2.1.0

16 Aug 14:34
Compare
Choose a tag to compare

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

cidr2range-1.1.1

16 Aug 17:25
Compare
Choose a tag to compare

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