getaddrinfo failed: Servname not supported for ai_socktype

David Woodhouse dwmw2 at infradead.org
Sat Aug 7 03:25:13 EDT 2010


On Fri, 2010-08-06 at 23:25 -0500, Matthew Kitchin (public/usenet)
wrote:
> Sorry for clogging your mailboxes with so much mail today.. I'm just 
> hoping to really put this program to use. I made a lot more progress on 
> an up to date CentOS 5.5 64 bit machine. I got connected, but I still 
> can't pass any traffic. It appears from the output below that it was 
> trying to pass the traffic, but it wasn't making it for some reason. At 
> least I made some progress. Thanks for the tips you have given so far!

Yeah, in that case you were definitely connected to the VPN and
keepalives were working, etc.

It looks like the addresses and routing weren't configured properly.

Precisely what is /etc/openconnect.script and is it executable? On
CentOS you ought to be able to use --script /etc/vpnc/vpnc-script.

What is the output if 'ifconfig tun0' and 'route -n' while openconnect
is running, and what's in /etc/resolv.conf?

Don't send 'webvpn' cookies to the mailing list, btw -- those are *all*
that's required to allow a client to connect using your authenticated
session.

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation





More information about the openconnect-devel mailing list