From neil@darlow.co.uk  Thu Oct 25 10:00:16 2007
Return-Path: <neil@darlow.co.uk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1830416A46C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Oct 2007 10:00:16 +0000 (UTC)
	(envelope-from neil@darlow.co.uk)
Received: from queueout02-winn.ispmail.ntl.com (queueout02-winn.ispmail.ntl.com [81.103.221.56])
	by mx1.freebsd.org (Postfix) with ESMTP id 7BADF13C4C3
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Oct 2007 10:00:15 +0000 (UTC)
	(envelope-from neil@darlow.co.uk)
Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35])
          by mtaout01-winn.ispmail.ntl.com with ESMTP
          id <20071025094621.BIVS1783.mtaout01-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Thu, 25 Oct 2007 10:46:21 +0100
Received: from router.darlow.co.uk ([80.6.42.220])
          by aamtaout03-winn.ispmail.ntl.com with ESMTP
          id <20071025094621.MNHX26699.aamtaout03-winn.ispmail.ntl.com@router.darlow.co.uk>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Thu, 25 Oct 2007 10:46:21 +0100
Received: from router.darlow.co.uk (localhost [127.0.0.1])
	by router.darlow.co.uk (Postfix) with ESMTP id D461D10312D
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Oct 2007 10:46:18 +0100 (BST)
Received: by router.darlow.co.uk (Postfix, from userid 1001)
	id CCD0C10311B; Thu, 25 Oct 2007 10:46:18 +0100 (BST)
Message-Id: <20071025094618.CCD0C10311B@router.darlow.co.uk>
Date: Thu, 25 Oct 2007 10:46:18 +0100 (BST)
From: Neil Darlow <neil@darlow.co.uk>
Reply-To: Neil Darlow <neil@darlow.co.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ddclient operation breaks with SSL
X-Send-Pr-Version: 3.113
X-GNATS-Notify: radek@raadradd.com

>Number:         117478
>Category:       ports
>Synopsis:       dns/ddclient operation breaks with SSL
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    tabthorpe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 25 10:10:02 UTC 2007
>Closed-Date:    Tue Oct 30 12:30:25 UTC 2007
>Last-Modified:  Tue Oct 30 12:30:25 UTC 2007
>Originator:     Neil Darlow
>Release:        FreeBSD 6.2-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD router.darlow.co.uk 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #0: Sun Oct 7 14:32:14 BST 2007 root@router.darlow.co.uk:/usr/obj/usr/src/sys/ROUTER i386
>Description:
Having just updated ddclient to 3.7.3 I noticed that SSL updates no longer work.
I am not sure if this is due to ddclient-3.7.3 or the recent update to p5-IO-Socket-SSL-1.11. In any
event a configuration that worked with ddclient-3.7.1_1 no longer works.
>How-To-Repeat:
Install ddclient-3.7.3 and p5-IO-Socket-SSL-1.11 and try ddclient with ssl=yes in configuration.

ddclient always reports:
WARNING:  cannot connect to updates.opendns.com:443 socket: IO::Socket::SSL: Timeout IO::Socket::INET configuration failederror:00000000:lib(0):func(0):reason(0)
FAILED:   updating darlow.opendns.com: Could not connect to updates.opendns.com.

This error is reported for the first server ddclient attempts to connect with. I don't believe the timeout report is genuine.
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->tabthorpe 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Oct 25 10:18:38 UTC 2007 
Responsible-Changed-Why:  
tabthorpe@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117478 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Oct 25 10:18:43 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117478 

From: Neil Darlow <neil@darlow.co.uk>
To: bug-followup@FreeBSD.org, neil@darlow.co.uk
Cc:  
Subject: Re: ports/117478: dns/ddclient operation breaks with SSL
Date: Thu, 25 Oct 2007 12:14:02 +0100

 It appears that although ddclient has an internal timeout default of 120
 seconds it isn't being honoured.
 
 I was able to update over SSL successfully by adding "timeout=60" in
 ddclient.conf. Without this setting it looks like ddclient is treating
 timeout as being 0.
 

From: Neil Darlow <neil@darlow.co.uk>
To: bug-followup@FreeBSD.org, neil@darlow.co.uk
Cc:  
Subject: Re: ports/117478: dns/ddclient operation breaks with SSL
Date: Thu, 25 Oct 2007 17:49:39 +0100

 Looking further at the ddclient code, a minimum value is specified for
 the timeout option but no default timeout value is set.
 
 I have opened sourceforge.net ddclient bug tracker #1820127 to request
 that a default timeout value (matching the minimum value) be set in the
 options initialisation.
 
 Users requiring an immediate fix may add the following
 to /usr/local/etc/ddclient.conf:
 
 timeout=120		# timeout for server connection (seconds)
 

From: Neil Darlow <neil@darlow.co.uk>
To: bug-followup@FreeBSD.org, neil@darlow.co.uk
Cc:  
Subject: Re: ports/117478: dns/ddclient operation breaks with SSL
Date: Tue, 30 Oct 2007 10:13:22 +0000

 This was actually a problem in timeout handling in p5-IO-Socket-SSL-1.11
 which has been corrected in p5-IO-Socket-SSL-1.12.
 
 It was the difference between a 0 timeout parameter being treated as a
 timeout or not a timeout in those versions respectively.
 
 Removed the timeout=120 setting in /usr/local/etc/ddclient.conf and it
 now works as it should.
 
State-Changed-From-To: feedback->closed 
State-Changed-By: tabthorpe 
State-Changed-When: Tue Oct 30 12:30:24 UTC 2007 
State-Changed-Why:  
Closed at submitter's request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117478 
>Unformatted:
