pkg(1) ipv6 address not listening

2013-11-21 Thread Stanisław Halik
Hey,

pkg(1) doesn't like ipv6 from two different subnets:

| ^C15720: connect(6,{ AF_INET6 [2001:41c8:112:8300::50:1]:80 },28) ERR#4 
'Interrupted system call'

It's up fine, just not listening. Could you fix it, please?

-sh

-- 
xmpp:stha...@jabster.pl
sip:stha...@misaki.pl
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: pkg(1) ipv6 address not listening

2013-11-21 Thread Matthew Seaman
On 22/11/2013 01:58, Stanisław Halik wrote:
 Hey,
 
 pkg(1) doesn't like ipv6 from two different subnets:
 
 | ^C15720: connect(6,{ AF_INET6 [2001:41c8:112:8300::50:1]:80 },28) ERR#4 
 'Interrupted system call'
 
 It's up fine, just not listening. Could you fix it, please?

pkg(8) works fine over IPv6 for me.

It also does not have any sort of network listener internally.  Acts as
a client accessing external servers only. Please explain clearly exactly
what you're doing in order to see this error.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: pkg(1) ipv6 address not listening

2013-11-21 Thread Stanisław Halik
Hey,

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) ERR#4
 
 pkg(8) works fine over IPv6 for me.

Failing command is:

% pkg update

using default repo configuration. The above line was producted by:

% truss -f pkg update

Unable to access pkg.freebsd.org IPv6 server over two subnets.
Tested with `nc -v'

2001:470:600d:dead:beae:c5ff:fee1:4407/48
2a01:4f8:192:50e3::/64

1001 ~ % ssh ananke.laggy.pk cat /etc/pkg/FreeBSD.conf
FreeBSD: {
  url: pkg+http://pkg.FreeBSD.org/${ABI}/latest;,
  mirror_type: srv,
  enabled: yes
}

cheers,
-sh

-- 
xmpp:stha...@jabster.pl
sip:stha...@misaki.pl
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: pkg(1) ipv6 address not listening

2013-11-21 Thread Matthew Seaman
On 22/11/2013 07:19, Stanisław Halik wrote:
 Hey,
 
 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) ERR#4

 pkg(8) works fine over IPv6 for me.
 
 Failing command is:
 
 % pkg update
 
 using default repo configuration. The above line was producted by:
 
 % truss -f pkg update
 
 Unable to access pkg.freebsd.org IPv6 server over two subnets.
 Tested with `nc -v'
 
 2001:470:600d:dead:beae:c5ff:fee1:4407/48
 2a01:4f8:192:50e3::/64
 
 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% KB   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=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500

options=4219bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO
ether 68:05:ca:0b:3d:42
inet6 2001:8b0:151:1:54f9:9484:e8b0:12d1 prefixlen 128
nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
media: Ethernet autoselect (100baseTX full-duplex)
status: active

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: pkg(1) ipv6 address not listening

2013-11-21 Thread Stanisław Halik
On Fri November 22 2013 07:30:02 Matthew Seaman wrote:
 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...)

Using pkg as bundled with RELENG_10.

# uname -sr
FreeBSD 10.0-BETA3

 Can't reproduce with 1.1.4 [..]

Is geolocated DNS in use? Note that the following server IP fails:

9273: connect(6,{ AF_INET6 [2001:41c8:112:8300::50:1]:80 },28) ERR#4 
'Interrupted system call'

That is, pkg0.bme.freebsd.org

Interesting... It works from Hurricane Electric... Apologies for 
misinformation.

It doesn't work from hetzner.de native IP:

07:43:30.110332 IP6 (flowlabel 0x8c886, hlim 64, next-header TCP (6) payload 
length: 40) 2a01:4f8:192:50e3::.36954  2001:41c8:112:8300::50:1.80: Flags 
[S], cksum 0x67c9 (incorrect - 0x98d3), seq 914261876, win 65535, options 
[mss 1440,nop,wscale 6,sackOK,TS val 14546988 ecr 0], length 0

The checksum bit is probably due to offload...

cheers,
-sh

-- 
xmpp:stha...@jabster.pl
sip:stha...@misaki.pl
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: pkg(1) ipv6 address not listening

2013-11-21 Thread Stanisław Halik
good Sir,

Apologies!

It of course works as it should, wrong `route-to' applied, causing SYN packets 
to get stuck.

Apologies once again for wasting your valuable time.

cheers,
-sh

-- 
xmpp:stha...@jabster.pl
sip:stha...@misaki.pl
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org