Commit graph

10 commits

Author SHA1 Message Date
Tianling Shen
d98fd52865 xray-core: increase nofile limitation
This fixes "too many open files" error caused by max-file limitation
when xray processes large traffic.

Reported-by: Terry Ding <terryding77@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-06-08 14:06:16 -07:00
Tianling Shen
d8d261fe2d xray-core: Update to 1.5.3
Removed outdated `alterId` in sample config.

Updated geodata to latest version while at it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-02-04 08:28:20 -08:00
Tianling Shen
ab540e6990 xray-core: remove dead jail files
It never works... And Xray-core needs root access to work.

Bump geodata to latest version while at it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-10-30 01:06:40 -07:00
Tianling Shen
53bbfe4de5
xray-core: bump geodata to latest version
Also removed `fullcone` option as this is outdated.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-04 20:48:51 +08:00
Tianling Shen
92efcc2956
xray-core: remove PROVIDES
Xray now is no longer planning to keep compatibility with original
v2ray. Remove PROVIDES before it is totally broken.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-27 20:34:18 +08:00
Tianling Shen
736667ce6e
xray-core: init: add browser dialer support
Since v1.4.1, Xray has introduced a new feature to transfer data via
browsers, which can disguise itself as a normal browser to cheat
network censorship.

For more details, see https://github.com/XTLS/Xray-core/pull/421.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-02 17:19:31 +08:00
Tianling Shen
56b6ca5d09
xray-core: init: add option to control FullConeNAT setting
Latest version of xray-core made a change to support FullCone NAT,
which would break UDP connection from v2ray-core backend server.
So added the option for v2ray-core users, to make sure UDP works
as expected.

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-13 01:43:41 +08:00
Tianling Shen
ae044501b3
xray-core: fix service start / reload
Fix starting problem:
Starting function should be named 'start_service' instead of 'start_instance'.

Fix reloading problem:
Register reload tigger for uci config itself.
And, xray does not support reload currently, so use legacy restart as reload.

Fixes: 6c9b96352f ("xray-core: add init script")

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-04 11:50:40 +08:00
Tianling Shen
6c9b96352f
xray-core: add init script
Add init script so the users could run it with their configs quickly.

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-04 06:29:58 +08:00
Tianling Shen
c8c2564012
xray-core: add example configs
Thry're from v2fly/v2ray-core wikis, used as examples.

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-04 06:29:48 +08:00