From owner-freebsd-current@FreeBSD.ORG Fri Nov 22 07:30:08 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 76C37138 for ; Fri, 22 Nov 2013 07:30:08 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F2BEE2E61 for ; Fri, 22 Nov 2013 07:30:07 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id rAM7U2gQ057397 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 22 Nov 2013 07:30:02 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk rAM7U2gQ057397 Authentication-Results: smtp.infracaninophile.co.uk/rAM7U2gQ057397; dkim=none reason="no signature"; dkim-adsp=none Message-ID: <528F07FA.2000804@FreeBSD.org> Date: Fri, 22 Nov 2013 07:30:02 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: =?UTF-8?B?U3RhbmlzxYJhdyBIYWxpaw==?= Subject: Re: pkg(1) ipv6 address not listening References: <2045609.xWoXWBLPTu@aurora> <528F0474.90802@FreeBSD.org> <4048504.G3354ttriA@aurora> In-Reply-To: <4048504.G3354ttriA@aurora> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cIMQ1T2vjeoIrk8Mj03DiH7IoSurwaQw1" X-Virus-Scanned: clamav-milter 0.98 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2013 07:30:08 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --cIMQ1T2vjeoIrk8Mj03DiH7IoSurwaQw1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 22/11/2013 07:19, Stanis=C5=82aw Halik wrote: > Hey, >=20 > On Fri November 22 2013 07:15:00 Matthew Seaman wrote: >>> pkg(1) doesn't like ipv6 from two different subnets: >>> | ^C15720: connect(6,{ AF_INET6 [2001:41c8:112:8300::50:1]:80 },28) E= RR#4 >> >> pkg(8) works fine over IPv6 for me. >=20 > Failing command is: >=20 > % pkg update >=20 > using default repo configuration. The above line was producted by: >=20 > % truss -f pkg update >=20 > Unable to access pkg.freebsd.org IPv6 server over two subnets. > Tested with `nc -v' >=20 > 2001:470:600d:dead:beae:c5ff:fee1:4407/48 > 2a01:4f8:192:50e3::/64 >=20 > 1001 ~ % ssh ananke.laggy.pk cat /etc/pkg/FreeBSD.conf > FreeBSD: { > url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", > mirror_type: "srv", > enabled: "yes" > } Are you running the ports-mgmt/pkg-devel port or did you install from GitHub sources? (I deduce this because the config format with curly braces does not work with pkg-1.1.4...) Can't reproduce with 1.1.4: xenophobe:/usr/local/etc:# pkg -vv Version: 1.1.4 PACKAGESITE: PKG_DBDIR: /var/db/pkg PKG_CACHEDIR: /var/cache/pkg PORTSDIR: /usr/ports PUBKEY: HANDLE_RC_SCRIPTS: no ASSUME_ALWAYS_YES: no REPOS_DIR: /usr/local/etc/pkg/repos/ PLIST_KEYWORDS_DIR: SYSLOG: yes AUTODEPS: no ABI: freebsd:9:x86:64 DEVELOPER_MODE: no PORTAUDIT_SITE: http://portaudit.FreeBSD.org/auditfile.tbz VULNXML_SITE: http://www.vuxml.org/freebsd/vuln.xml.bz2 MIRROR_TYPE: SRV FETCH_RETRY: 3 PKG_PLUGINS_DIR: /usr/local/lib/pkg/ PKG_ENABLE_PLUGINS: yes PLUGINS: DEBUG_SCRIPTS: no PLUGINS_CONF_DIR: /usr/local/etc/pkg/ PERMISSIVE: no REPO_AUTOUPDATE: yes NAMESERVER: EVENT_PIPE: FETCH_TIMEOUT: 30 UNSET_TIMESTAMP: no SSH_RESTRICT_DIR: PKG_ENV: DISABLE_MTREE: no Repositories: pkg-test: url: pkg+http://pkg.freebsd.org/freebsd:9:x86:64/latest key: enabled: yes mirror_type: SRV xenophobe:/usr/local/etc:# pkg update -f Updating repository catalogue digests.txz 100% 996KB 996.1KB/s 996.1KB/s 00:01 packagesite.txz 100% 5555KB 1.4MB/s 1.1MB/s 00:04 Incremental update completed, 0 packages processed: 0 packages updated, 0 removed and 0 added. This is using an IPv6-only jail: xenophobe:/usr/local/etc:# ifconfig em0 em0: flags=3D8843 metric 0 mtu 15= 00 options=3D4219b ether 68:05:ca:0b:3d:42 inet6 2001:8b0:151:1:54f9:9484:e8b0:12d1 prefixlen 128 nd6 options=3D21 media: Ethernet autoselect (100baseTX ) status: active Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --cIMQ1T2vjeoIrk8Mj03DiH7IoSurwaQw1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJSjwf6XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATjWUP/2LXb8YDAuOGWjWrzAK0va/t nASxmH9cXpeaElDLafexxRwNa82+ul4ALzHqn5gMxVPFmXYvTqWeaYNz2xc5z7aj H7dZEGUSw49wIbLvyA+pscqc546g1SiRwohsAMbaJD+D0hr4ZRV6p9lMcG4tYzR4 f7qy19F5zk2SeQnYxdX7w3FcTkf8zCqSA+zKbxA5pdwARUaAuhbnXV0NivNExTqg PymxE+W6I8nzyKN4f0m559Q07iYu3aRLp/pmI76TlnyhgSXy2SZv/LgH3wBlUH96 kHMgo0+UshrvjP2sqWbeohoLsYdi48w8JF9mcxq9/4UZX8wfSoREbY5OE28nOvIS UaR81aBKrz36uBymPtke6Bj6c89iAvf/PXY0eBE2FWzh/WSZ5qk280tF7bvXxiw+ To/qig7ZIY97VfLmouhx5LZxfBuO0LCMbfXBI5+uxfjBTTxAjHX5ibJexvTkPMak kjruNksFTzCUaKEhyBMIID3Xj3AleRJUZyJST+Nxd9FbMeVljbQD+YAWhfNk67LV Z2rrb5wABPLcoWO/pxepDmRtxmVanW4ydvDk7zDB5MaztHwK9GcrpGwMuTdi1VvF H+DNjGNaoBa4NCS0d+aneifLBD6ItKCh7ZK7mIFnoixiDXLhJH2xJeFTXSF10Wg1 q9Puf2DrCJexPsBWjdJy =sNz/ -----END PGP SIGNATURE----- --cIMQ1T2vjeoIrk8Mj03DiH7IoSurwaQw1--