somebodywashere
172a5e5b85
No reason to write to BlockedIPs ( #815 )
2023-07-26 20:03:28 +03:30
MHSanaei
63ce333037
[feature] using xray API for inbound
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-07-18 02:40:22 +03:30
Hamidreza
b0209fb0f9
🚀 Some improvements for x-ui.sh and ip job ( #665 )
2023-07-01 15:56:43 +03:30
somebodywashere
b0a3bcad78
Added IP Limit Management to x-ui menu, Tweaked IP Limit to check every 20s ( #615 )
...
Co-authored-by: Hamidreza <70919649+hamid-gh98@users.noreply.github.com>
Co-authored-by: Ho3ein <ho3ein.sanaei@gmail.com>
2023-06-25 00:06:18 +03:30
Ho3ein
eb92c3d14c
new - loglevel ( #612 )
2023-06-16 18:25:33 +03:30
MHSanaei
cb81ce9bf2
fix warning when there is no access.log
...
after this
if limitip is 0 and there is no access.log on xray config you don't see this warning
access.log doesn't exist in your config.json
-------------
better view on ip log
-------------
update dependencies
2023-06-16 01:08:35 +03:30
somebodywashere
315dbe24e4
Removed ipLimit from the panel, changed the code to work with fail2ban ( #580 )
...
* Logging for fail2ban service
Removed limitDevice and other unnecessary functions
* Logging for fail2ban service
Removed limitDevice and other unnecessary functions
* fixed shouldCleanLog
* last fix
* reduced ip limit detection frequency to 30 sec (less logging, more precise)
changed maxretry in fail2ban jail config to 2 to fit above
* fixed check delay
* added 5 seconds delay before cleaning logs
2023-06-15 22:45:34 +03:30
MHSanaei
6897534eb9
access.log #571
...
access.log will be clear only when limitip is not 0
2023-06-08 13:50:35 +03:30
MHSanaei
54da8ad9bd
[feature] using xray api and more
...
Improve DB performance
[api] backward compatibility: add client by update
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-06-05 00:32:19 +03:30
MHSanaei
8d7199c678
some changes
...
ip limit method back to v1.6.0 method
remove event on getDBClientIps
better show ip on log (",\n")
2023-06-03 18:59:32 +03:30
MHSanaei
2af8dd908b
change blockedips to AllowedIps
...
now only those IPs that are allowed are able to establish a connection; other connections are dropped it will happen every 10 sec
after user offline that IPs will be removed from AllowedIps
2023-05-25 03:21:31 +03:30
MHSanaei
a67fb4999b
bug fix - limit ip
2023-05-23 17:54:15 +03:30
Hamidreza Ghavami
9b7c8cad28
Update tgbot locale + add I18nBot
2023-05-21 03:30:26 +04:30
Hamidreza Ghavami
65ba44d423
FIX callback query and BUTTON_DATA_INVALID error with hashStorage
2023-05-20 20:29:28 +04:30
MHSanaei
ef5a938cbf
Update check_client_ip_job.go
2023-04-28 00:30:49 +03:30
Hamidreza Ghavami
1ce00d5686
update and rename client ip job file
2023-04-14 00:07:13 +04:30
MHSanaei
218d25a0fa
bug fixed (extra enter on client_email)
2023-03-25 20:05:46 +03:30
MHSanaei
862cb11183
"index out of range" fixed
2023-03-25 19:46:03 +03:30
MHSanaei
2d477ae45b
alireza
2023-03-17 19:37:49 +03:30
MHSanaei
692d5fb588
ip limit + export links
2023-02-28 23:24:29 +03:30
MHSanaei
733f0fcf1d
update pack 3
...
user pass will be generated randomly
upgrade all dependencies
move add client buttom
2023-02-20 20:59:55 +03:30
MHSanaei
b86a09f436
update pack 2
2023-02-18 16:07:32 +03:30
MHSanaei
b73e4173a3
3x-ui
2023-02-09 22:48:06 +03:30