Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Actions = echo.NewKVData(). Add(iptables.TargetAccept, `接受`). Add(iptables.TargetDrop, `丢弃`). Add(iptables.TargetReject, `拒绝`). Add(iptables.TargetLog, `记录日志`)
View Source
var Directions = echo.NewKVData(). Add(iptables.ChainInput, `入站`). Add(iptables.ChainOutput, `出站`). Add(iptables.ChainPreRouting, `入站前`). Add(iptables.ChainPostRouting, `出站后`)
View Source
var IPProtocols = echo.NewKVData().
Add(`4`, `IPv4`).
Add(`6`, `IPv6`)
View Source
var NetProtocols = echo.NewKVData(). Add(iptables.ProtocolTCP, `TCP`). Add(iptables.ProtocolUDP, `UDP`). Add(iptables.ProtocolICMP, `ICMP`). Add(iptables.ProtocolAll, `ALL`)
View Source
var Types = echo.NewKVData(). Add(iptables.TableFilter, `Filter`). Add(iptables.TableNAT, `NAT`). Add(iptables.TableMangle, `Mangle`). Add(iptables.TableRaw, `Raw`)
Functions ¶
func EngineIPv4 ¶
func EngineIPv6 ¶
func SetFormData ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.