Sanaei
4c7249c451
Merge branch 'main' into feature/multi-server-support
2025-09-21 23:55:26 +02:00
mhsanaei
5620d739c6
improved sub: BuildURLs
2025-09-21 21:20:37 +02:00
mhsanaei
37c17357fc
undo vnext for vmess
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
Release 3X-UI / Build for Windows (push) Waiting to run
2025-09-20 13:10:57 +02:00
mhsanaei
6ced549dea
docs: add comments for all functions
2025-09-20 09:35:50 +02:00
Sanaei
edd8b12988
Merge branch 'main' into feature/multi-server-support
2025-09-19 13:24:09 +02:00
mhsanaei
7447cec17e
go package correction v2
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
Release 3X-UI / Build for Windows (push) Waiting to run
2025-09-19 10:05:43 +02:00
mhsanaei
054cb1dea0
go package correction
2025-09-18 23:12:14 +02:00
mhsanaei
59ea2645db
new: subJsonEnable
...
after this subEnable by default is true
and subJsonEnable is false
2025-09-18 13:56:04 +02:00
mhsanaei
8c8d280f14
minor change
2025-09-18 12:20:21 +02:00
mhsanaei
c4871ef8fe
sub page: improved
2025-09-16 14:38:18 +02:00
mhsanaei
1de7accd7c
vnext removed
2025-09-16 13:41:05 +02:00
Alireza Ahmadi
bc0518391e
sub template enhancements
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
Release 3X-UI / Build for Windows (push) Has been cancelled
2025-09-14 23:08:09 +02:00
mhsanaei
5408a2f82c
v2.8.0
2025-09-14 22:09:36 +02:00
Alireza Ahmadi
3ac1d7f546
enhancements
2025-09-14 19:44:26 +02:00
mhsanaei
10025ffa66
Subscription
2025-09-14 18:56:31 +02:00
Sanaei
747af376f2
Merge branch 'main' into feature/multi-server-support
2025-09-09 20:53:50 +02:00
mhsanaei
7dc52e9a53
dokodemo-door, socks renamed to mixed, tunnel
2025-09-09 13:57:40 +02:00
Sanaei
a3ccccfe52
Merge branch 'main' into feature/multi-server-support
2025-09-08 14:45:59 +02:00
Sanaei
b008ff4ad2
Vlessenc ( #3426 )
...
* mlkem768
* VlessEnc
2025-09-07 22:35:38 +02:00
mhsanaei
6b23b416a7
minor changes
2025-08-17 13:37:49 +02:00
Sanaei
d65233cc2c
Merge branch 'main' into feature/multi-server-support
2025-08-04 10:33:41 +02:00
mhsanaei
de5314c01f
fix: pqv for sub #3306
2025-08-04 10:24:21 +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
Alireza Ahmadi
487ec74e0b
add mldsa65
2025-07-25 01:22:01 +02:00
Shishkevich D.
d54e7a9b14
fix: encoding subscription title in base64
2025-04-15 19:29:54 +07:00
Ilya Afanasov
d30cdbf49a
feat: custom subscription title in panel ( #2773 )
...
* feat: custom subscription title in panel
* feat: added translations
2025-03-15 08:16:59 +01:00
mhsanaei
0bde51b91e
Refactor: Use any instead of interface{}
2025-03-12 20:43:43 +01:00
mhsanaei
9bc5c1d070
tcpNoDelay to penetrate
2025-01-01 18:42:50 +01:00
mhsanaei
4efcdb3e01
Transport: Remove HTTP
...
Migrated to XHTTP "stream-one" mode.
2024-12-04 13:49:43 +01:00
mhsanaei
b859327b8a
splithttp to xhttp
2024-12-03 22:24:34 +01:00
mhsanaei
9476472bf6
AsIs - freedom DS
2024-11-21 00:31:45 +03:30
mhsanaei
ccda652e69
SplitHTTP - Mode
2024-11-14 13:09:51 +03:30
mhsanaei
e359b5c75e
removed - XTLS Security
...
because its too old and no one use it anymore
2024-10-29 12:50:25 +01:00
mhsanaei
2950ce0c17
freedom - default settings
2024-10-17 10:36:05 +02:00
mhsanaei
6b0c9a5fad
update noise to noises
...
+ type
2024-09-17 09:51:57 +02:00
mhsanaei
566cd9e9c4
New - Allocate
2024-09-16 11:41:21 +02:00
mhsanaei
58c721e7d2
quic removed
2024-09-09 09:46:39 +02:00
Dmitry Zhavoronkov
4494ffabb6
fix TypeError: this.shortIds.split is not a function ( #2507 )
...
* fix TypeError: this.shortIds.split is not a function
2024-09-02 12:02:15 +02:00
mhsanaei
fa43248e30
New - Noise
...
freedom
2024-08-29 11:27:43 +02:00
Ilya
438a9684ee
Fix #2470 (The subscription service gives two ports for VLESS) ( #2479 )
...
* Fix #2470
2024-08-11 18:26:43 +02:00
mhsanaei
93d52bc86c
new - vmess security (inbound client side - outbound)
2024-08-11 00:47:44 +02:00
mhsanaei
7417c52c8f
fixed - sub show time when "Start After First Use"
2024-07-17 16:39:53 +02:00
mhsanaei
f1500a5d31
improved - message logs
2024-07-08 23:47:49 +02:00
mhsanaei
39aae6fd16
sub - add hour for time left
...
1D,10H⏳
22M⏳
2024-07-01 19:11:40 +02:00
mhsanaei
5d007435ab
some changes
...
undo secret key gen for wireguard
2024-06-18 14:37:44 +02:00
mhsanaei
7f2c11220f
new - splithttp transport
...
splithttp inbound
splithttp outbound
change priority host for ws - httpupgrade (host>>headers)
2024-06-18 12:49:20 +02:00
mhsanaei
fdf805f264
minor changes
2024-05-28 16:28:20 +02:00
Ahmad Thoriq Najahi
d070a82b3d
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
275370e32c
new - (Sockopt) tcpMptcp , tcpNoDelay
...
https://xtls.github.io/en/config/transport.html#sockoptobject
2024-05-22 20:06:49 +02:00
mhsanaei
e7c59adc59
Ensure IPv6 compliant host
...
Co-Authored-By: vnxme <46669194+vnxme@users.noreply.github.com>
2024-05-22 20:06:49 +02:00