Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pcappp

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pcappp

Packet capture per port

  • 0.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

pcappp (Package capture per port)

This is a lightweight wrap up of node_pcap, which recording data transfer per port, and a http api for access the data.

###Usage

Install

npm i pcappp -g

Listen on device lo0, and filter the package to a port range [8080,8081]. Serve the data at 1.2.3.4:6334

sudo pcappp -b 1.2.3.4 -p 6334 -i lo0 dst portrange 8080-8081

Access the data

curl http://localhost:6334/8080/127.0.0.1
{
  "date": 1424919851117,
  "bytes": 141
}

###Note

  • All data are add together until you take it.
  • Filter is follow the lib_pcap pattern

Keywords

FAQs

Package last updated on 22 Apr 2015

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