ports/134422: vsftpd 421 data timeout (with ssl)

Andreas Schwarz freebsd.asc at schwarzes.net
Sun May 10 14:30:03 UTC 2009


>Number:         134422
>Category:       ports
>Synopsis:       vsftpd 421 data timeout (with ssl)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 10 14:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Schwarz
>Release:        7.2-RELEASE
>Organization:
>Environment:
FreeBSD opossum.schwarzes.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  8 22:50:50 CEST 2009     root at opossum.schwarzes.net:/usr/obj/usr/src/sys/opossum.schwarzes.net  i386
>Description:
After upgrading vsftpd from 2.0.7 to 2.1.0 transfers (download or upload 
via ssl) will be interrupted after 300s (idle timeout for data), 
log message "421 Data timeout". It seems that the idle timer is not reset
when packets transmitted via ssl. When setting "data_connection_timeout"
to a high value the problem does not occur (because timeout never reached).

I've tested this behavior with lftp (freebsd) and filezilla (windows),
depending on the client the transmission continues (if the client is able
reconnect).

I'm not sure if this is a general or FreeBSD port specific bug.

>How-To-Repeat:
Start a down or upload which takes longer then the default idle timeout
and watch the logfile.
>Fix:
Not really a fix, set "data_connection_timeout" (vsfptd.conf) to 
a high value.


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list