analyzer

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WireguardAnalyzer

type WireguardAnalyzer struct {
	// contains filtered or unexported fields
}

func MakeWireguardAnalyzer

func MakeWireguardAnalyzer(pubkeys [][]byte) WireguardAnalyzer

func (*WireguardAnalyzer) Analyse

func (t *WireguardAnalyzer) Analyse(packet []byte, peer net.UDPAddr) ([]net.UDPAddr, []byte)

Analyse updates the exchange table with the source address and returns the forwarding address for this packet.

Jump to

Keyboard shortcuts

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