OpenSSH
[Top] [All Lists]

Re: "Out of memory" error looking up SSHFP records

To: Simon Vallet <svallet@genoscope.cns.fr>
Subject: Re: "Out of memory" error looking up SSHFP records
From: Darren Tucker <dtucker@zip.com.au>
Date: Fri, 09 Feb 2007 13:40:34 +1100
Cc: openssh-unix-dev@mindrot.org
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
In-reply-to: <20070208112131.1a858b91.svallet@genoscope.cns.fr>
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
References: <20070208112131.1a858b91.svallet@genoscope.cns.fr>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)
Simon Vallet wrote:
> we're currently considering making use of RFC4255 SSHFP records,
> but are hitting a problem with a 4.4p1 client running on Tru64 5.1A:
> 
> [...]
> debug3: verify_host_key_dns
> DNS lookup error: out of memory
> [...]
> No matching host key fingerprint found in DNS.
> 
> A 4.3p2 linux client gives the following :
> [...]
> debug3: verify_host_key_dns
> debug1: found 1 insecure fingerprints in DNS
> debug1: matching host key fingerprint found in DNS
> [...]
> Matching host key fingerprint found in DNS.
> 
> Any idea on the cause of the "out of memory error" ?

A brief look at the code shows that error as occurring when 
getrrsetbyname fails.  Does Tru64 have its own or is it using the one in 
openbsd-compat?  (grep GETRRSET config.h)

Also, are ERRSET_SUCCESS and/or ERRSET_NOMEMORY defined in the system 
headers?

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>