report

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package report : ポーリング処理

Index

Constants

This section is empty.

Variables

View Source
var UnKnownPortMap = make(map[string]int64)

Functions

func DoCheckCert added in v1.3.0

func DoCheckCert()

func GetAddressInfo

func GetAddressInfo(addr string) *[]AddrInfoEnt

func IsDstServer added in v1.1.0

func IsDstServer(fr *flowReportEnt) bool

IsDstServer : Dstがサーバーならばtrueを返す

func ReportDevice

func ReportDevice(mac, ip string, t int64)

func ReportFlow

func ReportFlow(src string, sp int, dst string, dp, prot int, pkts, bytes int64, t int64)

func ReportTWPCAP added in v1.3.0

func ReportTWPCAP(l map[string]interface{})

func ReportTwWinLog added in v1.3.0

func ReportTwWinLog(l map[string]interface{})

func ReportUser

func ReportUser(user, server, client string, ok bool, t int64)

func ResetCertScore added in v1.3.0

func ResetCertScore()

func ResetDevicesScore

func ResetDevicesScore()

func ResetFlowsScore

func ResetFlowsScore()

func ResetIPReportScore added in v1.1.0

func ResetIPReportScore()

func ResetRADIUSFlowsScore added in v1.3.0

func ResetRADIUSFlowsScore()

func ResetServersScore

func ResetServersScore()

func ResetTLSFlowsScore added in v1.3.0

func ResetTLSFlowsScore()

func ResetUsersScore

func ResetUsersScore()

func Start

func Start(ctx context.Context) error

func UpdateFlowSensor added in v1.3.0

func UpdateFlowSensor(h, t string, r int)

func UpdateReportConf

func UpdateReportConf()

Types

type AddrInfoEnt

type AddrInfoEnt struct {
	Level string
	Title string
	Value string
}

Jump to

Keyboard shortcuts

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