openbsd-ports/net/ngrep/patches/patch-ngrep_8
sthen fd761e2321 sync ngrep with version from upstream repo (mostly). there's been no release
(or much activity) in years and it has various fixes, including:
- unbreak IPv6
- support pflog capture files and pppoe
- chroot to /var/empty when dropping privs
2011-06-16 21:21:43 +00:00

52 lines
1.8 KiB
Plaintext

$OpenBSD: patch-ngrep_8,v 1.5 2011/06/16 21:21:43 sthen Exp $
--- ngrep.8.orig Thu Jun 16 16:04:18 2011
+++ ngrep.8 Thu Jun 16 16:04:12 2011
@@ -1,12 +1,12 @@
-.\" $Id: patch-ngrep_8,v 1.5 2011/06/16 21:21:43 sthen Exp $
+.\" $Id: patch-ngrep_8,v 1.5 2011/06/16 21:21:43 sthen Exp $
.\"
.\" All content, except portions of the bpf filter explanation, are:
.\"
-.\" Copyright (c) 2006 Jordan Ritter <jpr5@darkridge.com>
+.\" Copyright (c) 2007 Jordan Ritter <jpr5@darkridge.com>
.\"
.\" Please refer to the LICENSE file for more information.
-.TH NGREP 8 "November 2006" *nux "User Manuals"
+.TH NGREP 8 "December 2007" *nux "User Manuals"
.SH NAME
@@ -106,7 +106,8 @@ a packet is matched.
.IP -T
Print a timestamp in the form of +S.UUUUUU, indicating the delta
-between packet matches.
+between packet matches. Specify a second time to indicate the delta
+since the first packet match.
.IP -R
Do not try to drop privileges to the DROPPRIVS_USER.
@@ -180,21 +181,6 @@ this option to force ngrep to listen on interface \fId
.IP "-A num"
Dump \fInum\fP packets of trailing context after matching a packet.
-
-.IP "-W normal|byline|none"
-Alter the method by which ngrep displays packet payload. ``normal''
-mode represents the standard behaviour, ``byline'' instructs ngrep to
-respect embedded linefeeds (useful for observing HTTP transactions,
-for instance), and ``none'' results in the payload on one single line
-(useful for scripted processing of ngrep output).
-
-.IP "-c cols"
-Ignore the detected terminal width and force the column width to the
-specified size.
-
-.IP "-P char"
-Change the non-printable character from the default ``.'' to the
-character specified.
.IP "\fI match expression\fP"
A match expression is either an extended regular expression, or if the