Package: pure-ftpd
Version: 1.0.19-4

Looks like pure-ftpd has a small but boring bug with anonymous ftp:
manpage says:
<cite>
2.  The user connects to an IP address which resolves to the name of a
directory in /etc/pure-ftpd (or a symlink in that directory to a real
directory), and there is an account called "ftp" (which  does  not  need
to have a valid home directory)
...
2.  Create  a  directory  as  described in Anonymous FTP and make a
symlink called /etc/pure-ftpd/10.11.12.13 which points to this
directory.
</cite>

But in fact pure-ftpd uses /etc/pure-ftpd/pure-ftpd/IP.ADD.RE.SS, so
server configured according to manual still doesn't allow anonymouses to
log in. Here is the strace:

[EMAIL PROTECTED]:/etc/pure-ftpd# strace -fp 3733
Process 3733 attached - interrupt to quit
[pid 24702] chdir("/etc/pure-ftpd/pure-ftpd/10.1.0.9") = -1 ENOENT (No such 
file or directory)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ WRONG!
                                   
[pid 24702] chdir("/home/ftp/")         = -1 ENOENT (No such file or directory)
[pid 24702] rt_sigprocmask(SIG_BLOCK, ~[], [CHLD RTMIN], 8) = 0
[pid 24702] write(1, "421 Unable to set up secure anon"..., 43) = 43
[pid 24702] time([1108898181])          = 1108898181
[pid 24702] rt_sigaction(SIGPIPE, {0x4025bfd0, [], SA_RESTORER, 0x401b1678}, 
{SIG_IGN}, 8) = 0
[pid 24702] send(3, "<91>Feb 20 13:16:21 pure-ftpd: ("..., 99, 0) = 99
[pid 24702] rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
[pid 24702] rt_sigprocmask(SIG_BLOCK, ~[], ~[KILL STOP], 8) = 0
[pid 24702] munmap(0x40018000, 1440)    = 0
[pid 24702] close(4)                    = 0
[pid 24702] exit_group(-4)              = ?
Process 24702 detached

-- 
WBR, Alexander A. Vlasov 
 Gala.Net System Administrator
 +38(039)2476081
 nic-hdl:                       ZULU-UANIC


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

Reply via email to