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)
 Whats the best way to ban IPs
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

thelodger
Junior Member

United Kingdom
296 Posts

Posted - 08 July 2009 :  17:02:40  Show Profile
Running the new version of snitz, I obviously need to add a mod, but which one is the best one to add bearing in mind that most of the mods were written for older versions of Snitz?

leatherlips
Senior Member

USA
1838 Posts

Posted - 08 July 2009 :  17:06:29  Show Profile  Visit leatherlips's Homepage
IP Gate is the only one I know of. You can get it from SnitzBitz here.

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

thelodger
Junior Member

United Kingdom
296 Posts

Posted - 08 July 2009 :  17:41:56  Show Profile
Cheers, I had ipgate on the last version of the forum, and while it seemed a little complicated,(not to install, to understand how it works) I guess I will have to install it and read about it more than I have done.
Go to Top of Page

KC
Junior Member

USA
152 Posts

Posted - 15 July 2009 :  15:01:30  Show Profile  Visit KC's Homepage
I just use global.asa

Just ftp it to your web site root if you use .asp pages.
It runs before any .asp page does and you can do some fun stuff with it.

If you don't have one already it's easy, it's just a .txt file using VBscript commands you rename.

It MUST start with
<SCRIPT LANGUAGE=VBScript RUNAT=Server>

For a full IP address the VBscript is

' your comment about why you are banning this IP
if Request.ServerVariables("remote_host")= "96.252.61.88" then
Response.Redirect "http://Your Personal Ban.html page" or anywhere else you want to send them
end if

If you want to cut off a whole block of IP's, like I did this Russian spider it is

'Russian spider 4-15-09
if left(Request.ServerVariables("remote_host"),6)= "77.88." then
Response.Redirect "http://vales.com/Banned.htm"
end if

Note the bold, that is the count of of digits to count from the left counting periods.

and global.asp MUST end with
</SCRIPT>

Easy ;-}

Owner of vales.com and Elite Computers.
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.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07