Add the ProtonVPN server networks to the IP lookup (closes #236)
check / check (push) Failing after 1m43s
check / check (push) Failing after 1m43s
Adds the VPN list `protonvpn`, downloaded once a day. It shows in `flags.is_vpn` and `vpn_providers` with no other change. Proton's `/vpn/logicals` answers 401 without a logged-in session, even with a current client's `x-pm-appversion`, so the list comes from the public ProtonVPN-IPs mirror. No request header is needed. Judgement call: the mirror's /24 file, not its exact addresses. Its README says traffic leaves from unpublished addresses in those networks. The cost is that neighbouring addresses are listed too. Model: opus-5-5
This commit is contained in:
1 parent
28ef0275ba
commit
5713e6e181
6 files changed
+85
-1
No files matched your search
@@ -51,6 +51,10 @@ const (
|
||||
// FormatIVPNJSON is IVPN's JSON server list. The hosts of its wireguard
|
||||
// and openvpn gateways have their addresses in host and v2ray.
|
||||
FormatIVPNJSON
|
||||
|
||||
// FormatProtonVPN has one network per line, with comment lines that start
|
||||
// with #. Unlike FormatLines, a file with no networks fails.
|
||||
FormatProtonVPN
|
||||
)
|
||||
|
||||
// List is one public IP list.
|
||||
|
||||
Reference in new issue
Block a user