Raised This Month: $51 Target: $400
 12% 

Hostname Bans - Will Pay $


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Phorce_Phed
Member
Join Date: Jun 2006
Old 07-12-2007 , 10:32   Hostname Bans - Will Pay $
Reply With Quote #1

I need a plugin that keeps and enforces a list of bans based on reverse DNS lookups similar to how IRC bans work. Using this plugin an admin could set bans using a console command such as amx_rban <regexp> where regexp could be:

*dsl*.somecity.someisp.com

Or:

???-???-168-192.*.cable.someisp.com

Or even simply:

*.com

The plugin would save the regexps in a file and do a reverse DNS lookup on the IP of every player who connects to the server. If the reverse lookup matches any of the regexps the script would kick the player and ban their IP in listip.cfg for (configurable via cvar) minutes.

In addition to this, I would like a "whitelist" feature. The plugin would have a separate file which would list addresses that are exempt from being banned by the plugin (even if they match a regexp). This file could contain all of the following:

???-42-168-192.*.cable.someisp.com
123dsl456.somecity.someisp.com
192.168.42.27
10.10.*.42
10.12.??.*

To sum it up, the "interface" would look something like this:

Commands
amx_rban <regexp> - Add a reverse lookup ban
amx_runban <regexp> - Remove a reverse lookup ban
amx_noban <regexp, IP or FQDN> - Add an address or regexp to the whitelist
amx_yesban <regexp, IP or FQDN> - Remove an address or regexp to the whitelist

CVAR
amx_rban_minutes - Number of minutes IP will be banned in listip.cfg (zero for perm, just like addip)

Last edited by Phorce_Phed; 12-19-2007 at 18:57.
Phorce_Phed is offline
Phorce_Phed
Member
Join Date: Jun 2006
Old 10-11-2007 , 18:04   Re: Reverse DNS (IRC style) Bans
Reply With Quote #2

I can pay someone to write a plugin to the above specifications if it is good enough to be approved.

I don't want exclusivity, just the features. PM me a price and we can talk.
Phorce_Phed is offline
Phorce_Phed
Member
Join Date: Jun 2006
Old 11-29-2007 , 00:35   Re: Hostname Bans
Reply With Quote #3

Still looking for someone to write this.
Phorce_Phed is offline
Phorce_Phed
Member
Join Date: Jun 2006
Old 12-15-2007 , 18:12   Re: Hostname Bans
Reply With Quote #4

Bump
Phorce_Phed is offline
Battousai-sama
Veteran Member
Join Date: Jul 2007
Old 12-15-2007 , 18:14   Re: Hostname Bans
Reply With Quote #5

Ow, this is an cool idea.
__________________
Battousai-sama is offline
Send a message via MSN to Battousai-sama
Phorce_Phed
Member
Join Date: Jun 2006
Old 12-19-2007 , 18:57   Re: Hostname Bans - Will Pay $
Reply With Quote #6

Yes it is. Too bad nobody seems to be interested.
Phorce_Phed is offline
Battousai-sama
Veteran Member
Join Date: Jul 2007
Old 12-19-2007 , 19:20   Re: Hostname Bans - Will Pay $
Reply With Quote #7

maybe it is not possible, dunno.
__________________
Battousai-sama is offline
Send a message via MSN to Battousai-sama
Lisa
Senior Member
Join Date: Jan 2007
Old 12-19-2007 , 20:06   Re: Hostname Bans - Will Pay $
Reply With Quote #8

Yea this would be nice.. those hacks who frequent internet cafes and just switch comps would be easier to knock out.
Lisa is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 12-19-2007 , 20:10   Re: Hostname Bans - Will Pay $
Reply With Quote #9

It's probably possible, but not with AMXx only. You would probably need a module or mm plugin. I don't know their limits though.
[ --<-@ ] Black Rose is offline
Battousai-sama
Veteran Member
Join Date: Jul 2007
Old 12-19-2007 , 20:26   Re: Hostname Bans - Will Pay $
Reply With Quote #10

well thats a good start.
__________________
Battousai-sama is offline
Send a message via MSN to Battousai-sama
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 05:21.


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