Hi there.

We have a very odd FTP problem and are totally flummoxed as to what the answer
might be. I'm hoping someone here can help.

We're repeatedly seeing this error delivering files via FTP...

[CRITICAL] [Interface::Ftp::send] Could
not put file.xml on connection test - 500,OR not understood

And when running an strace see this...

write(9, "STOR file.xml\r\n", 29) = 29
rt_sigprocmask(SIG_BLOCK, [PIPE], [], 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(16, [9], NULL, NULL, {120, 0})   = 1 (in [9], left {119, 903000})
read(9, "500 OR not understood\r\n", 1024) = 23

So it seems as though we're sending a STOR command but clients are receiving
an OR command - which they don't understand. Is STOR becoming truncated somehow?

N.B. This all used to work fine until I rebooted our firewall the other day. As
far as I am aware, this is the only change to our system, and we're almost
positive the problem lies there. We're thinking that something - a module maybe -
either isn't running, or isn't running correctly, or is configured incorrectly.

Has anyone seen something like this before, or have any ideas what might be wrong?

Thanks very much.

---- - Madasafish - Voted Best Heavy Consumer Broadband Provider in the 2006 Internet Industry Awards http://www.madasafish.com/


