From 99849399c0a14e1ff2773e87de05c18ee59ab128 Mon Sep 17 00:00:00 2001 From: ru Date: Sat, 30 Sep 2006 19:07:03 +0000 Subject: Revise markup. --- usr.sbin/ipfwpcap/ipfwpcap.8 | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'usr.sbin/ipfwpcap') diff --git a/usr.sbin/ipfwpcap/ipfwpcap.8 b/usr.sbin/ipfwpcap/ipfwpcap.8 index 0bd4256..82753c4 100644 --- a/usr.sbin/ipfwpcap/ipfwpcap.8 +++ b/usr.sbin/ipfwpcap/ipfwpcap.8 @@ -54,11 +54,13 @@ The packets are then dropped unless is used. .Pp The options are as follows: -.Bl -tag -width Ds +.Bl -tag -width indent .It Fl d Turns on extra debugging messages. .It Fl r -Writes packets back to the divert socket. +Writes packets back to the +.Xr divert 4 +socket. .It Fl rr Indicates that it is okay to quit if .Ar maxbytes @@ -66,7 +68,8 @@ or .Ar maxpkts are reached. Diverted packets will silently disappear if nothing is listening on the -divert socket. +.Xr divert 4 +socket. .It Fl b Ar maxbytes Stop dumping after .Ar maxbytes @@ -90,23 +93,23 @@ The .Ar dumpfile argument is the path to the file to write captured packets to. Specify -.Sq Li - +.Sq Fl to write to stdout. .Sh EXIT STATUS .Ex -std .Sh EXAMPLES -.Dl ipfwpcap -r 8091 divt.log & +.Dl "ipfwpcap -r 8091 divt.log &" .Pp Starts .Nm as a background job listening to port 8091 and reflecting the packets back to the socket. .Pp -.Dl ipfw add 2864 divert 8091 ip from 192.168.1.101 +.Dl "ipfw add 2864 divert 8091 ip from 192.0.2.101" .Pp Example .Xr ipfw 8 -rule to divert all packets from 192.168.1.101 to port 8091. +rule to divert all packets from 192.0.2.101 to port 8091. See .Xr ipfw 8 for details. -- cgit v1.1