Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2013 07:30:02 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        =?UTF-8?B?U3RhbmlzxYJhdyBIYWxpaw==?= <sthalik@misaki.pl>
Cc:        current@freebsd.org
Subject:   Re: pkg(1) ipv6 address not listening
Message-ID:  <528F07FA.2000804@FreeBSD.org>
In-Reply-To: <4048504.G3354ttriA@aurora>
References:  <2045609.xWoXWBLPTu@aurora> <528F0474.90802@FreeBSD.org> <4048504.G3354ttriA@aurora>

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15=
00
	options=3D4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,W=
OL_MAGIC,VLAN_HWTSO>
	ether 68:05:ca:0b:3d:42
	inet6 2001:8b0:151:1:54f9:9484:e8b0:12d1 prefixlen 128
	nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect (100baseTX <full-duplex>)
	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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?528F07FA.2000804>