Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
github.com/pschou/ssl-forwarder
Super simple SSL forwarder that does one thing exposes an endpoint, establishes a connection, then creates a new SSL connection going into the infrastructure.
To run the forwarder, listening on the default port :8080 use
ssl-forwarder
Else if you want to specify a port use
ssl-forwarder --listen :2000
Or listen on a specific port and host:
ssl-forwarder --listen 1.2.3.4:2000
The corresponding pre-built container can be pulled here:
docker pull pschou/ssl-forwarder:0.1
Help context
$ ./ssl-forwarder -h
Simple SSL forwarder, written by Paul Schou (github.com/pschou/ssl-forwarder) in December 2020
All rights reserved, personal use only, provided AS-IS -- not responsible for loss.
Usage implies agreement.
Usage: ./ssl-forwarder [options...]
Options:
--debug Verbose output
--tls BOOL Enable listener TLS (Default: true)
Listener options:
--listen HOST:PORT Listen address for forwarder (Default: ":7443")
--secure-server BOOL Enforce minimum of TLS 1.2 on server side (Default: true)
--verify-server BOOL Verify server, do certificate checks (Default: true)
Target options:
--host FQDN Hostname to verify outgoing connection with (Default: "")
--secure-client BOOL Enforce minimum of TLS 1.2 on client side (Default: true)
--target HOST:PORT Sending address for forwarder (Default: "127.0.0.1:443")
--verify-client BOOL Verify client, do certificate checks (Default: true)
Certificate options:
--ca FILE File to load with ROOT CAs - reloaded every minute by adding any new entries
(Default: "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem")
--cert FILE File to load with CERT - automatically reloaded every minute
(Default: "/etc/pki/server.pem")
--key FILE File to load with KEY - automatically reloaded every minute
(Default: "/etc/pki/server.pem")
FAQs
Unknown package
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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.