ongrep

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

commit a776af0bd955e63cf06915e45678381f8afabc02
parent 129979f6c105e38e7b797b74b25d7bb7fc91bf31
Author: Jordan Ritter <jpr5@darkridge.com>
Date:   Mon, 29 Mar 2004 02:11:21 +0000

removing this extraneous documentation; deferring to online documentation
for better examples

Diffstat:
DUSAGE | 21---------------------
1 file changed, 0 insertions(+), 21 deletions(-)

diff --git a/USAGE b/USAGE @@ -1,21 +0,0 @@ -Examples: - - o ngrep -qd eth1 'HTTP' tcp port 80 - - Be quiet, look only at tcp packets with either source or dest port - 80 on interface eth1, look for anything matching 'HTTP'. - - o ngrep -qd le0 port 53 - - Watch all tcp and udp port 53 (nameserver) traffic on interface - le0. Be quiet. - - o ngrep 'USER|PASS' tcp port 21 - - Look only at tcp packets with either source or dest port 21, look - for anything resembling an FTP login. - - o ngrep -wiA 2 'user|pass' tcp port 21 - - Alternatively, match either 'user' or 'pass' case insensitively, - and dump the next 2 packets following (that match the bpf filter).