The SiLK IPset distribution is a subset of SiLK that packages the following command line tools:
|
Read (textual) IP addresses in canonical form or in CIDR notation from an input file or from the standard input and write a binary IPset file. |
|
|
Print the contents of a binary IPset file as text. Additional information about the IPset file can be printed. |
|
|
Determine whether the IP address or CIDR block specified on the command line is contained in an IPset. |
|
|
Perform union, intersection, difference, and sampling functions on the input IPset files, generating a new IPset file. |
The SiLK IPset distribution contains a subset of the tools in the SiLK distribution. There is no need to install both SiLK IPset and SiLK.
In general, you can install SiLK IPset by running
./configure ; make ; make install
The configure script has many options to control how
SiLK IPset is built and where it is installed. To see the full list of
options, run
./configure --help
This document highlights the most important options.
/usr/local. If you wish to specify a different
location, run configure with the
--prefix option and give the location as the
argument to the switch, for example --prefix=/usr
Makefiles build and install the
libskipset.so library, the command line tools (e.g.,
rwsetbuild), and the tools' manual pages.
Makefiles to only build the
libskipset.so library. For example, you may use this
when the command line tools are already installed as part of a
complete SiLK installation.
3.4.5. The switch accepts any release number, and
the IPset record versions for IPv4 IPsets and IPv6 IPsets are
selected by determining into which of the following ranges the
release number falls:
| Min release | Max release | IPv4 IPset | IPv6 IPset |
|---|---|---|---|
| 3.14.0 | 999.999.999 | 4 | 5 |
| 3.7.0 | 3.13.999 | 4 | 4 |
| 0.0.0 | 3.6.999 | 2 | 3 |
lzo1x to choose the LZO real-time data
compression library
snappy to choose snappy compression (Since
SiLK IPset 3.13.0.)
zlib to choose zlib compression (the library used
by gzip)
none to choose no compression
lzo1x, snappy,
zlib, or none. When the option is not
specified, configure uses none.
zlib.h) is
in ZLIB_DIR/include and that the zlib
library file (libz.so [the suffix may differ on
some platforms]) is in ZLIB_DIR/lib.
zlib.h is in DIR,
overriding the ZLIB_DIR/include
location.
libz.so is in DIR,
overriding the ZLIB_DIR/lib location.
lzo2/lzo1x.h, lzo/lzo1x.h, or
lzo1x.h) is in
LZO_DIR/include and that the LZO library
file (liblzo2.so or liblzo.so) is in
LZO_DIR/lib
lzo1x.h is in DIR,
overriding the LZO_DIR/include location
and disabling the searching of the lzo2 and
lzo directories.
liblzo2.so or
liblzo.so is in DIR, overriding the
LZO_DIR/lib location.
snappy-c.h) is in
SNAPPY_DIR/include and that the SNAPPY
library file (libsnappy.so) is in
SNAPPY_DIR/lib
snappy-c.h is in DIR,
overriding the SNAPPY_DIR/include
location.
libsnappy.so is in DIR,
overriding the SNAPPY_DIR/lib location.
zlib run-time
library name is zlib-devel or zlib-dev
depending on the Linux distribution.
libskipset.a is no longer built by default. To build
both a static and dynamic version of the library, specify
--enable-static. To build only a static library,
specify --disable-dynamic.