Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2007 16:02:39 GMT
From:      Bruce Cran<bruce@cran.org.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/113336: ftpd doesn't handle filenames which contain curly brackets
Message-ID:  <200706041602.l54G2dGD004568@www.freebsd.org>
Resent-Message-ID: <200706041610.l54GA5IS076205@freefall.freebsd.org>

index | next in thread | raw e-mail


>Number:         113336
>Category:       misc
>Synopsis:       ftpd doesn't handle filenames which contain curly brackets
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 04 16:10:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Bruce Cran
>Release:        7.0-CURRENT
>Organization:
>Environment:
FreeBSD neutrino.draftnet 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Mon June 04
12:00:18 BST 2007     root@neutrino:/usr/obj/usr/src/sys/GENERIC  i386 
>Description:
When trying to fetch files from a server running the ftpd from /usr/libexec, ftpd apparently removes curly brackets from filenames before trying to read them from the filesystem.  For example:

command: TYPE I
<--- 200
Type set to I.
command: SIZE guid_{1234567890}_file.txt
<-- 550
guid_1234567890_file.txt: No such file or directory. 
>How-To-Repeat:
On the server:
/usr/libexec/ftpd -4 -D

On the client:
> ftp <hostname of server>
[login]
> get guid_{1234567890}_file.txt
>Fix:


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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706041602.l54G2dGD004568>