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.3 to 0.0.4

3

bin/run_ssltunnel.js

@@ -8,2 +8,5 @@ var ssltunnel = require('./../lib/ssltunnel');

.describe('c', 'The client port number')
.default('h','localhost')
.alias('h', 'client_host')
.describe('h', 'The client hostname')
.demand('s')

@@ -10,0 +13,0 @@ .alias('s', 'server_port')

4

lib/ssltunnel.js

@@ -31,2 +31,4 @@ var tls = require('tls');

var clientHost = options.client_host;
var clientPackage = isClient ? tls : net;

@@ -73,3 +75,3 @@ var serverPackage = isClient ? net : tls;

{
serviceSocket = clientPackage.connect(clientPort, clientOptions);
serviceSocket = clientPackage.connect(clientPort, clientHost, clientOptions);
}

@@ -76,0 +78,0 @@ else

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

"description": "TCP over SSL / TLS tunnel",
"version": "0.0.3",
"version": "0.0.4",
"homepage": "https://github.com/dimastopel/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