Pcap file does not exist

I want to create a rule set, and the file is in YAML format. When I try to import the rules using a command, it gives me an error saying that the pcap file does not exist.

suricata -c suricata.yaml -r DDos_protection
 <Error> - [ERRCODE: SC_ERR_INITIALIZATION(45)] - ERROR: Pcap file does not exist

The -r <pcap-file> option causes Suricata to open the filename. In your case, Suricata will try to open the file named DDos_protection in the directory where Suricata was started from.

Does that file exist? Usually, pcap files have an extension (most often .pcap but not always).

OK,that file doesn’t exist, just i think before i turn on my own rules it needs a name. it’s ai chat 's answer.