agent

package
v0.16.6 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: BSD-3-Clause, GPL-3.0 Imports: 27 Imported by: ? modules, 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.

README

NET.AGENT

net agent captures live traffic and streams the audit records to a net collect collection server over mutually authenticated TLS 1.3.

Setup, protocol and limits: docs/distributed-collection.md.

Usage

$ net agent -gen-keypair
wrote agent.crt and agent.key
agent fingerprint (add to the collector's -clients file):
b69d2c0a... <name>

$ net agent -server-fingerprint 189b7718... -addr collector:1335 -iface eth0

The collector prints its fingerprint on net collect -gen-keypair and at startup. List every flag with net agent -h.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Flags

func Flags() []string

Flags returns all flag names for the agent subcommand.

func GetFlags added in v0.9.0

func GetFlags() []cli.Flag

GetFlags returns the CLI flags for the agent subcommand.

func Run

func Run()

Run parses the subcommand flags and handles the arguments. This is a compatibility wrapper for the old Run() interface.

func RunWithContext added in v0.9.0

func RunWithContext(ctx context.Context, c *cli.Command) (runErr error)

RunWithContext runs the agent command with a CLI context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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