Hot answers tagged

4

You indicated you are connecting via localhost. You will probably need to specify the interface with -i lo (or lo0 on a Mac), so use: sudo tcpdump -i lo -vv -A port ftp or on a Mac: sudo tcpdump -i lo0 -vv -A port ftp The you should see the traffic. The reason: -i Listen on interface. If unspecified, tcpdump searches the system interface list ...


1

FTP is a horrible protocol. It uses two ports -- one for commands, one for data. This makes it notoriously difficult to NAT, since a router would need to parse the command channel and figure out that a second connection is expected for this FTP conversation. Doing so is ugly, but also the only way to make NAT work with FTP. FTPS encrypts the command channel,...



Only top voted, non community-wiki answers of a minimum length are eligible