UnixWare (not sure when, 7? 7.1?) introduces a new sockaddr_in structure
that splits the 16 bit family entity into an 8-bit length and an 8-bit
familiy memember: (from in.h):
struct sockaddr_in {
#ifdef __NEW_SOCKADDR__
sa_len_t sin_len; /* 8-bit structure length */
#endif
sa_family_t sin_family; /* 8/16-bit address family (AF_INET) */
in_port_t sin_port; /* 16-bit port number */
struct in_addr sin_addr; /* 32-bit internet address */
unsigned char sin_zero[8]; /* optional with TLI */
};
This causes problems with the getaddrinfo() call in canohost.c, since the
family it uses is incorrect.
I'm not sure what the best way to support this in fake-socket.h is, but I
thought I'd point it out.
- Orion
-----------------------------------------------------------------------
Orion Poplawski, OPoplawski at cqg.com, Tel: (303) 440-4462x17, Fax: -4507
CQG, Inc., 250 Arapahoe Avenue, Boulder, CO 80302
OpenSSH 2.3.0p1 has been released.. With a snapshot of 2.3.0p2 at: http://www.mindrot.org/misc/openssh/. Please retest using either of theses two newer releases. - Ben On Tue, 21 Nov 2000, Orion Poplawski wrote:> UnixWare (not sure when, 7? 7.1?) introduces a new sockaddr_in structure > that splits the 16 bit family entity into an 8-bit length and an 8-bit > familiy memember: (from in.h): > > struct sockaddr_in { > #ifdef __NEW_SOCKADDR__ > sa_len_t sin_len; /* 8-bit structure length */ > #endif > sa_family_t sin_family; /* 8/16-bit address family (AF_INET) */ > in_port_t sin_port; /* 16-bit port number */ > struct in_addr sin_addr; /* 32-bit internet address */ > unsigned char sin_zero[8]; /* optional with TLI */ > }; > > This causes problems with the getaddrinfo() call in canohost.c, since the > family it uses is incorrect. > > I'm not sure what the best way to support this in fake-socket.h is, but I > thought I'd point it out. > > - Orion > > ----------------------------------------------------------------------- > Orion Poplawski, OPoplawski at cqg.com, Tel: (303) 440-4462x17, Fax: -4507 > CQG, Inc., 250 Arapahoe Avenue, Boulder, CO 80302 > > >
Apparently Analagous Threads
- How to modify client authentication in passenger based puppet master behind ssl proxy
- Chicago Based Trading Group Seeking Development Clerk
- Samba 1.9.18 on Unixware 2.1.2, Makefile problem (& solution, sorta)
- OpenSSH 3.6.1p2 +UnixWare 7.1.1 +SSH2 + PasswordAuthentication no + PermitEmptyPasswords yes (followup)
- OpenSSH 3.6.1p2 +UnixWare 7.1.1 +SSH2 + PasswordAuthenticatio n no + PermitEmptyPasswords yes