IPSETCAT(1)
π IPSETCAT(1) π
okay bestie, welcome to ipsetcat, a certified icon from the libcorkipset library, manual section 1 (user commands, we're in the big leagues π«Ά). she's a little CLI that lets you peek inside binary IP set files, and honestly? she's giving main character energy for such a small utility. let's get into it β¨
πΈ NAME πΈ
ipsetcat β utility of the libcorkipset library. that's it, that's the girl. π
π¦ SYNOPSIS π¦
ipsetcat [options] <input filename>
one command, some options, one filename. lowkey the simplest situationship you'll ever be in. no cap. π
π DESCRIPTION π
so what does she actually do? ipsetcat prints out the (non-sorted) contents of a binary IP set file. that's the whole job, and she does it flawlessly. β¨
bestie, note the non-sorted thing. it's not a bug, it's a lifestyle. more on that in a sec. π
π OPTIONS π
<input filename>β the binary set file you want to read. that's the whole point of being here. if you wanna read from stdin instead, just pass-as the filename and she'll slurp it up like a strawberry milkshake π.--output=<filename>,-o <filename>β writes the contents of the binary IP set file out to<filename>. if you don't give her this option, she just writes everything to standard output like a normal, well-adjusted program. π«Ά--networks,-nβ where possible, she groups the IP addresses in the set into CIDR network blocks. for dense sets this can greatly reduce the amount of output generated, which is a slay for your terminal and your eyeballs. π--verbose,-vβ shows progress information about the files being read and written. if you don't pass this, the only output you'll get is any error messages that occur. so it's β¨quietβ¨ unless something goes wrong. iconic behaviour honestly. πΈ--helpβ displays this help and exits. your girl is helpful like that. π
π Output format: π
the output will contain one IP address or network per line. simple. elegant. we love a consistent format. π
if you give her the --networks option, then she'll collapse addresses into CIDR networks where possible. CIDR network blocks will have one of the following formats:
x.x.x.x/cidr
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx/cidr
individual IP addresses will have one of the following formats:
x.x.x.x
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
heads up bestie: we never include a/32or/128suffix for individual addresses, even if you've requested CIDR networks via the--networksoption. so don't come for her about it. π
π¨ the unsorted thing π¨
please note that the output is UNSORTED. there are no guarantees made about the order of the IP addresses and networks in the output. zero. none. she did not promise you alphabetical, she did not promise you numerical, she promised you content and she delivered. if you need it sorted, that's a you-and-sort problem, not hers. π
π SEE ALSO π
nah, nothing here, she's self-contained and unbothered. go read the libcorkipset docs if you're curious, iykyk. π
okay that's the whole page!! this manual page is from ipsetcat 1.1.1+git20171111.6842..., dated April 2024, and that's your girl's whole origin story. go read some IP sets, bestie. periodt. πβ¨π¦π
π¦ where this page comes from
- ubuntu noble: libcorkipset-utils 1.1.1+git20171111.6842a63-2build1 Β· BSD-3-Clause
- ubuntu questing: libcorkipset-utils 1.1.1+git20171111.6842a63-2build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms