Page History

Turn Off History

What should be changed?

all the deprecated BSD socket functions such as gethostbyname(), inet_addr, inet_ntoa, inet_aton... sockaddr_in should be changed accordingly. it should consider sockaddr_storage. IP address is no longer fixed 4 bytes nor fixed 16 bytes. It can be both of them.

Current Condor Code Base

sockaddr_in* is used in many areas. unsigned long is used to hold IP address.

In sock.h,
Things to change.
unsigned int Sock::get_ip_int()
unsigned int Sock::peer_ip_int()
need to change source file where it calls get_ip_int(), peer_ip_int(). There are not many incidents.

The method of Attack

Having some network abstraction classes, single IP address class that deals both IPv4 and IPv6.
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.

*** currently, this is just temporary page
why do you call <a.b.c.d:pppp> as sinful string? what does it mean 'sinful'?