Jim Li | 9 Jan 2006 20:27
Picon

Question on PURE-FTP


Hi there,

Could anyone help me on if PURE-FTPD supports "normal" mode in terms of
login and file transfer? I.e. does PURE-FTPD support only the "secure" mode?

If I want PURE-FTPD to support "normal" login and file transfer, how can I
do it?

Thanks in advance.

Jim

---------------------------------------------------------------------
To post a new message, e-mail: list <at> pureftpd.org
To unsubscribe, e-mail: list-unsubscribe <at> pureftpd.org
For additional commands, e-mail: list-help <at> pureftpd.org

Jeremy Kitchen | 9 Jan 2006 21:35

Re: Question on PURE-FTP

On Monday 09 January 2006 11:27, Jim Li wrote:
> Hi there,
>
> Could anyone help me on if PURE-FTPD supports "normal" mode in terms of
> login and file transfer? I.e. does PURE-FTPD support only the "secure"
> mode?
>
>
> If I want PURE-FTPD to support "normal" login and file transfer, how can I
> do it?

what are you referring to when you say 'normal' and 'secure' mode?

-Jeremy

--

-- 
Jeremy Kitchen ++ kitchen <at> scriptkitchen.com

In the beginning was The Word and The Word was Content-type: text/plain
  -- The Word of Bob.
Pedram Ebrahimian-Diznabi | 10 Jan 2006 22:26
Favicon

RE: Question on PURE-FTP

Hi Jim,

As I said I'm unsure as to what you meant, and yes you are right. ssl/tls will be disabled by default and unless
you have configured it will not be enabled (btw I didn't get any attachments from you)

could you explain what you are trying to do again? what is failing? you mentioned "why couldn't PURE-FTPD
download the file that I was expecting?" what file? 

I have few question:
a) are you able to start pure-ftpd and login to it (do you have virtual users or system users)
b) are you able to upload files to your ftp?
c) are you able to download files off the ftp?
d) get the individual who made the comment about 'secure' and 'normal' to elaborate on his comment.

-----Original Message-----
From: Jim Li [mailto:jim.li <at> alcatel.com]
Sent: Tuesday, January 10, 2006 3:27 PM
To: Pedram Ebrahimian-Diznabi; list <at> pureftpd.org
Subject: RE: [pureftpd] Question on PURE-FTP

Hi Pedram,

Thanks for the info.

But I still have some questions:

1. By reading http://www.pureftpd.org/README.TLS, it seems that PURE-FTPD
will disable the SSL/TLS by default i.e. my system should NOT have SSL/TLS
enabled (to the best of my knowledge) unless specifically done by someone.

(Continue reading)

Jim Li | 10 Jan 2006 22:56
Picon

RE: Question on PURE-FTP


Hi Pedram,

Sorry for the missing attachment. I think the network server dropped it for
some reasons. I'll copy the config file below.

Basically I set up a DHCP server along with a FTP server (on the same box),
so when our SUT is booted, it'll get ip address and the FTP serve ip address
from the DHCP server. Then it'll download the required configuration file
from the FTP server.

I had the PURE-FTPD set up but there was no file downloading during SUT
device restart. One guy from the SUT device team thought PURE-FTPD may have
SSL/TLS enabled while the SUT device doesn't support SSL/TLS yet and he
wanted to set up another FTP server which functions under "normal" condition
i.e. without SSL/TLS being enabled. 

That was the background story. I've confirmed that the "normal" and "secure"
categories that were mentioned by the person were related to the SSL/TLS.

I'm trying to figure out why the file downloading not happening with
PURE-FTPD? BTW, we have another DHCP server running with Redhat Linux and
the FTP server there is running just fine.

To answer your questions:

a. I can start PURE-FTPD (from Linux CLI) and I can check it's running. I'm
not sure about the virtual user or system user. Do I need to set up
database? I just wanted to set up a FTP server and download the config file
to the device, that's it. I can't afford too much time on this.
(Continue reading)

Jeremy Kitchen | 11 Jan 2006 00:44

Re: Question on PURE-FTP

On Tuesday 10 January 2006 13:56, Jim Li wrote:
> Hi Pedram,
>
> Sorry for the missing attachment. I think the network server dropped it for
> some reasons. I'll copy the config file below.
>
> Basically I set up a DHCP server along with a FTP server (on the same box),
> so when our SUT is booted, it'll get ip address and the FTP serve ip
> address from the DHCP server. Then it'll download the required
> configuration file from the FTP server.

doesn't BOOTP require a tftp server? (as in, trivial ftp) Maybe that is what 
your friend is saying.

-Jeremy

[snip 340 lines of crap that should have been trimmed]
--

-- 
Jeremy Kitchen ++ kitchen <at> scriptkitchen.com

In the beginning was The Word and The Word was Content-type: text/plain
  -- The Word of Bob.
Pedram Ebrahimian-Diznabi | 9 Jan 2006 23:48
Favicon

RE: Question on PURE-FTP

When you talk about normal and secure only two things come to mind.

Normal: no encryption
Secure: with encryption

Depending on how you have compiled PURE-FTPD you will have:

a) SSL/TLS encryption layer disabled (default)
b) accepts both none encrypted and encrypted sessions
c) only accepts SSL/TLS sessions

from what you have mentioned, you may have compiled PURE-FTPD with (--with-tls)

and you are running PURE-FTPD with (--tls=2)

if this is so, you can fix the problem by running PURE-FTPD with --tls=1 or 0
(http://www.pureftpd.org/README.TLS for more info)

or if you are running PURE-FTPD with the config file (/usr/local/etc/pure-ftpd.config)
Scroll down, and change the 
TLS 		2
to
TLS		0 or 1 (review the above page)

I hope that helped, I was unclear as to what you meant by normal I only assumed you meant this.

-----Original Message-----
From: Jim Li [mailto:jim.li <at> alcatel.com]
Sent: Monday, January 09, 2006 5:23 PM
To: 'DervishD'
(Continue reading)

Jim Li | 10 Jan 2006 21:27
Picon

RE: Question on PURE-FTP


Hi Pedram,

Thanks for the info.

But I still have some questions:

1. By reading http://www.pureftpd.org/README.TLS, it seems that PURE-FTPD
will disable the SSL/TLS by default i.e. my system should NOT have SSL/TLS
enabled (to the best of my knowledge) unless specifically done by someone.

2. Even with --tls=1/2 added, but without the SSL security certificate,
SSL/TLS should not be able to function as designed i.e. the PURE-FTPD will
function as non-secured.

3. With 1) and 2) being ruled out (is my assumption correct?), why couldn't
PURE-FTPD download the file that I was expecting? Do I miss the directory
path for the PURE-FTPD to locate the file? The config file doesn't include
this info. Is /var/ftp the default FTP directory for PURE-FTPD?

I've attached the PURE-FTPD config file, please take a look if I missed
anything.

Many thanks.

Jim

> -----Original Message-----
> From: Pedram Ebrahimian-Diznabi [mailto:ped <at> sandvine.com] 
> Sent: Monday, January 09, 2006 5:48 PM
(Continue reading)

Scott Miller | 10 Jan 2006 04:20

Install question

Hi,

I need some help setting pureftpd.

I used this document to guide me
http://gentoo-wiki.com/HOWTO_PureFTPD_with_MySQL_Auth_and_PhpMyAdmin and
then created a user in mysql.

My ftp client connects to the server put will not authenticate my user.  I
delete mysqlgetuid and mysqlpid with MYSQLDefaultUID 1000 and
MYSQLDefaultGID 1000 per this document  http://www.pureftpd.org/README.MySQL
.

However I still cannot log in.  What am I doing wrong?

Scott

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.16/225 - Release Date: 1/9/2006

--

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.16/225 - Release Date: 1/9/2006

---------------------------------------------------------------------
To post a new message, e-mail: list <at> pureftpd.org
To unsubscribe, e-mail: list-unsubscribe <at> pureftpd.org
(Continue reading)

Tradebit Service | 10 Jan 2006 12:34

RE: Install question

> My ftp client connects to the server put will not 
> authenticate my user.  I delete mysqlgetuid and mysqlpid with 
> MYSQLDefaultUID 1000 and MYSQLDefaultGID 1000 per this 
> document  http://www.pureftpd.org/README.MySQL

Hi Scott,

I figure you use the socket, not the port to connect?
First I would try to connect on the port by enableing it:

#MYSQLPort       3306 

remove the #

and try to connect manually from the shell first with
the mysql client:

mysql -hyourhost -uyouruser -pyourpw yourdb

and fire up the select for the user identification manually to see,
if that works.

Regards,

Ralf Schwoebel
http://www.tradebit.com/

---------------------------------------------------------------------
To post a new message, e-mail: list <at> pureftpd.org
To unsubscribe, e-mail: list-unsubscribe <at> pureftpd.org
(Continue reading)

DervishD | 10 Jan 2006 09:30

Re: Install question

    Hi Scott :)

 * Scott Miller <smaction <at> slightlysuspect.com> dixit:
> My ftp client connects to the server put will not authenticate my
> user.  I delete mysqlgetuid and mysqlpid with MYSQLDefaultUID 1000
> and MYSQLDefaultGID 1000 per this document
> http://www.pureftpd.org/README.MySQL
> 
> However I still cannot log in.  What am I doing wrong?

    First, using an existing thread to post a new message ;)) No
offense intended, but post new messages in new threads please.

    Unfortunately, I don't use MySQL so I cannot help with your
problem, but here are people that surely can. You give no information
about the problem (apart from the fact that you cannot log in): is
your username rejected? Have you anonymous access (if enabled, of
course) or anonymous users cannot log in either? Have you tried with
puredb or similar to see in the problem is MySQL support or not?

    Raúl Núñez de Arenas Coronado

--

-- 
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to...

---------------------------------------------------------------------
To post a new message, e-mail: list <at> pureftpd.org
To unsubscribe, e-mail: list-unsubscribe <at> pureftpd.org
(Continue reading)

Jim Li | 10 Jan 2006 00:36
Picon

RE: Question on PURE-FTP

Hi Pedram,

Thank you very much for your info. I think your explanation will help. 

I'll modify the config file and get it a try.

Thanks again,

Jim

> -----Original Message-----
> From: Pedram Ebrahimian-Diznabi [mailto:ped <at> sandvine.com] 
> Sent: Monday, January 09, 2006 5:48 PM
> To: list <at> pureftpd.org
> Subject: RE: [pureftpd] Question on PURE-FTP
> 
> When you talk about normal and secure only two things come to mind.
> 
> Normal: no encryption
> Secure: with encryption
> 
> Depending on how you have compiled PURE-FTPD you will have:
> 
> a) SSL/TLS encryption layer disabled (default)
> b) accepts both none encrypted and encrypted sessions
> c) only accepts SSL/TLS sessions
> 
> from what you have mentioned, you may have compiled PURE-FTPD 
> with (--with-tls)
> 
(Continue reading)

DervishD | 9 Jan 2006 23:04

Re: Question on PURE-FTP

    Hi Jim :)

 * Jim Li <jim.li <at> alcatel.com> dixit:
> Could anyone help me on if PURE-FTPD supports "normal" mode in
> terms of login and file transfer? I.e. does PURE-FTPD support only
> the "secure" mode?

    I don't know what you mean with "normal" and "secure" mode. Can
you ellaborate on that? Probably there's a way of using "normal" mode
in pure-ftpd (although it may involve patching), but I need to know
what do you mean by "normal" and "secure" modes ;)

    Raúl Núñez de Arenas Coronado

--

-- 
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to...

---------------------------------------------------------------------
To post a new message, e-mail: list <at> pureftpd.org
To unsubscribe, e-mail: list-unsubscribe <at> pureftpd.org
For additional commands, e-mail: list-help <at> pureftpd.org

Jim Li | 9 Jan 2006 23:23
Picon

RE: Question on PURE-FTP

Hi Folks,

First of all, thanks for the reply.

I got the PURE-FTPD set up and somebody told me that one of our devices only
supports "normal" login and file transfer vs the "secure" way. So unless I
could find a way to change the PURE-FTPD to "normal" category, I would not
be able to continue my work with the PURE-FTPD. 

(I've sent out email to the person who used the terms and haven't got reply
yet. Here is the excerpt which the "normal" and "secure" categories were
first mentioned: "The login and file transfer is divided into two categories
..secure and normal.")

Please let me know if this helps to clarify.

I'm going through RFC959 to see if the document can shed some light.

Thanks again for the help.

Jim

> -----Original Message-----
> From: DervishD [mailto:pureftpd <at> dervishd.net] 
> Sent: Monday, January 09, 2006 5:05 PM
> To: Jim Li
> Cc: list <at> pureftpd.org
> Subject: Re: [pureftpd] Question on PURE-FTP
> 
>     Hi Jim :)
(Continue reading)

Jeremy Kitchen | 9 Jan 2006 23:33

Re: Question on PURE-FTP

On Monday 09 January 2006 14:23, Jim Li wrote:
> Hi Folks,
>
> First of all, thanks for the reply.
>
> I got the PURE-FTPD set up and somebody told me that one of our devices
> only supports "normal" login and file transfer vs the "secure" way. So
> unless I could find a way to change the PURE-FTPD to "normal" category, I
> would not be able to continue my work with the PURE-FTPD.
>
> (I've sent out email to the person who used the terms and haven't got reply
> yet. Here is the excerpt which the "normal" and "secure" categories were
> first mentioned: "The login and file transfer is divided into two
> categories ..secure and normal.")
>
> Please let me know if this helps to clarify.

not really.  perhaps you can get the person who mentioned "normal" and 
"secure" subscribed to the list to take part in this discussion.

-Jeremy

--

-- 
Jeremy Kitchen ++ kitchen <at> scriptkitchen.com

In the beginning was The Word and The Word was Content-type: text/plain
  -- The Word of Bob.

Gmane