Skip to content

Compile the kernel with SYNPROXY module #4993

Closed

Description

@Roki100

Describe the bug

The raspberry pi os's kernel is compiled without SYNPROXY module, which is pretty useful for some projects

Steps to reproduce the behaviour

Try to use SYNPROXY via iptables

Device (s)

Raspberry Pi 4 Mod. B

System

Raspberry Pi reference 2022-01-28
Mar 24 2022 13:19:26
Linux raspberrypi 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux

Logs

No response

Additional context

I got told to make an issue here: https://forums.raspberrypi.com/viewtopic.php?t=332870
So, generally having SYNPROXY won't affect the general performance for everybody using the kernel itself, the memory usage impact should be zero, yet it would be helpful and useful to have it for people that want to use it
It can be used for various use cases, where one of them is a DDoS and port-scan protection, and as we all know, there are a lot of people using Raspberry Pi as a small server for various things
I don't see any reason on why currently the kernel is compiled without SYNPROXY, as there is no gain on this, the real gain is on compiling it imho
Please consider compiling the kernel with SYNPROXY module, as it expands firewalling possibilities which are good for security, yet it shouldn't impact any user that won't use it.

Activity

  1. added a commit that references this issue on Apr 19, 2022
  2. pelwell commented on Apr 19, 2022

    @pelwell
    Contributor

    There are a few "SYNPROXY" config settings, but I see from the thread that it is CONFIG_NFT_SYNPROXY=m that is required - which is in now.

  3. added a commit that references this issue on Apr 20, 2022
  4. popcornmix commented on Apr 22, 2022

    @popcornmix
    Collaborator

    Should be in latest rpi-update kernel.

  5. added a commit that references this issue on Apr 28, 2022
  6. added a commit that references this issue on May 3, 2022
  7. 5 remaining items

  8. added a commit that references this issue on May 16, 2022
  9. added a commit that references this issue on May 17, 2022
  10. added a commit that references this issue on May 21, 2022
  11. added a commit that references this issue on Jun 21, 2022
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions