title: how do I parse a tcpdump file with python
body: <p>I have a tcpdump file that I would like to parse. The tcpdump file looks like this</p>
  
  <pre><code>23:31:54.380799 IP 192.140.3.20.38373 &gt; 240.240.255.250.8082: UDP, length 542
  </code></pre>
  
  <p>I want to parse the file to get the source ip, destination ip and the total size of the packet and store it into a list.</p>
  
  <p>How can I get the output to look something like this: </p>
  
  <pre><code>[192.140.3.20.38,240.240.255.250.80,542]
  </code></pre>