IPv6 and CI Session

Michael Mueller - Selfnet e.V. michael.mueller at selfnet.de
Sat Sep 19 23:21:37 CEST 2015

Hello together,

we just experienced a problem with the filebin. People using an IPv6
connection couldn't log in to the Webinterface (They'll get an error).

Apparently the varchar field for the IP-Address is to short to fit IPv6

The fix is simple: The column "ip_address" in the table "ci_sessions"
should be increased from varchar(16) to varchar(39) as 39 is the maximum
character length of an v6 adress.

For postgresql it would be

"ALTER TABLE ci_sessions alter column ip_address type varchar(39);"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.server-speed.net/archives/filebin-general/attachments/20150919/ad24ab68/attachment.asc>

More information about the Filebin-general mailing list