The libnftnl library provides a low-level netlink programming interface (API) to the in-kernel nf_tables subsystem.
This package is known to build and work properly using an LFS-9.1 platform.
Download (HTTP): https://netfilter.org/projects/libnftnl/files/libnftnl-1.1.5.tar.bz2
Download MD5 sum: a72ae260f7da9c223ad5d4fa036a8f84
Download size: 368 KB
Estimated disk space required: 8.7 MB
Estimated build time: less than 0.1 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libnftnl
Enable the following options in the kernel configuration and recompile the kernel if necessary:
[*] Networking support [CONFIG_NET] --->
Networking options --->
[*] Network packet filtering framework (Netfilter) [CONFIG_NETFILTER] --->
Core Netfilter Configuration --->
<*> Netfilter nf_tables support [CONFIG_NF_TABLES]
Install libnftnl by running the following commands:
./configure --prefix=/usr && make
This package does not come with a test suite.
Now, as the root
user:
make install && mv /usr/lib/libnftnl.so.* /lib && ln -sfv ../../lib/$(readlink /usr/lib/libnftnl.so) /usr/lib/libnftnl.so
mv -v /usr/lib/libnftnl.so.* ...: Move shared libraries into /lib so they are available before /usr is mounted.
Last updated on 2020-02-17 12:12:55 -0800