ipinfo-2.2.0
·
600 commits
to master
since this release
ipinfonow 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
--nocacheon 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.
- You may disable the cache with
ipinfo <domain>is now allowed, e.g.ipinfo google.com, which will lookup
the IP address found atgoogle.com.ipinfo's field selection flag-f/--fieldcan now accept multiple fields
separated by commas, including repeatedly, e.g.
ipinfo 1.1.1.1 -f ip,asn,privacy,company.type.ipinfo pripsnow allows piping in input the same exact way asipinfo 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 loginnow also accepts the token as the first argument, e.g.
ipinfo login <token>.ipinfo loginnow 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 summarizewhere percentage calculations were off when
the total IP count did not match the unique IP count. - Fix a bug in
grepipwhere-odoesn't properly handle outputting lines
where more than 2 IPs were on the same line being parsed. - Fix a bug in
grepipwhere it could crash due to a too-lenient IPv4 parser. - When
cidr2rangeaccepts a file, it now also looks to see if there is a
header in CSV form, and if so changes the first column torange, just as it
changes the first non-header columns from CIDRs to IP ranges. - When
range2cidraccepts a file, it now also looks to see if there is a
header in CSV form, and if so changes the first column tocidr, 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 instart_ip,end_ip,
in which case both columns are replaced by a single columncidr. - Support for
plan9builds will be removed in future releases for the
separate commandscidr2range,range2cidrandgrepip, and will be
dropped right now foripinfo. Please see the following issue for details:
etcd-io/bbolt#231