Просмотр исходного кода

sni-router: clarify fronting-loop trigger is DNS, not name equality

pull/478/head
Alexey 1 неделю назад
Родитель
Сommit
bf501a80f7
1 измененных файлов: 7 добавлений и 0 удалений
  1. 7
    0
      contrib/sni-router/README.md

+ 7
- 0
contrib/sni-router/README.md Просмотреть файл

67
 fronting dial would hit HAProxy on `:443`, HAProxy would see the SNI
67
 fronting dial would hit HAProxy on `:443`, HAProxy would see the SNI
68
 matching the secret and route the connection back to mtg → loop.
68
 matching the secret and route the connection back to mtg → loop.
69
 
69
 
70
+The trigger is DNS, not name equality: the loop reproduces whenever
71
+the secret's hostname resolves to this host, regardless of how it
72
+relates to the domain Caddy serves (same name, subdomain, parent, or
73
+unrelated).  In an SNI-router deployment the secret's hostname has to
74
+point here for clients to reach mtg in the first place, so the loop
75
+is the default state unless mtg is steered away from HAProxy.
76
+
70
 To break the loop, `mtg-config.toml` pins the fronting target to
77
 To break the loop, `mtg-config.toml` pins the fronting target to
71
 Caddy's container address directly:
78
 Caddy's container address directly:
72
 
79
 

Загрузка…
Отмена
Сохранить