New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mlsp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mlsp

A simple multi-target local ssl proxy with a routing table.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

mlsp

Multiple Local SSL Proxy. Inspired by local-ssl-proxy.

:warning: It's only intended for development usage only! It will show a certificate warning

Usage

Install

npm install -g mlsp

Basic usage

# Starts a proxy from 127.0.0.1:8080 to 127.0.0.1:8081
mlsp --source 8080 --target 8081

Advanced usage

mlsp can be configured to route based on different hostnames given a routing table. For example, the following table:

{
  "service-1.local.foobar.com": {
    "port": "8081"
  },
  "service-2.local.foobar.com": {
    "port": "8082"
  },
  "default": {
    "port": "8080"
  }
}

And the following command:

sudo mlsp --source 443 --routing ./routing_table.json

Will start the server on 443 port (default https port), and will route requests based on their hostname. To add such routing, one must also edit /etc/hosts to point the given hosts to 127.0.0.1.

Keywords

ssl

FAQs

Package last updated on 17 Jan 2018

Did you know?

Socket

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.

Install

Related posts