{"_id":"http_trace","_rev":"13-67eba8c9cc699c62733b53f4f5879d69","name":"http_trace","description":"Live HTTP packet capture and protocol decoding","dist-tags":{"latest":"0.5.0"},"versions":{"0.2.4":{"name":"http_trace","version":"0.2.4","description":"Live HTTP and WebSocket packet capture and protocol decoding","author":{"name":"Matt Ranney","email":"mjr@ranney.com"},"main":"./http_trace","repository":{"type":"git","url":"git://github.com/mranney/http_trace.git"},"dependencies":{"pcap":">=0.2.4"},"bin":{"http_trace":"./http_trace"},"_id":"http_trace@0.2.4","engines":{"node":"*"},"_nodeSupported":true,"_npmVersion":"0.2.10-1","_nodeVersion":"v0.3.2-pre","dist":{"shasum":"c5e6ad4eda8210d5d553a51b5a71cb61fe0e198d","tarball":"https://registry.npmjs.org/http_trace/-/http_trace-0.2.4.tgz","integrity":"sha512-FyBrxyVC6XHudhIV/A56PJ/Pg0/pZX9ZtEQiQU5ZSprz8pqWY3gpT0wMYya6q+OhLiO/DSx9FDtpZALsvaRsxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCp3j8ftk+A8EhPBqjywD4s+tI3RqTnVYVF8hqjSrs1IgIgG5kY4GL+JlKcyVMZ6kEWzaNC5K/s6WIli7+UcRpB2Uo="}]}},"0.2.5":{"name":"http_trace","version":"0.2.5","description":"Live HTTP and WebSocket packet capture and protocol decoding","author":{"name":"Matt Ranney","email":"mjr@ranney.com"},"main":"./http_trace","repository":{"type":"git","url":"git://github.com/mranney/http_trace.git"},"dependencies":{"pcap":">=0.2.4"},"bin":{"http_trace":"./http_trace"},"_id":"http_trace@0.2.5","engines":{"node":"*"},"_nodeSupported":true,"_npmVersion":"0.2.12-1","_nodeVersion":"v0.3.6-pre","dist":{"shasum":"5299e20d295db643e0c0b40bf68638989b37b992","tarball":"https://registry.npmjs.org/http_trace/-/http_trace-0.2.5.tgz","integrity":"sha512-zciUkX2gsLd4hfm/p06utHF5NSQRbrsG2BDNyFDZXOu5vnY0vFLnqW4EXB7wCZaFJJW/W6p1tvEuDKsJMYUiwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtjgCVeePolteduVpqgRcOzy8h1RFk8SHHFqI85ZgpvQIgMIbAtTvmaTdIO0s+gbDdf5mkg1J0nr9dvPT8FhpLMrA="}]}},"0.3.0":{"name":"http_trace","version":"0.3.0","description":"Live HTTP and WebSocket packet capture and protocol decoding","author":{"name":"Matt Ranney","email":"mjr@ranney.com"},"main":"./http_trace","repository":{"type":"git","url":"git://github.com/mranney/http_trace.git"},"dependencies":{"pcap":">=0.2.4"},"bin":{"http_trace":"./http_trace"},"_id":"http_trace@0.3.0","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"0.2.16","_nodeVersion":"v0.3.7-pre","directories":{},"files":[""],"_defaultsLoaded":true,"dist":{"shasum":"c4455112077ff4b21f4778792327c6d74f06e50a","tarball":"https://registry.npmjs.org/http_trace/-/http_trace-0.3.0.tgz","integrity":"sha512-Xjgj+GXUGpbcU8fyMvfUCEu0m/smavb/ggGpLJ/3ZXXA1lreTxS7pV8N7D/jdW4cSCTgKW0o1s1tUnKT3bGgbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB0lSrtnCHSPTuXl8Ysc239DHONSp65rMClNIe0kKXxcAiEAnteDV7g/E3+BolTtuS9wP0PgGCsegk6JA97fSh9Kfhc="}]}},"0.4.0":{"name":"http_trace","version":"0.4.0","description":"Live HTTP and WebSocket packet capture and protocol decoding","author":{"name":"Matt Ranney","email":"mjr@ranney.com"},"main":"./http_trace","repository":{"type":"git","url":"git://github.com/mranney/http_trace.git"},"dependencies":{"pcap":">=0.2.4"},"bin":{"http_trace":"./http_trace"},"gitHead":"cb94323841be9cf55dca12c8cc6aa542dbbd7225","bugs":{"url":"https://github.com/mranney/http_trace/issues"},"homepage":"https://github.com/mranney/http_trace","_id":"http_trace@0.4.0","scripts":{},"_shasum":"ce53659e38b6e6a541409ae35d8f2d2525b3d42d","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mjr","email":"mjr@ranney.com"},"maintainers":[{"name":"mjr","email":"mjr@ranney.com"}],"dist":{"shasum":"ce53659e38b6e6a541409ae35d8f2d2525b3d42d","tarball":"https://registry.npmjs.org/http_trace/-/http_trace-0.4.0.tgz","integrity":"sha512-/EIKdqNmjL1cSmwC9jAZsKFHUhXW2Am/21n0GYpdwism5KMOjIQJkCNF3p534HlSnDHYcz6r7p+rU6+X1IjtrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXc2suWI4ECgKJW7PcSWrnfXflnoa1iHNBPBmHQX893AIhAPygaInHjNw9c6jaOP//wiUQnL1hZvgtmf0SsfperXz8"}]}},"0.5.0":{"name":"http_trace","version":"0.5.0","description":"Live HTTP packet capture and protocol decoding","author":{"name":"Matt Ranney","email":"mjr@ranney.com"},"main":"./http_trace","repository":{"type":"git","url":"git://github.com/mranney/http_trace.git"},"dependencies":{"pcap":">=2.0.0"},"bin":{"http_trace":"./http_trace"},"gitHead":"f655d9b0f1687e4c20685beb69dc9fce283a70fd","bugs":{"url":"https://github.com/mranney/http_trace/issues"},"homepage":"https://github.com/mranney/http_trace","_id":"http_trace@0.5.0","scripts":{},"_shasum":"67723b3e7752dd8b10c8ac2bb2cd843728e2f116","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.32","_npmUser":{"name":"mjr","email":"mjr@ranney.com"},"maintainers":[{"name":"mjr","email":"mjr@ranney.com"}],"dist":{"shasum":"67723b3e7752dd8b10c8ac2bb2cd843728e2f116","tarball":"https://registry.npmjs.org/http_trace/-/http_trace-0.5.0.tgz","integrity":"sha512-22AaJ/c7kDaY8ERJhqRF6pC/9uZ4JrzhDZ4cfT+5BEzQbIVm0Za7Ylh3gPyfvgiWC8JozNI7TDVvX9oiTbLkRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFnOzehX1fU9Qrfer/AxdjzgznBx6X/tdS7YFlFAqrFPAiEAyO4pYBQ8zmDW/zASbQYkyOUua0YSnIv2RAJdvEEkL1I="}]}}},"maintainers":[{"name":"mjr","email":"mjr@ranney.com"}],"author":{"name":"Matt Ranney","email":"mjr@ranney.com"},"repository":{"type":"git","url":"git://github.com/mranney/http_trace.git"},"time":{"modified":"2022-06-18T22:19:23.204Z","created":"2011-01-19T00:56:57.449Z","0.2.4":"2011-01-19T00:56:57.449Z","0.2.5":"2011-01-19T00:56:57.449Z","0.3.0":"2011-02-01T19:39:58.409Z","0.4.0":"2015-01-01T03:49:18.552Z","0.5.0":"2015-02-01T02:01:26.901Z"},"readme":"## examples/http_trace\n\nThis is a handy program that decodes HTTP and WebSocket traffic.  It uses `node_pcap`.  Install it with:\n\n    npm install http_trace\n\n## Usage `http_trace [options]`\n\n    Capture options:\n        -i <interface>           interface name for capture (def: first with an addr)\n        -f <pcap_filter>         packet filter in pcap-filter(7) syntax (def: all TCP packets)\n        -b <buffer>              size in MB to buffer between libpcap and app (def: 10)\n\n    HTTP filtering:\n        Filters are OR-ed together and may be specified more than once.\n        Show filters are applied first, then ignore filters.\n        --method <regex>            show requests with this method\n        --method-ignore <regex>     ignore requests with this method\n        --host <regex>              show requests with this Host header\n        --host-ignore <regex>       ignore requests with this Host header\n        --url <regex>               show requests with this URL\n        --url-ignore <regex>        ignore requests with this URL\n        --user-agent <regex>        show requests with this UA header\n        --user-agent-ignore <regex> ignore requests with this UA header\n\n    HTTP output:\n        --headers                print headers of request and response (def: off)\n        --bodies                 print request and response bodies, if any (def: off)\n        --tcp-verbose            display TCP events (def: off)\n        --no-color               disable ANSI colors (def: pretty colors on)\n\n    Examples:\n        http_trace -f \"tcp port 80\"\n           listen for TCP port 80 on the default device\n        http_trace -i eth1 --method POST\n           listen on eth1 for all traffic that has an HTTP POST\n        http_trace --host ranney --headers\n           matches ranney in Host header and prints req/res headers\n\n## Screenshot\n\n![http_trace screenshot](http://ranney.com/httptrace.jpg)\n\n\nThe TCP tracker in `node_pcap` looks for HTTP at the beginning of every TCP connection.\nIf found, all captured data on this connection will be fed to node's HTTP parser and events will be generated.\n`http_trace` has listeners for these events and will print out some helpful information.\n\nIf a WebSocket upgrade is detected, `http_trace` will start looking for WebSocket messages on that connection.\n","homepage":"https://github.com/mranney/http_trace","bugs":{"url":"https://github.com/mranney/http_trace/issues"},"readmeFilename":"README.md"}