mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-16 18:08:40 +00:00
ipn: prefer allow/denylist terminology
Signed-off-by: Will Norris <will@tailscale.com>
This commit is contained in:
parent
5a3da3cd7f
commit
6d5c3c1637
@ -26,8 +26,8 @@ func IsInterestingService(s tailcfg.Service, os string) bool {
|
|||||||
// there.
|
// there.
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
// Windows has tons of TCP listeners. We need to move to a blacklist
|
// Windows has tons of TCP listeners. We need to move to a denylist
|
||||||
// model later, but for now we just whitelist some common ones:
|
// model later, but for now we just allow some common ones:
|
||||||
switch s.Port {
|
switch s.Port {
|
||||||
case 22, // ssh
|
case 22, // ssh
|
||||||
80, // http
|
80, // http
|
||||||
|
Loading…
x
Reference in New Issue
Block a user