1 This is the ipset source tree. Follow the next steps to install ipset.
2 If you upgrade from an earlier 5.x release, please read the UPGRADE
5 0. You need the source tree of your kernel (version >= 2.6.32)
6 and it have to be configured with ip6tables support enabled,
7 modules compiled. For kernel versions < 2.6.39 please apply
8 the netlink.patch against your kernel tree, which adds the
9 new subsystem identifier for ipset.
11 Recompile and install the patched kernel and its modules. Please note,
12 you have to run the patched kernel for ipset to work.
14 The ipset source code depends on the libmnl library so the library
15 must be installed. You can download the libmnl library from
17 git://git.netfilter.org/libmnl.git
19 1. Initialize the compiling environment for ipset. The packages automake,
20 autoconf, pkg-config and libtool are required.
24 2. Run `./configure` and then compile the ipset binary and the kernel
27 Configure parameters can be used to to override the default path
28 to the kernel source tree (/lib/modules/`uname -r`/build),
29 the maximum number of sets (256), the default hash sizes (1024).
30 See `./configure --help`.
36 3. Install the binary and the kernel modules
39 # make modules_install
41 After installing the modules, you can run the testsuite as well.
42 Please note, several assumptions must be met for the testsuite:
45 - iptables/ip6tables rules are not set up
46 - the destination for kernel logs is /var/log/kern.log
47 - the networks 10.255.255.0/24 and 1002:1002:1002:1002::/64
49 - sendip utility is installed
53 4. Cleanup the source tree
60 Read the ipset(8) and iptables(8), ip6tables(8) manpages on how to use
61 ipset and its match and target from iptables.
63 Compatibilities and incompatibilities:
65 - The ipset 6.x userspace utility contains a backward compatibility
66 interface to support the commandline syntax of ipset 4.x.
67 The commandline syntax of ipset 6.x is fully compatible with 5.x.
68 - The ipset 6.x userspace utility can't talk to the kernel part of ipset 5.x
70 - The ipset 6.x kernel part can't talk to the userspace utility from
72 - The ipset 6.x kernel part can work together with the set match and SET
73 target from iptables 1.4.7 and below, however if you need the IPv6 support
74 from ipset 6.x, then you have to use iptables 1.4.9 or above.
76 The ipset 6.x can interpret the commandline syntax of ipset 4.x, however
77 some internal changes mean different behaviour:
79 - The "--matchunset" flag for the macipmap type is ignored and not used
81 - The "--probes" and "--resize" parameters of the hash types are ignored
83 - The "--from", "--to" and "--network" parameters of the ipporthash,
84 ipportiphash and ipportnethash types are ignored and not used anymore.
85 - The hash types are not resized when new entries are added by the SET
86 target. If you use a set together with the SET target, create it with
87 the proper size because it won't be resized automatically.
88 - The iptree, iptreemap types are not implemented in ipset 6.x. The types
89 are automatically substituted with the hash:ip type.