Bug 69252

Summary: gftp won't accept user@host NOAUTH
Product: [Retired] Red Hat Linux Reporter: Forrest <forresttaylor2000>
Component: gftpAssignee: Havoc Pennington <hp>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0Keywords: MoveUpstream, Triaged
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-27 00:14:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 67218, 79579    

Description Forrest 2002-07-19 17:08:35 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020625

Description of problem:
When trying to use gftp with my proxy (user@host NOAUTH), gftp seems to add
several superfluous lines after I click OK.  If I try to use gftp to connect to
an ftp server, I get this error:

Error 500 unknown command.

Checking ~/.gftp/gftprc shows that the proxy line contains extra options such as:

proxy_config=USER %hu@%hh%nPASS %hp%nUSER %hu@%hh%nPASS
%hp%n??~X????~G~]~F?~T?~B~[?|
??~G~]~F?~V??~[?????~]~F~U??~G~]~F?~N?~B~[?|??~G~]~F?~V??~[?~\???~Q~F???~]?X@



If I shut down gftp and remove the extraneous characters in the config file, it
works.

Also, the Bookmark for Red Hat Rawhide should be fixed to point to rawhide
(/pub/redhat/linux/rawhide), instead of the top level directory.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Start gftp
2. FTP->Options->FTP tab
3. Enter proxy name/port and choose user@host NOAUTH under proxy server type
4. Try to connect to an ftp server
	

Actual Results:  230 Login successful. Have fun.
USER anonymous.com
500 Unknown command.
Disconnecting from site rawhide.redhat.com

Expected Results:  It should allow one to connect to ftp servers using a proxy.

Additional info:

Comment 1 Havoc Pennington 2002-07-24 01:05:04 UTC
Should try this with 2.0.13 (just built, should appear in rawhide soon)
and see if it still occurs.

Comment 2 Forrest 2002-07-31 18:13:39 UTC
I just tried it on Limbo2 (gftp-2.0.13-2) and it has the same problem.  I set
the proxy, and click OK.  When I return to the options, the proxy auth is set to
custom, and the user@host NOAUTH lines are repeated several times.  Changing it
from custom to user@host NOAUTH does not change anything.

Comment 3 Forrest 2002-08-20 21:57:08 UTC
This still occurs with (null), gftp-2.0.13-4.

Comment 4 Forrest 2002-12-26 23:47:23 UTC
This appears to be working in Phoebe.

Comment 5 Havoc Pennington 2002-12-27 00:14:00 UTC
Thanks