
Security News
Federal Government Rescinds Software Supply Chain Mandates, Makes SBOMs Optional
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.
socket-proxy
Advanced tools
This tool allows to forward TCP ports through a proxy server. The proxy server can expose the listening port directly or bridge the port between two clients allowing the bridge client to expose the listening port. Afterwards the applications can connect directly to the exposed ports like they were connected to the listening port. For easier handling HTTP ports can directly be addressed and the proxy server exposed those throw sub-domains as a simple reverse proxy.
With this tool you can publish local service which might cause security issues for non-hardened ports. You should consider further security measurements to harden critical systems if used. The HTTP implementation is very basic. It's recommended to use a reverse proxy like nginx with SSL and a wildcard certificate if HTTPS is required.
The below examples are assuming the minimal necessary certificates. You can generate CA and certificates to be used on the server and client (e.g. using certs.sh of the package, easy-rsa, or openssl directly).
$ socket_proxy server --cert certificate.pem --key certificate.key
$ socket_proxy client --ca ca.pem -c SERVER -d TARGET:PORT
$ socket_proxy server --cert certificate.pem --key certificate.key
--protocol. See the log or API for the bridge token$ socket_proxy client --ca ca.pem -c SERVER -d TARGET:PORT --protocol bridge
$ socket_proxy bridge --ca ca.pem -c SERVER --bridge BRIDGE_TOKEN
GET / returns the state of the server as JSON dictionary. Use the path to get only specific information.
E.g. /clients only returns the sub-dictionary clients and /clients/edcb13dc0c7c6c64 returns only
information about the client edcb13dc0c7c6c64.
DELETE /<client> disconnects the client <client>.
The client side API doesn't support SSL!
GET / returns the state of the server as JSON dictionary. Use the path to get only specific information.
E.g. /tunnels only returns the sub-dictionary tunnels and /tunnels/edcb13dc0c7c6c64 returns only
information about the tunnel edcb13dc0c7c6c64.
GET /api/token returns a new authentication token as JSON string.
DELETE /<tunnel>/<client> disconnects the client <client> of the tunnel <tunnel>.
DELETE /<tunnel> disconnects the tunnel <tunnel>.
FAQs
Proxy TCP ports of local systems
We found that socket-proxy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.

Research
/Security News
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.