Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for redirect (0.2 sec)

  1. cni/pkg/iptables/iptables.go

    	//
    	// DESC: If this is a UDP DNS request to a non-localhost resolver, send it to ztunnel DNS proxy port
    	if redirectDNS {
    		iptablesBuilder.AppendRule(
    			iptableslog.UndefinedCommand, ChainInpodOutput, iptablesconstants.NAT,
    			"!", "-o", "lo",
    			"-p", "udp",
    			"-m", "udp",
    			"--dport", "53",
    			"-j", "REDIRECT",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin_test.go

    			Namespace: "",
    			Labels:    map[string]string{},
    		},
    	}
    
    	return fakePod, fakeNS
    }
    
    func (mrdir *mockInterceptRuleMgr) Program(podName, netns string, redirect *Redirect) error {
    	mrdir.lastRedirect = append(mrdir.lastRedirect, redirect)
    	return nil
    }
    
    // returns the test server URL and a dispose func for the test server
    func setupCNIEventClientWithMockServer(serverErr bool) (string, func() bool) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  3. cni/README.md

            - "sidecar.istio.io/inject" is not false
            - "sidecar.istio.io/status" exists
    
    ### Redirect API
    
    The annotation based control is currently only supported in 'sidecar' mode. See plugin/redirect.go for details.
    
    - redirectMode allows TPROXY may to be set, required envoy has extra permissions. Default is redirect.
    - includeIPCidr, excludeIPCidr
    - includeInboudPorts, excludeInboundPorts
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. cni/pkg/plugin/plugin.go

    		log.Infof("excluded due to not containing sidecar annotation")
    		return nil
    	}
    
    	log.Debugf("Setting up redirect")
    
    	redirect, err := NewRedirect(pi)
    	if err != nil {
    		log.Errorf("redirect failed due to bad params: %v", err)
    		return err
    	}
    
    	if err := rulesMgr.Program(podName, args.Netns, redirect); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    func setupLogging(conf *Config) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. manifests/charts/istio-control/istio-discovery/files/waypoint.yaml

            {{- if $network }}
            - name: ISTIO_META_NETWORK
              value: "{{ $network }}"
            {{- end }}
            - name: ISTIO_META_INTERCEPTION_MODE
              value: REDIRECT
            - name: ISTIO_META_WORKLOAD_NAME
              value: {{.DeploymentName}}
            - name: ISTIO_META_OWNER
              value: kubernetes://apis/apps/v1/namespaces/{{.Namespace}}/deployments/{{.DeploymentName}}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  6. cmd/utils.go

    		// for i, c := range via {
    		// 	fmt.Printf("Sofar %d: %s %s\n", i, c.Method, c.URL.String())
    		// }
    		// Save the last request in a redirect chain.
    		lastReq = req
    		// We do not follow redirect back to client application.
    		if req.URL.Path == "/oauth_callback" {
    			return http.ErrUseLastResponse
    		}
    		return nil
    	}
    
    	dexClient := http.Client{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  7. cni/pkg/cmd/root.go

    			// Start ambient controller
    
    			// node agent will spawn a goroutine and watch the K8S API for events,
    			// as well as listen for messages from the CNI binary.
    			log.Info("Starting ambient node agent with inpod redirect mode")
    			ambientAgent, err := nodeagent.NewServer(ctx, watchServerReady, cfg.InstallConfig.CNIEventAddress,
    				nodeagent.AmbientArgs{
    					SystemNamespace: nodeagent.PodNamespace,
    					Revision:        nodeagent.Revision,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  8. cmd/common-main.go

    	}
    	if globalBrowserEnabled {
    		if redirectURL := env.Get(config.EnvBrowserRedirectURL, ""); redirectURL != "" {
    			u, err := xnet.ParseHTTPURL(redirectURL)
    			if err != nil {
    				logger.Fatal(err, "Invalid MINIO_BROWSER_REDIRECT_URL value in environment variable")
    			}
    			// Look for if URL has invalid values and return error.
    			if !((u.Scheme == "http" || u.Scheme == "https") &&
    				u.Opaque == "" &&
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  9. docs/en/mkdocs.yml

        - github_sponsors: ../en/data/github_sponsors.yml
        - people: ../en/data/people.yml
        - sponsors_badge: ../en/data/sponsors_badge.yml
        - sponsors: ../en/data/sponsors.yml
      redirects:
        redirect_maps:
          deployment/deta.md: deployment/cloud.md
          advanced/sql-databases-peewee.md: how-to/sql-databases-peewee.md
          advanced/async-sql-databases.md: how-to/async-sql-encode-databases.md
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/behind-a-proxy.md

            [[http.services.app.loadBalancer.servers]]
              url = "http://127.0.0.1:8000"
    ```
    
    This file configures Traefik to use the path prefix `/api/v1`.
    
    And then it will redirect its requests to your Uvicorn running on `http://127.0.0.1:8000`.
    
    Now start Traefik:
    
    <div class="termy">
    
    ```console
    $ ./traefik --configFile=traefik.toml
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
Back to top