AltraMayor / AltraMayor/gatekeeper

Implementing syncookied as a request BPF

Open
#699 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
1.6k
Forks
252
PR merge metrics
No merged PRs in 30d

Description

Once issue #602 is implemented, the effort to enable the implementation of [syncookied](https://github.com/LTD-Beget/syncookied) as a request BPF will have been lowered. Namely, it would require adding the following facilities to the running environment of BPF in Gatekeeper:
1. Repling packets;
2. Computing SYN cookie.

The request BPF implementing syncookied should only forward SYN packets with proper cookies to Grantor servers. This BPF must also limit the reply rate to SYN packets to avoid Gatekeeper servers being used on reflection attacks.

The syncookied BPF would be a variation of [the port knocking originally suggested](https://github.com/AltraMayor/gatekeeper/issues/602#issuecomment-1248063769) in issue #602.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.