-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
I just started using ferm and looked at the example files. The antiddos file intrigued me and I attempted to use it as is. When I ran ferm --interactive I got the following error:
Error in /etc/ferm/ferm.conf line 22:
& ANTIDDOS
(
(
80 , <--
Comma is not allowed within arrays, please use only a space
When I removed the comma the configuration loaded up correctly. I'd have just created a PR for this, but as I am so new to ferm, I am not sure if maybe there is something wrong I am doing, or am using an old/new version. This is on an Ubuntu 22.04 machine, which is using ferm version 2.5.1.
Here is the line in question, however it should be noted I took the example straight from the /usr dir on the machine and did not use this file from the repo. Just mentioning that in case there was a change since 2.5:
Line 55 in 6fcf3c7
| &ANTIDDOS((80, 443), 50, 3, 86400, 94.29.90.101); |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels