<?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: global counter tcp_case_2 in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/global-counter-tcp-case-2/m-p/1227314#M124092</link>
    <description>&lt;P&gt;after contacting support:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt; Is there some documentation on what tcp_case_2 counter means?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there is some internal documentation that cannot be shared, contact support to know more&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt; Could we have this exposed through SNMP?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this would be a feature request, however the counters values can be retrieved through scripting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nevertheless it looks like tcp_case_2 is meaningful to monitor the amount of retransmitted TCP segments going through a firewall.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Apr 2025 07:27:53 GMT</pubDate>
    <dc:creator>frigault</dc:creator>
    <dc:date>2025-04-24T07:27:53Z</dc:date>
    <item>
      <title>global counter tcp_case_2</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/global-counter-tcp-case-2/m-p/1225551#M123867</link>
      <description>&lt;P&gt;I am running a set of vm-series VMs on Azure. From time to time there is packet loss for traffic going through one of these VMs, I am trying to find a metric to monitor that.&lt;/P&gt;
&lt;P&gt;I could not find a metric exposed through SNMP, but looking at the global counters that increase during TCP retransmission, I found "tcp_case_2" global counter seems to match. I could not find any documentation about it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;admin@PA-VM(active)&amp;gt; show counter global name tcp_case_2

Name:           tcp_case_2
Value:          0
Severity:       Informational
Category:       tcp
Aspect:         pktproc
Description:    tcp reassembly case 2&lt;/LI-CODE&gt;
&lt;P&gt;this counter looks to match the TCP retransmissions that hit the reassembly process, from the debug logs:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;admin@PA-VM(active)&amp;gt; grep pattern rcv_nxt=4147433711 mp-log  pan_task_1.log
2025-04-02 01:12:44.751 +0200 debug: pan_tcp_reass(pan_reass.c:3448): REASS: session=11 in seq seqno=4147433709 tcplen=2 rcv_nxt=4147433711
2025-04-02 01:12:44.959 +0200 debug: pan_tcp_reass(pan_reass.c:3457): REASS: session=11 in seqno=4147433709 rcv_nxt=4147433711 size of oo_q[0].=0
2025-04-02 01:12:44.959 +0200 debug: pan_tcp_reass(pan_reass.c:3570): REASS: session=11 case 2 seqno=4147433709 tcplen=2 rcv_nxt=4147433711
2025-04-02 01:12:45.167 +0200 debug: pan_tcp_reass(pan_reass.c:3457): REASS: session=11 in seqno=4147433709 rcv_nxt=4147433711 size of oo_q[0].=0
2025-04-02 01:12:45.167 +0200 debug: pan_tcp_reass(pan_reass.c:3570): REASS: session=11 case 2 seqno=4147433709 tcplen=2 rcv_nxt=4147433711
2025-04-02 01:12:45.575 +0200 debug: pan_tcp_reass(pan_reass.c:3457): REASS: session=11 in seqno=4147433709 rcv_nxt=4147433711 size of oo_q[0].=0
2025-04-02 01:12:45.575 +0200 debug: pan_tcp_reass(pan_reass.c:3570): REASS: session=11 case 2 seqno=4147433709 tcplen=2 rcv_nxt=4147433711
2025-04-02 01:12:46.407 +0200 debug: pan_tcp_reass(pan_reass.c:3457): REASS: session=11 in seqno=4147433709 rcv_nxt=4147433711 size of oo_q[0].=0
2025-04-02 01:12:46.407 +0200 debug: pan_tcp_reass(pan_reass.c:3570): REASS: session=11 case 2 seqno=4147433709 tcplen=2 rcv_nxt=4147433711
2025-04-02 01:12:48.071 +0200 debug: pan_tcp_reass(pan_reass.c:3457): REASS: session=11 in seqno=4147433709 rcv_nxt=4147433711 size of oo_q[0].=0
2025-04-02 01:12:48.071 +0200 debug: pan_tcp_reass(pan_reass.c:3570): REASS: session=11 case 2 seqno=4147433709 tcplen=2 rcv_nxt=4147433711
2025-04-02 01:12:51.335 +0200 debug: pan_tcp_reass(pan_reass.c:3457): REASS: session=11 in seqno=4147433709 rcv_nxt=4147433711 size of oo_q[0].=0
2025-04-02 01:12:51.335 +0200 debug: pan_tcp_reass(pan_reass.c:3570): REASS: session=11 case 2 seqno=4147433709 tcplen=2 rcv_nxt=4147433711&lt;/LI-CODE&gt;
&lt;P&gt;the same packet was seen multiple times, and a "case 2" is logged when it's already been seen before.&lt;/P&gt;
&lt;P&gt;Is there some documentation on what tcp_case_2 counter means?&lt;/P&gt;
&lt;P&gt;Could we have this exposed through SNMP?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 08:15:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/global-counter-tcp-case-2/m-p/1225551#M123867</guid>
      <dc:creator>frigault</dc:creator>
      <dc:date>2025-04-03T08:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: global counter tcp_case_2</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/global-counter-tcp-case-2/m-p/1225934#M123906</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/285447"&gt;@frigault&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I know this is a drop due to an error in reassembly:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If a&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;SYN&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;packet goes through the Palo Alto Networks firewall, but&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;SYN-ACK&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;never goes through the firewall and the firewall receives an&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ACK&lt;/STRONG&gt;&lt;SPAN&gt;. The firewall will drop the packets because of a failure in the TCP reassembly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Source:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClhsCAC" target="_blank"&gt;https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClhsCAC&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Are you possibly running into this issue ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://live.paloaltonetworks.com/t5/general-topics/tcp-fast-open-and-palo-alto/td-p/586608" target="_blank"&gt;https://live.paloaltonetworks.com/t5/general-topics/tcp-fast-open-and-palo-alto/td-p/586608&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kim.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 11:37:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/global-counter-tcp-case-2/m-p/1225934#M123906</guid>
      <dc:creator>kiwi</dc:creator>
      <dc:date>2025-04-08T11:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: global counter tcp_case_2</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/global-counter-tcp-case-2/m-p/1227314#M124092</link>
      <description>&lt;P&gt;after contacting support:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt; Is there some documentation on what tcp_case_2 counter means?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there is some internal documentation that cannot be shared, contact support to know more&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt; Could we have this exposed through SNMP?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this would be a feature request, however the counters values can be retrieved through scripting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nevertheless it looks like tcp_case_2 is meaningful to monitor the amount of retransmitted TCP segments going through a firewall.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 07:27:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/global-counter-tcp-case-2/m-p/1227314#M124092</guid>
      <dc:creator>frigault</dc:creator>
      <dc:date>2025-04-24T07:27:53Z</dc:date>
    </item>
  </channel>
</rss>

