Skip to content

Commit

Permalink
document live capture args -n & -S
Browse files Browse the repository at this point in the history
  • Loading branch information
synfinatic committed Dec 9, 2003
1 parent 31e6020 commit 1297b93
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions man/tcpreplay.8
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.\" $Id: tcpreplay.8,v 1.15 2003/11/06 05:59:30 aturner Exp $
.\" $Id: tcpreplay.8,v 1.16 2003/12/09 03:20:20 aturner Exp $
.TH TCPREPLAY 8
.SH NAME
tcpreplay \- replay packets from capture files
Expand Down Expand Up @@ -34,7 +34,7 @@ tcpreplay \- replay packets from capture files
.I intf mac
] [
.B \-l
.I loop count
.I loop
] [
.B \-m
.I multiplier
Expand All @@ -47,6 +47,8 @@ tcpreplay \- replay packets from capture files
.B \-p
.I packetrate
] [
.B \-n
] [
.B \-o
.I offset
] [
Expand All @@ -55,6 +57,9 @@ tcpreplay \- replay packets from capture files
.B \-s
.I seed
] [
.B \-S
.I snaplen
] [
.B \-t
.I MTU
] [
Expand Down Expand Up @@ -150,6 +155,9 @@ recorded, specified as a floating-point number.
.B \-M or "no_martians"
Disable sending martian packets (source networks: 0/8, 127/8, 255/8)
.TP
.B \-n or "not_nosy"
Don't listen in promiscuous mode when sniffing with -S
.TP
.B \-o or "offset"
Jump to packet at the nearest specified byte offset and start replaying packets from there.
.TP
Expand All @@ -174,6 +182,12 @@ Specify a seed value to allow rewriting the source and destination IP
addresses (only in IP header) to pseudo-random values. Will also recalculate
the IP header as necessary.
.TP
.B \-S or "sniff_snaplen"
Instead of reading from a saved tcpdump file, perform live capture.
The argument is the number of bytes to capture off the wire.
The name of the capture interface will be the nominal filename. Please
read the FAQ for more details/warnings about this feature.
.TP
.B \-t or "mtu"
Specify the MTU in bytes of the interface(s) being used. Default is 1500 which
is standard for 10/100 Ethernet.
Expand Down

0 comments on commit 1297b93

Please sign in to comment.