Crate letmein_fwproto

Source
Expand description

This crate implements the firewall socket protocol for communication between the letmeind and letmeinfwd daemons.

Serializing messages to a raw byte stream and deserializing raw byte stream to a message is implemented here.

Structs§

FirewallMessage
A message to control the firewall.

Enums§

AddrType
The type of address to open in the firewall.
FirewallOperation
The operation to perform on the firewall.
PortType
The type of port to open in the firewall.

Constants§

SOCK_FILE
Firewall daemon Unix socket file name.

Traits§

Stream
Communication stream abstraction.