Skip to content

Possibly incorrect example file #93

Description

@ispringle

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);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions