I am trying to do rysnc a 4G file to another directory and want to capture rsync packets using tcpdump. I tried listning to port 873 which is used for rsync but did not find anything captured. I checked the config file , it says rsync is using port 873 only. Am i missing anything here ? IS there any better approach to do that ?

tcpdump  -n -vv "port 873"
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes

0 packets captured
0 packets received by filter
0 packets dropped by kernel
  • You are trying to listen on an interface with.. no IPv4 address assigned. With tcpdump you must specify explicitly the interface thru which data are flowing (hence said interface must have an IP address). In your case, that interface is most likely your wifi interface. – MariusMatutiae Oct 26 '15 at 10:44

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.