Difference between revisions of "Vyatta"

Jump to navigation Jump to search
181 bytes added ,  11:17, 30 May 2012
m
→‎TCPdump: Corrections and addition of link to TCPdump manual
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 mat need to set the root password first...
TCPdump can only be run as root, therefore you may need to set the root password first...
  sudo root passwd
  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 />

Navigation menu