Versions in this module Expand all Collapse all v0 v0.1.0 May 23, 2018 Changes in this version + const LogAlert + const LogCrit + const LogDebug + const LogEmerg + const LogErr + const LogInfo + const LogNotice + const LogWarning + func CleanCertificateTable() + func CleanConntrackTable() + func CleanSessionTable() + func FindCertificate(finder string) (x509.Certificate, bool) + func InsertCertificate(finder string, cert x509.Certificate) + func InsertConntrackEntry(finder string, entry ConntrackEntry) + func InsertSessionEntry(finder string, entry SessionEntry) + func Int2Ip(value uint32) net.IP + func LogMessage(level int, source string, format string, args ...interface{}) + func NextSessionID() uint64 + func RemoveCertificate(finder string) + func RemoveConntrackEntry(finder string) + func RemoveSessionEntry(finder string) + func Startup() + func Tuple2String(tuple Tuple) string + type CertificateHolder struct + Certificate x509.Certificate + CreationTime time.Time + type ConntrackEntry struct + C2Sbytes uint64 + C2Srate float32 + ConntrackID uint + PurgeFlag bool + S2Cbytes uint64 + S2Crate float32 + SessionActivity time.Time + SessionCreation time.Time + SessionID uint64 + SessionTuple Tuple + TotalBytes uint64 + TotalRate float32 + UpdateCount uint64 + func FindConntrackEntry(finder string) (ConntrackEntry, bool) + type LogWriter struct + func NewLogWriter(source string) *LogWriter + func (w *LogWriter) Write(p []byte) (int, error) + type NetloggerMessage struct + DstAddr uint32 + DstIntf uint8 + DstPort uint16 + IcmpType uint16 + Mark uint32 + Prefix string + Protocol uint8 + SrcAddr uint32 + SrcIntf uint8 + SrcPort uint16 + type SessionEntry struct + ClientLocation string + ServerCertificate x509.Certificate + ServerLocation string + SessionActivity time.Time + SessionCreation time.Time + SessionID uint64 + SessionTuple Tuple + UpdateCount uint64 + func FindSessionEntry(finder string) (SessionEntry, bool) + type TrafficMessage struct + MsgIP *layers.IPv4 + MsgLength int + MsgPacket gopacket.Packet + MsgTCP *layers.TCP + MsgTuple Tuple + MsgUDP *layers.UDP + type Tuple struct + ClientAddr net.IP + ClientPort uint16 + Protocol uint8 + ServerAddr net.IP + ServerPort uint16