Tag Archives: packet capture

Tunnel DNS through ssh -D socks proxy

Tunnel DNS through ssh -D socks proxy | When using ssh -D to setup a socks proxy, DNS queries and DNS traffic are not sent through the ssh tunnel. However, with Firefox a config change can be made to send DNS traffic through the ssh tunnel. Here’s how it works! First, establish an ssh proxy: $ ssh -D 9000 user@host Then in Firefox,

How to Read a Packet Capture .cap File from Command Line

How to Read a Packet Capture .cap File from Command Line | There are a couple of ways to read a packet capture .cap file from the command line. I’ll show you how! tcpdump The tack r filename option for tcpdump will display a capture file onto the screen. Pipe it to less to get something to scroll. $ tcpdump -r mycapturefile.cap | less $ tcpdump -r