IPv6 failover?

David Shaw dshaw at jabberwocky.com
Thu Aug 4 01:25:41 CEST 2005


On Wed, Aug 03, 2005 at 06:32:46PM -0400, Jason Harris wrote:
> On Wed, Aug 03, 2005 at 02:48:16PM -0400, David Shaw wrote:
> > On Wed, Aug 03, 2005 at 02:32:16PM -0400, Jason Harris wrote:
> 
> > > Here's one, on a box with IPv6 support but not connectivity:
> > > 
> > >   %gpg --keyserver keyserver.linux.it --send 0xd39da0e3
> > >   gpg: sending key D39DA0E3 to hkp server keyserver.linux.it
> > >   gpgkeys: HTTP URL is `http://keyserver.linux.it:11371/pks/add'
> > >   gpgkeys: HTTP post error 22: Failed to connect to 2001:1418:13:10::1: No route to host
> > 
> > The complaint is that keyserver.linux.it has both IPv4 and IPv6
> > addresses, but you can't reach it via IPv6, so you want gpgkeys to
> > fail over to its IPv4 address?
> 
> I imagine most people will prefer that, yes, instead of using
> "--keyserver 62.94.26.10" as a workaround.

The thing is, if you have a --with-libcurl build, this failover would
need to happen within curl itself.  What happens if you do:
  curl http://keyserver.linux.it:11371/pks/add

on the command line.  Obviously it won't do anything keyserver-wise,
but does it manage to connect?

David



More information about the Gnupg-users mailing list