Analyzing FTP problems
FTP has two modes of operation:
- Active mode (ACTV): In this mode, the client initiates a control connection to the server, and the server initiates a data connection to the client
- Passive mode (PASV): In this mode, the client initiates both the control and data connections to the server
Both types of connections can be implemented, and they will be explained later in this recipe, in the How it works... section.
Getting ready
When working with FTP, if you suspect any connectivity or slow response problems, configure port mirror to one of the following:
- The FTP server port
- The client port
- A link that the traffic crosses
If required, configure a capture or display filter.
How to do it...
To check FTP performance problems, follow these steps:
- First, check for any Ethernet, IP, or TCP problems as described in previous chapters. In many cases, slow responses happen due to networking problems and not necessarily due to application problems. Perform simple ICMP ping (with a larger packet...