Table of Contents

Namespace VpnHood.Core.Filtering.Abstractions

Classes

CachedDomainFilter

Provides a stage of a domain filter pipe that remembers its next stage's verdict for each domain name.

CachedIpFilter

Provides a stage of an IP filter pipe that remembers its next stage's verdict for each destination.

DnsPorts

Provides the destination ports that tell DNS flows to a filter, which sees only a flow's protocol and destination.

DomainUtils

Provides the form of domain names that every domain filter and the domain-list database builder share, so that their entries and the names asked for match.

NetFilter

Holds the filters a VPN client or server applies to its flows: an IP filter, a domain filter and an IP mapper, each optional.

StaticDomainFilter

Provides a stage of a domain filter pipe that decides by three lists of domains held in memory: blocked, excluded and included.

StaticIpFilter

Provides a stage of an IP filter pipe that decides by sets held in memory: blocked, excluded and included address ranges, and blocked TCP and UDP ports.

Interfaces

IDomainFilter

Defines a stage of a pipe of domain filters, which decides what happens to a flow by the domain name it is for.

IIpFilter

Defines a stage of a pipe of IP filters, which decides what happens to a flow by its protocol and destination.

IIpMapper

Defines a map of endpoints: from the one a flow is sent to, to the one it reaches instead, and back for its replies.

Enums

FilterAction

Specifies a filter's verdict on a flow.