connreject

package
v1.106.4 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2026 License: BSD-3-Clause Imports: 11 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package connreject registers the connection-rejection diagnostics feature. It owns a *connreject.Aggregator that records rejection events and exposes them via the debug-rejects LocalAPI endpoint and the GET /debug/rejects c2n endpoint.

The feature wires itself into the local backend's TUN wrapper and engine via callbacks installed at extension Init. Recording is gated at runtime by the nodecap.ConnReject node attribute; when the attribute is not set, recorded events are silently dropped by the aggregator.

Jump to

Keyboard shortcuts

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