- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for iptables (0.07 sec)
-
cni/pkg/iptables/iptables.go
delErrs = append(delErrs, cfg.ext.Run(iptablesconstants.IPTables, &iptVer, nil, cmd...)) } for _, cmd := range optionalDeleteCmds { err := cfg.ext.Run(iptablesconstants.IPTables, &iptVer, nil, cmd...) if err != nil { log.Debugf("ignoring error deleting optional iptables rule: %v", err) } } } return errors.Join(delErrs...) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 15 15:39:28 UTC 2024 - 23.3K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Aug 27 16:44:45 UTC 2024 - 8.5K bytes - Viewed (0) -
cni/pkg/iptables/iptables_e2e_test.go
initialized.Do(func() { // Setup group namespace so iptables --gid-owner will work assert.NoError(t, userns.WriteGroupMap(map[uint32]uint32{userns.OriginalGID(): 0})) // Istio iptables expects to find a non-localhost IP in some interface assert.NoError(t, exec.Command("ip", "addr", "add", "240.240.240.240/32", "dev", "lo").Run()) // Put a new file we have permission to access over xtables.lock xtables := filepath.Join(t.TempDir(), "xtables.lock")
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 15 15:39:28 UTC 2024 - 2.9K 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) -
README.md
```sh firewall-cmd --reload ``` ### iptables For hosts with iptables enabled (RHEL, CentOS, etc), you can use `iptables` command to enable all traffic coming to specific ports. Use below command to allow access to port 9000 ```sh iptables -A INPUT -p tcp --dport 9000 -j ACCEPT service iptables restart ```
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Oct 13 13:34:11 UTC 2024 - 18.2K bytes - Viewed (0) -
cni/pkg/iptables/iptables_linux.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package iptables import ( "errors" "fmt" "net" "os" "strings" "github.com/vishvananda/netlink" "golang.org/x/sys/unix" "istio.io/istio/pkg/ptr" )
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Sep 06 09:44:28 UTC 2024 - 4K bytes - Viewed (0) -
cni/pkg/util/podutil.go
} return true } // PodRedirectionActive reports on whether the pod _has_ actually been configured for traffic redirection. // // That is, have we annotated it after successfully sending it to the node proxy and set up iptables rules. // // If you just want to know if the pod _should be_ configured for traffic redirection, see PodRedirectionEnabled func PodRedirectionActive(pod *corev1.Pod) bool {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 4.7K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.29.md
- Bumped `distroless-iptables` to `0.3.2` based on Go `1.21.1`. ([#120527](https://github.com/kubernetes/kubernetes/pull/120527), [@cpanato](https://github.com/cpanato)) - Bumped `distroless-iptables` to `0.3.3` based on Go `1.21.2`. ([#121073](https://github.com/kubernetes/kubernetes/pull/121073), [@cpanato](https://github.com/cpanato))
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Wed Oct 23 04:37:31 UTC 2024 - 375.1K bytes - Viewed (1)