Table of Contents

Namespace VpnHood.Core.Client.Devices.Linux

Classes

LinuxDevice

Represents a Linux machine as the VPN app's daemon sees it: the VPN service runs in a VPN host process the daemon starts at each connect, and the kill switch's block is an nftables table (LinuxVpnKillSwitch).

LinuxJournalLogger

Represents the console of a systemd service, whose stdout is the journal: each line starts with its level, as <3> for an error, which the journal files it under and takes off.

LinuxJournalLoggerProvider

Provides the journal as the daemon's console sink, where stdout is the journal (IsConsole): the Linux host offers it in the terminal's place, so each line has one writer whatever the unit says.

LinuxVpnHostArgs

Represents the VPN host's command line, which the daemon writes and the VPN host reads (LinuxVpnHost).

LinuxVpnKillSwitch

Represents the kill switch's block on Linux: an nftables table of ours for both IP versions (inet), replaced whole by one nft -f, a transaction with no gap.