Documentation
¶
Overview ¶
Package security implements the configurable safety policies: callsign blacklists (login and source), the unverified-client relay restriction, and helpers shared by the inbound paths.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisallowOtherQProtocols ¶
func DisallowOtherQProtocols() bool
DisallowOtherQProtocols reports whether q-constructs using a different protocol id should be dropped.
func DisallowUnverified ¶
func DisallowUnverified() bool
DisallowUnverified reports whether unverified clients are barred from relaying packets.
func LoginAllowed ¶
LoginAllowed reports whether a login callsign is permitted (not matched by any disallow_login_call glob).
func QProtocolID ¶
func QProtocolID() string
QProtocolID returns the configured accepted q-construct protocol id letter, defaulting to "A".
func SourceAllowed ¶
SourceAllowed reports whether a packet source callsign is permitted. The built-in bogus list always applies; the configured disallow_source_call globs are checked in addition.
Types ¶
This section is empty.