Affected by GO-2022-1119
and 1 other vulnerabilities
GO-2022-1119 : Tailscale daemon is vulnerable to information disclosure via CSRF in tailscale.com
GO-2022-1120 : Tailscale Windows daemon is vulnerable to RCE via CSRF in tailscale.com
Discover Packages
tailscale.com
safesocket
package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Aug 1, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 28
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Package safesocket creates either a Unix socket, if possible, or
otherwise a localhost TCP connection.
ConnCloseRead calls c's CloseRead method. c is expected to be
either a UnixConn or TCPConn as returned from this package.
ConnCloseWrite calls c's CloseWrite method. c is expected to be
either a UnixConn or TCPConn as returned from this package.
Connect connects to either path (on Unix) or the provided localhost port (on Windows).
Listen returns a listener either on Unix socket path (on Unix), or
the localhost port (on Windows).
If port is 0, the returned gotPort says which port was selected on Windows.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.