News:

Join the Facebook Fan Page.

Main Menu

httpBL

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

Previous topic - Next topic

MartiMedia

Ah ok, if so, is there a fix?

SD-X

Quote from: MartiMedia on January 22, 2019, 05:45:42 PM
Ah ok, if so, is there a fix?
That would be up to the mod author to fix.

shadav

I tried testing my forum on my phone but I get an error and can't log in

Too few arguments to function httpBL_look_for_empty_ip(), 0 passed in /sources/httpBL_Subs.php on line 680 and exactly 1 expected
on line 680
$ip = httpBL_look_for_empty_ip();

lines 666 to 691
// Initialize some values and add some more stuff you could log for further analysis
$values = array();
$httpBL_url = httpBL_get_env('REQUEST_URI');
$values['url'] = $httpBL_url != '' ? $httpBL_url : '/';
$httpBL_user_agent = httpBL_get_env('HTTP_USER_AGENT');
$values['user_agent'] = $httpBL_user_agent != '' ? $httpBL_user_agent : $txt['httpBL_unknown'];
$values['username'] = $user_info['is_guest'] ? $txt['guest'] : $user_info['username'];
$values['stopped'] = 1;
$values['raw'] = $txt['httpBL_unknown'];
// If we ever get this error number something has gone really wrong
$values['errorNumber'] = 300;

// If $ip is empty let's try to find it with more methods
if ($ip == '')
$ip = httpBL_look_for_empty_ip();

$values['ip'] = $ip;
if ($values['ip'] == '')
{
// Still empty? Stop the visitor. Sorry, no blanks IPs allowed
// TO DO: Find more methods or more possibilities why sometimes $ip is blank
$values['errorNumber'] = 150;
$values['ID'] = httpBL_logme($values, true);
//httpBL_session_put_data($httpBL_session, $values, $cache_seconds);
return $values;
}

Kindred

I don't think this mod has been updated for php 7.2

but, then again, SMF itself does not currently support php 7.2
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

SD-X

Quote from: Kindred on September 09, 2019, 03:31:36 PM
I don't think this mod has been updated for php 7.2

but, then again, SMF itself does not currently support php 7.2
^This.

Unfortunately it also doesn't work on SMF 2.1.x, which makes me sad. :(

shadav

hm...hadn't paid attention, just switched to a new host and yeah my php is 7.2
if I use something lower will this work?
odd lol everything else so far seems to be working  ???

riou

Quote from: shadav on September 09, 2019, 03:00:18 PM
I tried testing my forum on my phone but I get an error and can't log in

Too few arguments to function httpBL_look_for_empty_ip(), 0 passed in /sources/httpBL_Subs.php on line 680 and exactly 1 expected
on line 680
$ip = httpBL_look_for_empty_ip();


Believe the fix to this was changing that line to

$ip = httpBL_look_for_empty_ip($ip);


The mod was never updated to fix this and I think maybe the other issue that has existed for a bit in the 2.0 line

shadav

Quote from: riou on September 09, 2019, 08:43:37 PM
Quote from: shadav on September 09, 2019, 03:00:18 PM
I tried testing my forum on my phone but I get an error and can't log in

Too few arguments to function httpBL_look_for_empty_ip(), 0 passed in /sources/httpBL_Subs.php on line 680 and exactly 1 expected
on line 680
$ip = httpBL_look_for_empty_ip();


Believe the fix to this was changing that line to

$ip = httpBL_look_for_empty_ip($ip);


The mod was never updated to fix this and I think maybe the other issue that has existed for a bit in the 2.0 line

thank you that seems to have fixed the issue

snoopy_virtual

Quote from: SugarD-x on January 21, 2019, 01:33:05 PM
Quote from: MartiMedia on January 21, 2019, 01:24:19 PM
Thanx @SugarD-x , I'm talking about the httbl error log.. In the httpbl mod page (in the admin console) it shows:
'Mod httpBL is ON, it is up-to-date and the connection with HoneyPot is perfect.'

I thought it may have to do with guests trying to register with a hidden ip (from a VPN for example)..
Anyway I'd like to get rid of those errors, so they don't flood my log, which help to analyse other less frequent messages (hard to spot now).
Unless the 'Cannot check. IP not normal. Allowed to pass' is an error I have to take action upon of course ;-)
Oh! I wonder if this could be a possible IPv6 issue then.

@MartiMedia
@SugarD-x

Sorry, I had missed this conversation.

Yes, that kind of errors are related to IPv6

But the problem is not to update httpBL or StopSpammer mods.

The problem is that both databases from Project Honey Pot and Stop Forum Spam only have the IPv4 data.

The only solution will be to update first both projects or to create new ones with both IPv4 and IPv6 in mind from the start.

And then change our mods or create new ones.

Quote from: Kindred on September 09, 2019, 03:31:36 PM
I don't think this mod has been updated for php 7.2

but, then again, SMF itself does not currently support php 7.2


I should make a version for 2.1 one day.

The problem is I'm still using 2.0.17 in all my forums.

As soon as I update one of them to 2.1 it would be urgent for me to have these mods updated, but I don't know when that could be.

Quote from: shadav on September 09, 2019, 09:29:10 PM
Quote from: riou on September 09, 2019, 08:43:37 PM
Quote from: shadav on September 09, 2019, 03:00:18 PM
I tried testing my forum on my phone but I get an error and can't log in

Too few arguments to function httpBL_look_for_empty_ip(), 0 passed in /sources/httpBL_Subs.php on line 680 and exactly 1 expected
on line 680
$ip = httpBL_look_for_empty_ip();


Believe the fix to this was changing that line to

$ip = httpBL_look_for_empty_ip($ip);


The mod was never updated to fix this and I think maybe the other issue that has existed for a bit in the 2.0 line

thank you that seems to have fixed the issue

That's another thing I should have sorted ages ago and keep forgetting.

The problem is, with IPv6 spreading all over the world, all the programs based only in IPv4 are going to be obsolete soon, so I don't seem to really look after them as I should.

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.

SD-X

Glad to see you're back!

I agree on IPv6 being the future, however I wouldn't quite hold my breathe yet on it. While support for it has been widespread in the last several years, very few places put it as the priority in their web applications and software. Likewise, ISP's are relying heavily on IPv4 addresses being constantly reused, (dynamic IP's are very common now on residential internet services), so they will probably fight to the death on keeping IPv4 as the main standard until it simply cannot handle the amount of devices anymore. (Think of it like the Y2K panic where everyone waited until the last minute to update their systems to support the new millennium rollover. I see something similar happening with the IPv6 takeover).

That being said, I personally welcome the idea of IPv6 support being added, but I completely understand your reasoning behind why this has been held back. (Project Honeypot and Stop Forum Spam need to get on this!)


As for SMF 2.1, I'd absolutely LOVE it if httpBL and StopSpammer supported it. Right now I'm running my 2.1 forum without any anti-spam mods simply because none exist. Your mods are hands down the best I've seen, and definitely the most effective. On my old 2.0.x forums elsewhere, I used to couple them with a group of other miscellaneous anti-spam mods that queried smaller databases just so I could catch the few rare ones that slipped through, (and boy were they rare). If 2.1 versions existed, I would install them right now. These mods are absolutely incredible. Please, please, please add 2.1 support!


On a side note, your mods are so effective that even my PHPBB 3.1 forums use similar mods to query the same databases, that's how much I believe in them. Your SMF versions still blow the PHPBB equivalents out of the water too, and I've been using both forum softwares for a very long time.

Shades.

I have this installed and working fine on several 2.0.17 sites but on one site I try to install it and get the following:
Table 'mysite_xxxx.bh_log_httpBL' doesn't exist
File: /home2/mysite/public_html/xxxx/Packages/temp/install_2.php
Line: 68


Do i need to create that table and if so how or what is the query?
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

shadav

ok so I've run into a problem...and I think it's this mod...

I can not access any of my forums, for me it says there's a database error, but for everyone else my site is just fine...

I think the mod up and decided out of nowhere to run amuck and lock me out of all of my forums.....

is there anyway within the database to disable the mod so that I can check to make sure that this is in fact what is happening?

SD-X

Quote from: snoopy_virtual on March 01, 2020, 10:18:46 AM
The problem is that both databases from Project Honey Pot and Stop Forum Spam only have the IPv4 data.
I've reached out to Project Honey Pot. According to their development team, they are already working on adding IPv6 support as we speak. They said it should be finished soon:
Quote
<- Name Censored ->,

Thank you for reaching out. We are finishing up our IPv6 work currently and
should have it pushed early in the new year.

Best Regards,

Eric


Stop Forum Spam started supporting IPv6 quietly as of circa 2019 or so:
https://www.stopforumspam.com/forum/viewtopic.php?id=6392

shadav

Quote from: shadav on December 31, 2020, 03:24:27 AM
ok so I've run into a problem...and I think it's this mod...

I can not access any of my forums, for me it says there's a database error, but for everyone else my site is just fine...

I think the mod up and decided out of nowhere to run amuck and lock me out of all of my forums.....

is there anyway within the database to disable the mod so that I can check to make sure that this is in fact what is happening?

so I just went through and manually uninstalled this mod and sure enough this was the culprit....not sure why sometime between the day before and yesterday it decided to block me out of my own forums but um ok then...guess I can't use this mod anymore  :-\ :o

SD-X

Quote from: shadav on December 31, 2020, 11:43:07 AM
Quote from: shadav on December 31, 2020, 03:24:27 AM
ok so I've run into a problem...and I think it's this mod...

I can not access any of my forums, for me it says there's a database error, but for everyone else my site is just fine...

I think the mod up and decided out of nowhere to run amuck and lock me out of all of my forums.....

is there anyway within the database to disable the mod so that I can check to make sure that this is in fact what is happening?

so I just went through and manually uninstalled this mod and sure enough this was the culprit....not sure why sometime between the day before and yesterday it decided to block me out of my own forums but um ok then...guess I can't use this mod anymore  :-\ :o
Your IP may be flagged by the Project Honey Pot database. I would check it and see, and if so, contact them to have it removed. IP addresses are constantly reused, so it is possible you ended up with one previously owned by a spammer.

shadav

Quote from: SugarD-x on December 31, 2020, 11:52:51 AM
Quote from: shadav on December 31, 2020, 11:43:07 AM
Quote from: shadav on December 31, 2020, 03:24:27 AM
ok so I've run into a problem...and I think it's this mod...

I can not access any of my forums, for me it says there's a database error, but for everyone else my site is just fine...

I think the mod up and decided out of nowhere to run amuck and lock me out of all of my forums.....

is there anyway within the database to disable the mod so that I can check to make sure that this is in fact what is happening?

so I just went through and manually uninstalled this mod and sure enough this was the culprit....not sure why sometime between the day before and yesterday it decided to block me out of my own forums but um ok then...guess I can't use this mod anymore  :-\ :o
Your IP may be flagged by the Project Honey Pot database. I would check it and see, and if so, contact them to have it removed. IP addresses are constantly reused, so it is possible you ended up with one previously owned by a spammer.

thanks...I requested for them to whitelist my ip, though it didn't show up in their list...guess we'll see, they said to check back in an hour....
my ip hasn't changed but that's not to say that someone in the same range as me didn't do something to get me blocked....

Aleksi "Lex" Kilpinen

Nah, I'm fairly sure it's not that. HttpBL lets you know if that's the case 
I'd look at IPv6 compatibility here, the error you shared last included an IPv6 address. So you just might have suddenly got yourself a new and "improved" IP.
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

shadav

Quote from: Aleksi "Lex" Kilpinen on December 31, 2020, 12:02:05 PM
Nah, I'm fairly sure it's not that. HttpBL lets you know if that's the case 
I'd look at IPv6 compatibility here, the error you shared last included an IPv6 address. So you just might have suddenly got yourself a new and "improved" IP.

that's a good point...hehehe guess as of yesterday I now have ipv6  :laugh:

Aleksi "Lex" Kilpinen

Congrats, and I'm so sorry at the same time :P
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

shadav

Quote from: Aleksi "Lex" Kilpinen on December 31, 2020, 12:17:08 PM
Congrats, and I'm so sorry at the same time :P
eh well simple enough to disable ipv6 on my computer  ;D and I'm back up and running again...

hm, but this could be a problem for my users...hm.....well about that....may still need to remove this mod anyways if others who use ipv6 can't access the site, that's gonna be an issue

Advertisement: