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: Channel access blocking
From: "Williams Jr., Ernest L." <ernesto@slac.stanford.edu>
To: Mark Rivers <rivers@cars.uchicago.edu>, Mark Engbretson <engbretson@anl.gov>, "'Hidas, Dean'" <dhidas@bnl.gov>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Fri, 1 Dec 2017 14:58:30 +0000

The support for this is available as of EPICS 3.15.4 on the ca server.


Please see:

http://www.aps.anl.gov/epics/base/R7-0/1-docs/RELEASE_NOTES.html




Cheers,


Ernest Williams
Dept. Head, Advanced Control Systems
Advanced Instrumentation Research, Technology Innovation Directorate
SLAC National Laboratory, Stanford University



From: tech-talk-bounces@aps.anl.gov <tech-talk-bounces@aps.anl.gov> on behalf of Mark Rivers <rivers@cars.uchicago.edu>
Sent: Friday, December 1, 2017 6:53 AM
To: Mark Engbretson; 'Hidas, Dean'; tech-talk@aps.anl.gov
Subject: Re: Channel access blocking
 
> You could use
> EPICS_CA_ADDR_LIST


That only works for CA clients.  The IOC server will still serve the PVs on all interfaces.

There is another environment variable that applies to CA servers.  This is from the 3-14 Channel Access Reference Manual.

Binding a Server to a Limited Set of Network Interfaces

The parameter EPICS_CAS_INTF_ADDR_LIST allows a ca server to bind itself to, and therefore accept messages only over, a limited set of the local host's network interfaces (each specified by it's IP address). On UNIX systems type "netstat -i" (type "ipconfig" on windows) to see a list of the local host's network interfaces. Specifically, UDP search messages addressed to both the IP addresses in EPICS_CAS_INTF_ADDR_LIST and also to the broadcast addresses of the corresponding LAN interfaces will be accepted by the server. By default, the CA server is accessible from all network interfaces configured into its host. In R3.14 and previous releases the CA server employed by iocCore does not implemet this feature.


Note that in 3.14 this does not work for the IOC server.  I am not sure if it is implemented in 3.15. or 3.16?

===============
Indeed, it has been implemented:
The support for this is available as of EPICS 3.15.4 on the ca server.

Please see:
http://www.aps.anl.gov/epics/base/R7-0/1-docs/RELEASE_NOTES.html




Mark


________________________________
From: tech-talk-bounces@aps.anl.gov <tech-talk-bounces@aps.anl.gov> on behalf of Mark Engbretson <engbretson@anl.gov>
Sent: Friday, December 1, 2017 8:42 AM
To: 'Hidas, Dean'; tech-talk@aps.anl.gov
Subject: RE: Channel access blocking

You could use

EPICS_CA_ADDR_LIST

And set it to the broadcast address(s) of the interface(s) that you want to
use and set

EPICS_CA_AUTO_ADDR_LIST=NO
So that EPICS will not try to use ever Ethernet adapter that it detects.


-----Original Message-----
From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov]
On Behalf Of Hidas, Dean
Sent: Friday, December 1, 2017 7:27 AM
To: tech-talk@aps.anl.gov
Subject: Channel access blocking

Hi,

I'm using EPICS R3.14.12.3-8.  I have a (many) PC with 2 ethernet ports
connected to different networks.  Is there a simple way to completely block
channel access from 1 of them? ie, make all PVs, beacons, etc unavailable to
that interface?

Thanks for your help,

-Dean Hidas=


References:
Channel access blocking Hidas, Dean
RE: Channel access blocking Mark Engbretson
Re: Channel access blocking Mark Rivers

Navigate by Date:
Prev: Re: Channel access blocking Mark Rivers
Next: Re: dbGetLink question Andrew Johnson
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: Channel access blocking Mark Rivers
Next: dbGetLink question Mark Rivers
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 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·