ongrep

A cleaned up fork of ngrep for OpenBSD
git clone git://git.sgregoratto.me/ongrep
Log | Files | Refs | README | LICENSE

commit 704531208b696ddf754fb702eacaba70227b0aed
parent 5b5be033db4f88cb940097310329a2d79ba0dadc
Author: Jordan Ritter <jpr5@darkridge.com>
Date:   Wed,  6 Jun 2001 22:07:29 +0000

specified -s wrong; should show a required argument

Diffstat:
MREADME | 4++--
Mngrep.8 | 8+++++---
2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/README b/README @@ -24,8 +24,8 @@ Description: Usage: - ngrep <-hXViwqpevxlDtTs> <-IO pcap_dump> <-n num> <-d dev> <-A num> - <match expression> <bpf filter> + ngrep <-hXViwqpevxlDtT> <-IO pcap_dump> <-n num> <-d dev> <-A num> + <-s snaplen> <match expression> <bpf filter> -h is help/usage -X is interpret match expression as hexadecimal diff --git a/ngrep.8 b/ngrep.8 @@ -14,7 +14,7 @@ ngrep \- network grep .SH SYNOPSIS -.B ngrep <-hXViwqpevxlDtTs> <-IO +.B ngrep <-hXViwqpevxlDtT> <-IO .I pcap_dump .B > < -n .I num @@ -22,6 +22,8 @@ ngrep \- network grep .I dev .B > < -A .I num +.B > < -s +.I snaplen .B > < .I match expression .B > < @@ -92,8 +94,8 @@ a packet is matched. Print a timestamp in the form of +S.UUUUUU, indicating the delta between packet matches. -.IP -s -Set the bpf caplen (default 65536). +.IP "-s snaplen" +Set the bpf caplen to snaplen (default 65536). .IP "-I pcap_dump" Input file pcap_dump into ngrep. Works with any pcap-compatible dump