EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: conserver and screen
From: Ralph Lange <[email protected]>
To: Emmanuel Mayssat <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Fri, 25 Apr 2008 09:47:59 +0200
Hi Emmanuel,

you can always configure conserver to do a "ssh <softioc-host> telnet localhost <softioc-port>" if you prefer not to run the conserver-server on the soft ioc host itself.
Opening up the telnet port to a linux hosted soft IOC opens up a severe security hole, as everybody can connect to the IOC console and might be able (using the "system" command in IOCshell) to execute arbitrary commands on the host machine. So I'm a bit reluctant on that issue. Maybe I add a compile switch enabling an additional command line option? Maybe rather not?


I have noted your other request and will add the corresponding option.
Use the -i (--ignore) option to block unwanted characters. For soft IOCs I suggest using "-i ^C^D" as ^D will also stop (and restart) the soft IOC.
BTW: This is described in detail on procServ's one page html documentation. (procServ seems to be not simple enough...)


Tech-talk-readers: This refers to enhancements to procServ (originally written by Dave Thompson at SNS), that I'm going to release and publish later today (maybe Monday), after adding Emmanuel's suggestions. (I sent him a pre-release tar for real-life beta-testing.) Stay tuned for a moment.

Cheers,
Ralph


Emmanuel Mayssat wrote:
I am now using a procServ/conserver configuration.
One of the issue is that the procServ allow only connection from
localhost (telnet localhost <port> ) as a result the conserver master
for the associated console should be the host on which procServ is run.

I have noticed that procServ respawn the process if killed (or crashed?)
is there a way to control the respawning of process without having to
recompile procServ? Apparently there is no command line option to stop
that behavior or to configure it.

procServ is simple and straightforward.
Perfect for simple minded people like me ;-)
I noticed that Crtl-C kill the child process.
Is there a way to prevent this?

--
E



On Wed, 2008-04-23 at 17:23 -0700, Emmanuel Mayssat wrote:
I recently looked at conserver.
It is great for logging terminal outputs and getting IOC access from any
authorized host.

I believe some of you use this application to start IOCs.
How do you start the IOC in the first place? manually?
Is there a way to start the IOC manually but in detached mode?
There is probably a combination of screen/conserver that does what I
want...

--
Emmanuel

References:
conserver and screen Emmanuel Mayssat
Re: conserver and screen Emmanuel Mayssat

Navigate by Date:
Prev: Re: conserver and screen Emmanuel Mayssat
Next: procServ V2.1.0 soft IOC server released Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: conserver and screen Emmanuel Mayssat
Next: Archiveviewer - unable to plot values Duggan, AJ (Andrew)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·