Commit Graph

279 Commits

Author SHA1 Message Date
actions
e4cbc7d7c4 luci-app-passwall: sync upstream 2024-03-31 22:30:04 +08:00
xiaorouji
242d729774 luci: add Socks log 2024-03-19 21:15:27 +08:00
xiaorouji
9dc1a2f719 luci: Optimize subscribe UA 2024-03-19 21:15:16 +08:00
xiaorouji
bf1213db32 luci: optimise 2024-03-18 21:28:52 +08:00
xiaorouji
f6fcb28594 luci: add Xray HttpUpgrade option 2024-03-18 21:28:47 +08:00
xiaorouji
a9c71d1ef2 luci: optimize && fix 2024-03-12 07:03:34 +08:00
xiaorouji
0a277c998f luci: fix #3013 2024-03-11 22:37:30 +08:00
xiaorouji
082c935e7d luci: complete #2959 2024-03-11 03:12:25 +08:00
xiaorouji
aa883bf93e luci: optimise 2024-03-10 07:37:22 +08:00
xiaorouji
2b18407aea luci: optimise 2024-03-10 07:37:18 +08:00
Tianhe Y
da2e01edfa luci: continue to fix #2992 2024-03-07 03:05:41 +08:00
Tianhe Y
96ac516967 luci: fix #2992 2024-03-06 18:03:38 +08:00
xiaorouji
d2884e052b luci: optimize 2024-03-06 04:42:22 +08:00
守望
dfbfe3f884 luci: fix Xray server acceptProxyProtocol and Short Id 2024-03-05 14:26:01 +08:00
xiaorouji
345e6292bb luci: add transition button... 2024-03-04 03:52:34 +08:00
lwb1978
45f9b8f233 luci: update po 2024-03-02 00:04:38 +08:00
Bard
d9abe98ca5
luci-app-passwall: mosdns port 2024-03-01 01:25:52 +08:00
xiaorouji
ed708acc07 luci: Fix and optimize some issues 2024-02-29 06:24:08 +08:00
xiaorouji
037fad579c luci: add Xray v1.8.8 balancer leastLoad strategy 2024-02-26 22:30:17 +08:00
xiaorouji
86ca0a6e5a luci: add Xray node a layer chain proxy logic
Can set it in the node configuration, no need to use shunt mode.
2024-02-26 22:29:57 +08:00
xiaorouji
c71368fa9d luci: add Sing-Box node a layer chain proxy logic
Can set it in the node configuration, no need to use shunt mode.
2024-02-26 19:49:02 +08:00
xiaorouji
c05ff80328 luci: add Sing-Box node domain_strategy option 2024-02-25 23:48:00 +08:00
xiaorouji
bb29572bcd luci: add node http tls depends 2024-02-24 22:46:27 +08:00
bowhorse
401548753b luci: Add Xray fragment front-end options
"Some key-value pair configuration items are used to control
outgoing TCP fragments, which can deceive the censorship
system in some cases, such as bypassing SNI blacklists."

-"packets": Supports two slicing methods. "1-3" is TCP's stream
slicing, which is applied to the client's 1st to 3rd time writing data.
 "tlshello" is the TLS handshake packet slice.

-"length": Fragmented packet length (byte)

-"interval": Fragmentation interval (ms)

https://xtls.github.io/config/outbounds/freedom.html#outboundconfigurationobject
2024-02-23 09:41:10 +08:00
xiaorouji
a1961edac1 luci: add Xray mptcp option support 2024-02-23 09:41:05 +08:00
xiaorouji
1844925291 luci: drop Trojan-Go
The author seems to no longer maintain, so delete it. Please use Xray or Sing-Box instead.

Don't want to maintain too many Go application, please use Socks.
2024-02-20 01:29:36 +08:00
xiaorouji
8e9d1ba88e luci: drop Brook
Don't want to maintain too many Go application, please use Socks.
2024-02-20 01:29:10 +08:00
xiaorouji
b3c93f9691 luci: optimization and adjust proxy mode logic 2024-02-20 01:28:40 +08:00
xiaorouji
5382acf6a2 luci: update UoT depends 2024-02-01 21:23:21 +08:00
1TuJl
541c115f97 luci: add sing-box Shadowsocks SIP003 plugin support (#2910) 2024-02-01 13:25:57 +08:00
xiaorouji
463d899505 luci: optimization 2024-01-29 12:32:25 +08:00
xiaorouji
daee7a394b luci: update and fix the subscribe module 2024-01-11 22:02:40 +08:00
xiaorouji
40caf0ed97 luci: shunt rule add inboundTag option 2024-01-11 22:02:33 +08:00
xiaorouji
c723875552 luci: add remove sing-box resource files button 2024-01-11 22:02:26 +08:00
xiaorouji
602ddad71b luci: socks config can choose all node 2024-01-11 22:02:21 +08:00
xiaorouji
461925fa72 luci: shunt rule add some option 2024-01-11 22:02:15 +08:00
Ariesly
d55b589110 luci: hysteria2 support verify tls pinSHA256 (#2889)
* feat: hysteria2 support verify tls pinSHA256

* fix: missing commas

* fix: change field to hysteria2_tls_pinSHA256
2023-12-19 22:38:45 +08:00
Gzxhwq
0943f66723 luci: add sing-box TCP Brutal support (#2887)
* luci: add sing-box TCP Brutal support
2023-12-04 01:14:36 +08:00
Gzxhwq
4a650e4488 luci: add sing-box HTTPUpgrade support (#2886) 2023-12-04 01:14:31 +08:00
ztbh
57c0dda926 luci: add chinadns-ng domain default tag config (#2854) 2023-10-16 22:54:47 +08:00
Gzxhwq
faed417e44 luci: fix hysteria2 bandwidth when nil (#2855) 2023-10-16 22:54:42 +08:00
xiaorouji
e195f359a4 luci: fix bug 2023-10-16 22:54:36 +08:00
xiaorouji
1feab9e98e luci: fix acl dns option 2023-10-12 06:37:48 +08:00
sbwml
6c0a9491f5 Revert "luci: eliminate JS LuCI behavior"
This reverts commit aaeee88107.
2023-10-04 14:18:13 +08:00
Gzxhwq
9782e2885c luci: disable sniff_override_destination (#2824) 2023-09-25 04:39:59 +08:00
Gzxhwq
35b3423c74 luci: add sing-box ECH options 2023-09-25 04:39:54 +08:00
xiaorouji
dab77c4d77 luci: add lazy start option to Hysteria2 client 2023-09-25 04:39:45 +08:00
xiaorouji
aaeee88107 luci: eliminate JS LuCI behavior 2023-09-25 04:39:27 +08:00
xiaorouji
327e6f4ff6 luci: Adjust the sing-box ShadowTLS logic 2023-09-20 21:25:05 +08:00
xiaorouji
8786e06757 luci: fix some problems 2023-09-20 21:24:59 +08:00
xiaorouji
8270460a1d luci: fix some problems 2023-09-17 05:49:34 +08:00
Gzxhwq
f6e54f57ed luci: make sing-box gRPC-lite work
客户端不需要编译with_grpc也可以连接*ray的标准grpc,反之编译了with_grpc则不能连接sing-box的grpc-lite服务器。

所以客户端不需要编译with_grpc,sing-box grpc-lite兼容标准grpc,标准grpc不兼容grpc-lite
2023-09-16 01:46:14 +08:00
xiaorouji
e8c7527ff4 luci: update Hysteria to Hysteria2 logic
No longer compatible with Hysteria V1. If you want to use, please use Sing-Box for implementation.
2023-09-14 11:53:40 +08:00
xiaorouji
45421e6cb3 luci: Adjust Xray DNS logic
* remove FakeDNS mode, because it does not support persistence.

* because the built-in DNS server can only query A/AAAA type, so must be use a TCP server to query non -A/AAAA type

* It is recommended to use Sing-Box instead of it.
2023-09-14 11:53:33 +08:00
xiaorouji
7d1fb1a2ca luci: Adjust FakeDNS logic 2023-09-14 11:53:26 +08:00
xiaorouji
5196b8d9b1 luci: server: add REALITY option to Xray 2023-09-13 12:56:50 +08:00
xiaorouji
d0dfa38f67 luci: server: add REALITY option to sing-box 2023-09-13 12:56:45 +08:00
xiaorouji
53537c90b3 luci: server: fix sing-box 2023-09-13 12:56:41 +08:00
xiaorouji
ca0389bd38 luci: add compatible option to sing-box VMess 2023-09-13 12:56:36 +08:00
Gzxhwq
4e720fa28d luci: some fix & improvement with sing-box
* luci: fix sing-box REALITY tag on client side

* luci: add sing-box mux padding option

* luci: fix sing-box dns
2023-09-13 12:56:29 +08:00
Gzxhwq
f106090d70 luci: add alpn option to sing-box TUIC 2023-09-08 18:20:11 +08:00
xiaorouji
2c8c54e3cf luci: optimize code 2023-09-08 18:19:52 +08:00
xiaorouji
267e2b7c44 luci: fix known bugs 2023-09-08 18:19:48 +08:00
xiaorouji
68b1498c61 luci: add Sing-Box DNS option 2023-09-08 15:13:31 +08:00
xiaorouji
e32b580174 luci: update default config 2023-09-08 15:13:26 +08:00
xiaorouji
a047c49bfe luci: remove v2ray
Due to the incompatibility of the data structure, remove it.
2023-09-08 15:13:11 +08:00
xiaorouji
0fbcb7de2e luci: add Hysteria2 support to sing-box server 2023-09-08 14:31:47 +08:00
xiaorouji
292b2f746f luci: add TUIC support to sing-box server 2023-09-08 14:31:43 +08:00
xiaorouji
bd5d6d1d1f luci: add Hysteria support to sing-box server 2023-09-08 14:31:37 +08:00
xiaorouji
d38c0532bc luci: add Naive support to sing-box server 2023-09-08 14:31:26 +08:00
xiaorouji
0163ec8578 luci: add Mixed support to sing-box server
mixed inbound is a socks4, socks4a, socks5 and http server.
2023-09-08 14:31:21 +08:00
xiaorouji
4262fe4238 luci: add Hysteria2 support to sing-box client 2023-09-08 14:31:18 +08:00
xiaorouji
74fee990c0 luci: add TUIC support to sing-box client 2023-09-08 14:31:08 +08:00
xiaorouji
c7818a6946 luci: add Hysteria support to sing-box client 2023-09-08 14:31:04 +08:00
xiaorouji
8b6453d01e luci: add ShadowTLS support to sing-box client 2023-09-08 14:30:59 +08:00
xiaorouji
bc3a38eaac luci: add SSR support to sing-box client
The ShadowsocksR protocol is obsolete and unmaintained. This outbound is provided for compatibility only.
2023-09-08 14:30:54 +08:00
xiaorouji
df8373f593 luci: add sing-box server support 2023-09-08 14:30:49 +08:00
xiaorouji
2638af0efa luci: add sing-box client support 2023-09-08 14:30:43 +08:00
xiaorouji
56157adaf1 luci: update api finded_com func 2023-09-08 14:30:39 +08:00
xiaorouji
83f5115cb7 luci: Xray tlsflow option name change to flow 2023-09-08 14:28:51 +08:00
xiaorouji
fde784ab1b luci: adjust Xray uTLS fingerprint option 2023-09-08 14:28:47 +08:00
xiaorouji
23cb634242 luci: fix depends 2023-09-08 14:28:44 +08:00
xiaorouji
81adc908e8 luci: optimization 2023-09-04 04:29:56 +08:00
sbwml
71fdf8df46 luci-app-passwall: remove 2022-blake3-chacha8-poly1305 2023-08-26 22:31:49 +08:00
xiaorouji
1fcb682b2e luci: fixup 090f285 2023-08-26 22:24:23 +08:00
xiaorouji
d973002505 luci: fixup 090f285 2023-08-26 22:24:19 +08:00
xiaorouji
9f30afe7b4 luci: auto switch interval support seconds
It is not recommended to set up too small.
2023-08-26 22:24:12 +08:00
xiaorouji
0849b74c00 luci: optimization && modular 2023-08-26 22:23:42 +08:00
xiaorouji
55dd001ce2 luci: add new auto switch logic to socks config 2023-08-23 11:05:58 +08:00
xiaorouji
8130a09b31 luci: remove auto switch logic 2023-08-23 11:05:52 +08:00
xiaorouji
a3b1f1630c luci: fixup 5891a6b 2023-08-14 02:55:22 +08:00
xiaorouji
f6c85ff182 luci: server remove mtproto protocol 2023-08-11 10:16:53 +08:00
xiaorouji
c2010b482d luci: shunt mode add iface support 2023-08-11 10:16:49 +08:00
Gzxhwq
5420fa07b5 luci: fix typo (#2655) 2023-07-19 00:21:11 +08:00
ShanStone
5700928d33 luci: initial tuic-client support 2023-07-17 20:41:12 +08:00
xiaorouji
c9ceb1feaf luci: ipset/nftset name change 2023-05-08 02:59:23 +08:00
xiaorouji
e21b60d6c7 luci: use short UUID
The amount of data is not large, maybe not repeat.
2023-05-08 02:58:23 +08:00
xiaorouji
49ea53eaa9 luci: fix clear ipset/nftset maybe invalid bug 2023-04-25 04:15:54 +08:00
xiaorouji
95389eb674 luci: shunt mode select node can custom
You can directly customize SOCKS/HTTP server when selecting nodes.
For example:
socks://127.0.0.1:1080
socks://username:password@127.0.0.1:1080
http://127.0.0.1:2080
http://username:password@127.0.0.1:2080
2023-04-20 16:16:26 +08:00
xiaorouji
aa62fdcc18 luci: fix maybe wrong issue 2023-04-20 16:16:20 +08:00
Tianhe Y
2a0d4ed8a0 luci: wireguard reserved support base64 string (#2511) 2023-04-20 16:15:51 +08:00
Gzxhwq
22940c0f9b luci: add Xray Vision XUDP Mux support (#2503) 2023-04-20 16:15:46 +08:00
xiaorouji
9eb7df489b luci: chinadns-ng logic update and optimization
chinadns-ng 2023-04-01 version

* start support nftset.

* support adding chnlist to ipset now, and now there is no need to generate dnsmasq conf.
2023-04-12 20:55:07 +08:00
xiaorouji
c8701a112a luci: fix auto switch when use shunt node #2474 2023-04-12 20:52:59 +08:00
xiaorouji
ae411c4752 luci: haproxy conf adjustment 2023-04-09 23:51:11 +08:00
Tianhe Y
ac259f2d11 luci: wireguard add reserved option when xray>=1.8.0 (#2462)
* luci: wireguard add reserved option when xray>=1.8.0

* luci: 4.63
2023-04-06 19:23:18 +08:00
Tianhe Y
fddd6eed92 luci: preproxy remove dialerProxy option 2023-04-06 19:23:01 +08:00
Tianhe Y
d9023cffba luci: modify code to adapt preproxy switch 2023-04-06 19:22:55 +08:00
Tianhe Y
8ea101b15e luci: fix an error in #2456 (#2457) 2023-04-06 19:22:41 +08:00
Tianhe Y
47d28d314a luci: optimize shunt config (#2456) 2023-04-06 19:22:36 +08:00
Tianhe Y
3b1c3d65c5 luci: add advanced log feature #2424 (#2431)
- logging to sys log.
- logging to persist log file.

Co-authored-by: iceliuhacker <118520805+iceliuhacker@users.noreply.github.com>
2023-04-06 19:18:38 +08:00
Tianhe Y
7b04f0bfa3 luci: fix and optimize shunt config (#2451) 2023-04-06 19:18:30 +08:00
xiaorouji
22816e9c24 luci: compatible 2023-04-02 07:31:24 +08:00
Tianhe Y
226736e6bf luci: fix #2434 (#2438) 2023-04-01 15:34:57 +08:00
Tianhe Y
c9ee3e26fe luci: fix translate (#2429)
luci: fix translate of probe URL description
2023-04-01 15:34:52 +08:00
Tianhe Y
ee7ded80e5 luci: shunt added xray balancer support
- optimized pre-proxy settings (https://github.com/xiaorouji/openwrt-passwall/issues/2234)
2023-04-01 15:34:38 +08:00
xiaorouji
eadb44a03a luci: haproxy use logic implement accurate availability
So fragrant ~
2023-04-01 15:34:33 +08:00
xiaorouji
c5e704b735 luci: add hysteria lazy_start option 2023-04-01 15:34:27 +08:00
xiaorouji
80408356a4 luci: adjustment chinadns-ng logic
* It is now can work in the gfwlist mode.

* It is now can work with when chnroute default dns option.
2023-03-30 08:42:49 +08:00
nftbty
146648178c luci: balancing add strategy option & remove unnesscary options
* luci: balancing add strategy option & remove unnesscary options

Signed-off-by: nftbty <nftbty@gmail.com>

* luci: add description for probeInterval option in balancing
Add description for the probeInterval option, from the official V2ray documentation.

---------

Signed-off-by: nftbty <nftbty@gmail.com>
2023-03-27 20:26:41 +08:00
nftbty
36c6425b3f luci: unified code style (#2395)
* luci: unified code style
- checked newline at end of file
- unified indent
- removed whitespaces at end of line

* luci: change the indentation of lua files to tabs
2023-03-27 20:25:52 +08:00
nftbty
5e84915db1 luci: optimize app_update
* luci: optimize app_update code structure
abstract the components update info into a module.

Signed-off-by: nftbty <nftbty@gmail.com>

* luci: app_update add chinadns-ng & fix hysteria

Signed-off-by: nftbty <nftbty@gmail.com>

* luci: app_update optimize match_file_name generating.
- Update `auto_get_arch()`, and the generation of `match_file_name`.
- The function `to_check()`,`to_download()`,`to_extract()`,`to_move()` moved into api.lua,  some functions in api.lua used by the 4 functions are no longer need to be public anymore, so add `local` before them.

Signed-off-by: nftbty <nftbty@gmail.com>

---------

Signed-off-by: nftbty <nftbty@gmail.com>
2023-03-27 20:19:59 +08:00
Gzxhwq
8686261968 luci: mask fingerprint that dosen't support Vision & REALITY (#2375)
follow
https://github.com/XTLS/Xray-core/issues/1666#issuecomment-1435494076
2023-03-15 03:25:08 +08:00
Gzxhwq
5d685f771d luci: add Xray REALITY client support
* luci: add Xray REALITY client support

* luci: make REALITY work with other protocol

* luci: add REALITY support to gRPC client

* luci: fix xray fail when all h2 options is NULL

* luci: chore
2023-03-12 17:17:19 +08:00
xiaorouji
42ce950fcd luci: add when use chnroute mode default DNS option 2023-03-09 23:17:16 +08:00
xiaorouji
364731602e luci: optimization acl logic 2023-03-07 22:40:27 +08:00
xiaorouji
2e61482883 luci: acl config add chinadns-ng option 2023-03-06 10:38:46 +08:00
xiaorouji
941ffd8ed1 luci: acl config add filter_proxy_ipv6 option 2023-03-06 10:38:41 +08:00
Gzxhwq
cacf7a5429 luci: optimization code and some other adjustments 2023-02-27 00:17:48 +08:00
xiaorouji
14e6f515a3 luci: optimization code 2023-02-16 05:13:49 +08:00
xiaorouji
4f61d13de8 luci: optimization code 2023-02-16 05:08:07 +08:00
xiaorouji
94d0a16dbf luci: remove V2ray DNS option
Configuration is not compatible with Xray and has bugs, so are temporarily removed.
2023-02-09 23:33:14 +08:00
xiaorouji
1e93848cc9 luci: fix bug 2023-02-09 23:32:53 +08:00
xiaorouji
8d12f406b9 luci: Optimization code logic 2023-02-09 23:29:42 +08:00
xiaorouji
78a33066ed luci: Optimization tcp node socks logic
The TCP Node Socks must be used, and for code logic. And More convenient expansion in the future.
2023-02-09 23:29:38 +08:00
xiaorouji
f04ecb1b69 luci: add Hysteria fast_open option 2023-02-07 03:53:10 +08:00
xiaorouji
08b4cda31b luci: Xray outbound support network interface 2023-02-07 03:53:04 +08:00
xiaorouji
2a0b8a0b49 luci: server: update accept_lan option depends 2023-02-07 03:52:59 +08:00
xiaorouji
a91bad9cbc luci: update Xray fingerprint disable value 2023-02-07 03:52:54 +08:00
xiaorouji
28d52193ac luci: remove Xray old XTLS version
The old version of XTLS, which is deprecated now and will be removed soon. Please use flow "xtls-rprx-vision" with "tls & tlsSettings" instead.
2023-02-07 03:52:27 +08:00
xiaorouji
448f8e5491 luci: server: rename option name 2023-02-07 03:52:21 +08:00
Gzxhwq
690b84f1a2 luci: add more fingerprints to xray (#2264) 2023-02-07 03:52:14 +08:00
yk271
ca136e8479 luci: chnroute and chnroute6 use multiple sources (#2245) 2023-01-09 23:47:28 +08:00
xiaorouji
549c8735f5 luci: add Xray dialerProxy option 2023-01-09 23:46:48 +08:00
xiaorouji
5aec13e562 luci: add Xray wireguard support 2023-01-09 23:46:38 +08:00
xiaorouji
9445139877 luci: temporarily remove SmartDNS shunt scheme
Because the SmartDNS new version has updated some characteristics and logic, this solution may not be used normally, so temporarily removed it.
2023-01-09 23:46:32 +08:00
yk271
b8d760c76e luci-app-passwall: 修改默认中国大陆 IP 来源 (#2242)
* Update 0_default_config

* Update rule.lua
2023-01-09 23:46:10 +08:00
zhusir
282f55e832 luci-app-passwall: xray update from pre-release 2022-11-30 13:24:19 +08:00
zhusir
095251f41b luci-app-passwall: support xray xtls-rprx-vision (#2174)
* luci: support xray xtls-rprx-vision

* update

Co-authored-by: ShanStone <31815718+ShanStone@users.noreply.github.com>
2022-11-30 13:23:19 +08:00
Kunger97
572e125f3d luci-app-passwall: add hysteria hop (#2182)
add hysteria hop and some client configuration items
2022-11-09 21:20:20 +08:00