- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 155 for iptables (0.12 sec)
-
cni/pkg/nodeagent/fakes_test.go
AddLoopbackRoutesCnt atomic.Int32 DelLoopbackRoutesCnt atomic.Int32 } var _ iptables.NetlinkDependencies = &fakeIptablesDeps{} func (r *fakeIptablesDeps) AddInpodMarkIPRule(cfg *iptables.Config) error { r.AddInpodMarkIPRuleCnt.Add(1) return nil } func (r *fakeIptablesDeps) DelInpodMarkIPRule(cfg *iptables.Config) error { r.DelInpodMarkIPRuleCnt.Add(1) return nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 23:33:46 UTC 2024 - 3.9K bytes - Viewed (0) -
cni/README.md
- If so, calls `istio-iptables` with params to setup pod netns - If ambient, sets up the ambient logic. - `istio-iptables` - sets up iptables to redirect a list of ports to the port envoy will listen - shared code with istio-init container - it will generate an iptables-save config, based on annotations/labels and other settings, and apply it.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jul 17 23:10:17 UTC 2024 - 10.5K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/intstr" "istio.io/istio/cni/pkg/iptables" istiolog "istio.io/istio/pkg/log" "istio.io/istio/pkg/test/util/assert" "istio.io/istio/tools/istio-iptables/pkg/dependencies" ) func setupLogging() { opts := istiolog.DefaultOptions() opts.SetDefaultOutputLevel(istiolog.OverrideScopeName, istiolog.DebugLevel)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 25 16:13:38 UTC 2024 - 10.7K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_iptables_unspecified.go
import "errors" // ErrNotImplemented is returned when a requested feature is not implemented. var ErrNotImplemented = errors.New("not implemented") // Program defines a method which programs iptables based on the parameters // provided in Redirect. func (ipt *iptables) Program(podName, netns string, rdrct *Redirect) error { return ErrNotImplemented
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1.1K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_iptables.go
// limitations under the License. // This is a sample chained plugin that supports multiple CNI versions. It // parses prevResult according to the cniVersion package plugin type iptables struct{} func newIPTables() InterceptRuleMgr { return &iptables{}
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 810 bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
"istio.io/api/annotation" "istio.io/istio/cni/pkg/iptables" "istio.io/istio/pkg/slices" dep "istio.io/istio/tools/istio-iptables/pkg/dependencies" ) // Adapts CNI to ztunnel server. decoupled from k8s for easier integration testing. type NetServer struct { ztunnelServer ZtunnelServer currentPodSnapshot *podNetnsCache podIptables *iptables.IptablesConfigurator podNs PodNetnsFinder
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Oct 21 16:48:55 UTC 2024 - 9.1K bytes - Viewed (0) -
cni/pkg/nodeagent/server.go
if err != nil { return nil, fmt.Errorf("error initializing the ztunnel server: %w", err) } hostIptables, podIptables, err := iptables.NewIptablesConfigurator(cfg, realDependenciesHost(), realDependenciesInpod(), iptables.RealNlDeps()) if err != nil { return nil, fmt.Errorf("error configuring iptables: %w", err) } // Create hostprobe rules now, in the host netns hostIptables.DeleteHostRules()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Sep 25 20:54:34 UTC 2024 - 13.4K bytes - Viewed (0) -
cni/pkg/iptables/iptables_test.go
// See the License for the specific language governing permissions and // limitations under the License. package iptables import ( "net/netip" "path/filepath" "strings" "testing" "istio.io/istio/cni/pkg/scopes" testutil "istio.io/istio/pilot/test/util" dep "istio.io/istio/tools/istio-iptables/pkg/dependencies" ) func TestIptables(t *testing.T) { cases := []struct { name string
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 15 15:39:28 UTC 2024 - 4.1K bytes - Viewed (0) -
cni/pkg/cmd/root.go
"istio.io/istio/cni/pkg/scopes" "istio.io/istio/pkg/collateral" "istio.io/istio/pkg/ctrlz" "istio.io/istio/pkg/env" istiolog "istio.io/istio/pkg/log" "istio.io/istio/pkg/version" iptables "istio.io/istio/tools/istio-iptables/pkg/constants" ) var ( logOptions = istiolog.DefaultOptions() log = scopes.CNIAgent ctrlzOptions = func() *ctrlz.Options { o := ctrlz.DefaultOptions() o.EnablePprof = true
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 16 15:33:47 UTC 2024 - 12.7K bytes - Viewed (0) -
cni/pkg/ipset/ipset.go
} // TODO this should actually create v6 and v6 subsets of type `hash:ip`, add them both to a // superset of type `list:set` - we can then query the superset directly in iptables (with the same rule), // and iptables will be smart enough to pick the correct underlying set (v4 or v6, based on context), // reducing the # of rules we need. //
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 3.9K bytes - Viewed (0)