Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibly incorrect example file #93

Open
ispringle opened this issue Sep 2, 2022 · 0 comments
Open

Possibly incorrect example file #93

ispringle opened this issue Sep 2, 2022 · 0 comments

Comments

@ispringle
Copy link

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:

&ANTIDDOS((80, 443), 50, 3, 86400, 94.29.90.101);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant