2,187
edits
m (Minor rewording and Meta) |
m (→TCPdump: Corrections and addition of link to TCPdump manual) |
||
Line 215: | Line 215: | ||
=== TCPdump === | === TCPdump === | ||
TCPdump can only be run as root, therefore you | TCPdump can only be run as root, therefore you may need to set the root password first... | ||
sudo root | sudo passwd root | ||
...then you'll be elevate to be the super user, from where you can run TCPdump... | |||
su - | |||
TCPdump examples... | Some basic TCPdump examples... | ||
{|class="vwikitable" | {|class="vwikitable" | ||
Line 230: | Line 232: | ||
|<code> tcpdump -w capture.pcap -i eth0 port 80 </code> || Write capture to capture.pcap | |<code> tcpdump -w capture.pcap -i eth0 port 80 </code> || Write capture to capture.pcap | ||
|} | |} | ||
For more info see the TCPdump man page - http://www.tcpdump.org/tcpdump_man.html | |||
== Notes == | == Notes == | ||
<references /> | <references /> |