 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KernelLogParser ¶
type KernelLogParser struct {
}
    func (*KernelLogParser) IsIPTablesLogData ¶
func (k *KernelLogParser) IsIPTablesLogData(line string) bool
func (*KernelLogParser) Parse ¶
func (k *KernelLogParser) Parse(line string) ParsedData
type ParsedData ¶
type ParsedData struct {
	Direction       string `json:"direction"`
	Allowed         bool   `json:"allowed"`
	SourceIP        string `json:"src_ip"`
	DestinationIP   string `json:"dst_ip"`
	SourcePort      int    `json:"src_port"`
	DestinationPort int    `json:"dst_port"`
	Protocol        string `json:"protocol"`
	Mark            string `json:"mark"`
	ICMPType        int    `json:"icmp_type"`
	ICMPCode        int    `json:"icmp_code"`
}
     Click to show internal directories. 
   Click to hide internal directories.