AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   IP Range Ban (https://forums.alliedmods.net/showthread.php?t=75411)

Seather 08-04-2008 23:26

IP Range Ban
 
1 Attachment(s)
example server.cfg:
Code:

sm_iprangeban_clear
sm_iprangeban_add "127.0.0.0" "127.0.0.255"
sm_iprangeban_add "192.168.0.0" "192.168.255.255"

TODO: IP v6 support

msleeper 08-05-2008 00:55

Re: IP Range Ban
 
Would it be too much to ask for being able to put a subnet CIDR instead of an "ending" address? Such as:

sm_iprangeban_add "127.0.0.0" "24"
sm_iprangeban_add "192.168.0.0" "16"

ifx 08-05-2008 15:02

Re: IP Range Ban
 
Seather: if you add mysql support it would be awesome! anyway, great plugin! many thanks!

kom65 08-12-2008 05:31

Re: IP Range Ban
 
How many bands can be set?
Quote:

L 08/12/2008 - 06:12:57: [ip_range_ban.smx] Max number of IP range bans reached
L 08/12/2008 - 06:12:57: [ip_range_ban.smx] Max number of IP range bans reached
L 08/12/2008 - 06:12:57: [ip_range_ban.smx] Max number of IP range bans reached
L 08/12/2008 - 06:12:57: [ip_range_ban.smx] Max number of IP range bans reached
L 08/12/2008 - 06:12:57: [ip_range_ban.smx] Max number of IP range bans reached
L 08/12/2008 - 06:12:57: [ip_range_ban.smx] Max number of IP range bans reached

Lebson506th 08-12-2008 08:44

Re: IP Range Ban
 
Quote:

Originally Posted by kom65 (Post 668418)
How many bands can be set?

#define MAX_BANS 50

kom65 08-12-2008 09:25

Re: IP Range Ban
 
What is 50? is the number of IP addresses or number of records?
This is what I have:
Quote:

sm_iprangeban_add "212.34.111.0" "212.34.111.255"
sm_iprangeban_add "86.57.15.0" "86.57.15.255"
sm_iprangeban_add "80.66.242.0" "80.66.242.255"
sm_iprangeban_add "212.220.108.0" "212.220.108.255"
sm_iprangeban_add "92.113.0.0" "92.113.255.255"
sm_iprangeban_add "92.112.0.0" "92.112.255.255"

Lebson506th 08-12-2008 09:39

Re: IP Range Ban
 
Well, that isn't 50 ranges so i would assume it's 50 total.

Seather 08-12-2008 15:44

Re: IP Range Ban
 
see first post for positioning of "sm_iprangeban_clear"

i'm guessing that on every map change you are adding the same bans without clearing first

it is 50 adds.
you can do
sm_iprangeban_add "0.0.0.0" "255.255.255.255"
with no problem

kom65 08-13-2008 01:00

Re: IP Range Ban
 
ie I must clean the bathhouse using sm_iprangeban_clear on each map?

Seather 08-13-2008 01:59

Re: IP Range Ban
 
makes it easier to remove bans, instead of haveing to restart the server or issue a remove command you just need execute the server.cfg file again


All times are GMT -4. The time now is 14:10.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.