Commit graph

180 commits

Author SHA1 Message Date
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
somebodywashere fa5fb927c1
Update to regular cert issue (#2790) 2025-03-18 13:47:58 +01:00
somebodywashere e3120c4028
Updates to CF cert issue (#2780) 2025-03-17 09:12:52 +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 0f97eca314
Xray core v25.3.3 2025-03-04 09:54:10 +01:00
atarwn 7a3ee69a7f
Virtuozzo linux support (#2668) 2025-02-24 09:22:34 +01:00
İrem Kuyucu e84503feec
Make wget verify certificates (#2661) 2025-02-22 11:53:36 +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
LoST b650064177
Firewall improvements (#2630)
* The menu has been completed

*Added firewall shutdown

*Improved port removal process (optional)
2025-01-05 16:01:56 +01:00
mhsanaei 9fb9d7201e
Add custom v2ray rules for Russia
runetfreedom/russia-v2ray-rules-dat
2025-01-05 15:39:40 +01:00
LoST 174535b05d
unnecessary sudo removed (#2619)
All the commands do not work exactly, but since we already work in the beginning on behalf of root, then sudo is not necessary at the beginning. Is that right? 

P.S. when selected in the menu, it says that "command not found".
2024-12-20 23:48:10 +01:00
Tara Rostami fff54fe7f3
fix bug (#2618) 2024-12-20 19:06:19 +01:00
LoST 0859d230b0
Firewall management: improved (#2614)
* fix permissions

* Update install func + add/edit func open/close ports + status firewall

* hotfix

* subport
2024-12-20 18:43:47 +01:00
Tara Rostami 3f38c42852
fail2ban: better ipv6 validation (#2615) 2024-12-20 18:33:27 +01:00
mhsanaei 49295661fd
fail2ban - unban fix
sorry for my mistake
2024-12-19 23:24:10 +01:00
mhsanaei e4301f8d93
fail2ban - allports 2024-12-19 22:49:25 +01:00
mhsanaei c6586f8df2
fix typo 2024-12-19 14:53:09 +01:00
mhsanaei d804043a18
fail2ban - bantime 30min 2024-12-18 13:23:32 +01:00
mhsanaei 0fb0df7056
fail2ban - ipv4 & 6 2024-12-18 12:31:05 +01:00
mhsanaei 39ef172b87
fail2ban - ban and unban an IP Address 2024-12-17 17:59:04 +01:00
MHSanaei 127eaf69b6
fail2ban - unban all without restart 2024-12-16 13:28:53 +01:00
Tara Rostami eb5ed5c0dd
readme update (#2604) 2024-11-21 20:48:30 +03:30
mhsanaei 9b58277945
speedtest - snap install 2024-11-21 01:18:32 +03:30
mhsanaei 5a4a42aeb8
update dependencies 2024-11-21 00:37:44 +03:30
Azoo224 0a8bfc2725
Bash menu: "No Such File or Directory" While Installing Certs (#2602) 2024-11-16 15:02:16 +03:30
mhsanaei 2982d809ab
update - CF SSL Certificate 2024-11-14 12:00:24 +03:30
mhsanaei c0ef53e542
Access URL - SSL exist 2024-11-12 15:39:23 +03:30
mhsanaei 0fc935e996
fix update geo + log details fail2ban 2024-11-04 13:16:04 +01:00
mhsanaei 9c065aed4e
Access URL - after you get SSL 2024-10-31 15:02:01 +01:00
Sanaei 937bfb4c78
SSH Port Forwarding (#2590)
* getListen & getCert

* SSH Port Forwarding

* fix
2024-10-31 09:53:47 +01:00
mhsanaei eb58314c53
bash - remove version limit 2024-10-31 01:18:37 +01:00
mhsanaei 13f7e07128
bash - Access URL
I will add https with domain later
2024-10-29 15:20:38 +01:00
mhsanaei ac84553a68
Fail2ban - Real-Time logs 2024-10-28 19:24:44 +01:00
mhsanaei bd6402562e
OS - Alpine Linux
fix bash menu for docker
2024-10-24 20:36:12 +02:00
MHSanaei 6c27e4177d
readme: install old version 2024-10-20 14:18:50 +02:00
MHSanaei b0d2cb93e1
bash menu - debug log, clear all logs 2024-10-15 21:37:14 +02:00
mhsanaei dcab4e6f9c
fix oracle 2024-10-08 16:42:47 +02:00
mhsanaei e703055793
bash - restart panel after cert set 2024-10-07 17:42:31 +02:00
mhsanaei 8404b33232
bash - minor change 2024-10-07 17:33:43 +02:00
mhsanaei 41d39dfaa8
Add user choice for geo updates 2024-10-07 15:49:36 +02:00
mhsanaei 761eb5f384
update install_acme 2024-10-07 15:28:00 +02:00
mhsanaei b8df15171e
ask auto set after get new cert 2024-10-07 15:24:15 +02:00
mhsanaei 5f531f2de1
Set Cert paths for the panel
Option to automatically set the web certificate and key file paths for the panel
2024-10-07 15:13:38 +02:00
mhsanaei 8335238eb3
Auto-detect existing SSL domains 2024-10-07 14:50:59 +02:00
bnam999 a85b02c6ab
support for openEuler (#2574) 2024-10-07 10:34:26 +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 272457740f warp script removed
we don't need it
2024-09-09 09:48:48 +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 a9ec24f811 update dependencies 2024-07-01 19:45:51 +02:00
mhsanaei 6fb6241c3c bash - update menu 2024-06-24 15:45:50 +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
Dugong e275adbccd
Support IPv6 DNS Record (AAA Record) (#2388) 2024-06-11 15:48:14 +02:00
mhsanaei 2f46d42214 bash - restart fail2ban 2024-06-04 12:52:21 +02:00
mhsanaei 7ac79446c7 (fixed) fail2ban - ubuntu 24 2024-06-04 12:34:27 +02:00
mhsanaei 2f02b71ed4 OS - Parch , OpenSUSE 2024-05-09 19:49:15 +02:00
Gzngskxgr20 835cf2801c
Correction of Previous Mistaken PR and the delete_ports function (#2231)
* Update x-ui.sh with ufw port settings

It really costs time when adding rules for a large range, if for loop is used in bash. Changed it to built-in port range support in ufw.


This commit is to correct the previous one, which cannot handle port range settings correctly.

Corrected the confirmation of the deleted ports.
2024-04-23 00:35:05 +03:30
Gzngskxgr20 3d5c06bf08
Update x-ui.sh with ufw port settings (#2230)
* Update x-ui.sh with ufw port settings

It really costs time when adding rules for a large range, if for loop is used in bash. Changed it to built-in port range support in ufw.
2024-04-20 21:59:27 +03:30
hikari e02a199425
Add Support For Install On Parch Linux (#2227) 2024-04-17 09:56:02 +03:30
mhsanaei 9b1146780c OS - Oracle Linux 2024-04-01 13:12:28 +04:30
somebodywashere 5ba9d6e118 [IPLimit] Optimize + Debian 12 compability 2024-03-05 16:39:20 +03:00
somebodywashere 754b591e4f Changes to fail2ban to work with f2b 1.0+
Change default bantime to 15 minutes
Mofidied logic a bit
2024-02-27 13:02:25 +03:00
MHSanaei 0baa204ce9 Bash - BBR Disable Option 2024-02-21 16:16:45 +03:30
Jalal Saberi 2b7ad7cb9b
Update Uninstall Option (#1801)
after uninstall, script will delete itself and show Install & Upgrade command for installing again if user need that.
2024-02-17 19:53:02 +03:30
MHSanaei f5dacd28e1 bash - Firewall Management 2024-02-07 21:23:11 +03:30
MHSanaei e04283c1fb remove multi protocol script 2024-01-27 19:21:16 +03:30
MHSanaei 4b9bbbc34b clear banned log after unban everyone 2024-01-21 04:45:17 +03:30
MHSanaei 820e302aac revert fail2ban v1.0.2
it doesn't work well
2024-01-21 04:00:58 +03:30
quydang ebaabf6150
Update README (#1648) 2024-01-20 20:11:58 +03:30
MHSanaei a7bea936c5 Update x-ui.sh 2024-01-20 19:46:10 +03:30
MHSanaei 38378fe36f update fail2ban v1.0.2 for debian 2024-01-20 17:02:16 +03:30
MHSanaei 7f13adbd05 fail2ban - auto allowipv6 2024-01-20 15:49:34 +03:30
MHSanaei 7fd4015f17 Update x-ui.sh
Fail2ban installation failed
2024-01-19 18:28:09 +03:30
quydang 491f7aecef
A few updates (#1566)
* Update install.sh

* Update x-ui.sh

* Update README.md
2024-01-12 11:45:46 +03:30
Mammad 31e9734414 bash - Multi protocol support (#1496) 2024-01-01 23:47:50 +03:30
Ho3ein 10cd5159d1 Update x-ui.sh (#1437) 2023-12-23 18:10:51 +03:30
quydang 6a41e19f7a
Update README and added support for AlmaLinux. (#1435)
* Update install.sh

* Update x-ui.sh

* Update install.sh

* Update README.md

* Update install.sh
2023-12-23 12:26:56 +03:30
quydang a2bdf23940 Update support for new architecture ARM devices and added support for more OS. (#1389)
* Add files via upload

* Delete web/translation/translate.vi_VN.toml

* Add files via upload

* Update translate.vi_VN.toml

* Update release.yml

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update x-ui.sh

* Update docker.yml

* Update DockerInit.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update .github/workflows/release.yml

* Update README.md

---------

Co-authored-by: Ho3ein <ho3ein.sanaei@gmail.com>
2023-12-19 13:59:26 +03:30
vuong2023 62ae7aaffa Added geographical options for Vietnamese people! (#1408)
* Update xray.html

Add : Add xray config domain option for Vietnamese people

* Update translate.vi_VN.toml

Add : Add xray config domain option for Vietnamese people!

* Update release.yml

Add : add Vietnam country geoip & geosite geodatabase files

* Update x-ui.sh

add: Added update of Vietnam geoip & geosite geodatabase!

* Update xray.html

fix :fix code errors

* Update xray.html

fix: fix code errors

* Update web/html/xui/xray.html

* Update web/html/xui/xray.html

---------

Co-authored-by: Ho3ein <ho3ein.sanaei@gmail.com>
2023-12-19 13:32:34 +03:30
MHSanaei b0aaece6eb remove iran.dat
so after this you need to click on "reset to default configuration"
2023-10-18 13:22:07 +03:30
MMR c0ef791f01
increase accuracy of geoip and geosite (#1047)
* increase accuracy of geoip and geosite

* Update x-ui.sh

* Update release.yml

* Update settings.html

* Update release.yml

* Update DockerInit.sh

* Update settings.html

* Update settings.html

* Update x-ui.sh
2023-10-18 12:25:16 +03:30
AmoAlireza 4ab5bf04eb
Fail2ban banned log command added (#991) 2023-09-05 03:20:09 +03:30
MHSanaei a7470a71e4 bash - Back to Main Menu button 2023-09-01 13:26:03 +03:30
MHSanaei eb0c1dabf1 bash - Cloudflare SSL Certificate
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-08-09 00:52:40 +03:30
Hiradpi 22cf278ce2 add Arch Linux support to install.sh (#873)
* Update install.sh

Arch linux support added

* Update install.sh
2023-08-08 22:20:16 +03:30
somebodywashere dd0217b46b
IP Limit Tweaks to reduce false bans (#850)
* IP Limit Tweaks to reduce false bans
1) Check IPs every 10s instead of 20s
2) F2B jail: maxretry 3 -> 4, findtime 100 -> 60

* USERS SHOULD UPDATE BANTIME ONCE AFTER UPDATE
to recreate jail for Ip Limit
2023-08-02 00:28:16 +03:30
MMR b805bf6222
change bootmortis project to MasterKia fork (#849)
* Update x-ui.sh

change bootmortis project to MasterKia fork

* Update DockerInit.sh

replace bootmortis with MasterKia

* Update release.yml

Replace bootmortis with MasterKia
2023-08-02 00:27:12 +03:30
MHSanaei 0dd0ba717f fail2ban status + apt-get purge 2023-07-19 15:06:55 +03:30