Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for iptables (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. CHANGELOG/CHANGELOG-1.2.md

      * Kube-Proxy now defaults to an iptables-based proxy. If the --proxy-mode flag is
    specified while starting kube-proxy (‘userspace’ or ‘iptables’), the flag value
    will be respected. If the flag value is not specified, the kube-proxy respects
    the Node object annotation: ‘net.beta.kubernetes.io/proxy-mode’. If the
    annotation is not specified, then ‘iptables’ mode is the default. If kube-proxy
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri Dec 04 06:36:19 UTC 2020
    - 41.4K bytes
    - Viewed (0)
  8. cmd/testdata/xl-meta-merge.zip

    firewall for changes to take effect. ```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 ``` Below command enables all incoming traffic to ports ranging from 9000 to 9010. ```sh iptables -A INPUT -p tcp --dport 9000:9010 -j ACCEPT service iptables restart...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  9. cni/pkg/repair/repair_test.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/monitoring/monitortest"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/tools/istio-iptables/pkg/constants"
    )
    
    func TestMatchesFilter(t *testing.T) {
    	makeDetectPod := func(name string, terminationMessage string, exitCode int) *corev1.Pod {
    		return makePod(makePodArgs{
    			PodName:     name,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  10. cni/pkg/plugin/sidecar_redirect.go

    // Defines the redirect object and operations.
    package plugin
    
    import (
    	"fmt"
    	"net/netip"
    	"strconv"
    	"strings"
    
    	"istio.io/api/annotation"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/tools/istio-iptables/pkg/cmd"
    )
    
    const (
    	redirectModeREDIRECT         = "REDIRECT"
    	redirectModeTPROXY           = "TPROXY"
    	defaultProxyStatusPort       = "15020"
    	defaultRedirectToPort        = "15001"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top