search for: sin6_addr

Displaying 20 results from an estimated 51 matches for "sin6_addr".

Did you mean: in6_addr
2002 Nov 05
2
2.5.6 release
On Tue, Nov 05, 2002 at 08:37:00AM -0800, Martin Pool wrote: > On 10 Oct 2002, "Green, Paul" <Paul.Green@stratus.com> wrote: > > No new CVS messages have appeared on the rsync-cvs archives since August > > 30th. This seems rather odd-- perhaps a daemon stopped working? If there > > has truly been no activity since that date, I apologize for > >
2003 Jan 20
0
[patch] Recent IPv6 changes in rsync/access.c
...e char mask[16] at the top. > Continuing on, we get to a switch statement for the address family; > we imagine we take the PF_INET6 case. Two things of note here, 1st > is addrlen = 16; 2nd is what appears to be a pasto, two copies of > > a = (char *)&sin6a->sin6_addr; > t = (char *)&sin6t->sin6_addr; > > are found, surrounding an if statement that shouldn't affect the > values. Thats the 2nd, minor, problem I wanted to note. I also > moved the addrlen in my diff for cosmetic purposes. Doesn't > matter which se...
2016 May 31
2
[Bug 1071] New: nftables: set does not work within inet table with option flags interval
...g the following versions, compiled today (5/31). libnftnl-1.0.6-x86_64-1 nftables-e049f92bb7b98dfa218eda2b9b6f14506238abf2-x86_64-1 Without flags interval: socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 5 connect(5, {sa_family=AF_INET6, sin6_port=htons(22), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0 getsockname(5, {sa_family=AF_INET6, sin6_port=htons(45890), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0 connect(5, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 con...
2000 Jan 17
1
pre27 compilation fails on Sol7 box
...r/local/ssh//libexec/ssh/ssh-askpass\" \ -DHAVE_CONFIG_H -c atomicio.c In file included from includes.h:106, from atomicio.c:26: fake-socket.h:30: parse error before u_int8_t' fake-socket.h:30: warning: no semicolon at end of struct or union fake-socket.h:39: field sin6_addr' has incomplete type *** Error code 1 make: Fatal error: Command failed for target atomicio.o' This is indeed bizarre because the bit of code in question is: ------->8-----fake-socket.h--starting-at-line-28------- #ifndef HAVE_STRUCT_IN6_ADDR struct in6_addr { u_int8_t s6_addr[16...
2015 Jul 29
2
Bug#793921: tftpd-hpa: IPv6 address cannonization breaks IPv4
...y cannonizes 'myaddr'. Ultimately this > > results in the daemon attempting to use a socket with two address families and > > fails: > > > > recvmsg(0, {msg_name(28)={sa_family=AF_INET6, sin6_port=htons(34500), inet_pton(AF_INET6, "::ffff:10.0.0.192", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, msg_iov(1)=[{"\0\1pxelinux.0\0netascii\0", 65468}], msg_controllen=40, {cmsg_len=36, cmsg_level=SOL_IPV6, cmsg_type=, ...}, msg_flags=0}, 0) = 22 > > [..] > > [pid 3757] socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 0 > > [..] > >...
2002 Dec 29
0
[Bug 460] New: ut_addr_v6 not used
...== AF_INET) ut->ut_addr = 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 @@...
2012 Nov 21
3
ip6tables REJECT target 3s timeout
...g outgoing packets to port 80. Well, I thought to mitigate the issue and changed outgoing from drop to reject. Now I try manually # strace telnet 2a02:180:ffff:1::551f:b966 80 ... connect(3, {sa_family=AF_INET6, sin6_port=htons(80), inet_pton(AF_INET6, "2a02:180:ffff:1::551f:b966", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28 3 second delay ) = -1 ECONNREFUSED (Connection refused) ... The ECONNREFUSED is quite expected of course, but what is not expected that the connect syscall lasts 3 seconds. This 3 second delay is not happening with a equivalent telnet to a IPv4 address. W...
2000 Mar 07
2
patch for openssh-1.2.2p1
...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, sizeof(from)); + ((struct sockaddr_in *)&from)-&g...
2007 Jan 06
3
Re: [nut-commits] svn commit r708 - in trunk: . clients server
...prefix)) == ((struct sockaddr_in*)net_addr)->sin_addr.s_addr); > + break; > + case AF_INET6: > + if (AF_INET6 == net_addr->ss_family) { > + struct in6_addr ip, net; > + register unsigned char i; > + > + memcpy (&ip, &((struct sockaddr_in6 *)ip_addr)->sin6_addr, sizeof (struct in6_addr)); > + memcpy (&net, &((struct sockaddr_in6 *)net_addr)->sin6_addr, sizeof (struct in6_addr)); > + > + i = prefix/8; > + if (prefix%8) > + ip.s6_addr[i++] &= 0xff<<(8-(prefix%8)); > + for (; i < sizeof ip.s6_addr; i++)...
2006 Jan 11
2
Linux 4.2p1 crash during reverse name lookup
...5967] execve("/opt/openssh/sbin/sshd", ["/opt/openssh/sbin/sshd", "-p", "24", "-R"], [/* 25 vars */]) = 0 [...SNIP...] [pid 5967] getpeername(3, {sa_family=AF_INET6, sin6_port=htons(4040), inet_pton(AF_INET6, "::ffff:82.36.183.26", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0 [...SNIP...] [pid 5967] getpeername(3, {sa_family=AF_INET6, sin6_port=htons(4040), inet_pton(AF_INET6, "::ffff:82.36.183.26", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0 [...SNIP...] [pid 5967] getpeername(3, {sa_family...
2011 Nov 12
5
[Bug 1950] New: sshd tries to bind over and over to ::1 for several seconds
...on a pure Linux system with net.ipv6.conf.all.disable_ipv6 sysctl set to 1. That how it looks under strace: 28636 10:33:49 socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 6 <0.000020> 28636 10:33:49 connect(6, {sa_family=AF_INET6, sin6_port=htons(6493), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 EAD DRNOTAVAIL (Cannot assign requested address) <0.000020> 28636 10:33:49 connect(6, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 <0.000019> 28636 10:33:49 connect(6, {sa_family=AF_INET, sin_port=htons(64...
2008 Aug 11
0
rsync failure with error 12
......, 1024) = 301 read(4, "", 1024) = 0 close(4) = 0 munmap(0xb7f83000, 4096) = 0 socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET6, sin6_port=htons(873), inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0 getsockname(4, {sa_family=AF_INET6, sin6_port=htons(35626), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0...
2015 Aug 07
0
Bug#793921: tftpd-hpa: IPv6 address cannonization breaks IPv4
...s 'myaddr'. Ultimately this >>> results in the daemon attempting to use a socket with two address families and >>> fails: >>> >>> recvmsg(0, {msg_name(28)={sa_family=AF_INET6, sin6_port=htons(34500), inet_pton(AF_INET6, "::ffff:10.0.0.192", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, msg_iov(1)=[{"\0\1pxelinux.0\0netascii\0", 65468}], msg_controllen=40, {cmsg_len=36, cmsg_level=SOL_IPV6, cmsg_type=, ...}, msg_flags=0}, 0) = 22 >>> [..] >>> [pid 3757] socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 0 >>> [..] &...
2004 Apr 01
1
[patch] net/rsync: problems in client name lookup code
...mp;& (dots <= 3); p++) { - if (*p == '.') - dots++; - } - if (dots > 3) { - /* more than 4 parts to IP address, must be ipv6 */ - ssp = (struct sockaddr_storage *) &sin6; - ss_len = sizeof sin6; - memset(ssp, 0, ss_len); - inet_pton(AF_INET6, addr, &sin6.sin6_addr); - sin6.sin6_family = AF_INET6; - } else -#endif - { - ssp = (struct sockaddr_storage *) &sin; - ss_len = sizeof sin; - memset(ssp, 0, ss_len); - inet_pton(AF_INET, addr, &sin.sin_addr); - sin.sin_family = AF_INET; + struct addrinfo hint; + struct addrinfo *answer; + int e...
2002 May 20
0
Openssh 3.2.2p1 KRB5 addition
..._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, sizeof(addr)); +...
2009 Jan 12
1
Rsync crash
...ack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e196f8) = 7117 close(3) = 0 select(6, [4 5], NULL, NULL, NULL) = 1 (in [4]) accept(4, {sa_family=AF_INET6, sin6_port=htons(55783), inet_pton(AF_INET6, "xxxxxxxxxxxxxxx", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 3 rt_sigaction(SIGCHLD, {0x80768c0, [], SA_NOCLDSTOP}, NULL, 8) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e196f8) = 7123 close(3) = 0 select(6, [4 5], NULL, NULL, NULL)...
2016 Oct 13
3
Bug 6870 resurfaced in Samba 4.2.10
...2 fcntl(12, F_GETFD) = 0 <0.000016> 11:41:52 fcntl(12, F_SETFD, FD_CLOEXEC) = 0 <0.000015> 11:41:52 setsockopt(12, SOL_IPV6, IPV6_V6ONLY, [1], 4) = 0 <0.000018> 11:41:52 connect(12, {sa_family=AF_INET6, sin6_port=htons(389), inet_pton(AF_INET6, "2001:8b0:1627:1::2", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable) <0.000032> 11:41:52 close(12) = 0 <0.000028> 11:41:52 close(11) = 0 <0.000024> 11:41:52 close(10) = 0 <0.000020> 11:41:52 fcntl(8, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=288, len=1})...
2013 Nov 08
1
Rsync hanging, even with timeout and contimeout specified
...ly=AF_INET, sin_port=htons(36226), sin_addr=inet_addr("173.255.192.10")}, [16]) = 0 close(3) = 0 socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 3 connect(3, {sa_family=AF_INET6, sin6_port=htons(873), inet_pton(AF_INET6, "2001:388:30bc:cafe::beef", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0 getsockname(3, {sa_family=AF_INET6, sin6_port=htons(42032), inet_pton(AF_INET6, "2600:3c00::f03c:91ff:fe96:cbca", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0 close(3) = 0 socket(PF_INET6, SOCK_ST...
2014 Jul 18
1
Samba DC join fails - IPv4/IPv6 issue
...IGCHLD, si_code=CLD_KILLED, si_pid=1533, si_status=SIGKILL, si_utime=0, si_stime=0} --- socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 5 setsockopt(5, SOL_IPV6, IPV6_V6ONLY, [1], 4) = 0 *connect(5, {sa_family=AF_INET6, sin6_port=htons(389), inet_pton(AF_INET6, "2001:1291:XXX:85Xa::66XX", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable)* ERROR(exception): uncaught exception - Failed to find a writeable DC for domain 'CENTRAL.DOMAIN.COM.BR' File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run ret...
2007 May 19
7
Puppet Trac throwing errors again for documentation pages
Hi, https://reductivelabs.com/trac/puppet/wiki/DocumentationStart https://reductivelabs.com/trac/puppet/wiki/PuppetIntroduction https://reductivelabs.com/trac/puppet/wiki/PuppetMasters https://reductivelabs.com/trac/puppet/wiki/PuppetBestPractice - Max