Bypass Guard

Bypass Guard 1.1.14

Нет прав для скачивания
Сообщения
256
Реакции
12
BlackSignature

I Installed Everything Properly
But It is Not Kicking Player From Server
I Just get his in console





L 10/24/2019 - 06:44:57: [Check] LOca | 165.231.253.4:27005 | STEAM_0:1:49554792 | AS41564 | AS41564 | N/A | N/A
L 10/24/2019 - 06:44:57: Triggered port flags: d



How to enable Autokick If VPN is Detected?
 
Сообщения
1,293
Реакции
2,294
Помог
57 раз(а)
pheronix, what value is set for cvar bypass_guard_check_port ?
 
Сообщения
1,293
Реакции
2,294
Помог
57 раз(а)
pheronix, set it to a, as it supposed to be by default. This cvar allow players with default port (27005) to avoid kicking in various situations. For most users, this cvar is absolutely useless. Someone told me that VPN users always have custom port, but that info was incorrect.
Код:
0 - Don't check port
Allow default port for:
a - AS ban (only ASN's with 'check_port')
b - AS check fail
c - IP blacklist
d - Proxy/VPN detect
e - Proxy/VPN check fail
f - Country ban
g - Country check fail
You set d, so when player with default port will connect to server trough proxy, he won't be kicked
 
Сообщения
256
Реакции
12
BlackSignature, I guess i am a bit confused.
So if i set portcheck to 0 then Players using VPN/Proxy will be Kicked from whatever port they connect?
 
Сообщения
152
Реакции
18
Помог
2 раз(а)
BlackSignature, привет)
Подскажи как проблему решить.
Обновился. Все сделал по инструкции,плагины работают,но в логе сыпятся ошибки, якобы неверный ключ.
10 раз проверил и создавал новый ключ,но все равно не помогает ,как решить не подскажешь?

L 10/27/2019 - 19:24:01: [Error] Can't get AS number for IP '95.68.41.81' L 10/27/2019 - 19:24:01: [Error] Invalid API Key! L 10/27/2019 - 19:24:01: [Error] Can't get proxy status for IP '95.68.41.81' L 10/27/2019 - 19:24:01: [Error] Invalid API Key! L 10/27/2019 - 19:26:46: [Error] Can't get AS number for IP '176.213.88.5' L 10/27/2019 - 19:26:46: [Error] Invalid API Key! L 10/27/2019 - 19:26:46: [Error] Can't get proxy st

ключи записаны в таком виде:

Код:
X-Key: NDkxNDp1SVNQRUxKSDhiOVpNbGhmWVp2YU9xaG9TSjBxe77777==
X-Key: NTM1MzptcEtYVURtb1JZeENHUkVNczJxOTNzQkFEOWE4N3p77777==
[ 7] [BG] Provider: GeoIP 0.2 mx?! bg_provider_geo running
[ 8] [BG] Provider: iphub.i 0.3.1-curl mx?! bg_provider_iph running
[ 9] Bypass Guard 1.0.1 mx?! bypass_guard.am running
 
Сообщения
152
Реакции
18
Помог
2 раз(а)
HUNTERsp4x, не помогло так же сыпятся ошибки.
L 10/30/2019 - 19:52:27: [Error] Request limit for API key '1', switching to API key '2' of '2'
L 10/30/2019 - 19:52:27: [Error] Can't get AS number for IP '176.192.170.137'
L 10/30/2019 - 20:18:14: [Error] Request limit for API key '1', switching to API key '2' of '2'
L 10/30/2019 - 20:18:14: [Error] Can't get AS number for IP '37.147.35.138'
L 10/30/2019 - 20:44:37: [Error] Request limit for API key '1', switching to API key '2' of '2'
L 10/30/2019 - 20:44:37: [Error] Can't get AS number for IP '37.147.35.138'
L 10/30/2019 - 21:11:46: [Error] Request limit for API key '1', switching to API key '2' of '2'
L 10/30/2019 - 21:11:46: [Error] Can't get AS number for IP '109.252.22.89'
 
Сообщения
1,293
Реакции
2,294
Помог
57 раз(а)
GrafkO, не смущает, что ошибка другая? Это сообщение про лимит запросов для ключа/сутки. Периодическое появление таких ошибок - норма. Главное чтобы всегда оставался рабочий ключ, на который система может переключиться. В последнем обновлении провайтера для ипхаб я просто добавил хранение текущего (активного) ключа в кваре, чтобы после смены карты система не прыгала по истёкшим ключам (начиная с первого), а сразу брала активный.
 
Сообщения
152
Реакции
18
Помог
2 раз(а)
BlackSignature, Да,действительно. Спасибо за подробный ответ.
Не обновлялся с лета времени не было,а недавно решил обновиться,а тут обновления подъехали)
 
Сообщения
1
Реакции
-2
Am această eroare
Код:
11/07/2019 - 19:55:05: [Error] Wrong key count (1/7) in file 'addons/amxmodx/data/bypass_guard/178.138.96.231_1'
 
Последнее редактирование:
Сообщения
23
Реакции
0
Hello all i have a little issue with that plugin i am using last rehlds regamedll in logs error is that

L 11/10/2019 - 14:46:57: [ReAPI] Reunion: isn't available
L 11/10/2019 - 14:46:57: [AMXX] Displaying debug trace (plugin "bypass_guard.amxx", version "1.0.1")
L 11/10/2019 - 14:46:57: [AMXX] Run time error 10: native error (native "REU_GetAuthtype")
L 11/10/2019 - 14:46:57: [AMXX] [0] bypass_guard.sma::task_CheckPlayer_Step1 (line 595)
L 11/10/2019 - 14:47:09: [ReAPI] Reunion: isn't available
L 11/10/2019 - 14:47:09: [AMXX] Displaying debug trace (plugin "bypass_guard.amxx", version "1.0.1")
L 11/10/2019 - 14:47:09: [AMXX] Run time error 10: native error (native "REU_GetAuthtype")
L 11/10/2019 - 14:47:09: [AMXX] [0] bypass_guard.sma::task_CheckPlayer_Step1 (line 595)
L 11/10/2019 - 14:47:22: [ReAPI] Reunion: isn't available
L 11/10/2019 - 14:47:22: [AMXX] Displaying debug trace (plugin "bypass_guard.amxx", version "1.0.1")
L 11/10/2019 - 14:47:22: [AMXX] Run time error 10: native error (native "REU_GetAuthtype")
L 11/10/2019 - 14:47:22: [AMXX] [0] bypass_guard.sma::task_CheckPlayer_Step1 (line 595)
L 11/10/2019 - 14:47:33: [ReAPI] Reunion: isn't available
L 11/10/2019 - 14:47:33: [AMXX] Displaying debug trace (plugin "bypass_guard.amxx", version "1.0.1")
L 11/10/2019 - 14:47:33: [AMXX] Run time error 10: native error (native "REU_GetAuthtype")
L 11/10/2019 - 14:47:33: [AMXX] [0] bypass_guard.sma::task_CheckPlayer_Step1 (line 595)


meta list work normal

[ 3] Reunion RUN - reunion_mm_i386.so v0.1.0.92c ini Start Never
[19] GeoIP RUN - geoip_amxx_i386.so v1.9.0.5263 pl2 ANY ANY
[10] ReAPI RUN - reapi_amxx_i386.so v5.11.0.190-dev pl2 ANY Never

plugins
[ 5] [BG] Provider: GeoIP 0.2 mx?! bg_provider_geo running
[ 6] Bypass Guard 1.0.1 mx?! bypass_guard.am debug

cvars

bypass_guard_enabled "1"
bypass_guard_kick_if_cant_check "abc"
bypass_guard_allow_steam "0"
bypass_guard_country_check_mode "1"
bypass_guard_immunity_flags "ab"
bypass_guard_show_url "1"
bypass_guard_check_port "0"
 
Сообщения
1,293
Реакции
2,294
Помог
57 раз(а)
talibana, do you run 'steam only' server? so then change cvar 'bypass_guard_allow_steam' to 0

upd.
oh, i see that it is already set to 0.
error occurs only when map is being changed?
10 Ноя 2019
If you run 'steam only' server, i think that you don't need Bypass Guard at all. Most steam players can't change their steamids, as to do that, they need to have a lot of accounts with Counter-Strike 1.6. Other side of the question is a Steam 'family sharing' feature, but that can be resolved by this plugin

Anyway, to solve your problem, you just need to comment or completely remove this block
Код:
    if(g_eCvar[CVAR__ALLOW_STEAM] && is_user_steam(pPlayer)) {
        g_szAccess[pPlayer] = "Steam"

        log_to_file( g_eLogFile[LOG__ALLOW], "[Legit Steam] %n | %s | %s | %s | %s",
            pPlayer, g_szAddress[pPlayer], g_szAuthID[pPlayer], g_szCode[pPlayer], g_szCountry[pPlayer] );

        return
    }
 
Последнее редактирование:
  • Нравится
Реакции: Ayk
Сообщения
23
Реакции
0
@BlackSignature Thank you now is working. One more question ? what is the best setting to use, when i am use geoip module do you a have option to check for vpn or proxy ? Or is still valid just for another two plugins ? iphud.info and ip-api.com ? Thanks
 
Сообщения
1,293
Реакции
2,294
Помог
57 раз(а)
talibana, geoip module just get country data (for logs and for country check). To get ASN's and to check for vpn/proxy, you need ip-api OR iphub module. I recommend iphub as it have more detection accuracy. On my own server i run both of them, as they have cvars to distinct functionality. ip-api is better to get ASN's, iphub is better for VPN checking.
 
Сообщения
24
Реакции
-28
Обратите внимание, если вы хотите заключить сделку с этим пользователем, он заблокирован
а как логирование отключить? или только, кого не пустило сделать?
 
Сообщения
210
Реакции
-20
Всем привет как айпи внести в черный список. Как правильно прописывать в файле ip.ini
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу