.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.5.
.TH IPSETCAT "1" "October 2017" "ipsetcat 1.1.1+20150311-8" "User Commands"
.SH NAME
ipsetcat \- utility of libcorkipset library
.SH SYNOPSIS
.B ipsetcat
[\fI\,options\/\fR] \fI\,\/\fR
.SH DESCRIPTION
Prints out the (non\-sorted) contents of a binary IP set file.
.SH OPTIONS
.IP
.TP
The binary set file to read.
To read from stdin, use "\-" as the
.IP
filename.
.HP
\fB\-\-output=\fR, \fB\-o\fR
.TP
Writes the contents of the binary IP set file to .
If this
.IP
option isn't given, then the contents will be written to standard
output.
.HP
\fB\-\-networks\fR, \fB\-n\fR
.IP
Where possible, we group the IP addresses in the set into CIDR network
blocks. For dense sets, this can greatly reduce the amount of output
that's generated.
.HP
\fB\-\-verbose\fR, \fB\-v\fR
.TP
Show progress information about the files being read and written.
If
.IP
this option is not given, the only output will be any error messages
that occur.
.HP
\fB\-\-help\fR
.IP
Display this help and exit.
.SS "Output format:"
.TP
The output will contain one IP address or network per line.
If you give
.IP
the "\-\-networks" option, then we will collapse addresses into CIDR
networks where possible. CIDR network blocks will have one of the
following formats:
.IP
x.x.x.x/cidr
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx/cidr
.IP
Individual IP addresses will have one of the following formats:
.IP
x.x.x.x
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
.IP
Note that we never include a \fI\,/32\/\fP or \fI\,/128\/\fP suffix for individual addresses,
even if you've requested CIDR networks via the "\-\-networks" option.
.TP
Please note that the output is UNSORTED.
There are no guarantees made
.IP
about the order of the IP addresses and networks in the output.