Skip to contentSkip to conversation

libnftables renamed to libnftnl

HEADS UP Pablo Neira Ayuso 3 participants 6 messages Jan 20, 2014 netfilter

lore
Share & tools
lore

Pablo Neira Ayuso

author maintainer
#0 lore raw

Hi,

We have renamed libnftables to libnfnl to reserve this name for the higher layer library API.

Please, update your git/.config files to point to the new repository. Thanks.

#1 lore raw

Hi Pablo,

Thus we have to adapt iptables to look for libnfnl headers instead of libnftables? (and nftables too btw).

Tomasz

#2 lore raw
Quoted 5 lines · Tomasz Bursztyka

Hi Pablo,

Thus we have to adapt iptables to look for libnfnl headers instead of libnftables?
(and nftables too btw).

Crap, indeed, seems the change to configure.ac was not complete:

AC_CHECK_LIB([nftables], [nft_rule_alloc], ,
AC_MSG_ERROR([No suitable version of libnftnl found]))

author maintainer
#3 lore raw
Quoted 11 lines · Patrick McHardy
Quoted 5 lines · Tomasz Bursztyka

Hi Pablo,

Thus we have to adapt iptables to look for libnfnl headers instead of libnftables?
(and nftables too btw).

Crap, indeed, seems the change to configure.ac was not complete:

AC_CHECK_LIB([nftables], [nft_rule_alloc], ,
AC_MSG_ERROR([No suitable version of libnftnl found]))

Going to push a patch for this.

#4 lore raw
In reply to Patrick McHardy

Hi Patrick,

Quoted 7 lines
Quoted 1 line

(and nftables too btw).

Crap, indeed, seems the change to configure.ac was not complete:

AC_CHECK_LIB([nftables], [nft_rule_alloc], ,
AC_MSG_ERROR([No suitable version of libnftnl found]))

Since libnftnl provides a package-config file, it could use PKG_CHECK_MODULES(), it would ease things in case of requesting a specific version.

Tomasz