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)
 Snitz GateKeeper Antispam
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 9

marckmcgill
Junior Member

Italy
134 Posts

Posted - 28 November 2006 :  05:08:54  Show Profile  Reply with Quote
quote:
Originally posted by Podge

I think you are wrong.
This happens most of the times.

I am surprised at this strange gatekeeper behaviour, as other users told me it was feasible to set it in such a way that the antispam question was not asked at every new topic.

As I wasn't seeing a dedicated switch in the "features configuration" table, I then figured I had to put the block said above in postion #1, as in postion #2 the question was always asked. I could eventually have messed up something in this process, as I'm not an ace with asp and had to dig through all these previous posts to see what I could do. Here we go: (thanks for help)

http://www.highinfidelity.net/public/post.txt
<
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 28 November 2006 :  08:39:33  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
I've been wrong on occassion too.

There are some slight differences between mine and your post.asp but nothing I can see which would cause the behaviour you're seeing.

If you put the GateKeeper code at #1 above then it will only be displayed when the username and password boxes are displayed (i.e. user is not logged in). If you put it at #2 then it will always be displayed. Your post.asp seems correct.

Do you have a link to your forum and a test login so I can test it?<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

marckmcgill
Junior Member

Italy
134 Posts

Posted - 28 November 2006 :  08:49:02  Show Profile  Reply with Quote
quote:
Originally posted by Podge

There are some slight differences between mine and your post.asp but nothing I can see which would cause the behaviour you're seeing.
This is expected - I've installed some light MODs here and there. Nothing which should conflict, methinks.
quote:
If you put the GateKeeper code at #1 above then it will only be displayed when the username and password boxes are displayed (i.e. user is not logged in).
Well, this is how I understood it had to be. But the fact is that when one is logged in - and even though the antispam question is not displayed - the system EXPECT to receive the correct antispmam answer in order to proceed. But since no question and no field appear on the screen, the user can't answer to the question. Or so is what i figured...
quote:
If you put it at #2 then it will always be displayed.
That's what I understood again. But in this way, the antispam question would appear EVERYTIME a member tries to open a new topic (I would like to have it appearing only at registration).
quote:
Do you have a link to your forum and a test login so I can test it?
Yep: http://www.highinfidelity.net/genesisforum/default.asp
USR and PWD are both "*****".
Try to open a new topic.
Will delete the above once you'll say you've done.
Thank you very much for helping... <

Edited by - marckmcgill on 28 November 2006 10:12:01
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 28 November 2006 :  10:09:17  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
The problem is with post_info.asp, not post.asp.

post_info.asp has to check for the AntiSpam answer if you have "Link Spam Gatekeeper" turned on here - http://www.highinfidelity.net/genesisforum/admin_config_features.asp

If you add the following two red highlighted lines around the gatekeeper code in post_info.asp it may work. I'll test it fully when I get home;


'Gatekeeper Mod
if (lcase(strNoCookies) = "1") or (strDBNTUserName = "" or strCkPassWord = "") then
if strLinkSpamGatekeeper = "1" then
select case len(Request.Form("GateKeeperAnswer"))
case "0"
Go_Result "You have not entered an answer for the Antispam question. Please use your back button and try again.", 0
case else
if (lcase(Request.Form("GateKeeperAnswer")) <> lcase(strGatekeeperAnswer1)) and (lcase(Request.Form("GateKeeperAnswer")) <> lcase(strGatekeeperAnswer2)) then
Go_Result "You have entered a wrong answer for the Antispam question. Please use your back button and try again.", 0
end if
end select
end if
end if
'Gatekeeper Mod

This hsould check to see if the user is logged in and if LinkSpamGatekeeper is enabled when posting. Let me know if you have have further problems with it.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

marckmcgill
Junior Member

Italy
134 Posts

Posted - 28 November 2006 :  10:15:38  Show Profile  Reply with Quote
Podge, thank you SO MUCH, I will upload the new lines this evening and see.

I didn't understand exactly what's the purpose of the link gatekeeper, by the way. Does it check if links has been put in the body of the post, perhaps?<
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 28 November 2006 :  10:25:34  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
No it doesn't, although I believe someone has already implemented a mod for that some time ago.

The link spam bots usually make a post request to post_info.asp without going from post.asp. There is no way (that I know of) to tell whether a form field was hidden on post.asp or if it was not hidden (in the case of a bot or un-authenticated user) when making a HTTP POST request to post_info.asp.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

marckmcgill
Junior Member

Italy
134 Posts

Posted - 29 November 2006 :  04:39:46  Show Profile  Reply with Quote
Hello Podge, thanks for your support. Unfortunately adding the two lines didn't change things (I wonder if some cache is still reading the old file on the server, as the code you added makes a lot of sense).

I'm temporarily switching the "link spam" feature off. A webbot can't write spam if it hasn't already opened a valid account, am I right?

Please let me know if you have further thoughts. Cheers - Marco.<
Go to Top of Page

wwwatcher1
Starting Member

3 Posts

Posted - 05 December 2006 :  10:07:31  Show Profile  Reply with Quote
Podge

Does the mod work with 3.4.06 without any problems? I just download *3305-1~1.zip. that should be the newest file.<
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 05 December 2006 :  11:08:36  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
I've only tried it with 3.4.05.

I know there were changes to post.asp in 3.4.06 so I assume that at the very least the line numbers will be different.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

dondon
Starting Member

United Kingdom
24 Posts

Posted - 07 December 2006 :  15:36:28  Show Profile  Visit dondon's Homepage  Reply with Quote
Hello Podge

Having run a basic BBS for some time I decided to move to something with more facilities and loaded SNITZ. Having suffered previously with Spammers I downloaded your Gatekeeper with the intension of installing it, however, I have been a little put off by all the problems/changes identified by you and users. Can you tell me if the files I downloaded contain all the updates?

Thanks<
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 07 December 2006 :  16:46:31  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
I updated the zip to fix the problems with the readme in the beginning. The code suggestions by other members have not been added.

Its not a difficult mod to get working.

The truth is, if you were to implement your own unique spam check it would prevent most bot spam. For instance, you could include a non-standard hidden form field on post.asp and check for it on post_info.asp.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

borge
Junior Member

Norway
185 Posts

Posted - 08 December 2006 :  02:16:30  Show Profile  Reply with Quote
quote:
Originally posted by Podge

The truth is, if you were to implement your own unique spam check it would prevent most bot spam. For instance, you could include a non-standard hidden form field on post.asp and check for it on post_info.asp.

Podge, would it be possible for you to post a code example and description on how to do that? (maybe as a new topic?)<

borge
Go to Top of Page

dondon
Starting Member

United Kingdom
24 Posts

Posted - 08 December 2006 :  12:57:04  Show Profile  Visit dondon's Homepage  Reply with Quote
Hello Podge

I have carried out all the editing for the Gatekeeper mod but I have the problem that the Gatekeeper questions are not appearing when posting a new topic. The posting then fails as I have not answered the 'invisble' question.

I inserted the two lines you recommended above but to no avail.

Any suggestion where the problem may lie?

Thanks a lot.<
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 08 December 2006 :  13:54:53  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
The question should not appear unless you are logged out.

Can you post a link to your post.asp as a text file ? i.e. http://www.yourforum.com/post.asp.txt<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

dondon
Starting Member

United Kingdom
24 Posts

Posted - 09 December 2006 :  07:14:36  Show Profile  Visit dondon's Homepage  Reply with Quote
Podge

You say 'The question should not appear unless you are logged out' but one cannot get further than the member loggin page when entering the Forum so I don't quite understand your statement. (Sorry if I'm seeming to be a bit slow)

Anyway - here is the link for you

http://www.sealasc.org.uk/bbs/post.asp.txt

Thank you.<
Go to Top of Page
Page: of 9 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07