Skip to the content.

FTP protocol test case

To test the FTP plugin, we need to setup the environment for testing FTP protocol

Install and config a FTP Server

How to install and config a FTP Server on ubuntu

Working with ftp in terminal

Basic FTP Commands

Get .pcap file

To get a pcap file to test offline, follow the process:

Using this trace file to test FTP plugin

Test case

Each test case will correspond with a trace file.

What do we need to monitor

Test case possible:

How to test a trace file

-> Expect to see all correct value of all registered attributes - Passed

-> Expect to see all attributes of FTP protocol of every FTP packet i.e ftp.p_payload, ftp.p_data,…. - Passed

-> Expect to have the file which was transferred by FTP protocol. Especially for this test, some type of file should be tested: text, .pdf, image, audio, bin, compressed, video. - Passed