04 Wireshark
04 Wireshark
Wireshark
Network Protocol Analyzer
URL: http://www.wireshark.org
Training: http://www.wiresharktraining.com
Network Protocol Analyzer
Computer with single wired Network Interface Card
2
Network Protocol Analyzer
Computer with wired Network Interface Card and Wireless Interface
3
Network Protocol Analyzer
In Web Browser (Internet Explorer) the hitachimed.com URL was entered
4
Network Protocol Analyzer
In the DOS emulator window (DOS Prompt Window) a ping was executed to 4.2.2.2.2
5
Network Protocol Analyzer
In the DOS emulator window (DOS Prompt Window) a ping was executed to 10.2.4.154
6
Network Protocol Analyzer
Computer A Computer B
I.P. Address = 10.2.4.153 I.P. Address = 10.2.4.154
MAC Address: D4-BE-D9-18-3C-EA MAC Address: 00-0F-1F-D6 -9B-4F
10
Network Protocol Analyzer
DICOM ping to a DICOM Server on I.P. 10.2.4.154 NOT listening on port 5000
The Client tries to connect on TCP level first, but receives a Reset (RST) from the Server
11
Network Protocol Analyzer
DICOM ping to a DICOM Server on I.P. 10.2.4.154 / Port 5000 – Firewall blocks the port on the Server.
The Client tries to connect on TCP level first, but receives a Reset (RST) from the Server
12
Network Protocol Analyzer
DICOM ping to a DICOM Server on I.P. 10.2.4.154 / Port 5000 – Firewall blocks the port on the Client.
The Client tries to connect on TCP level first, but receives a Reset (RST) from the Server
13
Network Protocol Analyzer
Wireshark has many commands/filters that can be executed from the GUI or via the executable
files in the Wireshark Folder.
Wireshark is very sensitive with proper formatting and capital / lower cases.
ip.addr==10.2.4.154 This filter will only display traffic to and from I.P. Address 10.2.4.154
ip.addr==10.2.4.154 && 10.2.4.153 This filter will only display traffic to and from I.P. Address 10.2.4.154 and 10.2.4.153
!ip.addr==10.2.4.154 This filter will display everything except traffic to and from I.P. Address 10.2.4.154
dicom This filter will only display traffic using the DICOM protocol
!dicom This filter will display traffic except the DICOM protocol
ip.addr==10.2.4.154 && dicom This filter will display traffic to and from I.P. Address 10.2.4.154 using the DICOM protocol
14
Network Protocol Analyzer
DICOM Single Ultrasound Image Storage by client 172.22.16.2 to PACS Server 10.2.4.154.
For this session, 376 packets are needed.
15
Network Protocol Analyzer
DICOM Single Ultrasound Image Storage by client 172.22.16.2 to PACS Server 10.2.4.154.
For this session, a total of 376 packets are used.
16
Network Protocol Analyzer
DICOM Single Ultrasound Image Storage by client 172.22.16.2 to PACS Server 10.2.4.154.
Packet # 355 the DICOM Header Information
17
Network Protocol Analyzer
DICOM Single Ultrasound Image Storage by client 172.22.16.2 to PACS Server 10.2.4.154.
Packet # 366 the actual successful storage of the Ultrasound Image (i.e. DICOM Object)
18
Network Protocol Analyzer
The following situation will demonstrate a problem with the DICOM Abstract Syntax.
The PACS Server has I.P. Address 172.22.16.2 and the Ultrasound System10.2.4.154.
The problem is that in the Presentation Context, the SOP Class UID Ultrasound Image
Storage (Abstract Syntax) is not accepted by the Server and will reject the DICOM association.
With other words; the PACS server accepts all kinds of formats, but no Ultrasound Images.
Sends: Ultrasound Image Store Request Stores all kind of images except Ultrasound Images
19
Network Protocol Analyzer
Frame Number 8 shows the A-Associate Request from the Client to the Server.
In the Packet Details field you can see the Abstract Syntax Ultrasound Image Storage in the Presentation Context.
20
Network Protocol Analyzer
Frame Number 16 shows the A-Associate Accept by the Server.
The Packet Details field shows the reject of the Abstract Syntax in the Presentation Context. Result: Syntax not supported.
21
Network Protocol Analyzer
Frame Number 120 shows the Abort from the Client and the DICOM session ends.
22
Network Protocol Analyzer
The following situation will demonstrate a problem with the DICOM Transfer Syntax.
The PACS Server has I.P. Address 172.22.16.2 and the Ultrasound System10.2.4.154.
The problem is that in the Presentation Context, the Implicit VR Little Endian and Explicit Little
Endian (Transfer Syntaxes) are offered by the Client but both are not supported by the Server
who will reject the DICOM association. This is a very unusual situation as every DICOM
Modality MUST at least support the Implicit VR Little Endian.
In our example, the Transfer Syntax will be displayed in the session as being the fall back
Syntax that is not supported.
24
Network Protocol Analyzer
Frame Number 12 shows the A-Associate Reject by the Server.
The Packet Details field shows the reject of the Transfer Syntax in the Presentation Context. Result: Transfer Syntax not supported.
25
Network Protocol Analyzer
It may be that the Client displays a DICOM timeout error, but this may also be the case on the
Server end.
After rebooting the Modality, the session starts over again and the problem remains.
After rebooting the Server, the problem is fixed, but re-occurs again after a while.
26
Network Protocol Analyzer
Find the culprit
27
Network Protocol Analyzer
Find the culprit
28
Network Protocol Analyzer
The next scenario demonstrates a problem with the DICOM Application Entity Title (AET)
The Client tries to send to the Server by using a wrong name (SERVOR instead of SERVER)
The Server immediately responds with a Called AET not recognized and rejects the Client.
29
Network Protocol Analyzer
Association reject by the Server due to wrong called AET by the calling AET CLIENT
30
Network Protocol Analyzer
The next scenario demonstrates a problem with an unknown device trying to connect.
The Client tries to perform a DICOM Ping with the Server who has no record of the device
and rejects the Association.
The Server does not know this device and aborts the session
Tries to communicate with SERVER
31
Network Protocol Analyzer
Association reject by the Server due to wrong calling AET (unknown).
32