search for: eafnosupport

Displaying 20 results from an estimated 45 matches for "eafnosupport".

2010 Oct 15
1
[LLVMdev] compiling rev. 116572 on you-know-what
Hi! These warnings and errors might be interesting to you when compiling rev. 116572 of llvm and clang on windows: \llvm\utils\killthedoctor\system_error.h(260) : error C2065: 'EAFNOSUPPORT' : undeclared identifier and many similar errors regarding the system error constants. msdn says it's WSAEAFNOSUPPORT instead of EAFNOSUPPORT (prepend WSA... to all system error constants) \llvm\tools\clang\lib\Serialization\ASTReaderStmt.cpp(1083) : warning C4805: '==' : unsafe m...
2015 Jul 16
3
[Patch] Fix hang in safe_sendfile on SmartOS
...40ccaa76d -r 7ef3a533b097 src/lib/sendfile-util.c --- a/src/lib/sendfile-util.c Sat Jan 10 04:32:42 2015 +0200 +++ b/src/lib/sendfile-util.c Thu Jul 16 14:41:24 2015 +0200 @@ -116,7 +116,7 @@ if (errno == EINVAL) { /* most likely trying to read past EOF */ ret = 0; - } else if (errno == EAFNOSUPPORT) { + } else if (errno == EAFNOSUPPORT || errno == EOPNOTSUPP) { /* not supported, return Linux-like EINVAL so caller sees only consistent errnos. */ errno = EINVAL;
2023 Jan 20
17
[Bug 3526] New: Config option AddressFamily has no effect?
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 Bug ID: 3526 Summary: Config option AddressFamily has no effect? Product: Portable OpenSSH Version: 9.0p1 Hardware: amd64 OS: Mac OS X Status: NEW Severity: trivial Priority: P5 Component: ssh Assignee: unassigned-bugs at
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
Hi Guys, Facing a weird error . Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2) It seems to be happening with mail sending mail . I am using AUTHSMTP to send mails . Unable to send mail and the app breaks . Any help will be appreciated . Same code worked with ruby 1.8 and rails 2.3.x . *Configuration* Rails 3.2 Ruby 1.9 En...
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
Hi Guys, Facing a weird error . Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2) It seems to be happening with mail sending mail . I am using AUTHSMTP to send mails . Unable to send mail and the app breaks . Any help will be appreciated . Same code worked with ruby 1.8 and rails 2.3.x . *Configuration* Rails 3.2 Ruby 1.9 En...
2009 Jan 07
0
samba-3.2.0.1-smbd hangs up when kernel has ipv6 disabled
Hi all, Working on samba-3.2.0.1 on an ARM board(fedora-8:ARM). With IPV6_ENABLE not set in the kernel config i find smbd hanging up continuously. strace showed the reason as --> EAFNOSUPPORT(Address family not supported by protocol) with socket and bind system calls to specified interfaces failing. So compiling the kernel with IPV6 enabled and then burning kernel image on the board, smbd doen't hang up and everything works - however removing it makes smbd hang as said above. as a...
2000 Oct 10
2
[PATCH] X11 forwarding failure on later Linux dev kernels fix
...0,7 +1740,7 @@ continue; sock = socket(ai->ai_family, SOCK_STREAM, 0); if (sock < 0) { - if (errno != EINVAL) { + if (errno != EINVAL && errno != EAFNOSUPPORT) { error("socket: %.100s", strerror(errno)); return NULL; } else {
2000 Oct 27
0
Segfault in 2.2.0p1 due to connect() changes in Linux 2.4
...on != NULL) { /* Add authority data to .Xauthority if appropriate. */ if (auth_proto != NULL && auth_data != NULL) { char *screen = strchr(display, ':'); The problem seems to be that the socket() function not returning EINVAL (as the man page suggests), but is instead returning EAFNOSUPPORT. This change was made recently... http://www.uwsg.iu.edu/hypermail/linux/kernel/0008.3/0342.html ...in order to conform to Single Unix v2: http://www.opennc.org/onlinepubs/007908799/xns/connect.html Anyway, the caller is unable to handle a NULL return from x11_create_display_inet(), and the ev...
2007 Dec 05
1
RC2 troubles
Hi I can''t get backgroundrb working. I get the following error in backgroundrb_server.log: backgroundrb/framework/core.rb:117:in `bind'': Address family not supported by protocol family - bind(2) (Errno::EAFNOSUPPORT) Seems to be a problem with my Mac (Leopard) and my ruby install (1.8.6 that came with the OS) according to some emails I found with google. Did anyone allready found a way to solve this? -c
2007 Mar 12
1
infinite loop in clients/upsclient.c connect
...arently isn't one of the errors documented in connect(2) here. http://boxster.ghz.cc/projects/nut/changeset/731 http://boxster.ghz.cc/projects/nut/browser/trunk/clients/upsclient.c?rev=731#L540 I'm not sure about the logic inside the switch statement in general, actually. If the error is EAFNOSUPPORT, I would think we would need more than just to break out of the switch statement. Also, EINTR is most likely going to be generated by a signal, and the only unmasked signal that we can reasonably expect is SIGINT (which *should* terminate upsc). -- - Charles Lepple
2015 Jul 29
2
Bug#793921: tftpd-hpa: IPv6 address cannonization breaks IPv4
...[pid 3757] bind(0, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("10.0.0.2")}, 16) = 0 > > [pid 3757] connect(0, {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}, 28) = -1 EAFNOSUPPORT (Address family not supported by protocol) > > [pid 3757] sendto(3, "<27>Jul 28 15:32:20 tftpd[3757]: connect: Address family not supported by protocol", 82, MSG_NOSIGNAL, NULL, 0) = 82 > > > > This makes the daemon utterly unusable. > > > > Suggest...
2012 Apr 30
1
SELinux is preventing /usr/libexec/postfix/pickup from module_request
...12:34911): avc: denied { module_request } for pid=24226 comm="pickup" kmod="net-pf-10" scontext=system_u:system_r:postfix_pickup_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system type=SYSCALL msg=audit(1335697832.612:34911): arch=x86_64 syscall=socket success=no exit=EAFNOSUPPORT a0=a a1=1 a2=0 a3=7fff3ca82190 items=0 ppid=1925 pid=24226 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=pickup exe=/usr/libexec/postfix/pickup subj=system_u:system_r:postfix_pickup_t:s0 key=(null) Hash: pickup,postfix_pickup_t,kernel_t,syst...
2004 May 20
3
why does dovecot child die on these messages?
Hi Timo and other dovecot fans, why, when I'm trying to read certain "Drafts" emails that I just created, or edited, do the dovecot children die (or so I think). In mutt, the behaviour is that I "c =Drafts" then select the email and I get "connection closed to squeaky.rubberduck.com". In Mail.app - she just loops, trying to read those headers again and again
2003 Jan 03
4
[Bug 408] sshd[25790]: error: socket: Protocol not supported
http://bugzilla.mindrot.org/show_bug.cgi?id=408 ------- Additional Comments From djm at mindrot.org 2003-01-03 15:26 ------- Created an attachment (id=191) --> (http://bugzilla.mindrot.org/attachment.cgi?id=191&action=view) Suppress protocol errors ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2001 Dec 15
0
Issues with IPv6 support and with global_opts structure
...bserved that when rsync tries to create an IPv6 socket, the socket() system call is returning an errno code of EINVAL. The open_socket_in() function in rsync loops through the different socket options that getaddrinfo() returned, but only if socket() returns one of the error codes EPROTONOSUPPORT, EAFNOSUPPORT, or EPFNOSUPPORT. On that system it bombed and never went on try IPv4. I went ahead and submitted a patch to CVS to also permit EINVAL. Question for IPv6 experts: why check the errno code at all? Why not just loop through any time socket() returns -1? The second problem is that even if rsync is...
2015 Aug 07
0
Bug#793921: tftpd-hpa: IPv6 address cannonization breaks IPv4
...d 3757] bind(0, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("10.0.0.2")}, 16) = 0 >>> [pid 3757] connect(0, {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}, 28) = -1 EAFNOSUPPORT (Address family not supported by protocol) >>> [pid 3757] sendto(3, "<27>Jul 28 15:32:20 tftpd[3757]: connect: Address family not supported by protocol", 82, MSG_NOSIGNAL, NULL, 0) = 82 >>> >>> This makes the daemon utterly unusable. >>> >>...
2016 Apr 08
0
[RFC v5 0/5] Add virtio transport for AF_VSOCK
...1e5f5ed..cdb3dd3 100644 --- a/net/vmw_vsock/af_vsock.c +++ b/net/vmw_vsock/af_vsock.c @@ -1840,6 +1840,9 @@ static const struct proto_ops vsock_stream_ops = { ?static int vsock_create(struct net *net, struct socket *sock, ? int protocol, int kern) ?{ + if (!net_eq(net, &init_net)) + return -EAFNOSUPPORT; + ? if (!sock) ? return -EINVAL; ? --? 2.8.0.rc3
2015 Sep 07
1
[Patch] Fix hang in safe_sendfile on SmartOS
...endfilev syscall: dtrace -n 'syscall::sendfilev:return {printf("%d %x\n", arg0, errno)}' This showed that the call returned with EOPNOTSUPP (0x7a): 0 6155 sendfilev:return -1 7a The man page lists this as a valid error code and handling it the same way as EAFNOSUPPORT fixed the issue for us. There are a few more error codes in the man page that currently are not handled by dovecot. This might be something to look into in the future. I hope this answer provides the details you?re looking for. Best regards, Sebastian [1] https://github.com/philpennock/sieve-co...
2018 Feb 23
6
RFC 8305 Happy Eyeballs in OpenSSH
...sed. */ + if (*nfds && + (ai == NULL || + !ssh_connect_timeout(initiate, CONNECTION_ATTEMPT_DELAY))) + /* Do not initiate new connections yet */ return 0; - } else if (errno != EINPROGRESS) + if (ai->ai_family != AF_INET && ai->ai_family != AF_INET6) { + errno = EAFNOSUPPORT; return -1; - - if (waitrfd(sockfd, timeoutp) == -1) + } + if (getnameinfo(ai->ai_addr, ai->ai_addrlen, + ntop, sizeof(ntop), + strport, sizeof(strport), + NI_NUMERICHOST|NI_NUMERICSERV) != 0) { + oerrno = errno; + error("%s: getnameinfo failed", __func__); + errno = oer...
2004 Feb 04
0
dovecot crash on sendfilev64 on solaris 8 (32bit)
...= 0 5113: time() = 1075892017 5113: write(1, 0x00093488, 40) = 40 5113: * 1 2 5 1 3 F E T C H ( U I D 1 2 5 1 3 B O D Y [ ] 5113: { 1 9 5 7 }\r\n 5113: sendfilev64(1, 1, 0xDFFFF3C0, 1, 0xDFFFF3BC) Err#124 EAFNOSUPPORT 5113: time() = 1075892017 5113: time() = 1075892017 5113: fcntl(4, F_SETLKW64, 0xDFFFF5F8) = 0 5113: close(14) = 0 5113: time()...