• Sign in
  • Sign up
Elektrine
EN
  • EN English
  • 中 中文
Log in Register
Modes
Overview Search Chat Timeline Communities Gallery Lists Friends Email Vault VPN
Back to Timeline
  • Open on lemy.nl

lucy

@lucy@lemy.nl
lemmy 0.19.13
0 Followers
0 Following
Joined March 19, 2026

Posts

lucy
lucy
@lucy@lemy.nl
lemy.nl
lucy
lucy
@lucy@lemy.nl
lemy.nl
@lucy@lemy.nl in linux · 19h ago

I built a minimalist SPA tool using eBPF/XDP to keep ports invisible. First project in Go!

Hi guys, I wanted to share a project I’ve been working on called xSpa. It’s an implementation of Single Packet Authorization that works at the XDP level. I built this because I wanted something faster and more DDoS-resilient than traditional port-knocking or SPA tools that rely on userspace processing or iptables. Here, the “drop-all” logic happens right at the driver level. Key bits: L1 verification (SipHash) in kernel space. L2 (ChaCha20-Poly1305) in Go userspace. It uses the eBPF ring buffer for communication. This is my first Go project and my first shot at Open Source. I’m still a bit of a noob when it comes to kernel-level programming, so I’d love to get some feedback on the architecture and security. If anyone has time to check the code, I’d love to hear your thoughts on how to make it better.
View on lemy.nl
0
0
0
0
313k7r1n3

Company

  • About
  • Contact
  • FAQ

Legal

  • Terms of Service
  • Privacy Policy
  • VPN Policy

Email Settings

IMAP: imap.elektrine.com:993

POP3: pop.elektrine.com:995

SMTP: smtp.elektrine.com:465

SSL/TLS required

Support

  • support@elektrine.com
  • Report Security Issue

Connect

Tor Hidden Service

khav7sdajxu6om3arvglevskg2vwuy7luyjcwfwg6xnkd7qtskr2vhad.onion
© 2026 Elektrine. All rights reserved. • Server: 22:51:59 UTC