search for: in6_is_addr_v4mapped

Displaying 13 results from an estimated 13 matches for "in6_is_addr_v4mapped".

2007 Jan 08
2
Re: [nut-commits] svn commit r714 - in trunk: . server
OK, I have removed the autoconf test for s6_addr32 (which is no longer used), and wrote a new test for IN6_IS_ADDR_V4MAPPED. The latter is probably portable, but since we're already in the business of testing, it does not hurt to do so. Arjen, I wonder about server/access.c, line 60-61: return (IN6_IS_ADDR_V4MAPPED(ip6) && ((((const u_int32_t *)ip6)[3] & (u_int32_t)prefix) == net->...
2000 Mar 15
2
TEST RELEASE: 1.2.3pre3
...trib/ subdirectory. Included helpers from Phil Hands' Debian package, README file and chroot patch from Ricardo Cerqueira <rmcc at clix.pt> - Moved gnome-ssh-askpass.c to contrib directory and reomved config option. - Slight cleanup to doc files 20000314 - Include macro for IN6_IS_ADDR_V4MAPPED. Report from peter at frontierflying.com - Include /usr/local/include and /usr/local/lib for systems that don't do it themselves - -R/usr/local/lib for Solaris - Fix RSAref detection - Fix IN6_IS_ADDR_V4MAPPED macro -- | "Bombay is 250ms from New York in the new world order&q...
2002 Dec 29
0
[Bug 460] New: ut_addr_v6 not used
...li->hostaddr.sa_in.sin_addr.s_addr; # endif +# ifdef HAVE_ADDR_V6_IN_UTMP + /* this is just a 128-bit IPv6 address */ + if (li->hostaddr.sa.sa_family == AF_INET6) { + sa6 = ((struct sockaddr_in6 *)&li->hostaddr.sa); + memcpy(ut->ut_addr_v6, sa6->sin6_addr.s6_addr, 16); + if (IN6_IS_ADDR_V4MAPPED(&sa6->sin6_addr)) { + ut->ut_addr_v6[0] = ut->ut_addr_v6[3]; + ut->ut_addr_v6[1] = 0; + ut->ut_addr_v6[2] = 0; + ut->ut_addr_v6[3] = 0; + } + } +# endif } #endif /* USE_UTMP || USE_WTMP || USE_LOGIN */ @@ -689,6 +705,9 @@ void construct_utmpx(struct logininfo *l...
2000 Mar 25
1
ANNOUNCE: openssh-1.2.3
...ian package, README file and chroot patch from Ricardo Cerqueira <rmcc at clix.pt> - Moved gnome-ssh-askpass.c to contrib directory and removed config option. - Slight cleanup to doc files - Configure fix from Bratislav ILICH <bilic at zepter.ru> 20000314 - Include macro for IN6_IS_ADDR_V4MAPPED. Report from peter at frontierflying.com - Include /usr/local/include and /usr/local/lib for systems that don't do it themselves - -R/usr/local/lib for Solaris - Fix RSAref detection - Fix IN6_IS_ADDR_V4MAPPED macro 20000311 - Detect RSAref - OpenBSD CVS change [sshd.c] - d...
2000 Mar 25
1
ANNOUNCE: openssh-1.2.3
...ian package, README file and chroot patch from Ricardo Cerqueira <rmcc at clix.pt> - Moved gnome-ssh-askpass.c to contrib directory and removed config option. - Slight cleanup to doc files - Configure fix from Bratislav ILICH <bilic at zepter.ru> 20000314 - Include macro for IN6_IS_ADDR_V4MAPPED. Report from peter at frontierflying.com - Include /usr/local/include and /usr/local/lib for systems that don't do it themselves - -R/usr/local/lib for Solaris - Fix RSAref detection - Fix IN6_IS_ADDR_V4MAPPED macro 20000311 - Detect RSAref - OpenBSD CVS change [sshd.c] - d...
2000 Mar 07
2
patch for openssh-1.2.2p1
...Jan 14 13:45:48 2000 +++ openssh-1.2.2p1-20000308/canohost.c Wed Mar 8 00:25:18 2000 @@ -42,6 +42,22 @@ debug("getpeername failed: %.100s", strerror(errno)); fatal_cleanup(); } + +#ifdef IPV4_IN_IPV6 + if (((struct sockaddr *)&from)->sa_family == AF_INET6 && + IN6_IS_ADDR_V4MAPPED((&((struct sockaddr_in6 *)&from)->sin6_addr))){ + struct in_addr addr; + u_int16_t port; + memcpy(&addr, ((char *)&((struct sockaddr_in6 *)&from)->sin6_addr)+12, + sizeof(addr)); + port = ((struct sockaddr_in6 *)&from)->sin6_port; + memset(&from, 0,...
2002 Mar 19
2
openssh 3.1p1: ToS trouble
Hi, I noticed that the Type of Service bit for minimize delay is set in client->server packets only. Is this OS-specific or is there another reason for this? Here is a tcpdump of an interactive connection: 217.225.98.212.22 > 134.169.34.19.45870: P 1:49(48) ack 48 win 12008 (DF) 134.169.34.19.45870 > 217.225.98.212.22: P 48:96(48) ack 49 win 25416 (DF) [tos 0x10] 217.225.98.212.22
2002 May 20
0
Openssh 3.2.2p1 KRB5 addition
...4_IN_IPV6 + if (addr_6or4.ss_family == AF_INET6) { + struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *)&addr_6or4; + + /* Detect IPv4 in IPv6 mapped address and convert it to */ + /* plain (AF_INET) IPv4 address */ + if (IN6_IS_ADDR_V4MAPPED(&addr6->sin6_addr)) { + struct sockaddr_in *addr4 = (struct sockaddr_in *)&addr_6or4; + struct in_addr addr; + u_int16_t port; + + memcpy(&addr, ((char *)&addr6->sin6_addr) + 12, s...
2007 Jan 08
1
Re: [nut-commits] svn commit r716 - in trunk: . drivers
...Arnaud Quette <aquette.dev@gmail.com> > + > + - libhid.c: HIDDumpTree() also prints the data ReportID, Offset and Size. > + > Mon Jan 8 00:52:51 UTC 2007 / Peter Selinger <selinger@users.sourceforge.net> > > - autoconf: removed test for s6_addr32, added test for IN6_IS_ADDR_V4MAPPED. > > Modified: trunk/drivers/libhid.c > ============================================================================== > --- trunk/drivers/libhid.c (original) > +++ trunk/drivers/libhid.c Mon Jan 8 10:52:18 2007 > @@ -561,8 +561,9 @@ > > /* Get data value */ >...
2007 Mar 06
2
Compiling SVN build.. error for libupsclient
...ity... yes checking whether to enable SSL development code... yes checking for getaddrinfo... yes checking for freeaddrinfo... yes checking for struct addrinfo... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_in6... yes checking for struct in6_addr... yes checking for IN6_IS_ADDR_V4MAPPED... yes checking whether to enable IPv6 support... yes checking whether to build CGI programs... no checking whether to build upsclient library... no checking whether to build serial drivers... yes checking whether to build SNMP drivers... yes checking whether to build USB drivers... yes checking wh...
2006 Aug 30
30
Testing for the 4.4p1 release
Hi, The 4.4p1 release is approaching now, so we are now asking people to actively test snapshots or CVS and report back to the mailing list. Snapshots are available from http://www.mindrot.org/openssh_snap or from any of the mirrors listed on http://www.openssh.org/portable.html The latter page also includes instructions for checking out portable OpenSSH via anonymous CVS. This release
2007 Feb 16
2
Centralion Blazer 2000VA USB-HID
Hi again, I've succeeded in compiling the svn trunk with the automake tools and wish to say thank you to Charles Lepple for his help. After fixing some parameters in the hotplug script I can now get access to the UPS on /dev/usb/hiddev0 (I added productid and vendorid of my ups to the usermap). I've decided to try the newhidups driver with -x generic parameter and got this response :
2007 Jan 23
2
Re: [nut-commits] svn commit r731
...flag = AI_ADDRCONFIG]] > +dnl )], > +dnl [AC_DEFINE(HAVE_AI_ADDRCONFIG, 1, [Define if `addrinfo' structure allows AI_ADDRCONFIG flag]) > +dnl AC_MSG_RESULT(yes)], > +dnl [AC_MSG_RESULT(no) > +dnl nut_have_ipv6=no] > +dnl) > > AC_MSG_CHECKING([for IN6_IS_ADDR_V4MAPPED]) > AC_LINK_IFELSE( > > Modified: trunk/server/conf.c > ============================================================================== > --- trunk/server/conf.c (original) > +++ trunk/server/conf.c Sat Jan 13 21:22:28 2007 > @@ -25,6 +25,8 @@ > #include "user.h&qu...