New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ssltunnel

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssltunnel - npm Package Compare versions

Comparing version 0.0.9 to 0.1.0

13

lib/ssltunnel.js

@@ -48,2 +48,5 @@ var tls = require('tls');

requestCert: true,
// reject unauthorized requests
rejectUnauthorized: true,

@@ -99,2 +102,10 @@ // validate the CA of the client certificate

// check that we got no errors
serviceSocket.on("error", function (exception) {
console.log('Can\'t open socket to the server. Error: ' + JSON.stringify(exception));
proxySocket.end();
});
// on connect (for ssltunnel server)

@@ -131,3 +142,3 @@ serviceSocket.on("connect", function () {

console.log('Running \'server\' role. Listening on ' + options.server_port +
', decrypting and forwarding to real server machine on ' + + options.client_host + ':' + options.client_port);
', decrypting and forwarding to real server machine on ' + options.client_host + ':' + options.client_port);
}

@@ -134,0 +145,0 @@

2

package.json

@@ -5,3 +5,3 @@ {

"description": "TCP over SSL / TLS tunnel",
"version": "0.0.9",
"version": "0.1.0",
"homepage": "https://github.com/anodejs/node-ssltunnel",

@@ -8,0 +8,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc