Package: ddclient
Version: 3.6.2-3.1
Severity: important

In line 1413 there is a socket created without specifying
a timeout parameter.

This might lead to a stalled read() when the connection drops
during the network operation and to a hanging ddclient 
process which does not update the ip addresses any more.

On 4 Sites we observed about 1 hang per month.

Suggestion:
Change this line 1413:

} elsif (! defined($sd = IO::Socket::INET->new(PeerAddr => $peer, PeerPort => 
$port, Proto => 'tcp'))) {

to:

} elsif (! defined($sd = IO::Socket::INET->new(PeerAddr => $peer, PeerPort => 
$port, Proto => 'tcp', Timeout => opt('timeout') ))) {



-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.15
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages ddclient depends on:
ii  debconf                    1.4.30.13     Debian configuration management sy
ii  perl [perl5]               5.8.4-8sarge3 Larry Wall's Practical Extraction 

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to