News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

httpBL

Started by Diego Andrés, February 17, 2010, 03:55:54 PM

Previous topic - Next topic

nutn2lewz

Quote from: snoopy_virtual on February 03, 2012, 05:33:23 PM...
To test if it's the cache, go to Admin => Configuration => Server Settings => Caching  and set the Caching Level to "No caching"....

I've never had caching enabled in my forums so I doubt that is the problem. I will work with the Honey Pot rep by sending him some netstats and digs but I can't do it tonight because ... my logging is working correctly tonight. On night one it stopped working, night two it worked, night three it stopped working, and night four it works. Go figure!

At first I thought the logging might stop working due to my nightly server scans (rkhunter, etc.) but those scans do not start running until 01:00 and my httpBL logs seems to stop working at about 00:20 +/- 15 minutes. And the logs seem to stop every other night but I run my scans every night.

I think the mod might still be working from midnight until noon because my hourly page views do not increase during this time. If spammers were getting through, my page views would increase during that time period. Right now I am guessing that the mod still works during this time, just the logging stops working.

Thank you for this mod. But at the same time, I'm a little upset because the page views in my forum have dropped by about 17,000 page views per day since I installed your mod. The good news is that the spammers are being kept away ... the bad news is that my forums now look less attractive to advertisers because of the lowered page views! I also did multiple searches on the 'Website' field of the 'Search for members' page looking for spam words such as Viagra, cialis, lexapro, pharmacy, sale, bonus offer, casino, etc. and I deleted over 1,000 member accounts out of the 10,000 members in my forum. 10% of my registered members were spammers. So both my page views are down and my membership is down!

Barry

snoopy_virtual

Quotethe bad news is that my forums now look less attractive to advertisers because of the lowered page views!

Do you put in your site the real number of page views?

In all my sites I keep the real statistics secret (I am the only one knowing the real numbers) and I advertise really big numbers instead. All of them false of course!  ;D

QuoteI've never had caching enabled in my forums so I doubt that is the problem.

Try then changing the cache to level 1 (the recommended default option) to see if it makes any change in the mod.

Somehow I suspect the problem has something to do with the cache. Maybe I'm wrong though.

QuoteI also did multiple searches on the 'Website' field of the 'Search for members' page looking for spam words such as Viagra, cialis, lexapro, pharmacy, sale, bonus offer, casino, etc. and I deleted over 1,000 member accounts out of the 10,000 members in my forum.

You haven't got my other mod StopSpammer? It's very good to scan members in your forum and find our the spammers already registered.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

rolltidega

OK totally confused here. We have httpBL on our SMF site working perfect.  I just setup a Cron job in my cPanel and for some reasom httpBL is blocking me from running the file.  Here is the error the cron job returns.  Is there something I need to do to my httpBL setup to get this to stop blocking my Cron job??

<br />
<b>Warning</b>:  Missing argument 1 for httpBL_look_for_empty_ip(), called in /path-to-site/Sources/httpBL_Subs.php on line 680 and defined in <b>/path-to-site/Sources/httpBL_Subs.php</b> on line <b>517</b><br />
<br />
<b>Notice</b>:  Undefined variable: ip in <b>/path-to-site/Sources/httpBL_Subs.php</b> on line <b>519</b><br />

SD-X

Sounds like there's a conflict in there.

snoopy_virtual

@rolltidega

Inside your Sources folder look for the file httpBL_Subs.php

Inside it (line 680) look for the code:


$ip = httpBL_look_for_empty_ip();


Replace it with:


$ip = httpBL_look_for_empty_ip($ip);


Save the modified file and upload it to your forum.

Sorry for the bug. It was my mistake and it will be sorted in the next version.

I should have sorted that bug already, we found it ages ago, but never find time to do a new version.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

rolltidega

Thanks Snoopy.  I hope that fixes it!  :D

rolltidega

OK the error is gone, but httpBL is still blocking my Cron job.  The email my Cron job sent me says:

Status: 302 Moved Temporarily
X-Powered-By: PHP/5.2.17
Set-Cookie: PHPSESSID=6b1f5c36f6ec32761b3123a82022793f; path=/; domain=.my-web-site
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Cache-Control: private
Location: http://my-web-site/warning.php
Content-type: text/html

The Spammers log shows the IP as unknown at the same time the Cron job runs.   Any ideas?

snoopy_virtual

To understand why that's happening I should see all the cron job and see exactly what it's doing.

Where did you get that cron job?

Did you wrote it yourself?

Is it in PHP or any other programming language?

Could you send me an email or a PM explaining it a little more if you don't want to put all that info publicly here?

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

rolltidega


snoopy_virtual

File modified sent.

Does it work?

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

rolltidega

I am testing it now...

rolltidega

Same problem.   :(

snoopy_virtual

Did you try the second file I sent you?

Is it working now?

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

rolltidega

Yes the 2nd file did the trick!   Thanks so much!!

snoopy_virtual

You're welcome.

As I said in my email there were only 2 possibilities. If the first one failed then the second one should work.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

bluedragon2k9

im trying to install this via package  and i keep getting this error Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 105568 bytes) in /home/....../public_html/board/Sources/Class-Package.php on line 90

are they any way you can help me get this mod installed on my forum thanks

bluedragon2k9

ok i got this installed but i need to know the best settings for the internal settings right now they are all at 0 thanks guys

snoopy_virtual

If all the settings are set to 0 it means you didn't install it properly.

How you did it? Using the Package Manager or manually using the parser?

Anyway the recommended settings are:

Number of days to consider good an IP: 90
Threat level considered bad: 10
Threat level considered VERY bad: 30
Minutes to keep the data in the cache: 5
Hours until an IP needs to prove again it's human: 24

Try to put that and save the settings and see if you get an error saying the database was not done properly.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

bluedragon2k9

used the parser used your settings it went green says connection good etc i hope i didnt do anything wrong

bluedragon2k9

Mod httpBL is ON, it is up-to-date and the connection with HoneyPot is perfect.

thats what it said after i did what u said

Advertisement: