pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47680: named can't reply IPv6 query : internal_send: ::1#57698: Protocol not ava\ ilable



>Number:         47680
>Category:       pkg
>Synopsis:       named can't reply IPv6 query : internal_send: ::1#57698: 
>Protocol not ava\ ilable
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 22 05:55:00 +0000 2013
>Originator:     Jun Ebihara
>Release:        NetBSD 2.1_STABLE
>Organization:
SOUM Corporation.
>Environment:
NetBSD .co.jp 2.1_STABLE NetBSD 2.1_STABLE (GATEWAY) #5: Fri Jul 18 12:09:31 
JST 2008  .co.jp:/usr/src/sys/arch/i386/compile/GATEWAY i386

>Description:
with using /usr/pkgsrc/net/bind9[7-9]:
Can't dig with IPv6 address.

% /usr/bin/dig example.com @::1
; <<>> DiG 8.3 <<>> example.com @::1
; (1 server found)
;; res options: init recurs defnam dnsrch
;; res_nsend: Connection timed out

/var/log/messages
Mar 22 09:42:12  named[pid]: socket.c:1890: unexpected error:
Mar 22 09:42:12  named[pid]: internal_send: ::1#57698: Protocol not ava\
ilable
>How-To-Repeat:
% /usr/bin/dig example.com @::1
; <<>> DiG 8.3 <<>> example.com @::1
; (1 server found)
;; res options: init recurs defnam dnsrch
;; res_nsend: Connection timed out

/var/log/messages
Mar 22 09:42:12  named[pid]: socket.c:1890: unexpected error:
Mar 22 09:42:12  named[pid]: internal_send: ::1#57698: Protocol not ava\
ilable
>Fix:
[bind-9.7.4-P1/CHANGES]
----------------------------------------------------------------------
3135.   [port]          FreeBSD: workaround broken IPV6_USE_MIN_MTU processing.
                        See http://www.freebsd.org/cgi/query-pr.cgi?pr=158307
                        [RT #24950]
----------------------------------------------------------------------
makes some effect.

after apply these patch,dig works fine.
--- work.ORG/bind-9.9.2-P1/lib/isc/unix/socket.c        2012-10-26 
13:50:34.000000000 +0900
+++ work/bind-9.9.2-P1/lib/isc/unix/socket.c    2013-03-22 14:12:30.000000000 
+0900
@@ -94,6 +94,10 @@
 #include <sys/utsname.h>
 #endif

+#if defined(IPV6_USE_MIN_MTU)
+#undef IPV6_USE_MIN_MTU
+#endif
+
 /*%
  * Choose the most preferable multiplex method.
  */



Home | Main Index | Thread Index | Old Index