Re: Sitecopy times out
Theo Carr-Brion <[email protected]> Tue, 6 Jun 2006 20:19:26 +0100
| Newsgroups | gmane.comp.web.sitecopy |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday 06 June 2006 08:19, Joe Orton wrote:
> On Sun, Jun 04, 2006 at 08:11:03AM +0100, Theo Carr-Brion wrote:
> > I am having problems using sitecopy (0.16.3) to upload some files. Every
> > operation just times out.
> >
> > I can connect to the web site using the ftp command and copy files.
> > However when doing a dir command it says entering passive mode or
> > something like that and freezes. I have been told to type epsv4 and that
> > fixes the ftp command.
> >
> > I have tried ftp nopasv but that does not help.
> >
> > It all worked a few months ago but since then I have updated to Suse 10.1
> > so something like the firewall might have changed.
>
> Sounds likely. sitecopy will only by default use EPSV for IPv6
> addresses, but you can force it by applying the patch below. Does that
> help?
>
> Index: src/ftp.c
> ===================================================================
> --- src/ftp.c (revision 1019)
> +++ src/ftp.c (working copy)
> @@ -762,7 +762,7 @@
> ret = FTP_ERROR;
>
> if (sess->rfc2428 != rfc2428_bad
> - && ne_iaddr_typeof(sess->pi_curaddr) == ne_iaddr_ipv6) {
> + && ne_iaddr_typeof(sess->pi_curaddr) == ne_iaddr_ipv4) {
> ret = execute(sess, "EPSV");
> if (ret == FTP_PASSIVE) sess->rfc2428 = rfc2428_ok;
> }
Thank you for replying. Unfortunately the change did not work. I can confirm
the problem is the firwall as it works if I turn off the firewall (default
Suse firewall). I don't know much about ftp or firewalls. Are you able to
give a pointer as to what I may need to configure on the firewall to make
sitecopy work through it?
Theo Carr-Brion
_______________________________________________
sitecopy maillist - [email protected]
http://dav.lyra.org/mailman/listinfo/sitecopy