Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ca4905220d | |||
| a94cab7dc1 | |||
| 694d446402 |
+9
-3
@@ -6020,8 +6020,8 @@ DNS-over-HTTPS with IP:
|
|||||||
foreach ($xr['inbounds'][0]['settings']['clients'] as $k => $v) {
|
foreach ($xr['inbounds'][0]['settings']['clients'] as $k => $v) {
|
||||||
if (empty($v['off']) && $v['email'] == $m['email']) {
|
if (empty($v['off']) && $v['email'] == $m['email']) {
|
||||||
require __DIR__ . '/config.php';
|
require __DIR__ . '/config.php';
|
||||||
foreach ($c['admin'] as $k => $v) {
|
foreach ($c['admin'] as $admin) {
|
||||||
$this->send($v, "vless: {$m['email']} is turned off (limit by one IP)");
|
$this->send($admin, "vless: {$m['email']} is turned off (limit by one IP)");
|
||||||
}
|
}
|
||||||
unset($this->pool[$m['email']]);
|
unset($this->pool[$m['email']]);
|
||||||
$this->switchXr($k, 1);
|
$this->switchXr($k, 1);
|
||||||
@@ -6855,7 +6855,13 @@ DNS-over-HTTPS with IP:
|
|||||||
|
|
||||||
public function getHashSubdomain($subdomain)
|
public function getHashSubdomain($subdomain)
|
||||||
{
|
{
|
||||||
return $this->getPacConf()["{$subdomain}_domain"] ?: substr(hash('sha256', "$subdomain{$this->key}"), 0, 8);
|
$p = $this->getPacConf();
|
||||||
|
if (!empty($p["{$subdomain}_domain"])) {
|
||||||
|
return $p["{$subdomain}_domain"];
|
||||||
|
}
|
||||||
|
$p["{$subdomain}_domain"] = substr(hash('sha256', "$subdomain{$this->key}"), 0, 8);
|
||||||
|
$this->setPacConf($p);
|
||||||
|
return $p["{$subdomain}_domain"];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addWg($page)
|
public function addWg($page)
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
|
02.03.2025 v2.14
|
||||||
|
- vless ip limit: фикс выключения юзера
|
||||||
22.02.2025 v2.13
|
22.02.2025 v2.13
|
||||||
- vless: улучшение сбора статы
|
- vless: улучшение сбора статы
|
||||||
- vless: фикс добавлениея правил srs для block outbound
|
- vless: фикс добавления правил srs для block outbound
|
||||||
11.02.2025 v2.12
|
11.02.2025 v2.12
|
||||||
- vless: хранение статы в отдельном файле
|
- vless: хранение статы в отдельном файле
|
||||||
- vless ip limit: возможность указать кол-во айпи
|
- vless ip limit: возможность указать кол-во айпи
|
||||||
|
|||||||
Reference in New Issue
Block a user