Skip to content

Validate hostname or IP address of association requester

Vrinda edited this page Mar 27, 2023 · 1 revision

Overview

This feature can be used if one needs to validate the hostnames or IP addresses of systems requesting association to the archive.

Configuration

One may either

  • create a LDIF file (e.g.):

      version: 1
      dn: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
      changetype: modify
      add: dcmValidateCallingAEHostname
      dcmValidateCallingAEHostname: TRUE
    

    and import it to the LDAP Server by using the ldapmodify command line utility.

  • or use the Add Attribute... and Add Value... function of Apache Directory Studio to add attributes on Archive Device level (e.g.: dicomDeviceName=dcm4chee-arc) or Application Entity level (e.g.: dicomAETitle=DCM4CHEE) in the Archive Configuration.

One may refer to Archive Device or Archive Network AE to understand the description of attributes.

Go to the Control tab on Configuration page in archive UI and reload the configuration.

Testing

One can test this feature using dcm4che tools. Below C-STORE association is tested.

  1. If sample-config.ldif was imported in one's LDAP, then it contains dicomDeviceName=storescu. Default value set to dicomHostName is localhost. Change that value to the hostname or IP address of the system from where the studies will be stored.

     version: 1
     dn: cn=dicom,dicomDeviceName=storescu,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
     changetype: modify
     replace: dicomHostname
     dicomHostname: host1
    

Once the archive configuration is reloaded, send study (from host1) to the archive using storescu tool

    storescu -c DCM4CHEE@<host_or_ip_dcm4chee-archive>:11112  /path_to_study.dcm
Clone this wiki locally