iptable

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseIPTableRules

func ParseIPTableRules(rules []string) []uint64

ParseIPTableRules takes a slice of iptables rules as input and returns a slice of uint64 containing the parsed destination port numbers from the rules.

func ReadIPTables

func ReadIPTables(table string) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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