Procházet zdrojové kódy

Fix description of blocklist rejection behavior

The previous wording ("silently routed to the fronting domain")
is inaccurate. In mtglib/proxy.go the blocklist path calls
conn.Close() immediately with no further handshake or fronting;
domain fronting only happens on FakeTLS failures for non-blocked
IPs. Reword to "TCP connection is closed with no response" so
users searching the docs get the same symptom they actually see.
pull/467/head
dolonet před 3 týdny
rodič
revize
68a4685ec6
2 změnil soubory, kde provedl 5 přidání a 4 odebrání
  1. 3
    2
      README.md
  2. 2
    2
      example.config.toml

+ 3
- 2
README.md Zobrazit soubor

@@ -529,8 +529,9 @@ message like:
529 529
 The reason is that the default blocklist (`firehol_level1.netset`)
530 530
 includes bogon networks, which covers all RFC1918 ranges
531 531
 (`10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`). Any client
532
-connecting from such an address is rejected by the blocklist and
533
-silently routed to the fronting domain.
532
+connecting from such an address is rejected by the blocklist —
533
+the TCP connection is closed immediately with no response, so
534
+from the client's point of view nothing loads at all.
534 535
 
535 536
 There are three ways to resolve it:
536 537
 

+ 2
- 2
example.config.toml Zobrazit soubor

@@ -321,8 +321,8 @@ download-concurrency = 2
321 321
 # networks, and therefore RFC1918 ranges as well (10.0.0.0/8,
322 322
 # 172.16.0.0/12, 192.168.0.0/16). If you run mtg on a home/LAN network
323 323
 # and connect from a client on the same LAN, that client will be
324
-# rejected with "ip was blacklisted" and silently routed to the fronting
325
-# domain. If you see this, you can either disable this section
324
+# rejected with "ip was blacklisted" and the connection dropped (TCP
325
+# close, no response). If you see this, you can either disable this section
326 326
 # (enabled = false), replace firehol_level1 with a narrower list that
327 327
 # does not include bogons (e.g. firehol_abusers_1d), or connect via
328 328
 # a public IP/domain with hairpin NAT on your router. See README for

Načítá se…
Zrušit
Uložit