Can't upload to REVU
Stefan Potyra
stefan.potyra at informatik.uni-erlangen.de
Fri Aug 1 08:47:35 BST 2008
Hi,
On Thursday 31 July 2008 20:09:30 Matvey Kozhev wrote:
> It says:
>
> Error '425 Security: Bad IP connecting.' during ftp transfer of
> libbrowserlauncher2-java_1.3.dfsg-0ubuntu1.dsc
hm... interesting, doesn't appear anywhere in the logs (only that the upload
failed). However I'm quite sure that bit in vsftpd is responsible in what
you're seeing:
int
vsf_ftpdataio_get_pasv_fd(struct vsf_session* p_sess)
[..]
/* SECURITY:
* Reject the connection if it wasn't from the same IP as the
* control connection.
*/
if (!tunable_pasv_promiscuous)
{
if (!vsf_sysutil_sockaddr_addr_equal(p_sess->p_remote_addr,
p_accept_addr))
{
vsf_cmdio_write(p_sess, FTP_BADSENDCONN, "Security: Bad IP
connecting.");
vsf_sysutil_close(remote_fd);
vsf_sysutil_sockaddr_clear(&p_accept_addr);
return -1;
}
}
Now I don't have the best knowledge about networking stuff, but it looks like
the passive ftp data connection seen by vsftpd on spooky doesn't originate
from the same address. The question is what this tells us (maybe someone is
intercepting this connections? s.th. else?) or how to fix it. Maybe using
active instead of passive mode helps? Anyone with better network knowledge
got some more hints?
Cheers,
Stefan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : https://lists.ubuntu.com/archives/ubuntu-motu/attachments/20080801/c65bc67f/attachment.pgp
More information about the Ubuntu-motu
mailing list