MHSanaei
a795da1d10
fix default language in initLocalizer
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-06-16 13:01:34 +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
f3a0142dbb
fix and improve
2023-06-14 19:50:19 +03:30
MHSanaei
02cfd9afa4
update - security "none"
...
security set to none when tls, reality, xtls are not set
its because when there is no security none on trojan link some app like v2rayn set tls for your config
2023-06-14 17:06:56 +03:30
MHSanaei
5a7d090347
removed - alterId
...
https://github.com/XTLS/Xray-core/pull/2199
9112cfd39c
2023-06-13 17:26:50 +03:30
MHSanaei
720c4ef4ca
new - acceptProxyProtocol for H2 and gRPC #581
2023-06-09 18:53:57 +03:30
MHSanaei
e4691bb299
new - Reject Unknown SNI - thanks to @sudospaes
2023-06-09 16:48:50 +03:30
MHSanaei
88777ccf90
random password button for SS & more
...
crypto.getRandomValues for uuid
change name randomText to randomLowerAndNum
2023-06-09 16:04:57 +03:30
MHSanaei
38b5d8983c
mtproto removed
2023-06-09 15:58:47 +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
b531bf981f
random sub Id
...
optimize utils
trojan short id fix
index page better view
2023-06-07 12:45:58 +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
Tara Rostami
8652b5b2ac
Update custom.css ( #559 )
2023-06-02 23:48:26 +03:30
somebodywashere
ff4f65083c
[tgbot] - bugfix
2023-05-31 08:37:03 +00:00
Hamidreza
2bba2ec00c
FIX tgbot adminIds
2023-05-31 05:01:20 +03:30
Hamidreza Ghavami
675b7d1d65
fix setting
2023-05-31 03:29:59 +04:30
Hamidreza Ghavami
648494f555
add /id command to tgbot to get user id
2023-05-31 02:31:00 +04:30
Hamidreza Ghavami
86c7d39086
move manual list to new tab
2023-05-31 01:59:41 +04:30
Hamidreza Ghavami
c5211ff094
fix urls + use the new buildURL func
2023-05-31 01:59:41 +04:30
Hamidreza Ghavami
71f9755159
add buildURL func
2023-05-31 01:59:41 +04:30
Hamidreza Ghavami
2aeedfe82a
fix qrModal.client is null
2023-05-31 01:59:12 +04:30
Hamidreza Ghavami
c0b384efb5
some improvements
2023-05-31 01:31:56 +04:30
Hamidreza Ghavami
784d530824
Update translations
2023-05-31 01:26:29 +04:30
Hamidreza Ghavami
18ef65af3b
use the middlewares
2023-05-31 01:24:18 +04:30
Hamidreza Ghavami
b546d786eb
add an option for webDomain
2023-05-31 01:21:14 +04:30
Hamidreza Ghavami
62c2f3cb71
create and move middlewares to seperate folder
2023-05-31 01:13:46 +04:30
somebodywashere
1b41d3c964
[tgbot] - some fixes and improvments ( #542 )
2023-05-30 15:07:23 +03:30
Tara Rostami
437325eeca
Animated shadow ( #540 )
...
* Update antd.min.css
* Update settings.html
* Update custom.css
* Update custom.css
2023-05-27 14:14:35 +03:30
MHSanaei
6f125039ec
v1.6.1
2023-05-25 19:16:09 +03:30
Tara Rostami
25c794384b
Minor correction In UI ( #537 )
...
* Update antd.min.css
* Update settings.html
* Update custom.css
2023-05-25 16:21:29 +03:30
MHSanaei
5c1819b3cf
fix MHz view
2023-05-25 16:13:54 +03:30
MHSanaei
5e5a888357
New - CPU Speed
...
logical Processors removed
2023-05-25 15:48:23 +03:30
Tara Rostami
08f1bb67ee
Minor changes in the UI ( #535 )
...
* Update antd.min.css
* Update settings.html
2023-05-25 13:15:24 +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
20bb72675c
new - show cores, public ipv4 and ipv6
...
logical Processors
you can see them on first page
2023-05-25 03:11:09 +03:30
MHSanaei
29750b4555
Alireza 💯
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-23 17:55:42 +03:30
MHSanaei
a67fb4999b
bug fix - limit ip
2023-05-23 17:54:15 +03:30
MHSanaei
04fe378013
[feature] fallback link calculation
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-23 03:15:34 +03:30
MHSanaei
0f1a73d646
Fix deprecated gRPC Dial options for Insecure connections
2023-05-23 00:52:15 +03:30
MHSanaei
809adc9700
update - style
...
tcp,ws,tls
2023-05-22 22:36:15 +03:30
MHSanaei
a5691828f7
small fixes
2023-05-22 21:52:35 +03:30
Hamidreza Ghavami
f7124cdfd2
FIX restart redirect :)
2023-05-22 22:30:35 +04:30
MHSanaei
b3bb27ebf5
translate update
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-22 18:16:24 +03:30
MHSanaei
f18dd8561d
[feature] separate subscription service
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-22 18:06:34 +03:30
MHSanaei
bf6ec5fe37
[feature] add multi domain tls (CDN ready)
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-22 17:31:41 +03:30
MHSanaei
dc2cf15a2a
features - random ShortId button
2023-05-22 16:44:27 +03:30
MHSanaei
d73d5a0a0a
update - utils
2023-05-22 16:41:41 +03:30
MHSanaei
082a915a1e
update - URIComponent just for cookie value
2023-05-22 16:40:08 +03:30
MHSanaei
bcef9e0dbb
bug fix - KeyContent
2023-05-22 11:39:21 +03:30
Hamidreza Ghavami
c0b3660c58
Update hashstorage functionality
2023-05-21 08:33:08 +04:30
Hamidreza Ghavami
15f101ed32
fix tgbot
2023-05-21 07:41:59 +04:30
Hamidreza Ghavami
e84132ea7c
FIX ERROR 'msg and reply are same' in tgbot
2023-05-21 05:48:19 +04:30
Hamidreza Ghavami
e62305f16c
FIX hashStorage remove expire job
2023-05-21 05:33:01 +04:30
Hamidreza Ghavami
f034420c9b
Update translations
2023-05-21 03:30:39 +04:30
Hamidreza Ghavami
9b7c8cad28
Update tgbot locale + add I18nBot
2023-05-21 03:30:26 +04:30
Hamidreza Ghavami
f748918a00
rename I18n to I18nWeb
2023-05-21 03:29:27 +04:30
Hamidreza Ghavami
9bcef91cd7
FIX hashStorage
2023-05-20 21:46:42 +04:30
Hamidreza Ghavami
65ba44d423
FIX callback query and BUTTON_DATA_INVALID error with hashStorage
2023-05-20 20:29:28 +04:30
Hamidreza Ghavami
cc380b8c71
init i18n in tgbot
2023-05-20 20:08:01 +04:30
Hamidreza Ghavami
c637d8f43d
add tgBot localizer
2023-05-20 19:59:04 +04:30
Hamidreza Ghavami
d4c04188b8
update to use WebI18n func
2023-05-20 19:51:45 +04:30
Hamidreza Ghavami
442da6db66
update I18n function for controller
2023-05-20 19:49:39 +04:30
Hamidreza Ghavami
b7ad82e7f4
create LocalizerMiddleware func
2023-05-20 19:46:34 +04:30
Hamidreza Ghavami
e896f7b262
add localizer middleware to web.go
2023-05-20 19:46:05 +04:30
Hamidreza Ghavami
1be8e248a7
replace new localizer to web.go
2023-05-20 19:43:59 +04:30
Hamidreza Ghavami
a2bf6e806a
Refactor i18n localizer
2023-05-20 19:41:08 +04:30
Hamidreza Ghavami
c95037f78f
some fix and prune for tgbot
2023-05-20 19:39:01 +04:30
Hamidreza Ghavami
944b7f80cd
Update translations
2023-05-20 19:21:10 +04:30
Hamidreza Ghavami
efd2669f1f
add tgLang to settings
2023-05-20 19:20:54 +04:30
Hamidreza Ghavami
bf8251076e
Add tgLang option
2023-05-20 19:15:20 +04:30
Hamidreza Ghavami
fc410383db
Add manual list for ipv4 and warp and fixed it
2023-05-20 19:02:37 +04:30
Hamidreza Ghavami
08d03bfae4
FIX redirect after restart panel
2023-05-20 18:58:51 +04:30
Hamidreza Ghavami
273421a20c
update settings ui
2023-05-20 18:57:10 +04:30
Hamidreza Ghavami
e0b909535f
fix tls settings
2023-05-20 18:46:50 +04:30
Hamidreza Ghavami
47edd393e6
update sub remark for shadowsocks
2023-05-20 18:44:18 +04:30
Minobi
f5eb9d4251
Updated Russian translation of the web UI ( #478 )
2023-05-19 06:45:33 +03:30
Mahdi Nemati
946d1bcc21
Api for backup Telegram ( #468 )
2023-05-19 00:31:05 +03:30
MHSanaei
6c3b747a33
bug fix - xtls
2023-05-18 12:18:13 +03:30
MHSanaei
f3feec2e0b
update - config
2023-05-18 11:52:53 +03:30
mmrabbani
0bd637274e
Simplifying ad blocking syntax
...
I simplified the ad blocking syntax.
"category-ads-all" includes "category-ads". Also "category-ads" includes "google-ads" and "spotify-ads".
So if "category-ads-all" is blocked, there is no need to block 3 other lists (category-ads,google-ads,spotify-ads)
References:
https://github.com/v2fly/domain-list-community/blob/master/data/category-ads
https://github.com/v2fly/domain-list-community/blob/master/data/category-ads-all
2023-05-18 00:48:37 +03:30
MHSanaei
964dd33627
bug fix - expiry Time
2023-05-17 18:57:34 +03:30
MHSanaei
3c857b69a9
fix bug - mobile view
2023-05-17 18:17:12 +03:30
MHSanaei
d274077066
[feature] SpiderX for Reality
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-17 16:10:11 +03:30
MHSanaei
97ff96da26
[feature] filter inbound clients
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-17 15:57:47 +03:30
MHSanaei
94dffa818f
adguard Family protection
2023-05-17 03:05:36 +03:30
MHSanaei
91c6b279e1
[feature] interactive deplete soon
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-17 02:01:56 +03:30
MHSanaei
3913128bbb
[sub] add more headers
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-17 01:07:35 +03:30
MHSanaei
b9c3cd8534
[feature] multi cert per inbound
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-17 00:55:19 +03:30
MHSanaei
4f98b6f393
random - trojan password
2023-05-17 00:09:32 +03:30
MHSanaei
df9907cbd1
update - ui
2023-05-16 23:40:27 +03:30
MHSanaei
03f39e8eec
update - xray configuration
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-16 23:39:59 +03:30
MHSanaei
404d9d77ce
security issue - CVE-2023-29401
...
Gin Web Framework does not properly sanitize filename parameter of Context.FileAttachment function
References
gin-gonic/gin#3555
gin-gonic/gin#3556
https://pkg.go.dev/vuln/GO-2023-1737
2023-05-15 15:59:27 +03:30
Masoud Hidden
51aafb45f9
[tgbot] Fix reply keyboard height
2023-05-14 22:55:01 +03:30
Masoud Hidden
0693bd540e
[tgbot] Ability to remove telegram user from the client in the bot
2023-05-14 22:43:23 +03:30
Masoud Hidden
58fda2f1ee
[tgbot] Ability to select telegram user for client from bot
2023-05-14 22:07:49 +03:30
Masoud Hidden
fbb2ec1e39
[tgbot] Changed to telego
2023-05-14 18:50:01 +03:30
Hamidreza Ghavami
713420dabe
FIX redirect after restart panel
2023-05-14 06:19:18 +04:30
Hamidreza Ghavami
be907d7206
FIX siderDrawer button function
2023-05-14 06:08:49 +04:30