#netfilter #nflog #native-bindings #libnetfilter-log

sys nflog-sys

Native bindings to the libnetfilter_log library

1 unstable release

0.1.0 Oct 17, 2021

#21 in #netfilter


Used in tokio-nflog

MIT/Apache

145KB
3.5K SLoC

C 2.5K SLoC // 0.3% comments Rust 822 SLoC // 0.0% comments Automake 74 SLoC // 0.2% comments Shell 56 SLoC // 0.2% comments

Contains (obscure autoconf code, 2KB) src/libnetfilter_log/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