I would like to send my dicom file (k-pacs aplication) from external network to conquest server without reading/downloading file permission from conquest to this k-pacs. How to configure conquest server?
conquest - read and send dicom file with permission
-
-
Not sure what you mean. If you know the IP address of the server you can send to it.
Marcel
-
I have an external network from which I am sending files. I wanted to block the possibility of reading dicom from this network.External network is only meant to send dicom files and a local network for reading files. Now I can read study list and send dicom files from external network. I don't want this. I do not want it to be possible to read the study list. (only send). Did you understand what I mean?
-
Ah,
you can add a lua script line to dicom.ini similar to this (untested) to achieve this.
[lua]
QueryConverter0 = if not string.match(Association.ip, '192.69') then destroy() end
Similar events exist for other tasks such as Retrieve and WorkListQuery
regards
Marcel
-
thanks
What should IP be?
[lua]
QueryConverter0 = if not string.match(Association.ip, '192.69') then destroy() end
or
[lua]
QueryConverter0 = if not string.match(Association.ip, '192.169') then destroy() end ?
-
Hi,
this is just a way to test for your internal IP address range. I have no idea what that is. Say you internal address are like 192.169.1.21. Then this should work (note I fixed the syntax):
QueryConverter0 = if not string.match(Association.ConnectedIP, '^192.169') then destroy() end
regards,
Marcel
-
it doesn't work. I see study list in k-pacs or radiant from external IP
-
Please post what you entered.
And add
[lua]
QueryConverter0 = if not string.match(Association.ConnectedIP, '^192.169') then destroy() end
Association = print(Association.ConnectedIP)
To see that the IP is like.
Marcel
-
I add this your last code to dicom.ini
I have all the time list of patient (external ip).
I have this code in conquest server.
Code[CONQUESTSRV1] DGATE (1.4.17beta3, build Thu May 23 15:40:56 2013, bits 32) is running as threaded server[CONQUESTSRV1] *** lua run error [string "if not string.match(Association.ConnectedIP..."]:1: attempt to call global 'destroy' (a nil value) in 'if not string.match(Association.ConnectedIP, '^192.168') then destroy() end' -
Aha, an older version,
use script('destroy') in the script to stop access, rather than destroy().
Marcel
-
-
you miss the 'script' in
script('destroy')
Marcel
-
I corrected code.
Now I can't read list of study from external network but I can't send dicom file from external IP
-
Hi,
can you post your dicom.ini
Marcel
-
-
Hi,
It all looks allright. What does the log show for the different interactions?
Marcel
-
Hi
Which log?
-
serverstatus.log or on the GUI window.
Marcel
-
external IP
Codelocal IP
Code -
I see no error and if dicom.ini is as listed here, the script should work. If I run
if not string.match('192.168.1.16', '^192.168') then script('destroy') end
The script('destroy') does not fire.
If I put the same lines work in my dicom server they work. There is a version difference but it that part is the same.
Marcel
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!