URL:
  <http://gna.org/bugs/?19485>

                 Summary: Database has too small field for account creation
address if it's IPv6 address 
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Tue 21 Feb 2012 11:01:38 PM EET
                Category: general
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: Ready For Test
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.3.2, 2.4.0, 2.5.0

    _______________________________________________________

Details:

Length of new account creation address is 15 bytes. That's just what IPv4
address would take at max, but it's not enough for max length IPv6 address.
I think it's always the numerical IP that ends here, but for consistency with
all other address handling (including the server side string from which
database entry is written from) length of this string should be 255.
Attached fix changes setup_auth_server.sh to create it with length 256 and
updates database documentation. I don't think having any tool to update
existing databases is priority issue - this account creation IP is just
stored, never used by freeciv.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 21 Feb 2012 11:01:38 PM EET  Name: CreateAddressIPv6Space.diff 
Size: 2kB   By: cazfi

<http://gna.org/bugs/download.php?file_id=15181>
-------------------------------------------------------
Date: Tue 21 Feb 2012 11:01:38 PM EET  Name: CreateAddressIPv6Space-S2_3.diff 
Size: 775B   By: cazfi

<http://gna.org/bugs/download.php?file_id=15182>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?19485>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to