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

Revert wireguard blacklist by default... turns out we have people who depend on that. may revisit.

Adam Ierymenko 4 лет назад
Родитель
Сommit
a1b6cc44fc
2 измененных файлов с 0 добавлено и 3 удалено
  1. 0 1
      RELEASE-NOTES.md
  2. 0 2
      service/OneService.cpp

+ 0 - 1
RELEASE-NOTES.md

@@ -4,7 +4,6 @@ ZeroTier Release Notes
 # 2021-02-02 -- Version 1.6.3
 
  * Fix a path learning problem causing nodes to go into a "coma" in some network configurations
- * Blacklist WireGuard interfaces by default
  * Also groundhog day
 
 # 2020-11-30 -- Version 1.6.2

+ 0 - 2
service/OneService.cpp

@@ -3017,7 +3017,6 @@ public:
 		if ((ifname[0] == 'z') && (ifname[1] == 't')) return false; // sanity check: zt#
 		if ((ifname[0] == 't') && (ifname[1] == 'u') && (ifname[2] == 'n')) return false; // tun# is probably an OpenVPN tunnel or similar
 		if ((ifname[0] == 't') && (ifname[1] == 'a') && (ifname[2] == 'p')) return false; // tap# is probably an OpenVPN tunnel or similar
-		if ((ifname[0] == 'w') && (ifname[1] == 'g')) return false; // wg# is probably a WireGuard tunnel or similar
 #endif
 
 #ifdef __APPLE__
@@ -3026,7 +3025,6 @@ public:
 		if ((ifname[0] == 'z') && (ifname[1] == 't')) return false; // sanity check: zt#
 		if ((ifname[0] == 't') && (ifname[1] == 'u') && (ifname[2] == 'n')) return false; // tun# is probably an OpenVPN tunnel or similar
 		if ((ifname[0] == 't') && (ifname[1] == 'a') && (ifname[2] == 'p')) return false; // tap# is probably an OpenVPN tunnel or similar
-		if ((ifname[0] == 'w') && (ifname[1] == 'g')) return false; // wg# is probably a WireGuard tunnel or similar
 		if ((ifname[0] == 'u') && (ifname[1] == 't') && (ifname[2] == 'u') && (ifname[3] == 'n')) return false; // ... as is utun#
 #endif