Skip to content

Commit

Permalink
feat: Loon SOCKS5 UDP
Browse files Browse the repository at this point in the history
  • Loading branch information
xream committed Aug 25, 2024
1 parent 19418b6 commit 153802c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sub-store",
"version": "2.14.361",
"version": "2.14.362",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js",
"scripts": {
Expand Down
5 changes: 5 additions & 0 deletions backend/src/core/proxy-utils/producers/loon.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,11 @@ function socks5(proxy) {
// tfo
result.appendIfPresent(`,tfo=${proxy.tfo}`, 'tfo');

// udp
if (proxy.udp) {
result.append(`,udp=true`);
}

return result.toString();
}

Expand Down

0 comments on commit 153802c

Please sign in to comment.