tacacs

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: BSD-3-Clause, GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Decoder = &decoder.StreamDecoder{
	Type:        types.Type_NC_TACACS,
	Name:        serviceTACACS,
	Description: "TACACS+ is a protocol for remote authentication and access control via a centralized server",
	PostInit: func(d *decoder.StreamDecoder) error {
		var err error
		tacacsLog, _, err = logging.InitZapLogger(
			decoderconfig.Instance.Out,
			"tacacs",
			decoderconfig.Instance.Debug,
		)
		return err
	},
	CanDecode: func(client, server []byte) bool {

		if len(client) >= 12 && client[0]&0xF0 == 0xC0 {
			return true
		}
		if len(server) >= 12 && server[0]&0xF0 == 0xC0 {
			return true
		}
		return false
	},
	DeInit: func(sd *decoder.StreamDecoder) error {
		return tacacsLog.Sync()
	},
	Factory: &tacacsReader{},
	Typ:     core.TCP,
}

Decoder for protocol analysis and writing audit records to disk.

View Source
var SharedKey = "John3.16"

SharedKey is the default TACACS+ shared secret used for decryption. Override this for your environment.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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