netpeek

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2021 License: MIT Imports: 12 Imported by: 0

README

netpeek

netpeek is a layer 7 sniffer. Like tcpdump, but at the application layer.

It has support for the HTTP protocol currently, so it can reconstruct the HTTP request and response from the packets flowing thru the network interface and display it with latency, packet level stats.

Some flags for filtering the packets based on host and ports:

  • sport
    Source port of the packet

  • dport
    Destination port of the packet

  • shost
    Source host of the packet

  • dhost
    Destination host of the packet

  • i
    Network interface to sniff on

  • protocol
    One of http, drain, dump
    -- http
    will dump the request and response on stdout
    -- drain
    will dump the packet metadata on stdout
    -- dump
    will dump the packet payload on stdout

  • v
    Verbose logging

  • cui (experimental)
    Use CUI (character user interface) mode

Demo

netpeek-demo

Credits

I've liberally taken inspiration and code from the JulienBreux/pody project for the CUI interface.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL