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

tcp-blip

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

tcp-blip

Simple proxy for testing websocket or tcp/ip socket reconnect strategies in mobile apps.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-40%
Maintainers
1
Weekly downloads
 
Created
Source

tcp-blip

Built around the awesome tcp-proxy node package.

Required node packages:

  • util
  • net
  • ip
  • tls
  • command-node
  • tcp-proxy

Description

A binary proxy that can be used to interactively snip the connections of mobile or desktop applications in order to test their reconnect behavior and strategies. Works for:

  • tcp/ip socket
  • websockets

The proxy has an interactive command line interpreter that supports a few simple commands:

  • "help" : list the existing commands
  • "list" : list the active client connections. Identifies them as ip and port.
  • "kill ip:port" : disconnects a client connection. The ip and port can be obtained using the "list" command.
  • Additional commands can be created and added to commands.js. For instance, you might want a command that will cause a lag, etc...

Usage

Installing Prerequisites

-- Install Node/NPM (Fedora based systems)
sudo yum install nodejs npm --enablerepo=epel

-- Install Node packages
npm install ip tcp-proxy command-node

node tcp-blip <Local Port> <Remote Host> <Remote Port>

Example:

Note: You need to hit [Enter] after executing in order for the command prompt to display. Anytime you don't see the command prompt just press enter.

Startup

node tcp-blip 8088 74.152.8.48 8080
tcp-blip-8080> tcp-blip Connection Testing Proxy Started
Accepting connections on port: 8088
---

tcp-blip-8080> 

Client Connects

tcp-blip-8080> 
Client [106.117.63.64:43952] Connected
tcp-blip-8080> 
Client Connected. (tot:1)
tcp-blip-8080> 

The "list" Command

tcp-blip-8080> list
[key "106.117.63.64:43952"]

1 active connection(s)

tcp-blip-8080> 

Kill a Connection

Client [106.117.63.64:43952] Disconnected
tcp-blip-8080> 
Client Disconnected. (tot:0)
tcp-blip-8080> 

Keywords

FAQs

Package last updated on 03 Dec 2017

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

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