Socket
Socket
Sign inDemoInstall

smtp-server

Package Overview
Dependencies
2
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.14.1 to 1.14.2

4

CHANGELOG.md
# Changelog
## v1.14.2 2016-09-02
* Fix issue with invalidly resolved IPv4 addresses on IPv6 interface
## v1.14.1 2016-08-16

@@ -4,0 +8,0 @@

6

lib/smtp-connection.js

@@ -68,3 +68,3 @@ 'use strict';

// Store remote address for later usage
this.remoteAddress = this._socket.remoteAddress;
this.remoteAddress = (this._socket.remoteAddress || '').replace(/^::ffff:/, '');

@@ -162,3 +162,3 @@ // normalize IPv6 addresses

// dns.reverse throws on invalid input, see https://github.com/nodejs/node/issues/3112
dns.reverse((this.remoteAddress || '').toString(), reverseCb);
dns.reverse(this.remoteAddress.toString(), reverseCb);
} catch (E) {

@@ -712,3 +712,3 @@ reverseCb(E);

if (!this._xClient.has('ADDR:DEFAULT')) {
this._xClient.set('ADDR:DEFAULT', this.remoteAddress || '');
this._xClient.set('ADDR:DEFAULT', this.remoteAddress);
}

@@ -715,0 +715,0 @@

{
"name": "smtp-server",
"version": "1.14.1",
"version": "1.14.2",
"description": "Create custom SMTP servers on the fly",

@@ -5,0 +5,0 @@ "main": "lib/smtp-server.js",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc