Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

feat(security): add auth token flag to protect self-hosted server

Aperta
#63 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go

Direzione di ricerca

Start by tracing the server and client CLI flag definitions and the client handshake path; the payload does not name files or tests. Check how server configuration reaches handshake validation, then identify tests covering missing and mismatched credentials. Done when the server accepts a matching token and rejects a missing or incorrect token whenever a token is configured.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

right now anyone who scans our vps and finds the control port can register any subdomain and tunnel traffic through our server for free.

we need a simple auth token flag:

  • server: --token=mysecret (or EXPOSE_SERVER_TOKEN)
  • client: --token=mysecret

if server has a token configured, reject client handshake if the token is missing or doesnt match.

Lingua principale
Go
Stelle
9
Fork
1
Merge medio
5h 57m
PR unite (30g)
15

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di kernelshard/expose

Tutte le issue di kernelshard/expose

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.