Lantern-chat / Lantern-chat/server
BPF-based IP blocking
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
To "block" banned IPs in userspace, the TCP connection must be established first, wasting time and resources.
It would be better to use a eBPF script, possibly via RedBPF or similar, with some map type that can be updated as the block list changes.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. First investigate the server's current userspace IP-blocking path and evaluate RedBPF or a similar eBPF option, including how a map could receive block-list updates; done would mean a workable design for blocking connections before they are established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend, networking, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100