1tcpliveplay(1) User Commands tcpliveplay(1)
2
3
4
6 tcpliveplay - Replays network traffic stored in a pcap file on live
7 networks using new TCP connections
8
10 tcpliveplay [-flags] [-flag [value]] [--option-name[[=| ]value]]
11 <eth0/eth1> <file.pcap> <Destination IP [1.2.3.4]> <Destination mac
12 [0a:1b:2c:3d:4e:5f]> <'random' dst port OR specify dport #>
13
14 This program, 'tcpliveplay' replays a captured set of packets using new
15 TCP connections with the captured TCP payloads against a remote host in
16 order to do comprehensive vulnerability testing.
17
19 The basic operation of tcpliveplay is it rewrites the given pcap file
20 in a scheduled event format and responds with the appropriate packet if
21 the remote host meets tcp protocal's SEQ/ACK expectation. Once expecta‐
22 tions are met, then the local packets are sent with the same payload
23 except with new tcp SEQ & ACK numbers meeting the response from the
24 remote hose.
25
26 The input pcap file are rewritten to start at the first encounter of
27 the SYN packet for correct operation making this packet be the first
28 action in the event schedule of local host doing the replay.
29
30 For more details, please see the Tcpreplay Manual at: http://tcpre‐
31 play.appneta.com
32
34 -d number, --dbug=number
35 Enable debugging output. This option may appear up to 1 times.
36 This option takes an integer number as its argument. The value
37 of number is constrained to being:
38 in the range 0 through 5
39 The default number for this option is:
40 0
41
42 If configured with --enable-debug, then you can specify a ver‐
43 bosity level for debugging output. Higher numbers increase ver‐
44 bosity.
45
46 -V, --version
47 Print version information.
48
49
50 -h, --less-help
51 Display less usage information and exit.
52
53
54 -H, --help
55 Display usage information and exit.
56
57 -!, --more-help
58 Pass the extended usage information through a pager.
59
60 --save-opts [=cfgfile]
61 Save the option state to cfgfile. The default is the last con‐
62 figuration file listed in the OPTION PRESETS section, below.
63 The command will exit after updating the config file.
64
65 --load-opts=cfgfile, --no-load-opts
66 Load options from cfgfile. The no-load-opts form will disable
67 the loading of earlier config/rc/ini files. --no-load-opts is
68 handled early, out of order.
69
71 Any option that is not marked as not presettable may be preset by load‐
72 ing values from configuration ("RC" or ".INI") file(s). The homerc
73 file is "$$/", unless that is a directory. In that case, the file
74 ".tcpliveplayrc" is searched for within that directory.
75
77 See OPTION PRESETS for configuration files.
78
80 One of the following exit values will be returned:
81
82 0 (EXIT_SUCCESS)
83 Successful program execution.
84
85 1 (EXIT_FAILURE)
86 The operation failed or the command syntax was not valid.
87
88 66 (EX_NOINPUT)
89 A specified configuration file could not be loaded.
90
91 70 (EX_SOFTWARE)
92 libopts had an internal operational error. Please report it to
93 autogen-users@lists.sourceforge.net. Thank you.
94
96 Copyright 2012 Yazan Siam For support please use the tcpreplay-
97 users@lists.sourceforge.net mailing list. The latest version of this
98 software is always available from: http://tcpreplay.appneta.com
99
101 Copyright (C) 2012 Yazan Siam all rights reserved. This program is
102 released under the terms of the Modified Berkeley Software Distribution
103 License.
104
106 This manual page was AutoGen-erated from the tcpliveplay option defini‐
107 tions.
108
109
110
111tcpliveplay 14 Jun 2020 tcpliveplay(1)