mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-07-04 01:07:49 +02:00
all: do not listen on 0.0.0.0 on desktop clients
Since this may create security vulnerabilities such as DNS amplification or abusing because the listener was exposed to the entire local network.
This commit is contained in:
committed by
Cuong Manh Le
parent
ace3b1e66e
commit
00e9d2bdd3
@@ -0,0 +1,7 @@
|
||||
package ctrld
|
||||
|
||||
// IsDesktopPlatform indicates if ctrld is running on a desktop platform,
|
||||
// currently defined as macOS or Windows workstation.
|
||||
func IsDesktopPlatform() bool {
|
||||
return true
|
||||
}
|
||||
Reference in New Issue
Block a user