1 Star 0 Fork 1

my / nftables

forked from openKylin / nftables 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
INSTALL 1.60 KB
一键复制 编辑 原始数据 按行查看 历史
my 提交于 2023-05-31 17:42 . Import Upstream version 1.0.5
Installation instructions for nftables
======================================
Prerequisites
=============
- standard glibc headers, gcc etc.
- libmnl: git://git.netfilter.org/libmnl.git
- libnftnl: git://git.netfilter.org/libnftnl.git
- flex
- bison
- libgmp
- libreadline
- pkg-config
- libtool
- optional: libxtables: required to interact with iptables-compat
- optional: docbook2x: required for building man-page
Configuring and compiling
=========================
Run "sh autogen.sh" to generate the configure script, then:
sh configure [options]
--prefix=
The prefix to put all installed files under. It defaults to
/usr/local, so the binaries will go into /usr/local/bin, sbin,
manpages into /usr/local/share/man, etc.
--datarootdir=
The base directory for arch-independent files. Defaults to
$prefix/share.
--disable-debug
Disable debugging
--with-mini-gmp
Use builtin mini-gmp instead of linking with a shared libgmp.
This is useful for embedded platforms optimizing for size and
having no other use for libgmp.
Note: This decreases the debugging verbosity in some files.
--with-xtables
For libxtables support to interact with the iptables-compat
utility.
Suggested configuration options: --prefix=/ --datarootdir=/usr/share
Run "make" to compile nftables, "make install" to install it in the
configured paths.
Other notes
===========
The nftables kernel tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nftables.git
The latest version of this code can be found at:
git://git.netfilter.org/nftables.git
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kylinmy/nftables.git
git@gitee.com:kylinmy/nftables.git
kylinmy
nftables
nftables
openkylin/nile

搜索帮助

344bd9b3 5694891 D2dac590 5694891