mirror of
https://github.com/jeremyd/ergo.git
synced 2026-05-17 05:14:49 -07:00
fix #1428
Tor listeners should never see an STS cap. Add an undocumented 'hide-sts' key for listeners that hides the STS cap. This can be used if the listener is secured at layer 3 or 4 (VPNs, E2E mixnets). It will be necessary to add the relevant IPs to `secure-nets`.
This commit is contained in:
@@ -54,6 +54,7 @@ type ListenerConfig struct {
|
||||
Tor bool
|
||||
STSOnly bool
|
||||
WebSocket bool
|
||||
HideSTS bool
|
||||
}
|
||||
|
||||
// read a PROXY header (either v1 or v2), ensuring we don't read anything beyond
|
||||
|
||||
Reference in New Issue
Block a user