{section: What should be changed?} All the deprecated BSD socket functions. These are complete list. (from {link: http://people.redhat.com/drepper/userapi-ipv6.html Userlevel IPv6 Programming Introduction}) {code} numbers in right denotes lines of code that has the keyword. struct sockaddr_in : 237 gethostbyname : 165 gethostbyname2 : 0 getservbyname : 5 gethostbyaddr : 23 getservbyport : 0 inet_addr : 13 inet_aton : 7 inet_nsap_addr : 0 inet_ntoa : 114 inet_nsap_ntoa : 0 inet_makeaddr : 0 inet_netof : 0 inet_network : 0 inet_neta : 0 inet_net_netop : 0 inet_net_pton : 0 rcmd : 10 rexec : 2 rrsevport : 0 total 576 lines of code *must* be changed. {endcode} IP address is no longer fixed 4 bytes nor fixed 16 bytes. It can be both of them. So, every storage class should be changed. For some of source codes that use 'int' as storage for IP address, this is most troublesome because it could be hidden to simple text search. Reading and parsing IP address from config file should be changed as well. If an existing code base entirely relied on BSD socket interface such as inet_aton or inet_addr, it would be easier. However, if the code has proprietary parsing/converting functions, every incident should be found and changed. IPv6 address string is far longer than IPv4 address. IPv6 address [0001:0002:0003:0004:0005:0006:0007:0008], length is 41. IPv4 address 101.202.103.203, length is 15. About 3 times longer. Printing IP address to log file should be considered since existing layout may not work well. {section: Current Condor Code Base} sockaddr_in is used in many areas and also unsigned long is used to hold IP address. There are many places to change. For example, in sock.h,{linebreak} {code} unsigned int Sock::get_ip_int() unsigned int Sock::peer_ip_int() {endcode} It uses 'unsigned int' to pass IP address. {section: The method of Attack} Having some network abstraction classes, single IP address class that deals both IPv4 and IPv6. So, nobody uses sockaddr, sockaddr_in, or plain int to represent IP address. {linebreak} {linebreak} class Sock already has abstraction of BSD socket interface. But, IP address escapes from this classes by returning it as an 4 byte int and sockaddr_in. {section: Todo} Manageable daily work-list. 1:investigate every source code where calls obsolete BSD socket interface. 1:remove every obsolete interface. 1:find places where use 'int' as IP address storage. mark and count them. 1:investigate ipv6 address handling in C++ Boost library 1:make unified address class 1:change every incidents where use sockaddr,sockaddr_in, and int. {section: Note} *:internet.h seems to have a lot of IP-v6 incompatible functions. *:why do you call as sinful string? what does it mean 'sinful'? *:do we really need unified ip address class? IPv6 address space contains IPv4 and there is 1-to-1 mapping. {subsection: *** currently, this is just temporary page}