Introduction to libnftnl

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.

Package Information

libnftnl Dependencies



User Notes:

Kernel Configuration

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]

Installation of libnftnl

Install libnftnl by running the following commands:

./configure --prefix=/usr &&

This package does not come with a test suite.

Now, as the root user:

make install                   &&
mv /usr/lib/* /lib &&
ln -sfv ../../lib/$(readlink /usr/lib/ /usr/lib/

Command Explanations

mv -v /usr/lib/* ...: Move shared libraries into /lib so they are available before /usr is mounted.


Installed Programs: None
Installed Libraries:
Installed Directories: None

Short Descriptions

provides a netlink interface to the in-kernel nf_tables subsystem.

Last updated on 2020-02-17 12:12:55 -0800