NetFilter SDK for MacOS

NetFilter SDK is a framework for transparent filtering the data packets transmitted via network. It suits for developing the content filters, basic application level firewalls, traffic analyzers/shapers, other software that requires viewing and modifying TCP traffic, and control access for UDP and other IP packets.

Key features:

  • The solution allows filtering TCP connections and allow/block UDP datagrams in user mode applications. It is possible to filter the specified subset of connections/datagrams, restricted by filtering rules. The outgoing TCP connections can be redirected to different address.
  • The filtering operates on transport level, on the top of TCP/IP stack. In effect it automatically supports all kinds of TCP/IP capable network adapters: Ethernet, Dial-up/DSL/Cable modems, wireless adapters including Wi-Fi and Bluetooth, virtual adapters like loopback or VPN.
  • The process and user context is available for all network activity.
  • The API is easy in use, but powerful.
  • It is possible to use the solution with ProtocolFilters to filter HTTP, SSL(TLS) and other high level protocols.
  • The filtering works on Intel and ARM64 operating systems.
  • Both IPv6 and IPv4 are supported.
The MacOS SDK is included in NetFilter SDK Full Sources.


System requirements:

MacOS 15.6 or higher, x64/ARM64