<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Wireshark on </title>
    <link>https://wassimaouadi.com/tags/wireshark/</link>
    <description>Recent content in Wireshark on </description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 24 Jul 2026 21:31:13 +0200</lastBuildDate>
    <atom:link href="https://wassimaouadi.com/tags/wireshark/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Packet capture</title>
      <link>https://wassimaouadi.com/technotes/packetcapture/</link>
      <pubDate>Fri, 24 Jul 2026 21:31:13 +0200</pubDate>
      <guid>https://wassimaouadi.com/technotes/packetcapture/</guid>
      <description>&lt;h1 id=&#34;real-time-packet-capture-on-junos&#34;&gt;Real-time packet capture on Junos&lt;/h1&gt;&#xA;&lt;p&gt;Packet capture in real time on an interface is performed with the &lt;code&gt;monitor&lt;/code&gt; command:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;lab@vSRX&amp;gt; monitor traffic interface fxp0 ?&#xA;Possible completions:&#xA;  &amp;lt;[Enter]&amp;gt;            Execute this command&#xA;  absolute-sequence    Display absolute TCP sequence numbers&#xA;  brief                Display brief output&#xA;  count                Number of packets to receive (0..1000000 packets)&#xA;  detail               Display detailed output&#xA;  extensive            Display extensive output&#xA;  layer2-headers       Display link-level header on each dump line&#xA;  matching             Expression for headers of receive packets to match&#xA;  no-domain-names      Don&amp;#39;t display domain portion of hostnames&#xA;  no-promiscuous       Don&amp;#39;t put interface into promiscuous mode&#xA;  no-resolve           Don&amp;#39;t attempt to print addresses symbolically&#xA;  no-timestamp         Don&amp;#39;t print timestamp on each dump line&#xA;  print-ascii          Display packets in ASCII when displaying in hexadecimal format&#xA;  print-hex            Display packets in hexadecimal format&#xA;  read-file            Read packets from a given file&#xA;  resolve-timeout      Period of time to wait for each name resolution (seconds)&#xA;  size                 Amount of each packet to receive (bytes)&#xA;  write-file           Write packets to specified file&#xA;  |                    Pipe through a command&#xA;lab@vSRX&amp;gt; monitor traffic interface fxp0 write-file capture01.pcap &#xA;Address resolution is ON. Use &amp;lt;no-resolve&amp;gt; to avoid any reverse lookup delay.&#xA;Address resolution timeout is 4s.&#xA;Listening on fxp0, capture size 96 bytes&#xA;&#xA;^C&#xA;297 packets received by filter&#xA;0 packets dropped by kernel&#xA;&#xA;lab@vSRX&amp;gt;&#xA;&#xA;lab@vSRX&amp;gt; file list &#xA;&#xA;/var/home/lab/:&#xA;.lesshst&#xA;.ssh/&#xA;capture01.pcap&#xA;jt /&#xA;&#xA;lab@vSRX&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Then I open the freeBSD CLI and open the pcap file using &lt;code&gt;tcpdump&lt;/code&gt;:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
