Skip to content

Firewall : Advanced - Add support for syncookies #5561

Description

@AdSchellevis

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.

Our friends from Modirum sponsored the inclusion of TCP syncookies for pf [1] which originates from OpenBSD [2] and has proven to be a highly effective tool against DDos attacks.

The option is quite similar to the syncookies [3] kernel setting, preventing memory allocation for local services before a proper handshake is made. In this case pf will be protected agains state table exhaustion.

Describe the solution you like

Add the option to enable syncookies in Firewall: Settings: Advanced, which offers 3 options:

  1. never (default)
  2. always
  3. adaptive - in which case a lower and upper percentage should be specified referring to the usage of the state table.

Additional context

  1. https://reviews.freebsd.org/D31138
  2. https://undeadly.org/cgi?action=article;sid=20180207090000
  3. https://www.freebsd.org/cgi/man.cgi?syncookies

Activity

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

Metadata

Metadata

Assignees

Labels

roadmapMajor roadmap item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions