mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-08-23 01:27:13 +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:
@@ -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