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...
IPv6
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: IPv6
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Comments failing from IPv6 clients
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!
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!
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Comments failing from IPv6 clients
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Comments failing from IPv6 clients
Hey Gavin,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.
Yes, changing the database seems to have resolved that issue.
Thanks!