Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-04-19fix: enhance WebSocket stability, resolve XHTTP configurations and fix UI ↵lolka1333
loading shifts (#3997) * feat: implement real-time traffic monitoring and UI updates using a high-performance WebSocket hub and background job system * feat: add bulk client management support and improve inbound data handling * Fix bug * **Fixes & Changes:** 1. **Fixed XPadding Placement Dropdown**: - Added the missing `cookie` and `query` options to `xPaddingPlacement` (`stream_xhttp.html`). - *Why:* Previously, users wanting `cookie` obfuscation were forced to use the `header` placement string. This caused Xray-core to blindly intercept the entire monolithic HTTP Cookie header, failing internal padding-length validations and causing the inbound to silently drop the connection. 2. **Fixed Uplink Data Placement Validation**: - Replaced the unsupported `query` option with `cookie` in `uplinkDataPlacement`. - *Why:* Xray-core's `transport_internet.go` explicitly forbids `query` as an uplink placement option. Selecting it from the UI previously sent a payload that would cause Xray-core to instantly throw an `unsupported uplink data placement: query` panic. Adding `cookie` perfectly aligns the UI with Xray-core restrictions. ### Related Issues - Resolves #3992 * This commit fixes structural payload issues preventing XHTTP from functioning correctly and eliminates WebSocket log spam. - **[Fix X-Padding UI]** Added missing `cookie` and `query` options to X-Padding Placement. Fixes the issue where using Cookie fallback triggers whole HTTP Cookie header interception and silent drop in Xray-core. (Resolves [#3992](https://github.com/MHSanaei/3x-ui/issues/3992)) - **[Fix Uplink Data Options]** Replaced the invalid `query` option with `cookie` in Uplink Data Placement dropdown to prevent Xray-core backend panic `unsupported uplink data placement: query`. - **[Fix WebSockets Spam]** Boosted `maxMessageSize` boundary to 100MB and gracefully handled fallback fetch signals via `broadcastInvalidate` to avoid buffer dropping spam. (Resolves [#3984](https://github.com/MHSanaei/3x-ui/issues/3984)) * Fix * gofmt * fix(websocket): resolve channel race condition and graceful shutdown deadlock * Fix: inbounds switch * Change max quantity from 10000 to 500 * fix
2026-04-17Fix SSL domain setup on reinstall: reuse existing certs and avoid false ↵Yunheng Liu
success/failure logs (#4004) * perf: replace /dev/urandom | tr with openssl rand to fix CPU spike * fix: add cron to default package installation and improve SSL certificate handling * Reworked `--installcert` success criteria, cleanup behavior adjusted.
2026-04-01perf: replace /dev/urandom | tr with openssl rand to fix CPU spike (#3887)Yunheng Liu
2026-03-04Add cron to ubuntu packages (#3875)Artur
2026-02-11Require HTTP 200 from curl before using IPMHSanaei
Replace simple curl+trim checks with a response+http_code parse to ensure the remote URL returns HTTP 200 and a non-empty body before assigning server_ip. Changes applied to install.sh, update.sh and x-ui.sh: use curl -w to append the status code, extract http_code and ip_result, and only set server_ip when http_code == 200 and ip_result is non-empty. This makes the IP discovery more robust against error pages or partial responses while keeping the existing timeout behavior.
2026-01-30Fix default CA by enforcing it everywhere (#3719)Sam Mosleh
2026-01-27Fix modifying default CA (#3708)Sam Mosleh
2026-01-21feat: add option to use existing custom SSL certificates (#3688)sviatoslav-gusev
2026-01-18Add x-ui.service.arch file (#3650)Nebulosa
* Add a service file for Arch-based OSs * Update release.yml with arch service file * Update x-ui.service.arch
2026-01-12Fixed incorrect filtering for IDN top-level domains (#3666)VolgaIgor
2026-01-11Add port selection and checks for ACME HTTP-01 listenerMHSanaei
Introduces user prompts to select the port for ACME HTTP-01 certificate validation (default 80), checks if the chosen port is available, and provides guidance for port forwarding. Adds is_port_in_use helper to all scripts and improves messaging for certificate issuance and error handling.
2026-01-09Refactor ca-certificate dependency (#3655)Nebulosa
2026-01-05ip cert (#3631)Sanaei
2026-01-03fixMHSanaei
2026-01-03Remove wget dependency from everywhere (#3598)Nebulosa
* Remove wget dependency * Merge branch 'curl_only' of https://github.com/nebulosa2007/3x-ui into nebulosa2007-curl_only --------- Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>
2026-01-03Set variables for packaging purposes (#3600)Nebulosa
* Set Variables for settings
2026-01-03Added EnvironmentFile to systemd unit (#3606)Mikhail Grigorev
* Added EnvironmentFile to systemd unit * Added support for older releases * Remove ARGS * Fixed copy unit * Fixed unit filename * Update update.sh
2026-01-03feat: Add etckeeper compatibility (#3602)weekend sorrow
2026-01-02Set log folder variable to /var/log/3x-ui (#3599)Nebulosa
* Set log folder variable to /var/log/3x-ui * Set log folder as x-ui and create the log folder * Create the log folder in install and update scripts
2025-12-28Self-signed SSL (#3611)Sanaei
2025-12-04fixMHSanaei
2025-12-03Update for Red Hat base Linux (#3589)JieXu
* Update install.sh * Update update.sh * Update x-ui.sh * Update install.sh * Update update.sh * Update x-ui.sh * fix
2025-11-07Add update-all-geofiles key to x-ui.sh (#3586)fgsfds
* added update-all-geofiles key to x-ui.sh that updated all geofiles * fix * text fixes * typo fix * cleanup
2025-10-02Add support for OpenSUSE Leap (#3573)JieXu
* Update update.sh * Update install.sh * Update x-ui.sh * Update x-ui.sh
2025-09-25Add IPv4 for wget in installmhsanaei
2025-09-22Add Alpine Linux support (#3534)Evgeny Volferts
* Add Alpine linux support * Fix for reading logs
2025-08-21more list for public IP addressmhsanaei
2025-08-15fix: fail2ban on Debian 12 #1701mhsanaei
2025-08-04remove: glibc checkmhsanaei
now you can install on all OS like ubuntu 20 or 18
2025-07-27Added list of services for get public IP address (IP v4 and v6) (#3216)Mikhail Grigorev
* Fixed get public IP address * Remove https://ifconfig.io/ip and https://ipinfo.tw/ip --------- Co-authored-by: Mikhail Grigorev <grigorev_mm@magnit.ru>
2025-07-27small improvement (#3277)X-Oracle
2025-07-23Update install.sh (#3267)xujie86
2025-07-22Increase the number of characters for webBasePath (#3239)xujie86
2025-07-06new alternative to get public IP addressmhsanaei
2025-06-16chore: add `RHEL` system to install.shxujie86
fixed #3097
2025-05-06fix: check default credentials during a fresh installationShishkevich D.
2025-04-09Code refactoring (#2877)Pk-web6936
* read without -r will mangle backslashes. https://github.com/koalaman/shellcheck/wiki/SC2162 * read without -r will mangle backslashes.
2025-03-22glibc versionmhsanaei
replace with OS check
2025-03-21OS: Alma Linux 9.5+mhsanaei
2025-03-21OS: Rocky Linux 9.5+mhsanaei
2025-03-20OS: Debian 12+mhsanaei
2025-03-13runs-on: ubuntu-22.04 (#2767)Sanaei
https://github.com/actions/runner-images/issues/11101
2025-02-24Make wget verify certificates part2 #2661mhsanaei
Co-Authored-By: İrem Kuyucu <siren@kernal.eu>
2025-02-24Virtuozzo linux support (#2668)atarwn
2025-02-04revert group management (#2656)Sanaei
* Revert "json post base path bug fixed (#2647)" This reverts commit 04cf250a547bb64265d256e7d15af7cea5ecfa67. * Revert "Group Management of Subscription Clients" * Revert "fix getSubGroupClients for enable/disable and edit clients." * Revert "Enhance database initialization in db.go (#2645)" This reverts commit 66fe84181b9c4e2f6c6be943a7f486b4308c32ff. * Revert "Add checkpoint handling in CloseDB function (#2646)" This reverts commit 4dd40f6f192e3f94f2ea4fe9e942e6663b5a1527. * Revert "Improved database model migration and added indexing (#2655)" This reverts commit b922d986d6783ce28d00ca948024dee44a11f29e.
2025-02-03Improved database model migration and added indexing (#2655)Zahar Izmailov
2024-12-20fail2ban: better ipv6 validation (#2615)Tara Rostami
2024-10-31bash - remove version limitmhsanaei
2024-10-30fix access urlmhsanaei
2024-10-29bash - Access URLmhsanaei
I will add https with domain later