package
0.0.1
Repository: https://github.com/luids-io/netfilter.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

NewError creates a new packet processing error.
NewHooks returns a new hooks collection.
NewProcessor creates a new basic go-nfqueue processor.
NewService creates a new Service.
SetLogger option allows set a custom logger.
ToVerdict returns action from a string.

# Constants

Action types.
Action types.
Action types.

# Variables

DumpPacketInError if a packet dump will be show with the error string.
ErrorsBuffer sets the default size for error channels.
ShowPacketInError if a packet digest will be show with the error string.

# Structs

Config defines configuration for a netfilter queue.
Error is used for packet processing.
Hooks is responsible for packet processor.
OnPacket stores callbacks by layer.
PacketService manages multiple nfqueues.

# Interfaces

Action defines interface for actions (used by plugins).
PacketProcessor attach to a netfilter queue with the qid.
Plugin defines interface for packet processing plugins.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
Option encapsules options for server.
Verdict represents the actions that a firewall can do.