naive: add fallback and masquerade support
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- go
- Ambito
- backend, networking
Direzione di ricerca
The issue links a branch with the proposed Naive inbound changes; start by reviewing that comparison against testing and the existing Hysteria2 behavior. Check the touched protocol/naive/... and option/... packages and their tests, then verify the documented English and Chinese options. Done means fallback and masquerade behavior, startup validation, documentation, and the reported build and vet checks are covered.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi,
I have a patch that adds fallback and masquerade support to the Naive inbound, mirroring the existing Hysteria2 behavior:
- Requests that are not valid Naive requests (non-
CONNECT, missing Naive padding, failed authentication) are no longer rejected with a bare400/407. They are reverse proxied to a local HTTP server (fallback) or served by sing-box itself (masquerade), so the inbound behaves like an ordinary website under active probing. masqueradesupports thefile,proxyandstringtypes (reusing theHysteria2Masqueradeoptions), plus the URL form.fallbackandmasqueradeare mutually exclusive and validated at startup.- Documentation updated for both English and Chinese.
Branch (rebased on current testing):
https://github.com/SagerNet/sing-box/compare/testing...gslvly:naive-fallback?expand=1
This repository currently only allows collaborators to create pull requests, so I could not open a PR directly. If the change is of interest, I can open a PR once access is granted, or the branch above can be pulled directly.
Build and vet pass for the touched packages (go build ./protocol/naive/... ./option/..., go vet ./protocol/naive/... ./option/...).
Thanks.
- Lingua principale
- Go
- Stelle
- 40.4k
- Fork
- 5k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SagerNet/sing-box
-
`check` and startup are quadratic in outbound group size since 1.14.4 (duplicate tag check)Forse già presa @Tidehyc l’ha presa 5 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
database file removal errorsAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 89/100
Tutte le issue di SagerNet/sing-box
Issue simili
-
good first issue tools
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
Edwin-metcalf/MetCode#76 ·
I maintainer di solito rispondono entro 1 giorno
-
-diff's removed-name budget ignores the names the -ptr pass testedForse già presa @nova-loop l’ha presa oggi. Apertaarea: cli bug good first issue severity: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
TMHSDigital/subenum#495 ·
I maintainer di solito rispondono entro 1 giorno
-
bug effort:s impact:med raised-by:worker risk:low to:worker
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
medici-finance/assay#8120 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
factory:subtask
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
reportedBy/community
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
openchoreo/openchoreo#5751 ·
I maintainer di solito rispondono entro 1 giorno