aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2018-08-29 15:49:12 +0200
committerLinus Färnstrand <linus@mullvad.net>2018-08-29 21:14:56 +0200
commit13d64e0a448c74d692e445a26bcfc2897dea44f3 (patch)
tree95df28a65dddf8d4ffa67d969c6be178921c0268 /README.md
parent5065cdf6c2f428b438b9d61881d12832ecb1d1ec (diff)
Add documentation and generate readmes
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..0f381a9
--- /dev/null
+++ b/README.md
@@ -0,0 +1,17 @@
+# nftnl
+
+Safe abstraction for [`libnftnl`]. Provides low-level userspace access to the in-kernel
+nf_tables subsystem. See [`nftnl-sys`] for the low level FFI bindings to the C library.
+
+Can be used to create and remove tables, chains, sets and rules from the nftables firewall,
+the successor to iptables.
+
+## Selecting version of `libnftnl`
+
+See the documentation for the corresponding sys crate for details: [`nftnl-sys`]
+This crate has the same features as the sys crate, and selecting version works the same.
+
+[`libnftnl`]: https://netfilter.org/projects/libnftnl/
+[`nftnl-sys`]: https://crates.io/crates/nftnl-sys
+
+License: MIT/Apache-2.0