security

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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

func LoginAllowed(callsign string) bool

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

func SourceAllowed(srccall string) bool

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL