Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[ANY] RCON IP Whitelist


owner_2019
 Udostępnij

Rekomendowane odpowiedzi

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:
  1. Make sure you have SM RCon installed in your server.
  2. Drag and drop the content of the compressed file into your server's sourcemod folder (just like any other plugin).
  3. 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.
  4. Upload your new database to "sourcemod/data/sqlite" as "rcon-addresses.sq3".
  5. 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
File Type: zip RCON_Whitelist_v1.0.zip (11.6 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...