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

Add edgekit, a shared guard for the HTTP edge

Aperta
#19 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à
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
18/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
backend, security

Direzione di ricerca

The payload names no files or tests in this repository. Start with the gouncer proxy-list package it mentions and the standard library's cross-origin protection, which the proposal says to wrap. Settle the module's API for client address, scheme and host, the public address option, refusal logging, report-only mode and the dialer's address checks before writing code. Done means a new edgekit module on the standard library with tests for trusted-proxy resolution and refusals, agreed with the maintainers first.

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

Descrizione

enhancement

Downstream applications need one shared guard for writes from other sites, forwarded headers and outbound calls.

Current state: one application carries its own cross-origin guard and forwarded header rules. Any other application would have to copy them. Each reads the proxy list through gouncer but parses its public address itself.

Proposal: a new edgekit module on the standard library only. It works out the client address, scheme and host once, from trusted proxies only. It wraps the standard cross-origin protection with an optional public address. It logs a reason for each refused write. It offers a report-only mode and lets the application write the refusal. A dialer refuses loopback, private and link-local addresses.

Trigger: a second application needs the guard.

Lingua principale
Go
Stelle
69
Fork
3
Merge medio
9h 11m
PR unite (30g)
38

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 gopherium/framework

Tutte le issue di gopherium/framework

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.