Commit graph

2698 commits

Author SHA1 Message Date
Valeriy Manzhos
51652c0899
Dont fail when killing processes in postrm 2026-04-10 12:59:57 +03:00
Valeriy Manzhos
a875c5d7eb
Add kill scripts in sudoers 2026-04-09 19:04:36 +03:00
Valeriy Manzhos
3760605288
Kill process during uninstallation 2026-04-09 19:03:44 +03:00
Valeriy Manzhos
227d0f1181
Control lingering via .deb scripts 2026-04-09 19:03:38 +03:00
Valeriy Manzhos
2be5d41b58
Make xray executable 2026-04-09 18:50:05 +03:00
Valeriy Manzhos
1d653535ba
Don't generate TUN config for sing-box on Linux 2026-04-09 18:45:02 +03:00
Valeriy Manzhos
d5267d0b69
Replace core killing script with a one-liner 2026-04-09 17:43:19 +03:00
Valeriy Manzhos
bcef55a6bb
add tabulation 2026-04-09 17:23:18 +03:00
Valeriy Manzhos
906ad898be
fix syntax warning 2026-04-09 17:20:37 +03:00
Valeriy Manzhos
e7afe3bb92
Stop TUN and delete rules when the TUN button is untoggled 2026-04-09 17:20:21 +03:00
Valeriy Manzhos
4b52b06f6d
Do not restart sing-box when enabling/disabling TUN on Linux 2026-04-09 17:09:46 +03:00
Valeriy Manzhos
9c7fddf4e4
Bind the TUN toggle button to starting/stoppping hev-socsk5-tunnel 2026-04-08 18:43:42 +03:00
Valeriy Manzhos
ebdfb34670
Add a method for killing hev-socks5-tunnel 2026-04-08 17:51:20 +03:00
Valeriy Manzhos
f54b45ba5e
Enable lingering for user v2rayn-core 2026-04-08 17:30:00 +03:00
Valeriy Manzhos
c6873dadf7
Create pidfile for hev-socks5-tun 2026-04-08 17:27:36 +03:00
Valeriy Manzhos
56d35d297a
Allow to kill hev-socks5-tun in sudoers 2026-04-08 17:27:01 +03:00
Valeriy Manzhos
b497a479ce
Fix methods for starting/stopping TUN 2026-04-08 16:45:03 +03:00
Valeriy Manzhos
f6321f2e33
Disable buggy sing-box cache.db. Maybe sing-box itself will need patching 2026-04-08 16:30:56 +03:00
Valeriy Manzhos
f86e876242
Don't pass sudo password, all commands should be in sudoers 2026-04-08 15:34:50 +03:00
Valeriy Manzhos
ce4793cc91
FIXME: Hardcode /opt/v2rayN for bins, configs and logs 2026-04-08 15:34:12 +03:00
Valeriy Manzhos
8257cbcae6
FIXME: Force setting ENABLE_DEPRECATED_LEGACY_DNS_SERVERS on core launch 2026-04-08 13:20:40 +03:00
Valeriy Manzhos
7e8a109d97
Pass ENABLE_DEPRECATED_LEGACY_DNS_SERVERS env to sing-box 2026-04-08 12:49:30 +03:00
Valeriy Manzhos
e35f988502
Always run cores with sudo, even when TUN is disabled 2026-04-07 18:29:56 +03:00
Valeriy Manzhos
0cd19bf552
Launch cores as v2ran-core user 2026-04-07 18:06:27 +03:00
Valeriy Manzhos
903467d296
Add a method for launching hev-socks5-tunnel 2026-04-07 18:05:52 +03:00
Valeriy Manzhos
037cdaeba8
Fix typo in sing-box path in postinst 2026-04-07 16:54:53 +03:00
Valeriy Manzhos
42bd914882
edit hev path in sudoers 2026-04-07 16:48:14 +03:00
Valeriy Manzhos
6833ab01a8
Run setcap after chmod/chown 2026-04-07 16:48:08 +03:00
Valeriy Manzhos
ad62b8b319
Fix wrong path in sudoers and tun conf 2026-04-07 16:27:03 +03:00
Valeriy Manzhos
e2ab9ab7db
Add newline in sudoers 2026-04-07 16:22:03 +03:00
Valeriy Manzhos
56daf41f02
Override chmod for sing-box in postinst 2026-04-07 16:20:59 +03:00
Valeriy Manzhos
5078d6ae55
Don't change ownership in install. Use postinst instead 2026-04-07 15:58:28 +03:00
Valeriy Manzhos
93e1509ac4
Create sudoers.d 2026-04-07 15:50:42 +03:00
Valeriy Manzhos
40685ea3a2
Install hev-socsk5-tunnel in /opt/v2rayN/bin/hev_socks5_tunnel/ 2026-04-07 15:50:06 +03:00
Valeriy Manzhos
2ba4ee30b6
Delete a specific route/rule instead of flusing a whole table 2026-04-07 15:39:23 +03:00
Valeriy Manzhos
953e7825d4
Run cores as "v2rayn-core" user 2026-04-07 14:21:28 +03:00
Valeriy Manzhos
17847c5591
Add methods for creating and deleting TUN routes 2026-04-07 14:21:01 +03:00
Valeriy Manzhos
06fa701755
Use /opt/ for srss files 2026-04-07 13:39:00 +03:00
Valeriy Manzhos
f72f9df967
Replace GetOptCore with GetOptBinPath for getting /opt/v2rayN/bin/ paths 2026-04-07 13:37:25 +03:00
Valeriy Manzhos
33b9f15415
Add a method for getting /opt/v2rayn-core paths 2026-04-07 13:15:30 +03:00
Valeriy Manzhos
042bf068a3
Fix UID in sudoers 2026-04-07 13:04:13 +03:00
Valeriy Manzhos
df04a33e33
Change sing-box path in sudoers to /opt/v2rayN/ 2026-04-07 13:03:33 +03:00
Valeriy Manzhos
0d72b8a40c
Explicitly specify UID to use in RunProcess calls 2026-04-07 12:52:59 +03:00
Valeriy Manzhos
dc45d96395
Specify UID in RunProcess 2026-04-07 12:44:07 +03:00
Valeriy Manzhos
6ccf10cda7
Allow to specify user in sudo 2026-04-07 12:40:22 +03:00
Valeriy Manzhos
9b9728968e
Fix typo 2026-04-06 16:21:10 +03:00
Valeriy Manzhos
bb49353af7
Revert "Create dir"
This reverts commit 07705bd619.
2026-04-06 16:17:52 +03:00
Valeriy Manzhos
8872cc0607
Use uid and gid instead of names 2026-04-06 16:17:09 +03:00
Valeriy Manzhos
087200a93f
Fix typo and install hev conf 2026-04-06 16:11:59 +03:00
Valeriy Manzhos
773d61c7d9
install sudoers 2026-04-06 16:10:54 +03:00