VPN issue

Jason jason+tinclist at truedesign.com
Fri Mar 12 19:48:55 CET 2004


On Fri, 12 Mar 2004, Jeremy Singer wrote:

> One of my servers, a gentoo box, is getting this error:
> 
> I've searched for it, and nothing has been found.
> 
> 1079113133 tinc.vpn_server[22859]: Error looking up xxx.xxx.xxx.xxxx port 655: Name or service not known


This is really reaching, but it bit us the other day.. Do any of the lines
in your your config files (specifically the hosts file for that host and the
lines that hold its ip addr or port) have extra spaces at the end of the line,
after the ip addr or port #?  It bit us the other day.. the libc call to resolve
the service was assuming the port # was a service name since it had a
non-digit in it and it was looking for a service of "696 " in /etc/services
and failing.

Guus: someday when you are bored :) you might want to have the code trim spaces
off of the end of those lines.  No biggie tho since really it is a config
file malformation not a code bug.



Tinc:         Discussion list about the tinc VPN daemon
Archive:      http://mail.nl.linux.org/lists/
Tinc site:    http://tinc.nl.linux.org/





More information about the Tinc mailing list