javadtgh
41726f29cd
Merge 3299d15f28
into 24a3411465
2025-08-21 15:27:21 +03:00
mhsanaei
24a3411465
more list for public IP address
Release 3X-UI / build (386) (push) Has been cancelled
Release 3X-UI / build (amd64) (push) Has been cancelled
Release 3X-UI / build (arm64) (push) Has been cancelled
Release 3X-UI / build (armv5) (push) Has been cancelled
Release 3X-UI / build (armv6) (push) Has been cancelled
Release 3X-UI / build (armv7) (push) Has been cancelled
Release 3X-UI / build (s390x) (push) Has been cancelled
2025-08-21 14:24:25 +02:00
mhsanaei
3d0212c21d
fix: fail2ban on Debian 12 #1701
Release 3X-UI / build (386) (push) Has been cancelled
Release 3X-UI / build (amd64) (push) Has been cancelled
Release 3X-UI / build (arm64) (push) Has been cancelled
Release 3X-UI / build (armv5) (push) Has been cancelled
Release 3X-UI / build (armv6) (push) Has been cancelled
Release 3X-UI / build (armv7) (push) Has been cancelled
Release 3X-UI / build (s390x) (push) Has been cancelled
2025-08-15 13:34:02 +02:00
Sanaei
3299d15f28
Merge branch 'main' into feature/multi-server-support
2025-08-14 18:06:16 +02:00
mhsanaei
6a17285935
remove: glibc check
...
Release 3X-UI / build (386) (push) Waiting to run
Release 3X-UI / build (amd64) (push) Waiting to run
Release 3X-UI / build (arm64) (push) Waiting to run
Release 3X-UI / build (armv5) (push) Waiting to run
Release 3X-UI / build (armv6) (push) Waiting to run
Release 3X-UI / build (armv7) (push) Waiting to run
Release 3X-UI / build (s390x) (push) Waiting to run
now you can install on all OS like ubuntu 20 or 18
2025-08-04 19:16:56 +02:00
google-labs-jules[bot]
11dc06863e
feat: Add multi-server support for Sanai panel
...
This commit introduces a multi-server architecture to the Sanai panel, allowing you to manage clients across multiple servers from a central panel.
Key changes include:
- **Database Schema:** Added a `servers` table to store information about slave servers.
- **Server Management:** Implemented a new service and controller (`MultiServerService` and `MultiServerController`) for CRUD operations on servers.
- **Web UI:** Created a new web page for managing servers, accessible from the sidebar.
- **Client Synchronization:** Modified the `InboundService` to synchronize client additions, updates, and deletions across all active slave servers via a REST API.
- **API Security:** Added an API key authentication middleware to secure the communication between the master and slave panels.
- **Multi-Server Subscriptions:** Updated the subscription service to generate links that include configurations for all active servers.
- **Installation Script:** Modified the `install.sh` script to generate a random API key during installation.
**Known Issues:**
- The integration test for client synchronization (`TestInboundServiceSync`) is currently failing. It seems that the API request to the mock slave server is not being sent correctly or the API key is not being included in the request header. Further investigation is needed to resolve this issue.
2025-07-27 17:25:58 +02:00
Mikhail Grigorev
0ad708b1b6
Added list of services for get public IP address (IP v4 and v6) ( #3216 )
...
* 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-27 17:24:11 +02:00
X-Oracle
71f13ebcbd
small improvement ( #3277 )
2025-07-27 17:22:59 +02:00
xujie86
fa45bf87de
Update install.sh ( #3267 )
2025-07-22 23:28:56 +02:00
xujie86
75416eebd7
Increase the number of characters for webBasePath ( #3239 )
2025-07-22 12:53:12 +02:00
mhsanaei
bbdeb65291
new alternative to get public IP address
2025-07-06 20:45:58 +02:00
xujie86
ba50c99c10
chore: add RHEL
system to install.sh
...
Release 3X-UI / build (386) (push) Has been cancelled
Release 3X-UI / build (amd64) (push) Has been cancelled
Release 3X-UI / build (arm64) (push) Has been cancelled
Release 3X-UI / build (armv5) (push) Has been cancelled
Release 3X-UI / build (armv6) (push) Has been cancelled
Release 3X-UI / build (armv7) (push) Has been cancelled
Release 3X-UI / build (s390x) (push) Has been cancelled
fixed #3097
2025-06-16 18:11:23 +07:00
Shishkevich D.
13cf7271d6
fix: check default credentials during a fresh installation
Build and Release 3X-UI / build (386) (push) Waiting to run
Build and Release 3X-UI / build (amd64) (push) Waiting to run
Build and Release 3X-UI / build (arm64) (push) Waiting to run
Build and Release 3X-UI / build (armv5) (push) Waiting to run
Build and Release 3X-UI / build (armv6) (push) Waiting to run
Build and Release 3X-UI / build (armv7) (push) Waiting to run
Build and Release 3X-UI / build (s390x) (push) Waiting to run
2025-05-06 09:05:32 +07:00
Pk-web6936
b75a1ef5e1
Code refactoring ( #2877 )
...
* read without -r will mangle backslashes.
https://github.com/koalaman/shellcheck/wiki/SC2162
* read without -r will mangle backslashes.
2025-04-09 11:12:14 +02:00
mhsanaei
6545d8b61d
glibc version
...
replace with OS check
2025-03-22 07:48:50 +01:00
mhsanaei
db945e2fbd
OS: Alma Linux 9.5+
2025-03-21 12:49:23 +01:00
mhsanaei
667fac15f4
OS: Rocky Linux 9.5+
2025-03-21 12:40:13 +01:00
mhsanaei
29033a7828
OS: Debian 12+
2025-03-20 19:45:29 +01:00
Sanaei
cac00224db
runs-on: ubuntu-22.04 ( #2767 )
...
https://github.com/actions/runner-images/issues/11101
2025-03-13 16:06:08 +01:00
mhsanaei
21ea673c30
Make wget verify certificates part2 #2661
...
Co-Authored-By: İrem Kuyucu <siren@kernal.eu>
2025-02-24 13:15:18 +01:00
atarwn
7a3ee69a7f
Virtuozzo linux support ( #2668 )
2025-02-24 09:22:34 +01:00
Sanaei
d18a1a37ce
revert group management ( #2656 )
...
* Revert "json post base path bug fixed (#2647 )"
This reverts commit 04cf250a54
.
* 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 66fe84181b
.
* Revert "Add checkpoint handling in CloseDB function (#2646 )"
This reverts commit 4dd40f6f19
.
* Revert "Improved database model migration and added indexing (#2655 )"
This reverts commit b922d986d6
.
2025-02-04 11:27:58 +01:00
Zahar Izmailov
b922d986d6
Improved database model migration and added indexing ( #2655 )
2025-02-03 13:36:03 +01:00
Tara Rostami
3f38c42852
fail2ban: better ipv6 validation ( #2615 )
2024-12-20 18:33:27 +01:00
mhsanaei
eb58314c53
bash - remove version limit
2024-10-31 01:18:37 +01:00
mhsanaei
d40fa46851
fix access url
2024-10-30 15:24:18 +01:00
mhsanaei
13f7e07128
bash - Access URL
...
I will add https with domain later
2024-10-29 15:20:38 +01:00
mhsanaei
610db7827d
Update install.sh
2024-10-25 11:30:44 +02:00
mhsanaei
14435db0d8
bash - Default credentials detected. Security update required
2024-10-24 21:17:00 +02:00
mhsanaei
bd6402562e
OS - Alpine Linux
...
fix bash menu for docker
2024-10-24 20:36:12 +02:00
mhsanaei
99cadf7652
Update install.sh
2024-10-16 16:29:20 +02:00
mhsanaei
744583b4e7
install.sh - check existing settings
2024-10-16 13:49:56 +02:00
MHSanaei
6062031de4
fix lang + more geoip option
2024-10-11 09:15:36 +02:00
mhsanaei
e37f2d3222
Username & Password will be generated randomly
2024-10-09 11:18:09 +02:00
mhsanaei
dcab4e6f9c
fix oracle
2024-10-08 16:42:47 +02:00
bnam999
a85b02c6ab
support for openEuler ( #2574 )
2024-10-07 10:34:26 +02:00
mhsanaei
19a832cad8
change name H2 to HTTP
...
because we also have h3 on it
2024-10-04 16:34:50 +02:00
mhsanaei
f0dd6152fd
if webBasePath lt 3 will be replace with new random
2024-10-04 16:05:45 +02:00
mhsanaei
decac2ef74
Add version check (min v2.3.5)
2024-10-04 15:00:42 +02:00
mhsanaei
c3ce1da0d6
Web base path will be generated randomly
2024-10-04 13:41:52 +02:00
mhsanaei
8b6e3491c4
base install for amzn
2024-09-26 12:19:18 +02:00
mhsanaei
19b95829e0
OS Support - AlmaLinux 8.0 +
2024-09-25 11:31:07 +02:00
mhsanaei
4bea427c79
minor change
2024-09-25 10:40:21 +02:00
Sanaei
da7e4d51d6
OS Support - Amazon Linux + AlmaLinux 8
2024-09-25 10:13:54 +02:00
Pavel Kogen
e5835c299c
OS Support - Amazon Linux ( #2564 )
2024-09-24 11:53:12 +02:00
mhsanaei
8408a45eff
update dependencies
2024-07-27 14:56:37 +02:00
mhsanaei
b84e3ef338
improve bash menu
2024-07-02 00:34:25 +02:00
mhsanaei
f481ab993e
bash - Reset Web Base Path
2024-06-24 15:06:52 +02:00
mhsanaei
b5a32ef57e
update commands
2024-06-24 13:47:13 +02:00
mhsanaei
7ac79446c7
(fixed) fail2ban - ubuntu 24
2024-06-04 12:34:27 +02:00