API Reference NFTables v#0.8.2

View Source

Modules

Elixir interface to Linux nftables via libnftables JSON API.

Internal builder implementation for nftables configurations.

Universal decoder for all nftables responses.

Pure expression builder for nftables rules.

ARP (Address Resolution Protocol) matching functions for firewall rules.

Action and packet modification functions for Expr.

Connection tracking (CT) matching functions for Expr.

ICMP and ICMPv6 matching functions for firewall rules.

IP address matching and IP-layer field functions for Expr.

IPsec (IP Security) matching functions for firewall rules.

Layer 2 (MAC, interface, VLAN) matching functions for Expr.

Packet metadata matching functions for firewall rules.

Per-key rate limiting using dynamic sets (meters).

Network Address Translation (NAT) functions for Expr.

OS Fingerprinting (OSF) functions for passive operating system detection.

Raw payload matching functions for deep packet inspection.

Port matching functions for Expr.

Specialized protocol matching for SCTP, DCCP, and GRE.

Named set matching functions for firewall rules.

Socket and process filtering functions for firewall rules.

Low-level helper functions for building nftables expression structures.

TCP protocol matching functions for Expr.

UDP protocol matching functions for Expr.

Verdict and control flow functions for Expr.

Auto-generated module index for NFTables.Expr modules.

Convert nftables JSON expressions to nft command syntax strings.

Default local execution requestor for NFTables.

High-level Network Address Translation (NAT) operations.

Pre-built firewall policies and common rule patterns.

Command builders for querying nftables resources.

Behaviour for custom Builder submission handlers.

Manage Linux network sysctl parameters via /proc/sys/net/*.

Convenience functions for common network sysctl operations.

Validation helpers for NFTables operations with user-friendly error messages.

Mix Tasks

Custom Mix compiler that generates NFTables.ExprIndex module.