ongrep

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

commit ae9cf93a086ad574da1f301340a492c2257311f6
parent c4fafd4b69eaad4074b91a4befb01cd75259bbad
Author: Jordan Ritter <jpr5@darkridge.com>
Date:   Wed, 16 Feb 2005 06:50:01 +0000

update documentation for -d and -L

Diffstat:
Mngrep.8 | 14++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/ngrep.8 b/ngrep.8 @@ -2,11 +2,11 @@ .\" .\" All content, except portions of the bpf filter explanation, are: .\" -.\" Copyright (c) 2004 Jordan Ritter <jpr5@darkridge.com> +.\" Copyright (c) 2005 Jordan Ritter <jpr5@darkridge.com> .\" .\" Please refer to the LICENSE file for more information. -.TH NGREP 8 "March 2004" *nux "User Manuals" +.TH NGREP 8 "February 2005" *nux "User Manuals" .SH NAME @@ -14,7 +14,7 @@ ngrep \- network grep .SH SYNOPSIS -.B ngrep <-hXViwqpevxlDtTRM> <-IO +.B ngrep <-LhXViwqpevxlDtTRM> <-IO .I pcap_dump .B > < -n .I num @@ -169,7 +169,13 @@ packets total, then exit. .IP "-d dev" By default ngrep will select a default interface to listen on. Use -this option to force ngrep to listen on interface \fIdev\fP. +this option to force ngrep to listen on interface \fIdev\fP. On UNIX +this is the name of the interface, and on Win32 this is the index of +the interface as listed by option ``L''. + +.IP "-L" +(Win32 only) This option lists all local ethernet interfaces and their +index (for use with option ``d''). .IP "-A num" Dump \fInum\fP packets of trailing context after matching a packet.