WeSearch

Show HN: Totpgate – Single-packet authorization via TOTP

·3 min read · 0 reactions · 0 comments · 10 views
#security#software#networking
Show HN: Totpgate – Single-packet authorization via TOTP
⚡ TL;DR · AI summary

Totpgate is a lightweight port knocking daemon that utilizes TOTP for single-packet authorization. It listens on UDP for a valid TOTP and opens a TCP port temporarily upon validation. This method enhances security by making each authorization unique and resistant to replay attacks.

Key facts
Original article
GitHub
Read full at GitHub →
Opening excerpt (first ~120 words) tap to expand

totpgate Single Packet Authorization via TOTP — a lightweight port knocking daemon that listens on UDP for a valid TOTP and, upon matching, temporarily opens a TCP port via direct netlink firewall manipulation. No external binaries, no shared libraries — just a statically linked binary speaking netlink directly to the kernel. Why Traditional port knocking sequences are predictable (fixed port order) and replayable. TOTP-based single-packet authorization replaces the sequence with a time-based one-time password, making each grant unique and replay-proof.

Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from GitHub