Page 1 of 1

IPv6

Posted: Thu Apr 12, 2007 8:13 am
by ridcully
Die IP-Felder in den Tabellen serendipity_comments und serendipity_visitors sind zu klein. Daher gibt es mit Servern die ausschließlich IPv6 verwenden Probleme, da die IP nicht vollständig gespeichert wird. In den Kommentar-Mails werden die IPv6 richtig gespeichert.

Keine Ahnung, ob noch irgendwo eine IP gespeichert wird. Aber wahrscheinlich dürfte auch an anderen Stellen das IP-Feld zu klein sein...

Re: IPv6

Posted: Thu Apr 12, 2007 11:35 am
by garvinhicking
Hi!

Das stimmt, da wird es vermutlich einige Felder geben bei denen das so ist. Hat jemand Lust einen Patch dafür zu entwickeln und überall zu suchen?

(Code grep nach "REMOTE_ADDR", schauen wofür es verwendet wird und analysieren in welchem DB-Feld es landet)

Grüße,
Garvin

Comments failing from IPv6 clients

Posted: Mon Apr 30, 2007 10:59 am
by puck
Hey,

I can't read/speak German but the gist of this message seems familiar.

I can't post comments to my blog anymore because I'm now using an IPv6 address. Looking in the serendipity_comments table in my database I see that the IP column is a character varying(15) which implies to me that there are underlying issues here. Would it be sufficient to change that column type to just a varchar or does the code perform logic on the IP address?

I'm running s9y v1.1. The host is http://blog.etc.gen.nz which is iPv6 enabled if you need somewhere to try it out.

Cheers!

Re: Comments failing from IPv6 clients

Posted: Wed May 02, 2007 10:44 am
by garvinhicking
Hi!

Changing the column to varchar(64) or so in your case should suffice, yes.

I'll patch the upcoming s9y 1.2 version so that this will be the default.

Best regards,
Garvin

Re: Comments failing from IPv6 clients

Posted: Wed May 02, 2007 11:57 pm
by puck
garvinhicking wrote:Changing the column to varchar(64) or so in your case should suffice, yes.

I'll patch the upcoming s9y 1.2 version so that this will be the default.
Hey Gavin,

Yes, changing the database seems to have resolved that issue.

Thanks!