tcpliveplay.1 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. .de1 NOP
  2. . it 1 an-trap
  3. . if \\n[.$] \,\\$*\/
  4. ..
  5. .ie t \
  6. .ds B-Font [CB]
  7. .ds I-Font [CI]
  8. .ds R-Font [CR]
  9. .el \
  10. .ds B-Font B
  11. .ds I-Font I
  12. .ds R-Font R
  13. .TH tcpliveplay 1 "27 Dec 2018" "tcpliveplay" "User Commands"
  14. .\"
  15. .\" DO NOT EDIT THIS FILE (in-mem file)
  16. .\"
  17. .\" It has been AutoGen-ed
  18. .\" From the definitions tcpliveplay_opts.def
  19. .\" and the template file agman-cmd.tpl
  20. .SH NAME
  21. \f\*[B-Font]tcpliveplay\fP
  22. \- Replays network traffic stored in a pcap file on live networks using new TCP connections
  23. .SH SYNOPSIS
  24. \f\*[B-Font]tcpliveplay\fP
  25. .\" Mixture of short (flag) options and long options
  26. [\f\*[B-Font]\-flags\f[]]
  27. [\f\*[B-Font]\-flag\f[] [\f\*[I-Font]value\f[]]]
  28. [\f\*[B-Font]\-\-option-name\f[][[=| ]\f\*[I-Font]value\f[]]]
  29. <eth0/eth1> <file.pcap> <Destination IP [1.2.3.4]> <Destination mac [0a:1b:2c:3d:4e:5f]> <'random' dst port OR specify dport #>
  30. .sp \n(Ppu
  31. .ne 2
  32. This program, 'tcpliveplay' replays a captured set of packets using new TCP
  33. connections with the captured TCP payloads against a remote host in order to
  34. do comprehensive vulnerability testing.
  35. .SH "DESCRIPTION"
  36. The basic operation of tcpliveplay is it rewrites the given pcap file
  37. in a scheduled event format and responds with the appropriate packet if
  38. the remote host meets tcp protocal's SEQ/ACK expectation. Once expectations
  39. are met, then the local packets are sent with the same payload except with
  40. new tcp SEQ & ACK numbers meeting the response from the remote hose.
  41. .sp
  42. The input pcap file are rewritten to start at the first encounter of the
  43. SYN packet for correct operation making this packet be the first action in
  44. the event schedule of local host doing the replay.
  45. .sp
  46. For more details, please see the Tcpreplay Manual at:
  47. http://tcpreplay.appneta.com
  48. .SH "OPTIONS"
  49. .TP
  50. .NOP \f\*[B-Font]\-d\f[] \f\*[I-Font]number\f[], \f\*[B-Font]\-\-dbug\f[]=\f\*[I-Font]number\f[]
  51. Enable debugging output.
  52. This option may appear up to 1 times.
  53. This option takes an integer number as its argument.
  54. The value of
  55. \f\*[I-Font]number\f[]
  56. is constrained to being:
  57. .in +4
  58. .nf
  59. .na
  60. in the range 0 through 5
  61. .fi
  62. .in -4
  63. The default
  64. \f\*[I-Font]number\f[]
  65. for this option is:
  66. .ti +4
  67. 0
  68. .sp
  69. If configured with \--enable-debug, then you can specify a verbosity
  70. level for debugging output. Higher numbers increase verbosity.
  71. .TP
  72. .NOP \f\*[B-Font]\-V\f[], \f\*[B-Font]\-\-version\f[]
  73. Print version information.
  74. .sp
  75. .TP
  76. .NOP \f\*[B-Font]\-h\f[], \f\*[B-Font]\-\-less\-help\f[]
  77. Display less usage information and exit.
  78. .sp
  79. .TP
  80. .NOP \f\*[B-Font]\-H\f[], \f\*[B-Font]\-\-help\f[]
  81. Display usage information and exit.
  82. .TP
  83. .NOP \f\*[B-Font]\-\&!\f[], \f\*[B-Font]\-\-more-help\f[]
  84. Pass the extended usage information through a pager.
  85. .TP
  86. .NOP \f\*[B-Font]\-\-save-opts\f[] [=\f\*[I-Font]cfgfile\f[]]
  87. Save the option state to \fIcfgfile\fP. The default is the \fIlast\fP
  88. configuration file listed in the \fBOPTION PRESETS\fP section, below.
  89. The command will exit after updating the config file.
  90. .TP
  91. .NOP \f\*[B-Font]\-\-load-opts\f[]=\f\*[I-Font]cfgfile\f[], \f\*[B-Font]\-\-no-load-opts\f[]
  92. Load options from \fIcfgfile\fP.
  93. The \fIno-load-opts\fP form will disable the loading
  94. of earlier config/rc/ini files. \fI\-\-no-load-opts\fP is handled early,
  95. out of order.
  96. .PP
  97. .SH "OPTION PRESETS"
  98. Any option that is not marked as \fInot presettable\fP may be preset
  99. by loading values from configuration ("RC" or ".INI") file(s).
  100. The \fIhomerc\fP file is "\fI$$/\fP", unless that is a directory.
  101. In that case, the file "\fI.tcpliveplayrc\fP"
  102. is searched for within that directory.
  103. .SH "FILES"
  104. See \fBOPTION PRESETS\fP for configuration files.
  105. .SH "EXIT STATUS"
  106. One of the following exit values will be returned:
  107. .TP
  108. .NOP 0 " (EXIT_SUCCESS)"
  109. Successful program execution.
  110. .TP
  111. .NOP 1 " (EXIT_FAILURE)"
  112. The operation failed or the command syntax was not valid.
  113. .TP
  114. .NOP 66 " (EX_NOINPUT)"
  115. A specified configuration file could not be loaded.
  116. .TP
  117. .NOP 70 " (EX_SOFTWARE)"
  118. libopts had an internal operational error. Please report
  119. it to autogen-users@lists.sourceforge.net. Thank you.
  120. .PP
  121. .SH "AUTHORS"
  122. Copyright 2012 Yazan Siam
  123. For support please use the tcpreplay-users@lists.sourceforge.net mailing list.
  124. The latest version of this software is always available from:
  125. http://tcpreplay.appneta.com
  126. .SH "COPYRIGHT"
  127. Copyright (C) 2012 Yazan Siam all rights reserved.
  128. This program is released under the terms of the Modified Berkeley Software Distribution License.
  129. .SH "NOTES"
  130. This manual page was \fIAutoGen\fP-erated from the \fBtcpliveplay\fP
  131. option definitions.