#netfilter #nflog #native-bindings #libnfnetlink

sys nfnetlink-sys

Native bindings to the libnfnetlink library

1 unstable release

0.1.0 Oct 17, 2021

#19 in #netfilter

21 downloads per month
Used in 2 crates (via nflog-sys)

MIT/Apache

76KB
2K SLoC

C 1.5K SLoC // 0.3% comments Rust 513 SLoC // 0.0% comments Automake 29 SLoC // 0.1% comments Shell 27 SLoC // 0.2% comments

Contains (obscure autoconf code, 1KB) src/libnfnetlink/configure.ac

WIP: tokio-nflog

Bindings to libnetfilter lib that can be used in tokio-based applications

TODO:

  • build.rs:
    • check linux target
    • git submodule update --init
    • pkg_config
    • generating bindings
  • nlsockbufsize_ce
  • nlthreshold_ce
  • check which else options ulogd2 uses to configure nflog queue

Dependencies

~0.4–335KB