<?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 tcpdump filters in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/tcpdump-filters/m-p/74530#M41706</link>
    <description>&lt;P&gt;Does anyone know what filters are supported for the tcpdump command on PAN-OS (7.0) ?&lt;BR /&gt;For troubelshooting of a Syslog (server) issue, due to large amounts of traffic, I need to capture only packets with syn- or fin/rst-flag set.&lt;BR /&gt;Something like this : # tcpdump 'tcp[tcpflags] &amp;amp; (tcp-syn|tcp-fin) != 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Documentation found 'How To Packet Capture (tcpdump) On Management Interface' are sparse, as the filter options very well might be.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Mar 2016 10:24:52 GMT</pubDate>
    <dc:creator>Dulle</dc:creator>
    <dc:date>2016-03-10T10:24:52Z</dc:date>
    <item>
      <title>tcpdump filters</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/tcpdump-filters/m-p/74530#M41706</link>
      <description>&lt;P&gt;Does anyone know what filters are supported for the tcpdump command on PAN-OS (7.0) ?&lt;BR /&gt;For troubelshooting of a Syslog (server) issue, due to large amounts of traffic, I need to capture only packets with syn- or fin/rst-flag set.&lt;BR /&gt;Something like this : # tcpdump 'tcp[tcpflags] &amp;amp; (tcp-syn|tcp-fin) != 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Documentation found 'How To Packet Capture (tcpdump) On Management Interface' are sparse, as the filter options very well might be.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2016 10:24:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/tcpdump-filters/m-p/74530#M41706</guid>
      <dc:creator>Dulle</dc:creator>
      <dc:date>2016-03-10T10:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: tcpdump filters</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/tcpdump-filters/m-p/74535#M41710</link>
      <description>&lt;P&gt;Don't know exactly what is allowed. But so far I managed to use only basic tcpdump filters through PAN-OS unfortunately.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2016 13:07:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/tcpdump-filters/m-p/74535#M41710</guid>
      <dc:creator>santonic</dc:creator>
      <dc:date>2016-03-10T13:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: tcpdump filters</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/tcpdump-filters/m-p/74578#M41728</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it supports just a limited set of options, I would not even try to do regex on it, I don't try to filter with more than host and port, usually something like what is described in it's help: tcpdump filters - e.g. "src net 67.207.148.0/24 and not port 22".&lt;/P&gt;
&lt;P&gt;view-pcap verbose++ yes link-header yes mgmt-pcap mgmt.pcap is second option I use to quickly review directly on the device, omitting or adding more options but generally capturing doesn't go further than host / net / src / dest / port and few such keywords. I haven't experimented but on the other hand mgmt interface will not be really as busy as upstream, right? host and port usually do job for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To troubleshoot fast-sending syslog I would use snaplen of 1 bytes of data and filter by source ip and dest port (you care just about flags, right? you do not need the whole packet, and I would quit capturing quickly... "rinse and repeat" until you catch enough packets that give you good results?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Luciano&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 07:40:43 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/tcpdump-filters/m-p/74578#M41728</guid>
      <dc:creator>Lucky</dc:creator>
      <dc:date>2016-03-11T07:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: tcpdump filters</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/tcpdump-filters/m-p/74587#M41731</link>
      <description>&lt;P&gt;HI Luciano&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;We use management interface as service route for all. Also&amp;nbsp;forward all logs as Syslog to Splunk, and it is the health of this connection I want to check (we do get 'disconnect' messages too often) .&lt;/P&gt;
&lt;P&gt;This is a bit like swimming the Niagara upstream, while catching fish, &amp;nbsp;I assume, therefore filtering beyond host would make sense (syn/fin/rst flaggs)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But thanks again anyhow for your solid feedback.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-=Tommy=-&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 10:39:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/tcpdump-filters/m-p/74587#M41731</guid>
      <dc:creator>Dulle</dc:creator>
      <dc:date>2016-03-11T10:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: tcpdump filters</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/tcpdump-filters/m-p/74786#M41786</link>
      <description>&lt;P&gt;well... I tested it in my FW&amp;nbsp;and it worked in 6.1.10&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt; tcpdump filter "tcp[tcpflags] &amp;amp; (tcp-syn|tcp-fin) != 0"&lt;BR /&gt;Press Ctrl-C to stop capturing&lt;/P&gt;
&lt;P&gt;tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes&lt;BR /&gt;^C5 packets captured&lt;BR /&gt;10 packets received by filter&lt;BR /&gt;0 packets dropped by kernel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It captured just sync packets which by default are truncated&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/Management-Articles/Tcpdump-Packet-Capture-Truncated/ta-p/63047" target="_blank"&gt;https://live.paloaltonetworks.com/t5/Management-Articles/Tcpdump-Packet-Capture-Truncated/ta-p/63047&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards,&lt;/P&gt;
&lt;P&gt;Gerardo&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 12:16:37 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/tcpdump-filters/m-p/74786#M41786</guid>
      <dc:creator>glastra1</dc:creator>
      <dc:date>2016-03-18T12:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: tcpdump filters</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/tcpdump-filters/m-p/74918#M41830</link>
      <description>&lt;P&gt;Thanks a lot Gereardo.&lt;/P&gt;
&lt;P&gt;Seems like I got confused about&amp;nbsp;the use of ' versus "&lt;/P&gt;
&lt;P&gt;In my initial example the closing ' was also missing, This was a copy/paste glitch. Honest&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;(there might be a closing ")" in your link that prevents it from being clickable)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 09:15:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/tcpdump-filters/m-p/74918#M41830</guid>
      <dc:creator>Dulle</dc:creator>
      <dc:date>2016-05-26T09:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: tcpdump filters</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/tcpdump-filters/m-p/233926#M67053</link>
      <description>&lt;P&gt;How to run TCPDUMP on other interface except mgmt. Anybody has nay idea....&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 14:59:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/tcpdump-filters/m-p/233926#M67053</guid>
      <dc:creator>alokep</dc:creator>
      <dc:date>2018-10-04T14:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: tcpdump filters</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/tcpdump-filters/m-p/233929#M67054</link>
      <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/76875"&gt;@alokep&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TCPDUMP is specifically for the mgmt interface.&lt;/P&gt;
&lt;P&gt;For dataplane interfaces you can use PCAP:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClgUCAS" target="_blank"&gt;https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClgUCAS&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClVoCAK" target="_blank"&gt;https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClVoCAK&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Cheers !&lt;/P&gt;
&lt;P&gt;-Kiwi.&lt;/P&gt;
&lt;DIV id="ConnectiveDocSignExtentionInstalled" data-extension-version="1.0.4"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Oct 2018 15:28:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/tcpdump-filters/m-p/233929#M67054</guid>
      <dc:creator>kiwi</dc:creator>
      <dc:date>2018-10-04T15:28:15Z</dc:date>
    </item>
  </channel>
</rss>

