Article delegate-en/1469 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A1468@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: delegate 7.8.0 ftp proxy problem
02 Jan 2002 07:56:32 GMT feedback@delegate.org (Yutaka Sato)


Hi,

On 01/02/02(16:29) you "Ferenc Toth" <pxqcqbdyi-hhkpukxzzulr.ml@ml.delegate.org> wrote
in <_A1468@delegate-en.ML_>
 |Hi,
 |
 |We've started using Delegate a few month ago and we're very statisfied
 |with it's speed and stability (and featrues :).
 |
 |Today morning I've upgraded to 7.8.0 from 7.7.1 (Windows NT 4.0 + SP6a)
 |due to the security bugfix (read about it at securityfocus.com).
 |Unfortunately, the ftp proxy of 7.8.0 seems to be broken (or I did
 |something wrong). 7.7.1 was working with the same setup but 7.8.0 drops
 |me off right before asking for PASS. The below ftp session is from a
 |ftp client called NFTP but the same output can be seem from command
 |line ftp (Windows 2000). This is just an example session, I get the
 |same for all the anonymous ftp sites.

Thank you for your notice.  Indeed in 7.8.0 I made changes around
FTP login breaking relaying "USER user@server" command to server.
It will be fixed like a patch enclosed below.  If you don't have
a compiler, try another way like follows:

  USER anonymous
  PASS Email-address
  CWD  //server

wihich is equivalent to following:

  USER anonymous@server
  PASS Email-address

Cheers,
Yutaka
--
  @ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.sato/
 ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan

*** ../780/src/ftp.c	Fri Dec 28 02:03:39 2001
--- ftp.c	Wed Jan  2 16:45:06 2002
***************
*** 3715,3722 ****
--- 3715,3725 ----
  	}
  	else
  	if( rcode == 331 ){
+ 		if( strcmp(PFC->fc_swcom,"USER") != 0 ){
+ 		/* not USER thus no chance to give password from client */
  		sv1log("Required password for '%s' not given.\n",pFC->fc_user);
  		return -1;
+ 		}
  	}
  
  	if(pFC->fc_type[0]){

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V