Author |
Topic |
gpctexas
Junior Member
320 Posts |
Posted - 10 August 2004 : 16:29:54
|
Introducing ipgate 2.4.3 beta with new ip function and the long awaited paginated logs page! After almost loosing several weeks worth of work when my old host decided to run away, I decided to go ahead and add the paginated log I was working on before I really lost the code.. I was able to get the paginated code slated for the next release of ipgate into this version. I have then since put the next major release on hold but I'm releasing this interim release.
Improvments in ipgate 2.4.3 -A large number of bans should no longer slow the forum down. -Paginated logs page, be sure to set # of records per pages in settings. -improved ip/subnet banning and error checking a whole ip ban should no longer ban its subnet -minor tweaks to admin page to reflect updated changes. -cookie autobanning can now be set in the user changeable area of inc_ipgate.asp
download here http://www.gpctexas.net/ipgate_v24.zip
screenshot: http://www.gpctexas.net/ipgate.JPG
########Everything below is standard and not changed###### edited 9-12-2004 to reflect code finalized.
Note: This is a current for current ipgate users. IPGate 2.3.0 is currently available http://www.gpctexas.net/ipgate_v23.zip
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=194
Features/improvements of ipgate 2.3.0 Ban by username, ipaddress, and ipaddress subnet
-You can ban by either means above. If you decide to use a browser cookie, a cookie will be placed on the users computer which flags them by their status. If that user switches names or ip address, the cookie flags them and bans them. If their ip address or username is different, a new ban record is inserted to auto ban the new username and ip address. At this time, no on off switch available for the new auto ban feature.
-You can add a list of banned pages that all users whos status is set to blocked access, can not access.
-Cookies will expire based on the end date you specify when you ban someone. Once a cookie is on their machine they are flagged until the cookie expires. A cookie expire option has been added to help alieviate accidental range bans. Remember to expire a cookie for a week before deleting a ban.
-You can log all ips or only those specified to watch in the database.
-Admin ban prevention improved
-Works with Access, MS SQL, and My SQL
-a few bugs were fixed in the admin page
-inc_ipgate.asp code cleaned up
-a looping bug was fixed pertaining to ipgate user message.
to upgrade from ver 2.2.8 just copy inc_ipgate.asp and admin_ipgate.asp to your forum or test forum directory. < |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
Edited by - gpctexas on 08 May 2005 04:33:52 |
|
cyclingdude
New Member
68 Posts |
Posted - 27 August 2004 : 02:50:55
|
Works great!
I encourage you to keep working on this mod. If I may speak for the silent majority, I'm sure your mod has helped protect many forum communities as it has mine.
FYI, I was using the 2.1 RC2 version that I believe someone else put out as an update to you mod. (If I'm wrong, then ignore me!) Anyway, the upgrade worked without a hitch so I wanted to let you know that. In fact, I believe my forum pages are loading up faster now but I can't be sure it's not just my imagination.
Thanks!< |
|
|
gpctexas
Junior Member
320 Posts |
Posted - 27 August 2004 : 09:00:18
|
I tweaked the code a little in this version, but the more bans can still cause a slow down loading pages some. I wasn't the orig author of this mod, but started working on it to learn asp and noticed the orig author wasn't around as much.< |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
|
|
Tyler M.
New Member
USA
82 Posts |
Posted - 28 August 2004 : 16:02:58
|
I have been chomping at the bit for version 3, was sad to see that you were 97% and dedicded to put it on hold. The IPGate mode is excellent, sure it needs some tweeks here and there, but it is a solid idea, and a good base for any forum... sadly there is always someone you need to ban.< |
|
|
Tyler M.
New Member
USA
82 Posts |
Posted - 28 August 2004 : 16:08:33
|
2.3 seems to work fine on my site. Thanks.< |
|
|
gpctexas
Junior Member
320 Posts |
Posted - 28 August 2004 : 17:18:45
|
I wanted Ver 3 to finish up but I have too many projects going on. I may try put the log page from 3 into current version(One of the biggest tweaks needed) and tweak a few other things that need tweaking some more.
edit: Watch out for autobans that catch those evading bans. I'm interested in seeing how many aliases get caught.Cookies must be one for this to work.< |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
Edited by - gpctexas on 28 August 2004 17:22:19 |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 29 August 2004 : 00:04:10
|
I'm rooting for you! < |
|
|
cyclingdude
New Member
68 Posts |
Posted - 29 August 2004 : 22:51:53
|
Problem?
I tried banning a member by name, not IP. I didn't lock the account because I wanted to see if the IP Ban would catch him by his member name and send him a cookie. He was still able to post a couple of times after I added him. Do they need to logout and login for this to take effect? I noticed his last login date was a week ago, but obviously his cookie hasn't expired.
Is there a way to make members have to login in for frequently with Snitz? I know that's perhaps an unrelated question, but I was wondering if one thing had anything to do with the other.
Thanks!< |
|
|
gpctexas
Junior Member
320 Posts |
Posted - 30 August 2004 : 00:50:10
|
Double check the spelling of the name, make sure there isn't leading spaces in front of it or after. I just looked at the code and noticed I am not checking for the spaces. Zip is updated as of this post. A user does not have to log out, since ipgate checks for bans everytime a page is loaded.
The require login is a base Snitz function< |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
|
|
Tyler M.
New Member
USA
82 Posts |
Posted - 31 August 2004 : 02:20:18
|
Ugh!!!! Auto Ban rocks.. . and it hurts as well.
I am not sure what is going on, but since I posted last which is when I added 2.3 beta. I have had over 50 auto bans... which is good. However I think there are a few mistakes (may not some people may have multipule accounts, not unusal)...
What would be helpful is if we could tell who the inital ban was for when it does an auto ban. Something like Auto Ban from Ted's Cookie or something.
Also the logs might be more helpful with a Browser Identifer, so we can kind of tell more about the ip. I seem block one person, and in effect block many.
This stuff is cool! I will try to get a better description of my logs and such... < |
Edited by - Tyler M. on 31 August 2004 02:43:38 |
|
|
Tyler M.
New Member
USA
82 Posts |
Posted - 31 August 2004 : 02:21:54
|
quote: Originally posted by cyclingdude
Problem?
Is there a way to make members have to login in for frequently with Snitz? I know that's perhaps an unrelated question, but I was wondering if one thing had anything to do with the other.
There is a part at the front of CONFIG.ASP that sets the date for cookies, although IPGate does not need it, you could require the cookie to only last a day or 365 days. You can also rename the cookie name which will require all your users to login again to set the cookie.< |
|
|
gpctexas
Junior Member
320 Posts |
|
Tyler M.
New Member
USA
82 Posts |
Posted - 31 August 2004 : 15:35:33
|
I think auto ban is an excellent feature. Bravo! It just needs a little work. But it is sweet. In this case it detected cookies from people (could be a reason) and then BAnned them
1. it banned moderators 2. it banned everyone it detected a cookie from. Although I only had 3 blocks (not bans) so auto-ban should be similar. 3. Did I mention this thing is cool?
As for why it blocked people with cookies, when I thought they did not have them. It is possable that when I had problems with IPGate when I first got it a long time ago... I had problem, and the quick solution was to change the forum Cookie name and the problems went away (thus no EXPIRE)... Perhaps these are cookies from way back then (my cookies are for 365 days)
I believe I started using the IPGate last fall, and they were not detected until I used the 2.3 version...< |
|
|
Tyler M.
New Member
USA
82 Posts |
Posted - 31 August 2004 : 15:37:28
|
I appreciate all your help in this matter, and your work on this Mod.
When the Snitz people start working on New Features, this will(should) end up in the base code, until then I am willing to help prefect it as it is a very valuable tool for me...< |
Edited by - Tyler M. on 31 August 2004 15:38:36 |
|
|
gpctexas
Junior Member
320 Posts |
Posted - 31 August 2004 : 16:47:30
|
If you look in inc_ipgate, there is a place with cookiename="IPGate" 'must change for each forum you host on the same domain!
If you think you had a problem in the past(and there were a lot of probs before I started messing with the mod) and have unintentional cookies then rename the cookie.
If you have IP bans and are using ranges for some, then make sure innocent people aren't in those ranges. Also those that are innocent you can set their username only to expire cookie and they should be able to log in. They wont be able to do anything while logged out.
IPGate sets either "Banned", "Watched", and "Blocked" as cookie values. Also the cookie expiration date is setup when you initially setup a person in the mod. The script looks for the cookie checks the value and performs the necessary function. If you look at the script, You will actually see a 4th value being used "Expired" but that only satisfies my cookie function. IPGates cookie is completely forum independent and is based off of the website cookie. If you run multiple forums on 1 domain the same cookie will ban across all forums unless you rename the cookie in inc_ipgate.asp.
Moderators getting banned is because ipgate is only checking for admin level and not moderator level. I'll recode to check for mlev < 3 instead of mlev < 4. Should fix the moderators. < |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
|
|
Tyler M.
New Member
USA
82 Posts |
Posted - 31 August 2004 : 21:46:10
|
Sweet. Thanks for the EXCELLENT help. I do run two different forums on the same domain... so that would be one of the problems. < |
|
|
Topic |
|