Advertisement:

Author Topic: httpBL  (Read 475590 times)

Offline MartiMedia

  • Semi-Newbie
  • *
  • Posts: 28
Re: httpBL
« Reply #1340 on: January 22, 2019, 05:45:42 PM »
Ah ok, if so, is there a fix?

Offline SugarD-x

  • Jr. Member
  • **
  • Posts: 399
  • Gender: Male
  • SMF and PHPBB Fan
    • SugarDx on Facebook
    • SugarD-x on GitHub
    • sugardx on LinkedIn
    • @SugarDx on Twitter
    • Clan Xperience
Re: httpBL
« Reply #1341 on: January 27, 2019, 07:02:39 PM »
Ah ok, if so, is there a fix?
That would be up to the mod author to fix.

Offline shadav

  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,059
  • Gender: Female
    • shadav on Facebook
    • leashadav on GitHub
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: httpBL
« Reply #1342 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
Code: [Select]
$ip = httpBL_look_for_empty_ip();
lines 666 to 691
Code: [Select]
// 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;
}

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 60,079
  • Gender: Male
    • Kindred-999 on GitHub
Re: httpBL
« Reply #1343 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
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."

Offline SugarD-x

  • Jr. Member
  • **
  • Posts: 399
  • Gender: Male
  • SMF and PHPBB Fan
    • SugarDx on Facebook
    • SugarD-x on GitHub
    • sugardx on LinkedIn
    • @SugarDx on Twitter
    • Clan Xperience
Re: httpBL
« Reply #1344 on: September 09, 2019, 05:48:24 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. :(

Offline shadav

  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,059
  • Gender: Female
    • shadav on Facebook
    • leashadav on GitHub
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: httpBL
« Reply #1345 on: September 09, 2019, 06:57:28 PM »
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  ???

Online riou

  • Semi-Newbie
  • *
  • Posts: 40
Re: httpBL
« Reply #1346 on: September 09, 2019, 08:43:37 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
Code: [Select]
$ip = httpBL_look_for_empty_ip();


Believe the fix to this was changing that line to

Code: [Select]
$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

Offline shadav

  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,059
  • Gender: Female
    • shadav on Facebook
    • leashadav on GitHub
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: httpBL
« Reply #1347 on: September 09, 2019, 09:29:10 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
Code: [Select]
$ip = httpBL_look_for_empty_ip();


Believe the fix to this was changing that line to

Code: [Select]
$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

Offline snoopy_virtual

  • Sophist Member
  • *****
  • Posts: 1,158
  • Gender: Male
    • jcredondosnoopy on Facebook
    • Snoopy Virtual Studio
Re: httpBL
« Reply #1348 on: March 01, 2020, 10:18:46 AM »
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.

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.

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
Code: [Select]
$ip = httpBL_look_for_empty_ip();


Believe the fix to this was changing that line to

Code: [Select]
$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.

Offline SugarD-x

  • Jr. Member
  • **
  • Posts: 399
  • Gender: Male
  • SMF and PHPBB Fan
    • SugarDx on Facebook
    • SugarD-x on GitHub
    • sugardx on LinkedIn
    • @SugarDx on Twitter
    • Clan Xperience
Re: httpBL
« Reply #1349 on: March 01, 2020, 11:39:08 AM »
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.

Offline Shades.

  • Jr. Member
  • **
  • Posts: 388
  • Gender: Male
  • BikerHound.com
    • bikerhound on Facebook
    • @bikerhoundcom on Twitter
    • Bikerhound.com
Re: httpBL
« Reply #1350 on: October 09, 2020, 06:30:50 PM »
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:
Code: [Select]
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?

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

Offline shadav

  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,059
  • Gender: Female
    • shadav on Facebook
    • leashadav on GitHub
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: httpBL
« Reply #1351 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?

Offline SugarD-x

  • Jr. Member
  • **
  • Posts: 399
  • Gender: Male
  • SMF and PHPBB Fan
    • SugarDx on Facebook
    • SugarD-x on GitHub
    • sugardx on LinkedIn
    • @SugarDx on Twitter
    • Clan Xperience
Re: httpBL
« Reply #1352 on: December 31, 2020, 05:11:04 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

Offline shadav

  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,059
  • Gender: Female
    • shadav on Facebook
    • leashadav on GitHub
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: httpBL
« Reply #1353 on: December 31, 2020, 11:43:07 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

Offline SugarD-x

  • Jr. Member
  • **
  • Posts: 399
  • Gender: Male
  • SMF and PHPBB Fan
    • SugarDx on Facebook
    • SugarD-x on GitHub
    • sugardx on LinkedIn
    • @SugarDx on Twitter
    • Clan Xperience
Re: httpBL
« Reply #1354 on: December 31, 2020, 11:52:51 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.

Offline shadav

  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,059
  • Gender: Female
    • shadav on Facebook
    • leashadav on GitHub
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: httpBL
« Reply #1355 on: December 31, 2020, 11:57:57 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....

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Project Manager
  • SMF Super Hero
  • *
  • Posts: 19,597
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • My Daily Dose Of Blasphemy
Re: httpBL
« Reply #1356 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.
A Finnish Project Manager (Support Specialist)
Happily running multiple SMF 2.x installations.
 Fooling around with an i7-10700 @ 2,90GHz-4.80GHz / 16Gb / RTX-2070 Super / 3840x2160 / Win 10 x64


How you can help SMF

"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

Offline shadav

  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,059
  • Gender: Female
    • shadav on Facebook
    • leashadav on GitHub
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: httpBL
« Reply #1357 on: December 31, 2020, 12:16:20 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:

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Project Manager
  • SMF Super Hero
  • *
  • Posts: 19,597
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • My Daily Dose Of Blasphemy
Re: httpBL
« Reply #1358 on: December 31, 2020, 12:17:08 PM »
Congrats, and I'm so sorry at the same time :P
A Finnish Project Manager (Support Specialist)
Happily running multiple SMF 2.x installations.
 Fooling around with an i7-10700 @ 2,90GHz-4.80GHz / 16Gb / RTX-2070 Super / 3840x2160 / Win 10 x64


How you can help SMF

"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

Offline shadav

  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,059
  • Gender: Female
    • shadav on Facebook
    • leashadav on GitHub
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: httpBL
« Reply #1359 on: December 31, 2020, 12:29:41 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