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: MOD Implementation
 IpGate 2.4.x IP detecting bug
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 05 January 2008 :  11:17:46  Show Profile  Send ruirib a Yahoo! Message
Was there ever found a fix with the Ip detecting bug in IpGate 2.4.x?

Tipically the error message is like this

Microsoft VBScript runtime error '800a000d' 
Type mismatch: '[string: "0 - 196"]' 
/pfforum/inc_ipgate.asp, line 366 



Latest version also seems to interfere with the way some characters are shown, which is very weird...


Snitz 3.4 Readme | Like the support? Support Snitz too

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 05 January 2008 :  11:48:41  Show Profile  Send ruirib a Yahoo! Message
The issue seems to lie in the blocking of an IP range like 196.0.0.0 - 196.255.255.255. Somehow the code that breaks this apart is not catching the separation between the two IPs.


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

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 05 January 2008 :  11:56:43  Show Profile  Send ruirib a Yahoo! Message
New update - there was an older mod version before and it seems that it kept both start and end address of a range in the same DB column. Inserting the correct values directly in the DB sorted it.

It seems that the mod has another problem, cause the interface does not allow a way to add the IP range as above (196.0.0.0-196.255.255.255).


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

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 05 January 2008 :  12:36:45  Show Profile  Send ruirib a Yahoo! Message
Also found that the encoding issue resulted from the fact that inc_ipgate.asp was stored in UTF-8 format. Changing it to ANSI fixed the issue.


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

gpctexas
Junior Member

320 Posts

Posted - 05 January 2008 :  14:59:24  Show Profile  Visit gpctexas's Homepage
ipgate ranges were changed after I started working on the mod.

In the 2 current version in my sig,
ranges are actually entered as
123.
123.123.
123.123.123.

anything after the last . is detected as the range
so in the case of the 123.123.123. 123.123.123.1 - 123.123.123.255 would be detected

I have been working on another way on handling the ranges which would simply ip detection on the mod end, but would also also someone to use a subnet calculator and have more control over ban ranges.
Life and work needs to slow down so I can port it into the mod. The update would require considerable backend mod changes and admin changes.


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

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 05 January 2008 :  15:30:44  Show Profile  Send ruirib a Yahoo! Message
Thanks for the info . I guess some of the issues with inc_ipgate.asp that have been reported may be due to range storage in a single DB column, of course, when the mod is upgraded from a previous version.


Snitz 3.4 Readme | Like the support? Support Snitz too
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.61 seconds. Powered By: Snitz Forums 2000 Version 3.4.07