Jump to content

Capture Data using tcpdump on Ubuntu


wildweaselmi
 Share

Recommended Posts

I love wireshark and how easy it is to use but it keeps crashing on me so I have to look to something less intensive I guess so I went to tcpdump and figured out how to run it so it will create a file every 20MB just like Wireshark did for up to 1000 files (so 1Gig worth of data) and here is the command I used.


sudo tcpdump -i eth0 -nnvv -w /home/hosangit/captures/ustrocapture.log -W 1000 -C 20,000,000



Reference


tcpdump man


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...