iptables

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IPTablesDroppedPacketIdx = 0
	IPTablesDroppedByteIdx   = 1
)

Variables

This section is empty.

Functions

func NewIPTables

func NewIPTables(config *cfg.BouncerConfig) (types.Backend, error)

Types

type Ipsets

type Ipsets struct {
	Ipset []struct {
		Name   string `xml:"name,attr"`
		Header struct {
			Numentries string `xml:"numentries"`
		} `xml:"header"`
	} `xml:"ipset"`
}

Jump to

Keyboard shortcuts

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