Ubuntu Network

From richud.com
Jump to: navigation, search


tcpdump

See whats occuring on network eth0 lo loopback network traffic monitor

sudo tcpdump -i eth0

sudo tcpdump -i lo

qemu , if the gust pings the host IP it wont get any response but setting tcpdump -i lo on host should see the ping requests coming in.


tcpdump HTTP file gets /user agent /host

sudo tcpdump -i macvtap0 -s 0 -A 'tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x47455420'