Reply in-line :-
On Tue, Jan 27, 2009 at 10:36, Mehul Ved <mehul.n.ved(a)gmail.com> wrote:
On Tue, Jan 27, 2009 at 10:01 AM, shirish
sorry for jumping on the thread. I am on kernel 2.6.27 and there is
a big possibility I haven't really understood your command.
tcpdump -s0 -w <output>.cap host <youripaddress>
I used :-
tcpdump -s0 -w output.cap host 18.104.22.168
(ouput.cap most probably is a file-name and the IP Address is the IP
Address being assigned by my provider)
but both for this I get
tcpdump: no suitable device found
Did you try it as root? I tried the same comand as root and non-root.
Got the same error as you have got, when run as non-root. Worked when
done as root.
Thanks for replying. Got it working, had to modify the command
just a bit.
$ sudo tcpdump -s0 -i eth1 -w output.cap host 22.214.171.124
tcpdump: listening on eth1, link-type EN10MB (Ethernet), capture size
^C34 packets captured
36 packets received by filter
0 packets dropped by kernel
Then ran wireshark on output.cap and was able to see the results.
It is a pretty good tool. Trying to find more about the same.
"I once witnessed a long-winded, month-long flamewar over the use of
mice vs. trackballs...It...
My quotes in this email licensed under CC 3.0
065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17