FileZilla Forums

Welcome to the official discussion forums for FileZilla
Donate to project
It is currently 2010-09-02 16:40

All times are UTC




Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Secure control channel only
PostPosted: 2008-07-25 08:30 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 14307
There are only 10 levels of security: Secure and insecure.


Top
 Profile  
 
 Post subject: Re: Secure control channel only
PostPosted: 2008-07-27 03:59 
Offline
500 Syntax error

Joined: 2008-07-24 03:22
Posts: 16
May FileZilla fallback to PROT C if P is not supported?

Code:
11:56:52   Response:   220---------- Welcome to Pure-FTPd [TLS] ----------
11:56:52   Response:   220-You are user number 3 of 50 allowed.
11:56:52   Response:   220-Local time is now 11:55. Server port: 21.
11:56:52   Response:   220-This is a private system - No anonymous login
11:56:52   Response:   220 You will be disconnected after 15 minutes of inactivity.
11:56:52   Command:   AUTH TLS
11:56:55   Response:   234 AUTH TLS OK.
11:56:55   Status:   Initializing TLS...
11:56:55   Status:   Verifying certificate...
11:56:55   Command:   USER ************
11:56:55   Status:   TLS/SSL connection established.
11:56:55   Response:   331 User ************ OK. Password required
11:56:55   Command:   PASS ************
11:56:55   Response:   230-User ************ has group access to:  ************
11:56:55   Response:   230 OK. Current restricted directory is /
11:56:55   Command:   PBSZ 0
11:56:55   Response:   200 PBSZ=0
11:56:55   Command:   PROT P
11:56:55   Response:   534 Fallback to [C]
11:56:55   Status:   Connected
11:56:55   Status:   Retrieving directory listing...
11:56:55   Command:   PWD
11:56:55   Response:   257 "/" is your current location
11:56:55   Command:   TYPE I
11:56:55   Response:   200 TYPE is now 8-bit binary
11:56:55   Command:   PASV
11:56:55   Response:   227 Entering Passive Mode (210,17,215,154,32,152)
11:56:55   Command:   LIST
11:57:16   Error:   Connection timed out
11:57:16   Error:   Failed to retrieve directory listing


The server returned 534 but FileZilla ignored the error code.


Top
 Profile  
 
 Post subject: Re: Secure control channel only
PostPosted: 2008-07-27 08:51 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 14307
It even has to according to the specs, since PROT C is the initial default.

That's not the problem, please check the servers router and firewall configuration. It has to be configured as described in the Network Configuration guide.


Top
 Profile  
 
 Post subject: Re: Secure control channel only
PostPosted: 2008-07-27 10:37 
Offline
500 Syntax error

Joined: 2008-07-24 03:22
Posts: 16
PROT C is the default, but the client may need to reset the data channel protection level to C by sending "PROT C" after P is rejected by the server.

Cases with FTP 7 for IIS 7.

Code:
18:29:08   Command:   PBSZ 0
18:29:08   Response:   200 PBSZ command successful.
18:29:08   Command:   PROT P
18:29:08   Response:   536-Policy denies SSL.
18:29:08   Response:    Win32 error:   Access is denied.
18:29:08   Response:    Error details: SSL policy denies SSL for data channel.
18:29:08   Response:   536 End
18:29:08   Status:   Connected
18:29:08   Status:   Retrieving directory listing...
18:29:08   Command:   PWD
18:29:08   Response:   257 "/" is current directory.
18:29:08   Command:   TYPE I
18:29:08   Response:   200 Type set to I.
18:29:08   Command:   EPSV
18:29:08   Response:   229 Entering Extended Passive Mode (|||49158|)
18:29:08   Command:   LIST
18:29:08   Response:   535-Protection level negotiation failed.
18:29:08   Response:    Win32 error:   Access is denied.
18:29:08   Response:    Error details: Protection negotiation failed. PROT command with recognized parameter must precede this command.
18:29:08   Response:   535 End
18:29:08   Error:   Failed to retrieve directory listing
18:31:16   Error:   Connection closed by server


Top
 Profile  
 
 Post subject: Re: Secure control channel only
PostPosted: 2008-07-27 10:53 
Offline
226 Transfer OK

Joined: 2008-07-22 13:21
Posts: 118
i know i'm way over my head in this thread, but i thought i'd ask two questions if you don't mind.

its my understanding that mankiko is trying to encrypt the security and leave the files/folders unencrypted during these file transfers out of his older machines in order to keep wear and tear on them to a minimum....this makes sense to me, here's the question...Does this encryption process really use that much processor/ram/bandwidth (i am assuming the bandwidth is a non-factor since it's my understanding the amount of bandwidth required to run either way won't change)?

how many simultaneous users/transfers and how fat of a file are you anticipating on these older machines to process?

i ask this because i have an old win98se machine running things like a sheet feed scanner i've been using for years, i'd like to be able to make some of the folders/files on this machine available.

as a side note, i don't think telling ppl to chuck older equipment that works and spend money will go over real well.

thanks in advance


Top
 Profile  
 
 Post subject: Re: Secure control channel only
PostPosted: 2008-07-27 12:10 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 14307
Most computers are fast enough to saturate a 100Mbit connection with encryption.


Top
 Profile  
 
 Post subject: Re: Secure control channel only
PostPosted: 2008-07-27 12:17 
Offline
226 Transfer OK

Joined: 2008-07-22 13:21
Posts: 118
insert amazement whistle here

and here i was all happy when charter finally got to 10 down, 1 up

i wanted to ask a few transfer speed questions, i suppose the general topic is where that post should go?


Top
 Profile  
 
 Post subject: Re: Secure control channel only
PostPosted: 2008-07-27 13:30 
Offline
500 Syntax error

Joined: 2008-07-24 03:22
Posts: 16
Any idea to the data channel protection level fallback?


Top
 Profile  
 
 Post subject: Re: Secure control channel only
PostPosted: 2008-07-27 14:03 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 14307
Quote:
PROT C is the default, but the client may need to reset the data channel protection level to C by sending "PROT C" after P is rejected by the server.


Where does it says so?


Top
 Profile  
 
 Post subject: Re: Secure control channel only
PostPosted: 2008-07-27 14:58 
Offline
500 Syntax error

Joined: 2008-07-24 03:22
Posts: 16
RFC 2228 says that "The default protection level if no other level is specified is Clear". However, after sending the PROT P command, the protection level is specified is Private and therefore I think a reset is needed.

Also, it seems that the servers are requiring the PROT C command.


Top
 Profile  
 
 Post subject: Re: Secure control channel only
PostPosted: 2008-07-27 15:13 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 14307
A command only has any effect if it succeeds. A failed command should be identical to NOOP.

Since clear data channel is the default, a serve requiring an explicit PROT C would violate the specifications. If you have such a server, you need to upgrade to a better one.


Top
 Profile  
 
 Post subject: Re: Secure control channel only
PostPosted: 2008-07-27 15:40 
Offline
500 Syntax error

Joined: 2008-07-24 03:22
Posts: 16
After PROT P is rejected, is the data connection Clear?


Top
 Profile  
 
 Post subject: Re: Secure control channel only
PostPosted: 2008-07-27 15:59 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 14307
If PROT P is rejected, the protection level remains unchanged.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group