Commit Graph

278 Commits

Author SHA1 Message Date
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
ShanStone
5359da1ca8 luci: fix some problems 2022-10-29 09:31:51 +08:00
ShanStone
8641672350 luci-app-passwall: optimize 2022-10-15 19:12:06 +08:00
ShanStone
52737683b0 luci-app-passwall: server side initial support nftables 2022-10-15 19:11:40 +08:00
ShanStone
b534485864 luci-app-passwall: initial support nftables transparent proxy 2022-10-08 03:01:04 +08:00
sbwml
afe7eb4304 luci-app-passwall: use busybox top
* procps-ng conflict
2022-09-13 08:43:55 +08:00
Bard
6b6ee704b5
luci-app-passwall: default tcp proxy mode - tproxy 2022-08-02 14:18:40 +08:00
Bard
61aa05b311 dns: tcp/udp: add mosdns 5335 port 2022-07-14 11:06:11 +08:00
xiaorouji
77520259be luci: support hysteria TCP redirect mode
Hysteria support TCP redirect mode now, let's support and directly use it.
2022-07-12 00:43:37 +08:00
Beginner-Go
03be2d7d8f luci: add space
unifi code style

Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2022-07-12 00:43:25 +08:00
sbwml
09e9b0994d luci-app-passwall: shadowsocks-rust server: remove unsupported encryption 2022-06-11 08:34:41 +08:00
Gzxhwq
cce8eb24a9 luci: optimize v2ray/xray websocket config
Backport from: https://github.com/xiaorouji/openwrt-passwall2/pull/130
2022-06-11 05:37:40 +08:00
ShanStone
12ce2771e1 luci: fix some problems
* luci: fix rules apply

Rules no working after update, unless clean the directory or reboot the system. Reload rules by use md5 check

* luci: default gfwlist rules swith to Loyalsoldier source

* luci: fix trojan allowinsecure subscribe option

fix trojan allowinsecure subscribe option, and  the allowinsecure will be turn off by default now

* luci: optimize rules upadte
2022-06-11 05:37:31 +08:00
Gzxhwq
a2de13b6e6 luci: add UoT support for Xray Shadowsocks-2022 2022-06-11 05:29:11 +08:00
Gzxhwq
48abbc4c75 luci: add shadowsocks-rust server 2022-06-11 05:29:03 +08:00
sbwml
f12546588b Revert "luci-app-passwall: SS-Rust Server support"
This reverts commit 52175abb02.
2022-06-11 05:28:51 +08:00
Gzxhwq
8437190378 luci: add support for Xray Shadowsocks-2022 (#1997) 2022-06-04 16:11:50 +08:00
sbwml
52175abb02 luci-app-passwall: SS-Rust Server support 2022-05-22 21:07:11 +08:00
sbwml
b96c7e61ab AEAD-2022 2022-05-18 02:45:07 +08:00
xiaorouji
1e83fa8065 luci: use dns2tcp instead of pdnsd
Simple and easy to use.
2022-05-13 04:34:10 +08:00
xiaorouji
55f3d0c53c luci: fix some problems 2022-05-10 12:21:23 +08:00
xiaorouji
be1b8e8c51 luci: optimize code 2022-04-28 17:41:51 +08:00
xiaorouji
9c7e338df0 luci: use v2fly version 5 fixup 2022-04-28 09:57:52 +08:00
xiaorouji
a1ba938881 luci: use v2fly version 5 2022-04-28 09:56:33 +08:00
xiaorouji
0205587e6d luci: fixup 2022-04-27 06:50:59 +08:00
xiaorouji
08fa08ad5f luci: optimize some problems 2022-04-27 06:50:44 +08:00
练亮斌
e79253238a luci: support bufferSize for xray 2022-04-27 06:49:49 +08:00
xiaorouji
7e21046a33 luci: optimize 2022-04-27 06:48:51 +08:00
xiaorouji
addbeb0f8e luci: compatible ujail 2022-04-27 06:47:13 +08:00
sbwml
12e3f6f41c backup 2022-04-17 03:50:24 +08:00