Can tshark run under none root permission?
I can't have root right, I can't run tcpdump, so I compile tshark from the src, now I've compiled it successfully, I run command "tshark -f "tcp port 6201" -i eth0 -w ./capture.cap" to capture data, but it complains "Capturing on eth0
tshark: The capture session could not be initiated (You don't have permission to capture on that device). Please check to make sure you have sufficient permissions, and that you have the proper interface or pipe specified." What does that mean? So I can't capture any data without root permission? I really need to monitor my port data flow. Thanks in advance! |
Actually, you probably can run tcpdump: consider the following
Code:
which tcpdump #NB: I ran this cmd as root to ensure I could find it Whether you have perms to monitor a given port/device is a different qn; if you haven't, ask your SysAdmin. |
All times are GMT -5. The time now is 03:39 AM. |