<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: TRex Opening connection method in Tools</title>
    <link>https://community.cisco.com/t5/tools/trex-opening-connection-method/m-p/3451621#M74</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hanoch, thank you for the fast answer.&lt;/P&gt;&lt;P&gt;What I described resembeled TCP proxy, but the more accurate description will be man in the middle, as the FW actually is the server for the client machine and the client for the server machine.&lt;/P&gt;&lt;P&gt;And as you mentioned it's indeed utilizes the FW CPU. Will the TCP stack feature will be able to support it?&lt;/P&gt;&lt;P&gt;Also, I remember I saw somewhere that one of the next planned features is supporting client &amp;amp; server machines. If I remember correctly this actually supports the above, am I correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, I assume the TCP stack will support fragmentation, packet splitting, retransmission, fixing packet TCP checksum and reject/reset, but will it enforce timeout on sent packets?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Roi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jul 2017 15:43:29 GMT</pubDate>
    <dc:creator>roic</dc:creator>
    <dc:date>2017-07-10T15:43:29Z</dc:date>
    <item>
      <title>TRex Opening connection method</title>
      <link>https://community.cisco.com/t5/tools/trex-opening-connection-method/m-p/3451618#M71</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I'm testing TRex to see how it can help us to improve our testing methodology and I encountered a problem.&lt;/P&gt;&lt;P&gt;I'm testing a FW and one of the ways the FW works is like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Client sends Syn to server&lt;/LI&gt;&lt;LI&gt;FW captures the Syn and returns to the client SynAck (without sending the Syn packet to the server)&lt;/LI&gt;&lt;LI&gt;Client sends Ack to the server&lt;/LI&gt;&lt;LI&gt;FW capture the Ack and then starts a 3way handshake with the server.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words the client thinks it speaks with the server but it actually complete 3way handshake with the FW and only then the FW starts &amp;amp; completes the 3way handshake with the Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRex seems confused from it and as a result the server starts to send packets before the FW expect the packets to arrive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way for me to make it work? Or since pcaps are being used its a lost cause? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Roi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Jul 2017 16:32:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/trex-opening-connection-method/m-p/3451618#M71</guid>
      <dc:creator>roic</dc:creator>
      <dc:date>2017-07-09T16:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: TRex Opening connection method</title>
      <link>https://community.cisco.com/t5/tools/trex-opening-connection-method/m-p/3451619#M72</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Hi Roi, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;you are right. We tried to solve most cases (like NAT/FW syn randomization etc) but in this case the current Stateful (with --learn) won't work because the learn expect specific sequence of packets. However the new advance Stateful will work in this case as client and server are separate and uses TCP for L7 data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Hanoh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 07:03:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/trex-opening-connection-method/m-p/3451619#M72</guid>
      <dc:creator>hhaim@cisco.com</dc:creator>
      <dc:date>2017-07-10T07:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: TRex Opening connection method</title>
      <link>https://community.cisco.com/t5/tools/trex-opening-connection-method/m-p/3451620#M73</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Hi Roi, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;After talking with Ido&amp;nbsp; I realized that what you are describing is TCP proxy as there is no way to "connect" the original client session&amp;nbsp; with the new server session. All the connection should continue to be proxy throw the FW. This will consume CPU utilization from the FW&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Hanoh&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 07:51:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/trex-opening-connection-method/m-p/3451620#M73</guid>
      <dc:creator>hhaim@cisco.com</dc:creator>
      <dc:date>2017-07-10T07:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: TRex Opening connection method</title>
      <link>https://community.cisco.com/t5/tools/trex-opening-connection-method/m-p/3451621#M74</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hanoch, thank you for the fast answer.&lt;/P&gt;&lt;P&gt;What I described resembeled TCP proxy, but the more accurate description will be man in the middle, as the FW actually is the server for the client machine and the client for the server machine.&lt;/P&gt;&lt;P&gt;And as you mentioned it's indeed utilizes the FW CPU. Will the TCP stack feature will be able to support it?&lt;/P&gt;&lt;P&gt;Also, I remember I saw somewhere that one of the next planned features is supporting client &amp;amp; server machines. If I remember correctly this actually supports the above, am I correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, I assume the TCP stack will support fragmentation, packet splitting, retransmission, fixing packet TCP checksum and reject/reset, but will it enforce timeout on sent packets?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Roi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 15:43:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/trex-opening-connection-method/m-p/3451621#M74</guid>
      <dc:creator>roic</dc:creator>
      <dc:date>2017-07-10T15:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: TRex Opening connection method</title>
      <link>https://community.cisco.com/t5/tools/trex-opening-connection-method/m-p/3451622#M75</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Hi Roi,&lt;/SPAN&gt; understood, man-in-the-middle SYN DDos protection is cheaper from CPU utilization perspective than a full TCP proxy, agreed. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;You are probably referring to this feature:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;A class="jive-link-blog-small" data-containerid="6838" data-containertype="37" data-objectid="9034" data-objecttype="38" href="https://communities.cisco.com/community/developer/trex/blog/2017/06/20/trex-upcoming-stateful-scalable-tcp-support"&gt;https://communities.cisco.com/community/developer/trex/blog/2017/06/20/trex-upcoming-stateful-scalable-tcp-support&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;To your questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;TRex scalable TCP feature will support Man-in-the-middle,packet splitting, retransimition, fixing TCP checksum, reset/reject. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;1. IP fragmentation will be implemented in the second phase &lt;BR /&gt;2. Timeout wasn't implemented yet, but could be added to the L7 emulation instruction model &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Something like that &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;rx_expect_data(min_len=1024, &lt;STRONG&gt;timeout&lt;/STRONG&gt;=12sec) &lt;/SPAN&gt;à&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; in case of timeout send reset/close &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;or even on Tx side&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Could you explain why it is important as TCP will try to send the information in all cases. Maybe you want to simulate application that has timeout on write/read, which application has this feature?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Hanoh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 06:18:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/trex-opening-connection-method/m-p/3451622#M75</guid>
      <dc:creator>hhaim@cisco.com</dc:creator>
      <dc:date>2017-07-12T06:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: TRex Opening connection method</title>
      <link>https://community.cisco.com/t5/tools/trex-opening-connection-method/m-p/3451623#M76</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hanoch, thanks again for the detailed answer.&lt;/P&gt;&lt;P&gt;Regarding the timeout, it's more FW related than application related, since the FW can hold (=delay) packets from time to time to have the next few packets in order to validate the connection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Jul 2017 06:42:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/trex-opening-connection-method/m-p/3451623#M76</guid>
      <dc:creator>roic</dc:creator>
      <dc:date>2017-07-16T06:42:51Z</dc:date>
    </item>
  </channel>
</rss>

