IPQ – userspace firewall

Describe

class pyroute2.netlink.ipq.IPQSocket(family=16, port=None, pid=None)

Low-level socket interface. Provides all the usual socket does, can be used in poll/select, doesn’t create any implicit threads.

bind(mode=2)

Bind the socket and performs IPQ mode configuration. The only parameter is mode, the default value is IPQ_COPY_PACKET (copy all the packet data).

Previous topic

TaskStats module

Next topic

Nfnetlink

This Page