package
10.358.0+incompatible
Repository: https://github.com/aporeto-inc/trireme-lib.git
Documentation: pkg.go.dev
# Functions
GetIPv4Impl creates the instance of ipv4 struct which implements the interface ipImpl.
GetIPv6Impl creates the instance of ipv6 struct which implements the interface ipImpl.
NewInstance creates a new iptables controller instance.
# Constants
CustomQOSChain is the name of the chain where users can install custom QOS rules.
HostModeInput represent the chain that contains Hostmode input rules.
HostModeOutput represent the chain that contains Hostmode output rules.
IPV4 version for ipv4.
IPv4DefaultIP is the default ip address of ipv4 subnets.
IPV6 version for ipv6.
IPv6DefaultIP is the default IP subnet of ipv6.
IstioRedirPort is the port where the App traffic from the output chain is redirected into Istio-proxy, we need to accept this traffic as we don't to come in between APP --> Envoy traffic.
IstioUID is the UID of the istio-proxy(envoy) that is used in the iptables to identify the envoy generated traffic.
NetworkSvcInput represent the chain that contains NetworkSvc input rules.
NetworkSvcOutput represent the chain that contains NetworkSvc output rules.
NfqueueInput represents the chain that contains the nfqueue input rules.
NfqueueOutput represents the chain that contains the nfqueue output rules.
TriremeInput represent the chain that contains pu input rules.
TriremeOutput represent the chain that contains pu output rules.
# Interfaces
IPImpl interface is to be used by the iptable implentors like ipv4 and ipv6.