Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Blocking certain IP/email addresses
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

dave9737
Starting Member

2 Posts

Posted - 07 March 2007 :  10:53:59  Show Profile
Is there a way to do this? I have one nutty person I'd like to keep off the forums.

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 07 March 2007 :  11:03:13  Show Profile  Send ruirib a Yahoo! Message
You can get IPGate to block IPs, to block a given email, just lock the user... IPGate will allow you to block him using cookies too, so it may be what you need...


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

dave9737
Starting Member

2 Posts

Posted - 08 March 2007 :  02:20:42  Show Profile
What is IPGate?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 08 March 2007 :  03:16:46  Show Profile  Send ruirib a Yahoo! Message
IPGate is a mod you can add to your Snitz forum. You can find it at http://snitzbitz.com


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

gary b
Junior Member

USA
267 Posts

Posted - 26 March 2007 :  09:45:13  Show Profile  Visit gary b's Homepage
For another approach, you can edit the REGISTER.ASP page as follows:

'#### Added IP blocking Lines 273 to 292

Dim strIP,strLeftIP,strLeftIPbig
strIP = Request.ServerVariables("remote_addr")
strLeftIP = Left(strIP,10)
strLeftIPbig = Left(strIP,14)

If strLeftIPbig = "86.102.192.206" Then
Err_Msg = Err_Msg & "<li>You have been identified as an idiot. SFB does not accept registration by idiots.</li>"
end if

If strLeftIP = "86.102.192" Then
Err_Msg = Err_Msg & "<li>Your request for registration is DENIED!</li>"
end if

strLeftIPbig is set to the IP address of the offender. (Look at table FORUM_MEMBERS with IP Logging turned on!)

strLeftIP is set for the first three octets of the IP address. This will block any addresses on that sub-net. (Including possibly innocent by-standers)

Adjust the numerical value [of the expression] to equal the total number of digits AND periods in the IP segment -- see bold blue above for example.

In my implementation, I used descriptive terms other than 'idiot'.


I call this file edit "porn-no-more"

Email me if you have questions: sfrvn at earthlink.net

gary b


Edit: This procedure should be adaptable to email addresses, as well.

Edited by - gary b on 26 March 2007 11:51:30
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 26 March 2007 :  12:08:30  Show Profile  Visit AnonJr's Homepage
Problem is, the IP you block may belong to a bunch of users of ISPs who suck (like AOL) - or if they are dial-up users they may not have the same IP. Its the same issue that's come up in discussions about the IPGate MOD. At least with that MOD you have the option to set a cookie, which they may or may not find, and will keep them busy even if they do change their IP...

Just some food for thought. A more thorough discussion of this and related topics has been had numerous times, and is readily found using the nifty "search" link at the top of the page.
Go to Top of Page

gary b
Junior Member

USA
267 Posts

Posted - 26 March 2007 :  12:52:56  Show Profile  Visit gary b's Homepage
Thanks, Anon...

I had searched for this issue and found many 'holes' -- regardless of the method used. One suggetion was to ignore them and they might go away. Well, that was not acceptable.

In this case the IP is located in the Netherlands, according to RIPE. Our forum is targeted for a specific audience and there is virtually zero probability that a potential User will have an IP on that subnet. So the forum owner felt 'safe' in blocking both the specific IP and the subnet. (If the idiot has DHCP, then his IP might change. Hence, the use of the subnet blocking.)

The beauty of this approach is its simplicity. But I do not claim this simple edit is foolproof... nor do I claim it is suitable in all instances. A forum Admin must put it in perspective of their prospective audience. But if you do have one or two 'idiots', it is better than waiting to see if they go away!

gary b
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07