- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 30 for ips (0.01 seconds)
-
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**.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 15.8K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/behind-a-proxy.md
/// ### 啟用代理轉發標頭 { #enable-proxy-forwarded-headers } 你可以在啟動 FastAPI CLI 時使用「CLI 選項」`--forwarded-allow-ips`,並傳入允許解析這些轉發標頭的受信任 IP 位址。 如果將其設為 `--forwarded-allow-ips="*"`,就會信任所有進來的 IP。 如果你的「伺服器」位於受信任的「代理」之後,且只有代理會與它通訊,這樣會讓它接受該「代理」的任何 IP。 <div class="termy"> ```console $ fastapi run --forwarded-allow-ips="*" <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 15.3K bytes - Click Count (0) -
docs/ko/docs/advanced/behind-a-proxy.md
FastAPI CLI를 *CLI 옵션* `--forwarded-allow-ips`로 실행하고, 전달 헤더를 읽을 수 있도록 신뢰할 IP 주소들을 넘길 수 있습니다. `--forwarded-allow-ips="*"`로 설정하면 들어오는 모든 IP를 신뢰합니다. **서버**가 신뢰할 수 있는 **프록시** 뒤에 있고 프록시만 서버에 접근한다면, 이는 해당 **프록시**의 IP가 무엇이든 간에 받아들이게 됩니다. <div class="termy"> ```console $ fastapi run --forwarded-allow-ips="*"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 17.9K bytes - Click Count (0) -
docs/zh/docs/advanced/behind-a-proxy.md
/// ### 启用代理转发的请求头 { #enable-proxy-forwarded-headers } 你可以用 *CLI 选项* `--forwarded-allow-ips` 启动 FastAPI CLI,并传入应该被信任、允许读取这些转发请求头的 IP 地址列表。 如果设置为 `--forwarded-allow-ips="*"`,就会信任所有来源 IP。 如果你的**服务器**位于受信任的**代理**之后,并且只有代理会与它通信,这将使其接受该**代理**的任何 IP。 <div class="termy"> ```console $ fastapi run --forwarded-allow-ips="*"Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 15.1K bytes - Click Count (0) -
docs/ja/docs/advanced/behind-a-proxy.md
### プロキシ転送ヘッダーを有効化 { #enable-proxy-forwarded-headers } FastAPI CLI を *CLI オプション* `--forwarded-allow-ips` 付きで起動し、転送ヘッダーを信頼して読んでよい IP アドレスを指定できます。 `--forwarded-allow-ips="*"` とすると、すべての送信元 IP を信頼します。 **サーバー** が信頼できる **プロキシ** の背後にあり、そのプロキシからのみ接続される場合、プロキシの IP を受け入れるようになります。 <div class="termy"> ```console $ fastapi run --forwarded-allow-ips="*"Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 18.9K bytes - Click Count (0) -
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**.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 14K bytes - Click Count (0) -
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++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.8K bytes - Click Count (0) -
cmd/endpoint_test.go
} } func TestCreateEndpoints(t *testing.T) { tempGlobalMinioPort := globalMinioPort defer func() { globalMinioPort = tempGlobalMinioPort }() globalMinioPort = "9000" // Filter ipList by IPs those do not start with '127.'. nonLoopBackIPs := localIP4.FuncMatch(func(ip string, matchString string) bool { return !net.ParseIP(ip).IsLoopback() }, "") if len(nonLoopBackIPs) == 0 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 18.9K bytes - Click Count (0) -
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
docs/zh-hant/docs/deployment/https.md
/// 然而,因為**應用伺服器**並不知道自己在受信任的**代理**之後,預設情況下它不會信任這些標頭。 但你可以設定**應用伺服器**去信任由**代理**送來的「轉發」標頭。若你使用 FastAPI CLI,可以用 *CLI 參數* `--forwarded-allow-ips` 指定應信任哪些 IP 來的「轉發」標頭。 例如,如果**應用伺服器**只會接收來自受信任**代理**的連線,你可以設定 `--forwarded-allow-ips="*"`,也就是信任所有來源 IP,因為實際上它只會收到**代理**那個 IP 送來的請求。 如此一來,應用就能知道自己的對外 URL、是否使用 HTTPS、網域為何等資訊。 這在正確處理重新導向等情境時很有用。 /// tip
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 11.8K bytes - Click Count (0)