NetFilter SDK for MacOS

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

Key features:

  • The solution allows filtering TCP connections and allowing/blocking UDP datagrams in user-mode applications. It is possible to filter a specified subset of connections/datagrams, as defined by filtering rules. The outgoing TCP connections can be redirected to a different address.
  • The filtering operates at the transport level, on top of the 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 information is available for all network activity.
  • The API is easy to 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 processors.
  • 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