<!-- BEGIN TEMPLATE: postbit_external -->
<div><b><b>Instructions<br /><br /></b></b>Have you ever needed to block a hacker that keeps getting a new IP? Have you ever needed to block an entire country? This plugin will do the job.<br /><br />You can make ban lists with websites like this.<br /><br /><a href="https://www.countryi...y_selection.php" target="_blank">https://www.countryi...tion.php</a><br /><br />The default ban list path is configs/ipblocks.txt<br /><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left"># example ban list<br />1.2.3.4/28<br />4.5.6.7/18<br /># network 2<br />5.6.7.8/31</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->Here is a quick CIDR tutorial.<br /><br />1.2.3.4/32 = blocks 1.2.3.4 - 1.2.3.4<br />1.2.3.4/24 = blocks 1.2.3.0 - 1.2.3.255<br />1.2.3.4/16 = blocks 1.2.0.0 - 1.2.255.255<br />1.2.3.4/8 = blocks 1.0.0.0 - 1.255.255.255<br /><br />You can also use the command cidr_add to add blocks in game that will last until a reboot.<br /><b><br />Convars<br /><br /></b>CreateConVar("cidr_path", "configs/ipblocks.txt", "Path to block list.");<b><br /><br />Commands<br /></b><br />RegAdminCmd("cidr_reload", Command_Reload, ADMFLAG_BAN, "Clear banlist and reload bans from file.");<br />RegAdminCmd("cidr_clear", Command_Clear, ADMFLAG_BAN, "Clear banlist.");<br />RegAdminCmd("cidr_add", Command_Add, ADMFLAG_BAN, "Add CIDR to banlist. Does not last between reboots and does not get added to file.");</div>
<br /> <div style="padding:6px">
<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie...s/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.sourcemod...?file_id=125072"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1377933748">Get Source</a> (cidr.sp - 4.2 KB)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>
</div>
<!-- END TEMPLATE: postbit_external -->
Wyświetl pełny artykuł
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.
|
Guest Message by DevFuse
CIDR Block - Block IP ranges for countries, hackers
Temat rozp. Adminek AMXX.PL, 31.08.2013 08:23
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych