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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: IPGate for v3.4
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 26

OpenIntro
Junior Member

USA
126 Posts

Posted - 02 May 2003 :  16:28:56  Show Profile  Send OpenIntro an AOL message
Thanks for the reply....but on page 8, this same error was posted about, and gpctexas said he updated the ipgate which fixed THAT guys problem. I have downloaded the newest files that he has released and it is still giving me the error....

So the problem really wasn't covered....

Let's All Do Kamikaze Shots!
http://www.kamikazeshots.com
http://www.kamikazeshots.com/forum
*DO YOUR CLICKS!*
http://dailyclicks.kamikazeshots.com
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 02 May 2003 :  16:42:48  Show Profile  Visit gpctexas's Homepage
which line did you add the #include inc_ipgate.asp to header.asp?

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip
Go to Top of Page

OpenIntro
Junior Member

USA
126 Posts

Posted - 02 May 2003 :  18:21:51  Show Profile  Send OpenIntro an AOL message
As per the readme and my message up above....

line 235 in inc_header.asp:

%>
<!--#INCLUDE FILE="inc_ipgate.asp"-->
<%

Let's All Do Kamikaze Shots!
http://www.kamikazeshots.com
http://www.kamikazeshots.com/forum
*DO YOUR CLICKS!*
http://dailyclicks.kamikazeshots.com
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 02 May 2003 :  20:05:05  Show Profile  Visit gpctexas's Homepage
here is the line from a new forum install in inc_header.asp line 228

rs.close
set rs = nothing
end if

%>
<!--#INCLUDE FILE="inc_ipgate.asp" -->
<%

Response.Write "<html>" & vbNewline & vbNewline & _
"<head>" & vbNewline & _
"<title>" & GetNewTitle(strScriptName) & "</title>" & vbNewline

'## START - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT
Response.Write "<meta name=""copyright"" content=""This Forum code is Copyright (C) 2000-02 Michael Anderson, Pierre Gorissen, Huw Reddick and Richard Kinser, Non-Forum Related code is Copyright (C) " & strCopyright & """>" & vbNewline
'## END - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip
Go to Top of Page

OpenIntro
Junior Member

USA
126 Posts

Posted - 03 May 2003 :  02:12:03  Show Profile  Send OpenIntro an AOL message
Oops....my fault for not paying attention! I was looking at the wrong error.

Thanks Chuck!

gpc, can you do this so no one else has this problem?

delete the first line from admin_ipgate page, it says something like <title>.........</title>

Let's All Do Kamikaze Shots!
http://www.kamikazeshots.com
http://www.kamikazeshots.com/forum
*DO YOUR CLICKS!*
http://dailyclicks.kamikazeshots.com
Go to Top of Page

cyclingdude
New Member

68 Posts

Posted - 03 May 2003 :  15:03:17  Show Profile
Well, I completely removed IP gate and reinstalled the latest updated version (with corrected DBS file - thank you for that) and it's working.

However, remember all those people who I inadvertantly banned? Well, they all have cookies on their machines so if I turn logging on, they all register in my logs and that doesn't help me.

Can someone show me how to adjust the inc_ipgate.asp file to log ONLY those IPs listed in my IP table. I don't want those with cookies on their machines to show up in the log anymore.

Thanks.
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 03 May 2003 :  15:07:43  Show Profile  Visit gpctexas's Homepage
done. You can give them a message to clear their cookie cache, which should clear the cookie on their end.

I'll try and see if I can get the inc_ipgate.asp to check the db to check if a user is in it and delete the cookie on their end if their name is not in there but it would have to be compared to ranges which would keep the cookie if their ip is with a range.

the Readme file has been updated as well to reflect some changes and plus adds a tip to prevent administrator banning, however this also will log the administrator into the logs as well.

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip

Edited by - gpctexas on 03 May 2003 15:28:25
Go to Top of Page

cyclingdude
New Member

68 Posts

Posted - 03 May 2003 :  15:25:15  Show Profile
Hey Gp,

Thanks for the quick response. Here is why I don't want to give users a "clear cookie" message: I don't want some members to know that's how they could be banned.

I think banning with the cookie is a good thing. However, what I'm asking about is a way to continue to ban by cookie, and by whether or not their IP(s) are explicitly listed in the table, but not to log everyone with a banned cookie (especially not now that I screwed so many people by depositing cookies on their machines!! hehe).

Actually.. here is a question..

If they've got these cookies on their machines, why aren't they still banned from my forum? I've got 'Cookies' set to on. And if I set logging on, they show up too.. even though they're not listed in the IP table. Why is that?

Edited by - cyclingdude on 03 May 2003 15:26:03
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 03 May 2003 :  15:34:32  Show Profile  Visit gpctexas's Homepage
I'll look into it. I have wondered that myself and wondering if the cookie part was working or even being checked.

Locate

if (not rs1.eof and not rs1.bof) or (StrIPGateCok <> 0 and Request.Cookies("IPGate") <> "") then 'check for db ips & user cookies

around line 122 in inc_ipgate.asp

remove the strike through part. Should remove the cookie logging.

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip

Edited by - gpctexas on 03 May 2003 18:26:56
Go to Top of Page

OpenIntro
Junior Member

USA
126 Posts

Posted - 06 May 2003 :  12:55:25  Show Profile  Send OpenIntro an AOL message
I was curious how I can ban larger IP ranges....I'm not sure if I am setiing it up correctly....

Say the IP address I want to ban is 204.66.15.241, but I want to ban the entire range from 204.66. and everything after. How do I set that up. I know if I was just setting the range to the 4th part I would 204.66.15.1-204.66.15.254, but I also want the range to include the 3rd part (i.e. the 15) in the range as well.

Am I making sense? lol

Let's All Do Kamikaze Shots!
http://www.kamikazeshots.com
http://www.kamikazeshots.com/forum
*DO YOUR CLICKS!*
http://dailyclicks.kamikazeshots.com
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 06 May 2003 :  15:58:58  Show Profile  Visit gpctexas's Homepage
204.66.15.241

204.66.0.0 - 204.66.255.255

may even have to be
204.66.000.000 - 204.66.255.255

and geez that is a large chunck of the internet too

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip

Edited by - gpctexas on 06 May 2003 16:15:29
Go to Top of Page

Chuck McB
Junior Member

WooYay
196 Posts

Posted - 06 May 2003 :  17:07:17  Show Profile  Visit Chuck McB's Homepage  Send Chuck McB an ICQ Message
Setting the range to be 204.66. should do the trick (persuming that range banning now works?)

any incomming user with the 204.66.x.x IP will get banned, leaving the period at the end of the IP will stop x.x.204.66 or x.204.66.x getting banned in error.
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 06 May 2003 :  20:38:16  Show Profile  Visit gpctexas's Homepage
I changed the way the mod works a little. There are 2 places in the admin_ipgate.asp to add a start range and an ending range. There may be a better way than how I did the changes logic wise, but I am a bit rusty on vb and keep trying to write in delphi. I am slowly getting more comfortable in the vb. I have a few ideas for more checking that can be done within the mod itself (cookie wise and logic wise), but I got to flowchart them out.

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip
Go to Top of Page

Munkey
Starting Member

27 Posts

Posted - 09 May 2003 :  04:42:01  Show Profile
Ok, I have the newer one where it's just "IP/Range/Host:". So there's no fix for this right now?
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 09 May 2003 :  20:02:25  Show Profile  Visit gpctexas's Homepage
I have been working on a newer admin_ipgate.asp. I added a default ban length when you add an ip from the logs, This requires another database adjustment and another variable added to config.asp. I am still testing the changes and tweaking it a little but shoudl be ready soon.

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip
Go to Top of Page
Page: of 26 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07