Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: RE: FTP server on Linux(Ubuntu)
From: Mark Rivers <rivers@cars.uchicago.edu>
To: 'keith.thorne' <kthorne@ligo-la.caltech.edu>, Amit Chauhan <amit@rrcat.gov.in>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Fri, 1 Sep 2017 15:22:47 +0000
On our recent Linux systems (Centos 7) we use rsh for loading vxWorks, not ftp.  I think rsh is somewhat more secure, since it does not put clear text passwords on the network.  We have a Linux account that is only for booting the VxWorks IOCs.  Its home directory contains only a .rhosts file which contains the IP host names of the IOC that are allowed to boot.

corvette:/home/iocboot>more .rhosts
ioc13bma.cars.aps.anl.gov iocboot
ioc13bmc.cars.aps.anl.gov iocboot
ioc13bmd.cars.aps.anl.gov iocboot
ioc13ida.cars.aps.anl.gov iocboot
ioc13idc.cars.aps.anl.gov iocboot
ioc13idd.cars.aps.anl.gov iocboot
ioc13ide.cars.aps.anl.gov iocboot
ioc13lab.cars.aps.anl.gov iocboot
ioc13lab2.cars.aps.anl.gov iocboot
ioc13ge1.cars.aps.anl.gov iocboot
ioc13ge2.cars.aps.anl.gov iocboot
ioc15lab.cars.aps.anl.gov iocboot
ioc15ida.cars.aps.anl.gov iocboot


-----Original Message-----
From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of keith.thorne
Sent: Friday, September 01, 2017 10:14 AM
To: Amit Chauhan
Cc: tech-talk@aps.anl.gov
Subject: Re: FTP server on Linux(Ubuntu)

Dear Amit

	I think the problem is that ‘vsftpd’ FTP service - it likely requires authentication, security, protocols the VME machines are not up to.

Here at LIGO, we successfully transitioned some really old VME/VxWorks machines from a Solaris file server to [eventually] an Ubuntu 12.04LTS machine running nfs-kernel-server and rsh-redone-server.  We enter the machine in an rhosts table.

My limited check of ‘vsftpd’ says it is ‘Very Secure FTP Daemon’  I would start by using a more vanilla server like nfs-kernel-server

	Keith Thorne

> On Sep 1, 2017, at 7:12 AM, Amit Chauhan <amit@rrcat.gov.in> wrote:
> 
> Hello,
> 
> This is regarding use of FTP server on a Linux (Ubuntu) PC.
> 
> I am trying to use an Ubuntu 14.04 PC as an FTP server by using the 'vsftpd' application.
> The client is a VME based CPU running vxWorks that needs to download kernel image over FTP.
> 
> This client is getting served when I am using a Windows based FTP server.
> 
> But somehow the FTP connection is not getting established between the VME client and Ubuntu based server.
> 
> The error messages I get on client side are like :
> FTP Transfer Failed
> Error Code = 0x3d  (ECONNREFUSED)
> 
> I googled about the problem and tried a few suggestion of making changes in the vsftpd.conf file , but to no avail.
> 
> Also I do not see any entry in the log file on the server (/var/log/vsftpd.log)
> 
> The FTP service seems to be running on the PC as I get a task ID. Also when I type the command 'ftp <self IP-address>' in a terminal , I get the 'ftp>' prompt.
> 
> Has anybody successfully used the vsftpd on Ubuntu (or Linux in general) PC to server an external VME like client ?
> 
> Thanks,
> Amit
> 
> 



------
Keith Thorne <kthorne@ligo-la.caltech.edu>
CDS Software Engineer
LIGO Livingston Laboratory
Livingston, LA 70754
Phone: (225)686-3168 Fax: (225)686-7189


References:
FTP server on Linux(Ubuntu) Amit Chauhan
Re: FTP server on Linux(Ubuntu) keith.thorne

Navigate by Date:
Prev: Re: FTP server on Linux(Ubuntu) keith.thorne
Next: Re: FTP server on Linux(Ubuntu) Heinz Junkes
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Re: FTP server on Linux(Ubuntu) keith.thorne
Next: Re: FTP server on Linux(Ubuntu) Heinz Junkes
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 01 Sep 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·