Raised This Month: $32 Target: $400
 8% 

IP Range Ban


Post New Thread Reply   
 
Thread Tools Display Modes
Ahmadf5388
Junior Member
Join Date: Dec 2018
Old 01-15-2019 , 04:40   Re: IP Range Ban
Reply With Quote #21

Quote:
Originally Posted by Seather View Post
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
can u creat a menu for this plugin ?
Ahmadf5388 is offline
eliteroyal
AlliedModders Donor
Join Date: Dec 2016
Location: Moldova
Old 04-14-2020 , 11:40   Re: IP Range Ban
Reply With Quote #22

how to whitelist an ip?
__________________
PEACE FROM MOLDOVA
eliteroyal is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 04-14-2020 , 13:01   Re: IP Range Ban
Reply With Quote #23

Quote:
Originally Posted by eliteroyal View Post
how to whitelist an ip?
Create your filters in a deaggregated way so that they only include the ones you actually want to ban.

To ban 1.2.0.0/20 (1.2.0.0 - 1.2.15.255), but to exclude the addresses in 1.2.3.0/24 (1.2.3.0 - 1.2.3.255), you would need to ban individually segments of e.g.:

1.2.0.0/23 (1.2.0.0 - 1.2.1.255)
1.2.2.0/24 (1.2.2.0 - 1.2.2.255)
1.2.4.0/22 (1.2.4.0 - 1.2.7.255)
1.2.8.0/21 (1.2.8.0 - 1.2.15.255)

That's the only way with this particular plugin.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
eliteroyal
AlliedModders Donor
Join Date: Dec 2016
Location: Moldova
Old 04-14-2020 , 13:47   Re: IP Range Ban
Reply With Quote #24

Quote:
Originally Posted by DarkDeviL View Post
Create your filters in a deaggregated way so that they only include the ones you actually want to ban.

To ban 1.2.0.0/20 (1.2.0.0 - 1.2.15.255), but to exclude the addresses in 1.2.3.0/24 (1.2.3.0 - 1.2.3.255), you would need to ban individually segments of e.g.:

1.2.0.0/23 (1.2.0.0 - 1.2.1.255)
1.2.2.0/24 (1.2.2.0 - 1.2.2.255)
1.2.4.0/22 (1.2.4.0 - 1.2.7.255)
1.2.8.0/21 (1.2.8.0 - 1.2.15.255)

That's the only way with this particular plugin.
good idea, thanks bro
so if i want to ban this class 92.114.0.0 - 92.114.255.255 but i want to whitelist this ip -> 92.114.82.113
then i make thse changes:

sm_iprangeban_clear
sm_iprangeban_add "92.114.0.0" "92.114.82.112"
sm_iprangeban_add "92.114.82.114" "92.114.82.255"
__________________
PEACE FROM MOLDOVA

Last edited by eliteroyal; 04-14-2020 at 13:53.
eliteroyal is offline
eliteroyal
AlliedModders Donor
Join Date: Dec 2016
Location: Moldova
Old 02-18-2021 , 05:01   Re: IP Range Ban
Reply With Quote #25

it's not working in css anymore..
compiles and loads fine but doesnt work
sm 1.9
__________________
PEACE FROM MOLDOVA

Last edited by eliteroyal; 02-18-2021 at 05:01.
eliteroyal is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:56.


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