Commit Graph
87 Commits
Author SHA1 Message Date
penguinehis 44f5b2b09c Merge branch 'main' of https://git.dr2.site/penguinehis/DragonCoreSSH-NewWEB 2026-07-24 14:46:56 -03:00
penguinehis 1576ce9038 Fix DNSTT Default 2026-07-24 14:46:42 -03:00
penguinehis decf48992e Enviar arquivos para "/" 2026-07-24 10:08:06 -03:00
penguinehis 7c51ea3f86 fix 502 2 2026-07-22 17:47:51 -03:00
penguinehis 3d64d6394b Fix 502 2026-07-22 17:30:42 -03:00
penguinehis b903775fb7 Fix ssh list 2026-07-20 17:51:45 -03:00
penguinehis 9c5bbaf55d Fix admin panel 2026-07-20 00:45:05 -03:00
penguinehis 2f4cb008ae Merge branch 'main' of https://git.dr2.site/penguinehis/DragonCoreSSH-NewWEB 2026-07-20 00:00:52 -03:00
penguinehis 9bbd950b66 Fix quota 2026-07-20 00:00:39 -03:00
penguinehis 44b2313299 Fix 2026-07-19 16:06:07 -03:00
penguinehis 37861cda22 Fix 2026-07-19 16:05:37 -03:00
penguinehis 5f43698e2b Fix bandwith counter 2026-07-15 00:27:12 -03:00
penguinehis ab6f1e1329 Tunning and memory control 2026-07-15 00:11:56 -03:00
penguinehis ff175174e4 quota reset button 2026-07-14 22:42:49 -03:00
penguinehis ed0e240241 Quota per user 2026-07-14 22:39:36 -03:00
penguinehis c6bfefe2fb Fix pam Data 2026-07-14 00:51:23 -03:00
penguinehis fa990c2094 fix user list 2026-07-14 00:48:57 -03:00
penguinehis 1797c50ea3 Pam cache fix 2026-07-14 00:41:55 -03:00
penguinehis 492a7f2002 Pam Test 40 2026-07-14 00:30:38 -03:00
penguinehis 5ddca88147 Pam diagnostic 2026-07-14 00:26:05 -03:00
penguinehis 8117f6ed11 Pam Fix 3.0 2026-07-14 00:20:42 -03:00
penguinehis 11cfd3f092 Pam DES support 2026-07-13 23:53:56 -03:00
penguinehis 628878e055 Pam Fix 2.0 2026-07-13 23:35:43 -03:00
penguinehis 7e0ec393a8 Fix pam 2026-07-13 23:25:12 -03:00
penguinehis 8a141ae86d fix update 2026-07-13 23:18:57 -03:00
penguinehis 2ff7976768 Support of PAM 2026-07-13 23:17:05 -03:00
penguinehis dab8b09f0c Fix panel 2026-07-13 02:24:33 -03:00
penguinehis 635f190630 Panel update 2026-07-13 02:21:56 -03:00
penguinehis 64b1fc5cb3 Fix admin panel 2026-07-13 02:00:27 -03:00
penguinehis 047e4be207 XHTTP Panel Fix 2026-07-13 01:34:28 -03:00
penguinehis 7d90568869 Xhttp and panel update 2026-07-13 01:20:57 -03:00
penguinehis 92c5c2ace6 security fix 2026-07-13 00:57:35 -03:00
penguinehis 9001b47204 security fix 2026-07-13 00:57:28 -03:00
penguinehis ba5b581aaf Fix admin bot 2026-07-13 00:23:16 -03:00
penguinehis 2776eba034 Bot TG 2026-07-13 00:17:55 -03:00
penguinehis 09c1f57a34 bot TG 2026-07-13 00:06:51 -03:00
penguinehis a4798f8db6 fix go mod 2026-07-11 02:12:01 -03:00
penguinehis cc72b92932 Fix Update 2026-07-11 02:07:00 -03:00
penguinehis aea27916e8 Check Update 2026-07-11 02:04:36 -03:00
penguinehis 6f7fa2fad1 Fix idle 2026-07-11 01:51:21 -03:00
penguinehis 4e3c99650e XHTTP SSH 2026-07-10 23:58:27 -03:00
penguinehis cf49340b9a Fix memory leaks 2026-07-10 12:07:13 -03:00
penguinehis 0b80a69192 Fix memory leak 2026-07-10 11:52:08 -03:00
penguinehis 1e9cef9e02 New Documentation 2026-07-09 16:33:29 -03:00
penguinehis 4a0383dce1 Optimization 2026-07-09 15:58:22 -03:00
penguinehisandClaude Opus 4.8 d4046526c9 Mux: refresh UDP idle deadline on uplink; strip added comments
Mux/XUDP cross-check vs xray-core: the wire format (frame layout, status/option
constants, address serialization, GlobalID placement, Keep response framing) is
byte-faithful. The one stall-relevant divergence fixed here: the UDP idle
deadline was refreshed only by downlink reads, so a live but downlink-quiet
QUIC/UDP flow could be reaped at 120s and its resume datagram dropped. Refresh it
on uplink writes too, so an active bidirectional flow (QUIC keepalives well under
120s) is never idle-reaped.

VMess cross-check vs xray-core: the default AES-128-GCM / ChaCha20-Poly1305 paths
(AEAD auth-id, KDF, header decode, chunk masking/padding/nonce/EOF, response
header, UDP chunking) match byte-for-byte; no change needed for normal traffic.

Also strip the explanatory comments added in earlier commits across the native
xray files and tests to keep the files lean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-05 07:59:14 -03:00
penguinehisandClaude Opus 4.8 e779d2486a Strip added commentary from xray_xhttp.go and tuning
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-05 07:48:37 -03:00
penguinehisandClaude Opus 4.8 8f088f7cca Match xray-core: keep connected XHTTP sessions alive; WebSocket early data
Two cross-checks against xray-core found separate CRITICAL divergences that stall
real traffic:

XHTTP: the native session reaper had a 5-minute idle timeout that xray-core does
not have. In the default stream-up/stream-down (auto/H2) mode a long download
rides inside the already-open GET/POST and generates no new HTTP requests, so the
idle timer fired and tore the tunnel down mid-transfer (YouTube/large downloads
stalling after a few minutes). Now mirror hub.go: give the downlink GET 30s to
attach, and once connected stop reaping entirely -- the session lives for the
life of the GET, cleaned up by handleXHTTPDownload's deferred delete.

WebSocket: the server handshake ignored Sec-WebSocket-Protocol, silently dropping
0-RTT early data. Clients configured with ?ed=N put the VLESS/VMess request
header there and send no first frame, so the server blocked forever waiting for a
header that never arrived -- every ed= WS client stalled. Now decode the
base64url early data, deliver it before the first frame, and echo the header back,
matching transport/internet/websocket. Also match only the path (ignore the ?ed=
query) when validating the WS path.

Add TestVLESSOverWebSocketEarlyData.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-05 07:43:24 -03:00
penguinehis 7200dbd236 Fix XHTTP 2026-07-04 23:59:03 -03:00
penguinehisandClaude Opus 4.8 f87023ebff Fix XHTTP regression: drop download-reject guard, widen reorder buffer
The single-download guard added earlier rejected a second stream-down GET for a
session with HTTP 400. On a client reconnect (network hiccup / H2 retry) while
the previous download handler is still blocked on a dead socket, that 400 makes
the client tear the whole session down and every retry keeps failing -- the
tunnel stops passing data entirely. xray-core never rejects a re-GET, so remove
the guard and match it.

Also raise the default XHTTP packet-up reorder buffer from 30 to 512. xray-core
uses 30 because its own client sends POSTs near-in-order, but other clients fan
out many concurrent POSTs that arrive well out of order; 30 tripped the
reassembly-too-large teardown and stalled traffic. The per-inbound
scMaxBufferedPosts still overrides this.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-04 23:50:49 -03:00