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-05-04TLS: Remove ECH Force QueryMHSanaei
2026-04-22x-ui.sh: install nftables alongside fail2ban in install_iplimitpwnnex
On fresh Debian 12+, Ubuntu 24+ and recent RHEL-family minimal images the fail2ban package ships with `banaction = nftables-multiport` as the default in /etc/fail2ban/jail.conf but does not pull in the `nftables` package as a dependency. The first SSH brute-force attempt hits the default sshd jail and fail2ban logs stderr: /bin/sh: 1: nft: not found returned 127 -- HINT on 127: "Command not found" repeatedly, which users mistake for a 3x-ui regression (see the discussion on #4083). The 3x-ipl jail itself is unaffected — it uses an iptables-based action configured in create_iplimit_jails — so this is only stray noise, but noisy enough to look like a real failure on first install. Add `nftables` to the package list in every branch of install_iplimit so new installs end up with a working default sshd jail out of the box. Existing installs where `nftables` is already present are a no-op.
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-18Update x-ui.sh (#3947)kazan417
looks like now cert management is option 19
2026-03-08Update fail2ban filter regex in x-ui.shMHSanaei
2026-03-04Add 'default' runlevel to x-ui service in Alpine (#3854)子寒
it should be 'default' runlevel when add x-ui service to openrc, default is 'sysinit' runlevel. 'sysinit' runlevel is unnecessary,maybe. if not, there is an error when call to function 'check_enabled()' as command 'grep default -c' can`t print 'default' runlevel. check_enabled() { if [[ $release == "alpine" ]]; then if [[ $(rc-update show | grep -F 'x-ui' | grep default -c) == 1 ]]; then return 0 else return 1 fi
2026-02-20[feat] restart xray-core from cli #3825Alireza Ahmadi
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-18feat: improve BBR management with sysctl.d and backup support (#3658)Nebulosa
2026-01-18Feature: Use of username and passwords consisting of several words (#3647)Vorontsov Amadey
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-09refactor update geofiles fuctions (#3653)Nebulosa
2026-01-05ip cert (#3631)Sanaei
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-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-28fix: add missing is_domain helper function to x-ui.sh (#3612)Wyatt
The is_domain function was being called in ssl_cert_issue() but was never defined in x-ui.sh, causing 'Invalid domain format' errors for valid domains. Added is_ipv4, is_ipv6, is_ip, and is_domain helper functions to match the definitions in install.sh and update.sh. Co-authored-by: wyatt <wyatt@Wyatts-MacBook-Air.local>
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-12-03Update x-ui.sh (#3595)Evgeny Popov
Add curl & openssl pkgs for acme inside docker container
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-10-01[Security] Replace timestamp-based password generation with random generator ↵JieXu
(#3571) * Update x-ui.sh * Update x-ui.sh * Update x-ui.sh * Update x-ui.sh
2025-09-28feat: Add update script (#3555)Mikhail Grigorev
* feat: Add update script * Small fix * Fixed typo * Fixed typo * chmod +x * Update x-ui * Fixed update message * Fixed typo * Added downloading via IPv4 * Remove check_glibc_version * Fixed self destroy * Fixed typo * Fixed self destroy ---------
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-07-22Increase the number of characters for webBasePath (#3239)xujie86
2025-07-06new alternative to get public IP addressmhsanaei
2025-07-02chore: reset two-factor authentication after changing admin credentials (#3029)Shishkevich D.
* chore: add `resetTwoFactor` argument for main.go fixes #3025 * chore: reset two-factor authentication after changing admin credentials * chore: reset two-factor authentication after changing admin credentials --------- Co-authored-by: somebodywashere <68244480+somebodywashere@users.noreply.github.com> Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>
2025-06-19Update x-ui.shxujie86
2025-05-16Code refactoring (#3011)Pk-web6936
* Code refactoring read without -r will mangle backslashes https://github.com/koalaman/shellcheck/wiki/SC2162 * Update x-ui.sh
2025-05-08chore: implement 2fa auth (#2968)Shishkevich D.
* chore: implement 2fa auth from #2786 * chore: format code * chore: replace two factor token input with qr-code * chore: requesting confirmation of setting/removing two-factor authentication otpauth library was taken from cdnjs * chore: revert changes in `ClipboardManager` don't need it. * chore: removing twoFactor prop in settings page * chore: remove `twoFactorQr` object in `mounted` function
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-18Update to regular cert issue (#2790)somebodywashere
2025-03-17Updates to CF cert issue (#2780)somebodywashere
2025-03-13runs-on: ubuntu-22.04 (#2767)Sanaei
https://github.com/actions/runner-images/issues/11101
2025-03-04Xray core v25.3.3mhsanaei
2025-02-24Virtuozzo linux support (#2668)atarwn
2025-02-22Make wget verify certificates (#2661)İrem Kuyucu
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.