Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for IPs (0.2 sec)

  1. cmd/net.go

    		// This case is needed when all ips in the list
    		// have same last octets, Following just ensures that
    		// 127.0.0.1 is moved to the end of the list.
    		if ipV4s[i].IsLoopback() {
    			return false
    		}
    		if ipV4s[j].IsLoopback() {
    			return true
    		}
    		return []byte(ipV4s[i].To4())[3] > []byte(ipV4s[j].To4())[3]
    	})
    
    	var ips []string
    	for _, ip := range ipV4s {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (1)
  2. docs/en/docs/advanced/behind-a-proxy.md

    ///
    
    ### Enable Proxy Forwarded Headers { #enable-proxy-forwarded-headers }
    
    You can start FastAPI CLI with the *CLI Option* `--forwarded-allow-ips` and pass the IP addresses that should be trusted to read those forwarded headers.
    
    If you set it to `--forwarded-allow-ips="*"` it would trust all the incoming IPs.
    
    If your **server** is behind a trusted **proxy** and only the proxy talks to it, this would make it accept whatever is the IP of that **proxy**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 16K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/https.md

    For example, if the **application server** is only receiving communication from the trusted **proxy**, you can set it to `--forwarded-allow-ips="*"` to make it trust all incoming IPs, as it will only receive requests from whatever is the IP used by the **proxy**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. docs/de/docs/deployment/manually.md

    ## Konzepte des Deployments
    
    Obige Beispiele führen das Serverprogramm (z. B. Uvicorn) aus, starten **einen einzelnen Prozess** und überwachen alle IPs (`0.0.0.0`) an einem vordefinierten Port (z. B. `80`).
    
    Das ist die Grundidee. Aber Sie möchten sich wahrscheinlich um einige zusätzliche Dinge kümmern, wie zum Beispiel:
    
    * Sicherheit – HTTPS
    * Beim Hochfahren ausführen
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

        val InetSocketAddress.socketHost: String get() {
          // The InetSocketAddress was specified with a string (either a numeric IP or a host name). If
          // it is a name, all IPs for that name should be tried. If it is an IP address, only that IP
          // address should be tried.
          val address = address ?: return hostName
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (1)
  6. docs/pt/docs/deployment/manually.md

    ///
    
    ## Conceitos de Implantação
    
    Esses exemplos executam o programa do servidor (por exemplo, Uvicorn), iniciando **um único processo**, ouvindo em todos os IPs (`0.0.0.0`) em uma porta predefinida (por exemplo, `80`).
    
    Esta é a ideia básica. Mas você provavelmente vai querer cuidar de algumas coisas adicionais, como:
    
    * Segurança - HTTPS
    * Executando na inicialização
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jan 09 20:41:07 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

        @Test
        public void testDifferentIpsIndependent() throws Exception {
            // Different IPs should have independent limits
            for (int i = 1; i <= 3; i++) {
                assertTrue(rateLimiter.checkAttempt("user1", "192.168.1." + i));
                rateLimiter.recordFailure("user1", "192.168.1." + i);
            }
    
            // All different IPs should still be allowed
            for (int i = 1; i <= 3; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. cmd/net_test.go

    		}
    	}
    }
    
    func TestSortIPs(t *testing.T) {
    	testCases := []struct {
    		ipList       []string
    		sortedIPList []string
    	}{
    		// Default case of two ips one with higher octet moves
    		// to the beginning of the list.
    		{
    			ipList:       []string{"127.0.0.1", "10.0.0.13"},
    			sortedIPList: []string{"10.0.0.13", "127.0.0.1"},
    		},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. docs/fr/docs/deployment/manually.md

    ## Concepts de déploiement
    
    Ces exemples lancent le programme serveur (e.g. Uvicorn), démarrant **un seul processus**, sur toutes les IPs (`0.0.
    0.0`) sur un port prédéfini (par example, `80`).
    
    C'est l'idée de base. Mais vous vous préoccuperez probablement de certains concepts supplémentaires, tels que ... :
    
    * la sécurité - HTTPS
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/AuthenticationRateLimiter.java

                IpAttempts ip = entry.getValue();
                return !ip.isBlocked() && ip.getLastAttempt().plus(cleanupInterval).isBefore(now);
            });
    
            log.debug("Cleaned up rate limiter entries. Accounts: {}, IPs: {}", accountAttempts.size(), ipAttempts.size());
        }
    
        /**
         * Manually unlock an account
         *
         * @param username the username to unlock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top