sshserver

package
v0.0.0-...-9f68740 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(listenAddr string, geoipClient *geoip.GeoIP, tinybirdClient *tinybird.TinyBird)

Types

type LoginEvent

type LoginEvent struct {
	Date          string `json:"date"`
	SessionId     string `json:"session_id"`
	ClientIP      string `json:"client_ip"`
	User          string `json:"user"`
	Password      string `json:"password"`
	ClientVersion string `json:"client_version"`
	Success       bool   `json:"success"`
	CountryCode   string `json:"country_code"`
	City          string `json:"city"`
	ASName        string `json:"as_name"`
	ASNumber      uint   `json:"asn"`
}

type SessionEvent

type SessionEvent struct {
	Date        string `json:"date"`
	SessionId   string `json:"session_id"`
	Cmd         string `json:"cmd"`
	Interactive bool   `json:"interactive"`
}

Jump to

Keyboard shortcuts

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