7546e13cfb
fix: handle domain names in IP4 configuration variable
...
Previously, when the IP4 variable contained a domain name instead of an actual IP address, the SNI validation would fail and force the use of self-signed certificates. This update adds detection and resolution of domain names in the IP4 variable, ensuring proper DNS comparison when checking if the SNI domain points to the server.
2025-04-27 11:32:43 +03:30
748d0bf2bd
add init_paths to handle sys.path setup for importing shared modules like paths.py
2025-04-24 20:23:31 +03:30
ff194d0098
Changes:
...
feat: Add SNI checker and certificate manager
Key features:
- Domain-to-IP resolution verification
- Automatic Let's Encrypt certificate acquisition
- Self-signed fallback for domains not pointed to the server
- Updates insecure flag in config.json based on certificate type
- Updates SNI in environment config
- Generates and updates SHA-256 fingerprint
fix(urls): Update URI generator to respect TLS insecure flag
Changes:
- Added insecure parameter to generate_uri() function
- Read TLS insecure flag from config.json
- Set insecure=0 for valid certificates and insecure=1 for self-signed ones
- Updated all URI generation calls to include the insecure parameter
2025-04-21 00:17:28 +03:30
ae8a872059
Delete show_user_uri.sh
2025-04-19 19:30:46 +03:30
46f9b9580e
Optimize server_info.sh for better performance and error handling
...
- Improved error handling for missing files and null values
- Enhanced JSON parsing to properly handle malformed entries
- Fixed CPU usage calculation
- Made memory stats extraction more robust
- Added fallback mechanisms for jq processing failures
- Improved handling of null numeric values in traffic statistics
- Added stderr redirection to suppress error messages
- Implemented safer variable expansions with default values
- Overall code cleanup and optimization
2025-04-19 19:22:49 +03:30
325c130fd0
feat: add show-user-uri-json command
2025-04-19 13:12:33 +03:30
e79123364f
refactor show user uri
2025-04-19 12:25:11 +03:30
e91825ca2c
Change Project Name
2025-04-18 13:28:34 +03:30
35d917b887
feat : Optimize user edit workflow and eliminate service restart delay
2025-04-14 12:53:15 +03:30
6d7dbc33f1
comment unnecessary print
2025-04-14 11:33:09 +03:30
39a091cc02
refactor: Rewrite kickuser script in Python
2025-04-14 11:04:02 +03:30
7297eb9be2
feat: enhance kick functionality with specific user kick and integration
2025-04-14 00:08:14 +03:30
44942e3b70
Fix: simplify SNI fingerprint generation using OpenSSL only
2025-04-11 13:44:23 +03:30
e7603ae756
Remove "SHA256 Fingerprint=" prefix from certificate SHA256 output
2025-04-11 12:49:10 +03:30
bab350bb29
Change pinSHA256 to Hex
2025-04-11 12:33:47 +03:30
ddc029a0be
HotFix: Move restart command outside function
2025-04-02 19:59:05 +03:30
7aab7b5489
HotFix: Restart service to clear API traffic
2025-03-27 20:29:34 +03:30
efb2d22672
Improve uninstallation process
2025-03-24 20:23:15 +03:30
20d5204a1a
Ensure BLOCK_DURATION and MAX_IPS exist in CONFIG_ENV correctly
2025-03-24 11:33:10 +03:30
f51021555a
Fix CONFIG_ENV conflicts by ensuring clean updates for IP4 and IP6
2025-03-24 01:01:39 +03:30
3c025ed5f7
feat: Add Hysteria IP limiter script
2025-03-23 12:42:45 +03:30
e2d3d91eb6
Create limit.sh
2025-03-22 15:44:16 +03:30
9a07b7b74c
feat: allow updating IPv4, IPv6, or domain in IP Address Manager
...
fix: remove brackets from IPv6 URI when using a domain
2025-03-19 19:27:35 +03:30
85c6a3116c
Refactor: Replace version.sh with version.py
2025-03-11 11:04:35 +03:30
02b276ac8e
Removed color
2025-03-11 10:39:31 +03:30
7157ab9d87
Fix: typo
2025-03-11 10:37:55 +03:30
72a96999df
feat: Add version checking and display
...
Integrated version checking into `cli_api.py` and `cli.py`
2025-03-11 01:01:08 +03:30
fcc0aadc48
Enhance SNI entry handling in CONFIG_ENV file
2025-03-08 21:43:04 +03:30
e56c8cba2d
Fix: Restart service to clear API traffic
2025-03-08 10:36:05 +03:30
a5dd5f6f9f
feat: Implement subpath support for normal subscriptions
2025-02-28 14:24:14 +03:30
4dd9215d1b
Fix permission
2025-02-22 00:40:21 +03:30
6746c05974
Create restore.sh
2025-02-22 00:31:02 +03:30
321900bc1a
Use kernel for UUID generation
2025-02-12 21:20:58 +03:30
436f73154b
Fix: Skip missing IPs while generating URI and QR codes
2025-02-12 00:05:36 +03:30
6b374e8e96
Fix: Improve Hysteria2 uninstallation script for complete removal
2025-02-10 23:29:02 +03:30
f2d8009515
Refactor services name
2025-02-07 21:08:41 +00:00
c2ac71a973
Check for pinSHA256 before adding it to the URI
2025-02-07 12:50:47 +03:30
37853b91dc
Fix Edit user
2025-01-29 23:30:36 +03:30
292fe7e74c
Make server_info.sh's output processable
2025-01-26 11:19:33 +00:00
33722e3c1f
Change the server info output's format
2025-01-26 07:56:09 +00:00
562b869980
Make cli.py more modular
2025-01-24 07:51:24 +00:00
628cb99257
Added total traffic calculation
2025-01-20 00:01:27 +03:30
803689a9cc
Added total traffic calculation
2025-01-20 00:00:36 +03:30
01ef6d65d0
Accurately check
2025-01-18 23:38:45 +03:30
4753b4213f
Restart Hysteria2 service
2025-01-18 00:00:05 +03:30
052444a88f
Create masquerade
2025-01-17 23:56:09 +03:30
3fe416d006
fix: EXPIRATION_DAYS
2025-01-12 19:59:49 +03:30
48e85c23e2
Fix: Block users based on total data usage
2025-01-12 19:45:58 +03:30
a7e51ec302
Fix: Block users based on total data usage
2025-01-12 19:45:16 +03:30
9b720d8222
Increasing the chunk size to 32768 bytes
2025-01-12 12:51:54 +03:30