libnftnl-1.1.5

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

Required

libmnl-1.0.4

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libnftnl

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 &&
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

Command Explanations

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

Contents

Installed Programs: None
Installed Libraries: libnftnl.so
Installed Directories: None

Short Descriptions

libnftnl.so

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

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