Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VPN issue

51 views
Skip to first unread message

Jeremy Singer

unread,
Mar 12, 2004, 12:40:22 PM3/12/04
to
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
 
Guus, any ideas?
 
Your product rocks.

Guus Sliepen

unread,
Mar 12, 2004, 12:47:13 PM3/12/04
to
On Fri, Mar 12, 2004 at 11:40:22AM -0600, Jeremy Singer wrote:

> 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
>
> Guus, any ideas?

It tries to resolve the hostname xxx.xxx.xxx.xxxx, but your DNS server
did not find it.

--
Met vriendelijke groet / with kind regards,
Guus Sliepen <gu...@sliepen.eu.org>

signature.asc

Jeremy Singer

unread,
Mar 12, 2004, 1:03:47 PM3/12/04
to
I put this IP in the hosts file, and I am able to telnet to port 655 of this
machine without any problem. (telnetting to the tinc deamon)

A 'hostx' on this IP reveals its host name as well.

Are you sure this is the problem?


----- Original Message -----
From: "Guus Sliepen" <gu...@sliepen.eu.org>
To: <ti...@nl.linux.org>
Sent: Friday, March 12, 2004 11:47 AM
Subject: Re: VPN issue

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


Jason

unread,
Mar 12, 2004, 1:48:55 PM3/12/04
to
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.

0 new messages