Advertisement:

Author Topic: IPv6 support  (Read 35338 times)

Offline vivien

  • Semi-Newbie
  • *
  • Posts: 24
Re: IPv6 support
« Reply #60 on: August 20, 2017, 02:55:28 AM »
Is this mod compatible with SMF 2.0.14 and PHP 7?

https://custom.simplemachines.org/mods/index.php?mod=3051 say compatible with SMF 2.0 and SMF 2.0.2

Online d3vcho();

  • Sempiterno
  • Lead Localizer
  • SMF Hero
  • *
  • Posts: 4,126
  • Gender: Male
    • frandominguez03 on GitHub
Re: IPv6 support
« Reply #61 on: August 20, 2017, 04:40:02 AM »
Yes, it should be compatible with 2.0.14 as well. You'd need to emulate your forum's version to install it; How can I install a mod that doesn't work in my SMF version?

"Greeting Death as an old friend, they departed this life as equals."

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,498
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: IPv6 support
« Reply #62 on: August 20, 2017, 02:21:23 PM »
It should be noted this mod is not compatible with SMF 2.1's IPv6 support and all IPv6s will be lost during the upgrade.
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline MPHV

  • Semi-Newbie
  • *
  • Posts: 12
Re: IPv6 support
« Reply #63 on: February 16, 2018, 04:07:36 PM »
The banning does not seem to work correctly. I saw other people also had this problem
When I add a new IPv4 ban I get the error: "The database value you're trying to insert does not exist: ip_low5"

Did someone manage to fix this?
Also existing IPv4 ban triggers are not shown in the ban trigger list.
They do seem to work, however i can't manage them.

Has anyone solved this?

Offline vivien

  • Semi-Newbie
  • *
  • Posts: 24
Re: IPv6 support
« Reply #64 on: March 31, 2018, 11:24:40 AM »
This is problematic because some hosts no longer offer an option to disable IPv6.

I think that like for PHP 7, it should ensure compatibility for SMF 2.0 without waiting for SMF 2.1.

Offline butchs

  • SMF Hero
  • ******
  • Posts: 1,730
  • Lost 7GB bandwidth!
    • EastCoastRollingThunder
Re: IPv6 support
« Reply #65 on: June 10, 2018, 09:52:12 AM »
I block ipv6 with Forum Firewall and bad Behavior which both support ipv6 internally.
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

Offline Fisch.666

  • Jr. Member
  • **
  • Posts: 207
Re: IPv6 support
« Reply #66 on: July 28, 2018, 07:40:43 AM »
Is this mod compatible with SMF 2.0.14 and PHP 7?

I have it installed now on a SMF 2.0.15 running PHP 7.0.x and it seems its working for me (havn't tested it fully).

The only thing i have seen is that the following two errors are logged within the SMF Error Log during the  installation (posted previously in https://www.simplemachines.org/community/index.php?topic=440357.msg3904446#msg3904446):

Quote
2: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
File: /var/www/forum/Packages/temp/database_install.php
Line: 64


2: Missing argument 3 for smf_db_change_column(), called in /var/www/forum/Packages/temp/database_install.php on line 49 and defined
File: /var/www/forum/Sources/DbPackages-mysql.php
Line: 285

Maybe this DB setup message could explain the missing database value here?:


The banning does not seem to work correctly. I saw other people also had this problem
When I add a new IPv4 ban I get the error: "The database value you're trying to insert does not exist: ip_low5"

Did someone manage to fix this?
Also existing IPv4 ban triggers are not shown in the ban trigger list.
They do seem to work, however i can't manage them.

Has anyone solved this?

Offline rho_simafo

  • Semi-Newbie
  • *
  • Posts: 21
Re: IPv6 support
« Reply #67 on: August 15, 2018, 07:56:18 AM »
When I tried to install this mode under SMF 2.0.15 it was not successfull.

The message I got:
Code: [Select]
Too few arguments to function smf_db_change_column(), 2 passed in /htdocs/smfforum.de/Packages/temp/database_install.php on line 49 and at least 3 expected
« Last Edit: August 15, 2018, 08:09:33 AM by rho_simafo »

Offline Mr. Jinx

  • Full Member
  • ***
  • Posts: 477
  • Gender: Male
    • Ziggo Forum Chelloo
Re: IPv6 support
« Reply #68 on: August 15, 2018, 11:59:11 AM »
This mod hasn't been updated for a looooooooong time, and contains some serious flaws. I would not recommend installing it.
If you need IPv6 support badly then you should be looking for other forum software. SMF is just not build for that.

Offline alexetgus

  • Full Member
  • ***
  • Posts: 657
  • Gender: Male
    • alexetgus on Facebook
    • alexetgus on GitHub
    • @alexetgus on Twitter
    • Chez oim, forum libre !
Re: IPv6 support
« Reply #69 on: September 20, 2018, 10:23:02 AM »
This mod is obsolete. It is no longer compatible with the latest versions of PHP, SQL SGBD and SMF.
It's dammageable...

Code: [Select]
Packages/temp/database_install.php on line 49 and at least 3 expected
« Last Edit: September 20, 2018, 10:50:29 AM by alexetgus »

Offline Warlock666

  • Semi-Newbie
  • *
  • Posts: 52
Re: IPv6 support
« Reply #70 on: October 21, 2019, 03:30:45 PM »
Hi @all,

I got the same error like rho_simafo and reported this at github.

What options are there to run SMF 2.0.15 on an IPv6 enabled Webserver ?

Right now I'm getting this error:

Incorrect string value: '''' for function inet_aton
File: /var/www/forum/Sources/Subs.php
Line: 2667

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,869
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: IPv6 support
« Reply #71 on: October 21, 2019, 03:37:38 PM »
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline wintstar

  • Jr. Member
  • **
  • Posts: 136
Re: IPv6 support
« Reply #72 on: Yesterday at 04:45:41 AM »
Try the mod https://custom.simplemachines.org/mods/index.php?mod=3051 or upgrade to SMF 2.1

@vbgamer45, this does not fix the above reported errors. This mod you linked causes the error message.

This is problematic because some hosts no longer offer an option to disable IPv6.

I think that like for PHP 7, it should ensure compatibility for SMF 2.0 without waiting for SMF 2.1.

Since it still takes some time until SMF 2.1 is released, there should be a patch for SMF 2.0.17.


SMF 2.0 is still feature locked. we are not changing our minds on that.

This really needs to be reconsidered. Because it could become a security issue in 2.0.17. Each IPV6 address is recorded with 0.0.0.0.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,772
  • Gender: Male
    • Kindred-999 on GitHub
Re: IPv6 support
« Reply #73 on: Yesterday at 08:02:19 AM »
that is not the definition of a security issue...
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline wintstar

  • Jr. Member
  • **
  • Posts: 136
Re: IPv6 support
« Reply #74 on: Today at 06:42:21 AM »
Bugs in database_install.php

find (https://www.simplemachines.org/community/index.php?topic=440357.msg3904442#msg3904442)
Code: [Select]
// Fields to addreplace with
Code: [Select]
db_extend('packages');

// Fields to add

find
Code: [Select]
// Do the loopy, loop, loe.
foreach ($changed_fields as $column_name => $column_attributes)
$smcFunc['db_change_column']($db_prefix . 'ban_items', $column_attributes);
replace with
Code: [Select]
// Do the loopy, loop, loe.
foreach ($changed_fields as $column_name => $column_attributes)
if (!in_array($column_name, $table_columns))
$smcFunc['db_change_column']($db_prefix . 'ban_items', $column_attributes);

find
Code: [Select]
while ($row = $smcFunc['db_fetch_assoc']($request))replace with
Code: [Select]
while ($row = $smcFunc['db_fetch_assoc']($result))

There's another bug here  => $smcFunc['db_change_column']. The columns are not changed in the database table.  ::)  Maybe someone has a solution for that.