1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 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 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | 回复: How to capture messages generated by PyEpics? |
From: | "Li, Ji via Tech-talk" <tech-talk at aps.anl.gov> |
To: | Mark Rivers <rivers at cars.uchicago.edu>, "Li, Ji" <liji at bnl.gov> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Fri, 19 Feb 2021 04:04:56 +0000 |
The problem was caused by incorrect filters. The Read/Write messages don't contain the PV names; and I was referring to another IP addresses on a different VLAN. After correcting the filters I got messages on both the workstation and the IOC server. Thank you
Mark.
Best,
-Ji Li
发件人: Tech-talk <tech-talk-bounces at aps.anl.gov> 代表 Li, Ji via Tech-talk <tech-talk at aps.anl.gov>
发送时间: 2021年2月18日 22:42 收件人: Mark Rivers <rivers at cars.uchicago.edu> 抄送: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> 主题: 回复: How to capture messages generated by PyEpics?
Yes, I used PV name (ca.pv) or the IP address of the workstation from which messages were generated (ip.addr) as the filter.
Just tried to capture in the same way on the workstation with Wireshark 2.6.20. Got the same result.
I noticed that in the received messages for both caget and caput, there were only commands "Version" 0x00, "Search" 0x06, "User" 0x14, "Host" 0x15 and "Create channel" 0x12, while I was expecting to see "Read" 0x03 and "Write" 0x04 separately.
Best,
-Ji Li
发件人: Mark Rivers <rivers at cars.uchicago.edu>
发送时间: 2021年2月18日 22:17 收件人: Li, Ji <liji at bnl.gov> 抄送: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> 主题: Re: How to capture messages generated by PyEpics? I don’t think the Wireshark version will matter. Have you put a filter on what Wireshark captures, or on what is selected to display?
Mark Sent from my iPhone On Feb 18, 2021, at 8:26 PM, Li, Ji <liji at bnl.gov> wrote: Thanks Mark. I expect Wireshark to be install & play. The one I used is an old installation on an old server. Will find another one and try it out. Best, -Ji Li ________________________________ 发件人: Mark Rivers <rivers at cars.uchicago.edu> 发送时间: 2021年2月18日 20:11 收件人: Li, Ji <liji at bnl.gov> 抄送: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> 主题: RE: How to capture messages generated by PyEpics? Ø When I get/set from PyEpics (tried both PV module and CA module), the program was able to successfully get the up-to-date value of the PV and set new value to it, Ø > but no messages showed up. Doesn't PyEpics communicate using CA protocol messages? Are there specific filter/configuration to be done in Wireshark to show these messages? There is no difference in the CA network messages using caget and PyEpics. They both use the same libca.so library from EPICS base. You must have something configured wrong in Wireshark or something. Mark From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Li, Ji via Tech-talk Sent: Thursday, February 18, 2021 4:52 PM To: tech-talk at aps.anl.gov Subject: How to capture messages generated by PyEpics? Hi, I'm trying to capture CA messages targeting a specific PV on the IOC server with Wireshark (v1.12.1) and Michael Davidsaver's cashark plugin (ca.pv or ip.addr as the filter). Wireshark was able to capture messages generated by caget/caput commands ran from bash. When I get/set from PyEpics (tried both PV module and CA module), the program was able to successfully get the up-to-date value of the PV and set new value to it, but no messages showed up. Doesn't PyEpics communicate using CA protocol messages? Are there specific filter/configuration to be done in Wireshark to show these messages? Thanks. -Ji Li |