monitor

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 30, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package monitor scans active network connections against the hexwall store. It logs or kills untrusted connections based on the selected mode.

Index

Constants

View Source
const (
	// ModeWatch logs suspicious connections without killing them.
	ModeWatch = "watch"
	// ModeEnforce kills suspicious connections and records the action.
	ModeEnforce = "enforce"
)

Variables

This section is empty.

Functions

func RunScan

func RunScan(ctx context.Context, hexwallStore *store.Store, deghostClient *deghost.Client, mode string, debug bool)

RunScan inspects established connections and applies the selected trust and kill policy.

Types

This section is empty.

Jump to

Keyboard shortcuts

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