gen

package
v0.0.0-...-f1d3745 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package gen reads the standard gen-msg.map file that is distributed with snort. A line of this file is of the format:

generator-id || alert-id || text-description

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFile

func ReadFile(file string) (<-chan GenMap, <-chan error)

Asynchronously read gen-msg.map, the result/errors are returned over channels. The caller should use a select statement.

Types

type GEN

type GEN struct {
	// Textual description of generator
	Description string
}

Defines the fields for a generator

type GenMap

type GenMap map[uint32]map[uint32]*GEN

Representation of gen-msg.map file

Jump to

Keyboard shortcuts

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