#netfilter #tokio #tokio-async #nflog

tokio-nflog

Bindings to the libnetfilter_log library to receive netfilter logs in tokio-based applications

1 unstable release

0.1.0 Oct 17, 2021

#23 in #netfilter

MIT/Apache

88KB
2K SLoC

C 1K SLoC // 0.3% comments Rust 728 SLoC // 0.0% comments Automake 45 SLoC // 0.3% comments Shell 29 SLoC // 0.1% comments

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

~5–16MB
~169K SLoC