Packet Sniffing and Monitoring with Tshark / Wireshark
capture the traffic for 300 seconds and save it in output_file and exit
tshark -a duration:300 -q -w output_file
Sniff the traffic and show it on the screen
tshark -S
Sniff 1000 packets and show it on the screen
tshark -S -c 1000
IO Stats - How many packets and frames has been transfered in 60 seconds?
tshark -a duration:60 -z io,stat,60
read the dumpfile 'output_file'
tshark -r output_file
read output_file and show only http connections from the ip 1.2.3.4
tshark -r output_file -R "ip.addr == 1.2.3.4 && tcp.port == 80"
Show only http GET requests from the output_file
tshark -r output_file -R "http.request.method==GET"
Show IP's mit incoming & outgoing traffic
tshark -r output_file -q -z conv,ip
Save the smtp network connection for 300 seconds and also displays realtime the connections.
tshark -w smtp-network-connections -a duration:300 -S -q -R "smtp"
Similar entries
- Connection problem or invalid MMI code
- Page generation time and http-referers with PHP
- Fix swfupload fake flash player error
- How to mount shared Folder in VirtualBox and Ubuntu Linux
- Howto erase your files/partition with shred in linux
- Let your visitors run Drupal cron for you
- Howto duplicate (clone) Virtualbox VM in Ubuntu Linux
- Server Crash - "isc_socket_create: fcntl/reserved: Too many open files" [Howto Fix]
- XP like "Show Desktop Icon" for Windows7
- Redirect webpages with HTML, PHP, .htaccess, Java+Script, CGI-Perl, ASP.NET and ColdFusion
- howto cp images, mp3 from multiple directory to one directory (find, exec, cp)
- Iframe Trojan / Virus of Alcobro.net
- Howto install dig in Debian 5 (Lenny)
- Howto duplicate (clone) VirtualBox image in Windows 7
- Ajax Error when using Drupal with Firefox
- Unable to send e-mail. Please contact the site admin, if the problem persists (Drupal Error)
- [Howto Fix] Table './eximstats/sends' is marked as crashed and should be repaired
- Howto install Volatility (RAM / Memory Forensic Framework) in Windows
- search for files and create an archive with them (tar,find,linux)

Comments
Post new comment