Commit graph

787 commits

Author SHA1 Message Date
mhsanaei
2a0d8302ac {fix} outbound - wireguard 2024-06-07 14:41:45 +02:00
mhsanaei
ac2297ec31 Outbound - Correct parameter order in Grpc #2270 #2348
Co-Authored-By: Amir Hossein Jeddi <seriousmvs@gmail.com>
2024-06-07 14:16:55 +02:00
mhsanaei
9bf45ad930 minor changes 2024-05-28 16:28:20 +02:00
mhsanaei
bbf083d99b new - vCPUs 2024-05-28 15:11:46 +02:00
Maisam
6509fe255e Add CLI to set panel cert (#2305)
* Add webBasePath update feature to CLI

* Add certificate setting update to CLI

* Revert "Add certificate setting update to CLI"

This reverts commit 2a937d59d7.

* Add certificate setting update to CLI

(cherry picked from commit 2a937d59d7)
2024-05-25 11:35:27 +02:00
Maisam
069fa86097 Add webBasePath update feature to CLI (#2300) 2024-05-25 10:15:06 +02:00
mhsanaei
283f90b554 new - (TLS) Session Resumption 2024-05-24 10:17:20 +02:00
mhsanaei
6dac6c69cf new - sockopt : all features #2293 2024-05-24 09:57:14 +02:00
Ahmad Thoriq Najahi
df9e4d9db7 feat: Enhance host extraction from headers (#2292)
- Refactor SUBController subs and subJsons methods to extract host from X-Forwarded-Host header, falling back to X-Real-IP header and then to the request host if unavailable.
- Update html function to extract host from X-Forwarded-Host header, falling back to X-Real-IP header and then to the request host if unavailable.
- Update DomainValidatorMiddleware to first attempt to extract host from X-Forwarded-Host header, falling back to X-Real-IP header and then to the request host.

Fixes: #2284

Signed-off-by: Ahmad Thoriq Najahi <najahi@zephyrus.id>
2024-05-23 23:51:19 +02:00
mhsanaei
39a08971e4 Add X-Real-IP Support for Client IP (login page) 2024-05-23 15:16:13 +02:00
mhsanaei
7cb1248da3 new - (Sockopt) tcpMptcp , tcpNoDelay
https://xtls.github.io/en/config/transport.html#sockoptobject
2024-05-22 20:06:49 +02:00
mhsanaei
0c2e2f4c05 Ensure IPv6 compliant host
Co-Authored-By: vnxme <46669194+vnxme@users.noreply.github.com>
2024-05-22 20:06:49 +02:00
mhsanaei
df6421dda3 new - (TLS) disable System Root 2024-05-22 20:06:49 +02:00
mhsanaei
3e7957cee0 new - Cert (TLS-XTLS) - oneTimeLoading , usage 2024-05-22 20:06:48 +02:00
mhsanaei
1ab3da911b bug fix - bulk Telegram ChatID 2024-05-16 14:58:32 +02:00
Ahmad Thoriq Najahi
05469ce280 feat(tgbot): Add refresh button to server usage (#2253)
- Added a refresh button to the server usage interface to allow users to refresh the displayed information.
 - Updated the sendReport function to use the sendServerUsage function instead of getServerUsage to ensure consistency in functionality.

Signed-off-by: Ahmad Thoriq Najahi <najahi@zephyrus.id>
2024-05-14 14:00:10 +02:00
Hamidreza
0ea838b365 [fix] always serve panel even if xray failed to run (#2248) 2024-05-09 19:45:12 +02:00
mhsanaei
17ebbe6a7b [dns] skipFallback option
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-05-08 21:43:15 +02:00
mhsanaei
aac32023b5 sniffing - metadataOnly, routeOnly
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-05-08 21:38:08 +02:00
mhsanaei
7abb08e0bb add dokodemo timeout
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-05-08 21:31:58 +02:00
mhsanaei
ed49742a24 remove version - folder name 2024-05-07 08:45:05 +02:00
Ahmad Thoriq Najahi
f2c2e281a8 feat(tgbot): Add xray-core version into server status (#2236)
Signed-off-by: Ahmad Thoriq Najahi <najahi@zephyrus.id>
2024-04-29 08:44:16 +02:00
mhsanaei
a7a5c3a5f3 fix empty client ID on request
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-04-21 00:58:37 +03:30
mhsanaei
915b47133a gin-contrib v1.0.0 2024-04-21 00:56:55 +03:30
Tara Rostami
7826117fde UI Improvements (#2228)
* UI Improvements

Better Table
Update QR Code Modal
Better Info Modal
Compression HTML files
Better Dropdown Menu
Better Calendar
and more ..
Remove files
Minor Fixes
2024-04-20 22:15:36 +03:30
Rammiah
da792da962 fix dns ui (#2229)
fix domains for nameserver only record, domain will keep after edit a
server with domains list
2024-04-20 14:46:08 +03:30
mhsanaei
f4d0c5b815 rename 2024-04-17 17:58:54 +03:30
mhsanaei
9316f87863 URI.js v1.19.11 2024-04-17 16:07:07 +03:30
mhsanaei
13f9e8641a css , jalali minify 2024-04-17 16:02:03 +03:30
mhsanaei
9242ec6b2f axios v0.28.1 2024-04-17 16:02:03 +03:30
mhsanaei
9895e0ee18 clipboard.js v2.0.11 2024-04-17 16:02:02 +03:30
mhsanaei
89e45d2adc vue v2.7.16 2024-04-17 12:41:33 +03:30
mhsanaei
578f4f80df fix httpUpgrade host
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-04-17 11:04:25 +03:30
mhsanaei
c09b4c9794 minor changes - chat id 2024-04-17 09:31:21 +03:30
mhsanaei
8487f954c4 fix DNS outbound error in list
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-04-17 09:03:55 +03:30
mhsanaei
0f3cfebb7c fix blackhole type
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-04-17 09:03:22 +03:30
somebodywashere
a24d7df229 Convert string tgId to int64 on Migrate 2024-04-05 12:24:18 +03:00
mhsanaei
17f06e390e bug fix - tgid #2214 2024-04-03 17:02:31 +03:30
mhsanaei
ff6b82e3df fix direct on json sub for ru
vn has been removed
2024-04-02 23:43:16 +03:30
mhsanaei
609c978ea2 add header for httpupgrade 2024-04-02 23:41:06 +03:30
Ho3ein
13c8376f7b Merge pull request #2198 from TaraRostami/main
Minor UI fixes
2024-04-02 20:06:40 +03:30
TaraRostami
3019dca24c Minor UI fixes 2024-04-02 19:54:55 +03:30
mhsanaei
ac1f4fb6a0 telego v0.29.2 2024-04-02 15:43:01 +03:30
mhsanaei
242041d56f tgbot - fix chatid 2024-04-02 15:04:44 +03:30
Tara Rostami
8dc34dcc6d Minor Fixes (#2190)
Update index.html

Update xray.html
2024-04-02 13:03:40 +03:30
mhsanaei
42bb94f844 bug fix 2024-04-02 12:13:32 +03:30
mhsanaei
6acc66d442 Add host for WS 2024-04-01 17:02:02 +04:30
mhsanaei
6803e3d3c4 [xray] fix: convert link to json
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-04-01 12:14:20 +04:30
mhsanaei
71c4bb8551 avoid empty client id
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-04-01 12:08:25 +04:30
mhsanaei
717b7af4b9 telegram channel XrayUI
https://t.me/XrayUI
2024-04-01 11:46:28 +04:30
Tara Rostami
75dfdc2699 QRious2 (#2156) 2024-04-01 10:38:22 +03:30
emirjorge
1dce0bd726 Improve Spanish Translation and updates (#2169)
* Add files via upload

* Add Translation Spanish to README.es_ES.md

* fixed and short

* Update README.md

* Update README.md
2024-03-31 17:05:36 +03:30
somebodywashere
e09ac1d74f Small fixes (#2106) 2024-03-21 10:21:12 +03:30
somebodywashere
d4433d73d0 Fix clear logs job (#2090) 2024-03-20 14:17:35 +03:30
Tara Rostami
78cae0474c UI Improvements (#2067) 2024-03-20 14:13:37 +03:30
somebodywashere
f0ab31b5da Fixed unnecessary Xray restarts in Tgbot 2024-03-15 21:13:20 +03:00
Steven
39262894fe Fixed tanslation mistakes (#2050) 2024-03-13 14:18:25 +03:30
MHSanaei
bfe2a4ff93 fix remained traffic in info
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-13 14:17:19 +03:30
MHSanaei
113027e82e BurstObservatory & Observatory
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-13 12:15:59 +03:30
Hamidreza
8970f8f1a6 [iplimit] fix access log path in settings service (#2044)
* [iplimit] fix access log path in settings service

better to avoid hardcoding the access log path to enhance flexibility. not all users prefer the default './access.log'

* [iplimit] fix iplimit
2024-03-13 11:24:41 +03:30
MHSanaei
88cec9e4d6 fix bug - deleteBalancer 2024-03-13 01:31:37 +03:30
Alireza Ahmadi
81e20b6b8b ip limit only if log is available 2024-03-12 21:53:32 +01:00
MHSanaei
ebced9287f [ui] remove online animation
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-13 00:15:17 +03:30
MHSanaei
8218bbce59 limit mux to connection base outbounds
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-12 23:04:11 +03:30
MHSanaei
3cf049012e support IPv6 address in Link
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-12 23:02:02 +03:30
Tara Rostami
8b41c17664 Minor Fixes (#2041) 2024-03-12 20:57:50 +03:30
MHSanaei
74e0cbe4b8 bug fix - remove secret 2024-03-12 20:45:44 +03:30
MHSanaei
e461fbc180 Xray Outbound - Authority gRPC 2024-03-12 20:45:33 +03:30
MHSanaei
0ac68d2c99 [subJson] add mux and direct
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-12 19:44:51 +03:30
MHSanaei
a2e766bddb new - DNS obf type for kcp 2024-03-12 19:28:57 +03:30
MHSanaei
fad5af37e2 [xray] add outbound sendThrough + warp typo fix
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-12 19:23:48 +03:30
MHSanaei
8fd7c18039 minor changes
Co-Authored-By: somebodywashere <68244480+somebodywashere@users.noreply.github.com>
2024-03-12 17:51:45 +03:30
MHSanaei
5888ca8d04 fix sockopt in all protocols
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-12 17:28:09 +03:30
MHSanaei
7467562817 fix updateSecret 2024-03-12 16:20:48 +03:30
MHSanaei
feb3a31da6 bug fix 2024-03-12 14:48:09 +03:30
MHSanaei
f9af0bb285 bug fixed - mux #2015 2024-03-12 02:17:42 +03:30
Moiudev
c71e3f9882 Update translate.zh_Hans.toml (#2013)
Optimize Chinese translation.
2024-03-12 00:46:20 +03:30
MHSanaei
88fc839ab6 improve null handling 2024-03-12 00:36:25 +03:30
MHSanaei
9cda69a123 Fix empty log path handling 2024-03-11 23:56:23 +03:30
MHSanaei
ee43e89fa0 [xray outbound] add mux
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-11 21:48:33 +03:30
MHSanaei
c5af2d826a [sub] JSON sub enhancement + minor changes
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-11 18:40:11 +03:30
MHSanaei
d221ec996f [xray] add sockopt to all outbounds
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-11 16:03:33 +03:30
Steven
ca85a087cf update translation-zh (#2004)
* modify a translation mistake in translate.zh_Hans

update "value" = "价值"  to "value" = "值"
in line 217 in translate.zh_Hans.toml

* Update translate.zh_Hans.toml
2024-03-11 13:59:59 +03:30
MHSanaei
b1a54d8017 [sub] random reality params
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-11 13:52:06 +03:30
MHSanaei
5c93a0586c New - leastload, leastping balancer 2024-03-11 13:16:59 +03:30
MHSanaei
a7be5d0dff New - gRPC Authority 2024-03-11 13:00:00 +03:30
MHSanaei
871164ab79 [xray outbound] add sockopt
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-11 12:07:52 +03:30
MHSanaei
63ab129809 [xray] add dns tag
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-11 12:01:08 +03:30
MHSanaei
e83de58528 avoid empty client id
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-11 11:52:28 +03:30
MHSanaei
7186d3cd75 [xray] add BurstObservatory + minor changes
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-11 11:46:54 +03:30
MHSanaei
d60739bec9 [xray] add new dns strategies
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-11 11:38:25 +03:30
MHSanaei
abe047584f New - HttpUpgrade Transport 2024-03-11 11:27:43 +03:30
Hamidreza
d503bff637 Some fixes and improvements (#1997)
* [refactor] api controller

* [fix] access log path

better to not hardcode the access log path, maybe some ppl dont want to use the default ./access.log

* [fix] set select options from logs paths in xray settings

* [update] .gitignore

* [lint] all .go files

* [update] use status code for jsonMsg and 401 to unauthorize

* [update] handle response status code via axios

* [fix] set correct value if log paths is set to 'none'

we also use the default value for the paths if its set to none

* [fix] iplimit - only warning access log if f2b is installed
2024-03-11 01:01:24 +03:30
MHSanaei
68cf5e7349 default config domainStrategy 2024-03-11 00:08:57 +03:30
Tara Rostami
97e0e12f63 Minor Fixes (#1992)
autocomplete
max - min for input-number
2024-03-09 16:36:16 +03:30
Steven
ef3ad4add8 update translation-zh (#1999) 2024-03-09 16:19:15 +03:30
somebodywashere
1ab07b2b48 Merge branch 'main' of https://github.com/somebodywashere/3x-ui 2024-03-05 17:22:22 +03:00
somebodywashere
e0d863a957 [IPLimit] Added check for accessLogPath 2024-03-05 17:20:00 +03:00
somebodywashere
34335d12a4 [IPLimit] Optimize + Debian 12 compability 2024-03-05 16:39:20 +03:00
emirjorge
74e2c87e7e Improved Spanish translation (#1980) 2024-03-05 15:00:52 +03:30