Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[ANY] RCON IP Whitelist


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 490
  • Lokalizacja:AMXX.PL
Offline

Napisano 21.05.2016 10:07

RCON IP Whitelist

Description:

This plugin restricts the IP addresses to a list from which an RCON connection can be established. The plugin loads all of the IP addresses declared on an SQLite database so it can later compare the address of any incoming connection to the ones in the list, if no matching address is found, it drops the connection.
This can be very useful when you want to be able to send rcon commands trough a VPN but you don't want to expose your server to any possible attacker on the outside or just if you want to restrict the access to your home IP address.

Do I need this?

As I said above, this plugin will block any authentication request coming from an unknown IP address (not listed in the database), so if your server has rcon enabled, it can work as an extra layer of security against any attacker, even if he knows your RCON password, as long as his address is not listed in the database, he will be rejected.

Commands:
  • sm_rconw_reload_db - Reloads the database
  • sm_rconw_print_whitelist - Prints all of the addresses on the list
Dependences:Install instructions:
  • Make sure you have SM RCon installed in your server.
  • Drag and drop the content of the compressed file into your server's sourcemod folder (just like any other plugin).
  • Edit or create (using the file "rcon-addresses.sql") the database file "rcon-addresses.sq3" located in "data/sqlite" adding IP addresses to the "allowed" table, one byte by column.
    If you are new to SQLite or databases in general, I recommend you to use gui programs like SQLite Browser, to make things simpler.
  • Upload your new database to "sourcemod/data/sqlite" as "rcon-addresses.sq3".
  • Load the plugin.
NOTE

This will block all RCON connections if you just install it and don't add IP addresses to the database.

Release history:
  • 5-21-2016
  • Initial release
If you have any suggestion, please write it down there, I'd be grateful to read it.

Attached Files Dołączona grafikaRCON_Whitelist_v1.0.zip (11.6 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych