File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 4141
4242__all__ = [
4343 "DICOM_PORT" ,
44+ "DICOM_PORT_ALT" ,
4445 "APP_CONTEXT_UID" ,
4546 "DEFAULT_TRANSFER_SYNTAX_UID" ,
4647 "VERIFICATION_SOP_CLASS_UID" ,
105106log = logging .getLogger ("scapy.contrib.dicom" )
106107
107108DICOM_PORT = 104
109+ DICOM_PORT_ALT = 11112
108110APP_CONTEXT_UID = "1.2.840.10008.3.1.1.1"
109111DEFAULT_TRANSFER_SYNTAX_UID = "1.2.840.10008.1.2"
110112VERIFICATION_SOP_CLASS_UID = "1.2.840.10008.1.1"
@@ -1270,6 +1272,8 @@ def mysummary(self) -> str:
12701272
12711273bind_layers (TCP , DICOM , dport = DICOM_PORT )
12721274bind_layers (TCP , DICOM , sport = DICOM_PORT )
1275+ bind_layers (TCP , DICOM , dport = DICOM_PORT_ALT )
1276+ bind_layers (TCP , DICOM , sport = DICOM_PORT_ALT )
12731277bind_layers (DICOM , A_ASSOCIATE_RQ , pdu_type = 0x01 )
12741278bind_layers (DICOM , A_ASSOCIATE_AC , pdu_type = 0x02 )
12751279bind_layers (DICOM , A_ASSOCIATE_RJ , pdu_type = 0x03 )
You can’t perform that action at this time.
0 commit comments