Socket
Socket
Sign inDemoInstall

pcap

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pcap - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

3

changelog.md
Changelog
=========
## v0.3.3 - April 21, 2012
Resolved "Symbol pcap_binding_module not found" by adding NODE_MODULE directive.
## v0.3.2 - April 9, 2012

@@ -5,0 +8,0 @@ Bumped version to test npm install

2

package.json
{
"name" : "pcap",
"version" : "0.3.2",
"version" : "0.3.3",
"description" : "raw packet capture, decoding, and analysis",

@@ -5,0 +5,0 @@ "author": "Matt Ranney <mjr@ranney.com>",

@@ -105,3 +105,3 @@ node_pcap

tcp_tracker = new pcap.TCP_tracker(),
pcap_session = pcap.createSession(interface, "ip proto \tcp");
pcap_session = pcap.createSession(interface, "ip proto \\tcp");

@@ -158,4 +158,4 @@ tcp_tracker.on('start', function (session) {

* `http_request`: function(session, http)
* `http_request_body`: function(session, http, data)
* `http request`: function(session, http)
* `http request body`: function(session, http, data)

@@ -165,9 +165,9 @@ Note that `data` is a node Buffer object sliced from the original packet. If you want to use it past the

* `http_request_complete`: function(session, http)
* `http_response`: function(session, http)
* `http_response_body`: function(session, http, data)
* `http request complete`: function(session, http)
* `http response`: function(session, http)
* `http response body`: function(session, http, data)
`data` is a Buffer slice. See above.
* `http_response_complete`: function(session, http)
* `http response complete`: function(session, http)

@@ -180,4 +180,4 @@ See `http_trace` for an example of how to use these events to decode HTTP.

* `websocket_upgrade`: function(session, http)
* `websocket_message`: function(session, dir, message)
* `websocket upgrade`: function(session, http)
* `websocket message`: function(session, dir, message)

@@ -184,0 +184,0 @@ See `http_trace` for an example of how to use these events to decode WebSocket.

Sorry, the diff of this file is not supported yet

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