The presence of "martian" packets (which have impossible addresses) as well as spoofed packets, source-routed packets, and redirects could be a sign of nefarious network activity. Logging these packets enables this activity to be detected.
Check
Verify AlmaLinux OS 9 logs martian packets.
Check the value of the "log_martians" variables with the following command: