stix_schema_spy 1.0 → 1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/config/1.1/stix/cybox/objects/Win_Hook_Object.xsd +1 -1
- data/config/1.1.1/stix/campaign.xsd +220 -0
- data/config/1.1.1/stix/course_of_action.xsd +191 -0
- data/config/1.1.1/stix/cybox/cybox_common.xsd +2700 -0
- data/config/1.1.1/stix/cybox/cybox_core.xsd +1145 -0
- data/config/1.1.1/stix/cybox/cybox_default_vocabularies.xsd +5180 -0
- data/config/1.1.1/stix/cybox/extensions/location/ciq_address_3.0.xsd +27 -0
- data/config/1.1.1/stix/cybox/extensions/platform/cpe2.3.xsd +34 -0
- data/config/1.1.1/stix/cybox/external/cpe_2.3/cpe-language_2.3.xsd +234 -0
- data/config/1.1.1/stix/cybox/external/cpe_2.3/cpe-naming_2.3.xsd +45 -0
- data/config/1.1.1/stix/cybox/external/cpe_2.3/xml.xsd +145 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xAL.xsd +672 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNAL.xsd +126 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNL.xsd +284 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
- data/config/1.1.1/stix/cybox/objects/API_Object.xsd +55 -0
- data/config/1.1.1/stix/cybox/objects/ARP_Cache_Object.xsd +98 -0
- data/config/1.1.1/stix/cybox/objects/AS_Object.xsd +50 -0
- data/config/1.1.1/stix/cybox/objects/Account_Object.xsd +501 -0
- data/config/1.1.1/stix/cybox/objects/Address_Object.xsd +127 -0
- data/config/1.1.1/stix/cybox/objects/Archive_File_Object.xsd +134 -0
- data/config/1.1.1/stix/cybox/objects/Artifact_Object.xsd +212 -0
- data/config/1.1.1/stix/cybox/objects/Code_Object.xsd +417 -0
- data/config/1.1.1/stix/cybox/objects/Custom_Object.xsd +42 -0
- data/config/1.1.1/stix/cybox/objects/DNS_Cache_Object.xsd +53 -0
- data/config/1.1.1/stix/cybox/objects/DNS_Query_Object.xsd +164 -0
- data/config/1.1.1/stix/cybox/objects/DNS_Record_Object.xsd +92 -0
- data/config/1.1.1/stix/cybox/objects/Device_Object.xsd +65 -0
- data/config/1.1.1/stix/cybox/objects/Disk_Object.xsd +117 -0
- data/config/1.1.1/stix/cybox/objects/Disk_Partition_Object.xsd +199 -0
- data/config/1.1.1/stix/cybox/objects/Domain_Name_Object.xsd +57 -0
- data/config/1.1.1/stix/cybox/objects/Email_Message_Object.xsd +278 -0
- data/config/1.1.1/stix/cybox/objects/File_Object.xsd +397 -0
- data/config/1.1.1/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -0
- data/config/1.1.1/stix/cybox/objects/GUI_Object.xsd +40 -0
- data/config/1.1.1/stix/cybox/objects/GUI_Window_Object.xsd +46 -0
- data/config/1.1.1/stix/cybox/objects/HTTP_Session_Object.xsd +633 -0
- data/config/1.1.1/stix/cybox/objects/Hostname_Object.xsd +45 -0
- data/config/1.1.1/stix/cybox/objects/Image_File_Object.xsd +124 -0
- data/config/1.1.1/stix/cybox/objects/Library_Object.xsd +114 -0
- data/config/1.1.1/stix/cybox/objects/Link_Object.xsd +36 -0
- data/config/1.1.1/stix/cybox/objects/Linux_Package_Object.xsd +75 -0
- data/config/1.1.1/stix/cybox/objects/Memory_Object.xsd +141 -0
- data/config/1.1.1/stix/cybox/objects/Mutex_Object.xsd +40 -0
- data/config/1.1.1/stix/cybox/objects/Network_Connection_Object.xsd +540 -0
- data/config/1.1.1/stix/cybox/objects/Network_Flow_Object.xsd +1559 -0
- data/config/1.1.1/stix/cybox/objects/Network_Packet_Object.xsd +2934 -0
- data/config/1.1.1/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -0
- data/config/1.1.1/stix/cybox/objects/Network_Route_Object.xsd +93 -0
- data/config/1.1.1/stix/cybox/objects/Network_Socket_Object.xsd +529 -0
- data/config/1.1.1/stix/cybox/objects/Network_Subnet_Object.xsd +64 -0
- data/config/1.1.1/stix/cybox/objects/PDF_File_Object.xsd +595 -0
- data/config/1.1.1/stix/cybox/objects/Pipe_Object.xsd +40 -0
- data/config/1.1.1/stix/cybox/objects/Port_Object.xsd +40 -0
- data/config/1.1.1/stix/cybox/objects/Process_Object.xsd +199 -0
- data/config/1.1.1/stix/cybox/objects/Product_Object.xsd +65 -0
- data/config/1.1.1/stix/cybox/objects/SMS_Message_Object.xsd +79 -0
- data/config/1.1.1/stix/cybox/objects/Semaphore_Object.xsd +50 -0
- data/config/1.1.1/stix/cybox/objects/Socket_Address_Object.xsd +50 -0
- data/config/1.1.1/stix/cybox/objects/System_Object.xsd +410 -0
- data/config/1.1.1/stix/cybox/objects/URI_Object.xsd +62 -0
- data/config/1.1.1/stix/cybox/objects/URL_History_Object.xsd +104 -0
- data/config/1.1.1/stix/cybox/objects/Unix_File_Object.xsd +164 -0
- data/config/1.1.1/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -0
- data/config/1.1.1/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -0
- data/config/1.1.1/stix/cybox/objects/Unix_Process_Object.xsd +143 -0
- data/config/1.1.1/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -0
- data/config/1.1.1/stix/cybox/objects/Unix_Volume_Object.xsd +41 -0
- data/config/1.1.1/stix/cybox/objects/User_Account_Object.xsd +110 -0
- data/config/1.1.1/stix/cybox/objects/User_Session_Object.xsd +60 -0
- data/config/1.1.1/stix/cybox/objects/Volume_Object.xsd +235 -0
- data/config/1.1.1/stix/cybox/objects/Whois_Object.xsd +430 -0
- data/config/1.1.1/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -0
- data/config/1.1.1/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -0
- data/config/1.1.1/stix/cybox/objects/Win_Driver_Object.xsd +270 -0
- data/config/1.1.1/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -0
- data/config/1.1.1/stix/cybox/objects/Win_Event_Object.xsd +80 -0
- data/config/1.1.1/stix/cybox/objects/Win_Executable_File_Object.xsd +1311 -0
- data/config/1.1.1/stix/cybox/objects/Win_File_Object.xsd +269 -0
- data/config/1.1.1/stix/cybox/objects/Win_Filemapping_Object.xsd +175 -0
- data/config/1.1.1/stix/cybox/objects/Win_Handle_Object.xsd +351 -0
- data/config/1.1.1/stix/cybox/objects/Win_Hook_Object.xsd +152 -0
- data/config/1.1.1/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -0
- data/config/1.1.1/stix/cybox/objects/Win_Kernel_Object.xsd +128 -0
- data/config/1.1.1/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -0
- data/config/1.1.1/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -0
- data/config/1.1.1/stix/cybox/objects/Win_Mutex_Object.xsd +42 -0
- data/config/1.1.1/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -0
- data/config/1.1.1/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -0
- data/config/1.1.1/stix/cybox/objects/Win_Pipe_Object.xsd +73 -0
- data/config/1.1.1/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -0
- data/config/1.1.1/stix/cybox/objects/Win_Process_Object.xsd +174 -0
- data/config/1.1.1/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -0
- data/config/1.1.1/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -0
- data/config/1.1.1/stix/cybox/objects/Win_Service_Object.xsd +287 -0
- data/config/1.1.1/stix/cybox/objects/Win_System_Object.xsd +126 -0
- data/config/1.1.1/stix/cybox/objects/Win_System_Restore_Object.xsd +207 -0
- data/config/1.1.1/stix/cybox/objects/Win_Task_Object.xsd +755 -0
- data/config/1.1.1/stix/cybox/objects/Win_Thread_Object.xsd +146 -0
- data/config/1.1.1/stix/cybox/objects/Win_User_Account_Object.xsd +73 -0
- data/config/1.1.1/stix/cybox/objects/Win_Volume_Object.xsd +161 -0
- data/config/1.1.1/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -0
- data/config/1.1.1/stix/cybox/objects/X509_Certificate_Object.xsd +275 -0
- data/config/1.1.1/stix/data_marking.xsd +97 -0
- data/config/1.1.1/stix/exploit_target.xsd +324 -0
- data/config/1.1.1/stix/extensions/address/ciq_3.0_address.xsd +27 -0
- data/config/1.1.1/stix/extensions/attack_pattern/capec_2.7_attack_pattern.xsd +31 -0
- data/config/1.1.1/stix/extensions/identity/ciq_3.0_identity.xsd +113 -0
- data/config/1.1.1/stix/extensions/malware/maec_4.1_malware.xsd +31 -0
- data/config/1.1.1/stix/extensions/marking/simple_marking.xsd +31 -0
- data/config/1.1.1/stix/extensions/marking/terms_of_use_marking.xsd +31 -0
- data/config/1.1.1/stix/extensions/marking/tlp_marking.xsd +40 -0
- data/config/1.1.1/stix/extensions/structured_coa/generic_structured_coa.xsd +46 -0
- data/config/1.1.1/stix/extensions/test_mechanism/generic_test_mechanism.xsd +46 -0
- data/config/1.1.1/stix/extensions/test_mechanism/open_ioc_2010_test_mechanism.xsd +32 -0
- data/config/1.1.1/stix/extensions/test_mechanism/oval_5.10_test_mechanism.xsd +37 -0
- data/config/1.1.1/stix/extensions/test_mechanism/snort_test_mechanism.xsd +56 -0
- data/config/1.1.1/stix/extensions/test_mechanism/yara_test_mechanism.xsd +36 -0
- data/config/1.1.1/stix/extensions/vulnerability/cvrf_1.1_vulnerability.xsd +33 -0
- data/config/1.1.1/stix/external/capec_2.7/ap_schema_v2.7.xsd +3618 -0
- data/config/1.1.1/stix/external/cvrf_1.1/common.xsd +176 -0
- data/config/1.1.1/stix/external/cvrf_1.1/cpe-language_2.2a.xsd +182 -0
- data/config/1.1.1/stix/external/cvrf_1.1/cvrf.xsd +487 -0
- data/config/1.1.1/stix/external/cvrf_1.1/cvss-v2_0.9.xsd +415 -0
- data/config/1.1.1/stix/external/cvrf_1.1/dc.xsd +118 -0
- data/config/1.1.1/stix/external/cvrf_1.1/prod.xsd +292 -0
- data/config/1.1.1/stix/external/cvrf_1.1/scap-core_0.9.xsd +170 -0
- data/config/1.1.1/stix/external/cvrf_1.1/vuln.xsd +631 -0
- data/config/1.1.1/stix/external/cvrf_1.1/xml.xsd +287 -0
- data/config/1.1.1/stix/external/maec_4.1/maec_bundle_schema.xsd +1228 -0
- data/config/1.1.1/stix/external/maec_4.1/maec_container_schema.xsd +62 -0
- data/config/1.1.1/stix/external/maec_4.1/maec_default_vocabularies.xsd +5325 -0
- data/config/1.1.1/stix/external/maec_4.1/maec_package_schema.xsd +1095 -0
- data/config/1.1.1/stix/external/maec_4.1/metadataSharing.xsd +1712 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/xAL.xsd +672 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/xNAL.xsd +126 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/xNL.xsd +284 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
- data/config/1.1.1/stix/external/open_ioc_2010/ioc-TR.xsd +25 -0
- data/config/1.1.1/stix/external/open_ioc_2010/ioc.xsd +105 -0
- data/config/1.1.1/stix/external/oval_5.10/oval-common-schema.xsd +781 -0
- data/config/1.1.1/stix/external/oval_5.10/oval-definitions-schema.xsd +1608 -0
- data/config/1.1.1/stix/external/oval_5.10/oval-variables-schema.xsd +84 -0
- data/config/1.1.1/stix/external/oval_5.10/xmldsig-core-schema.xsd +309 -0
- data/config/1.1.1/stix/incident.xsd +762 -0
- data/config/1.1.1/stix/indicator.xsd +368 -0
- data/config/1.1.1/stix/stix_common.xsd +923 -0
- data/config/1.1.1/stix/stix_core.xsd +253 -0
- data/config/1.1.1/stix/stix_default_vocabularies.xsd +2081 -0
- data/config/1.1.1/stix/threat_actor.xsd +182 -0
- data/config/1.1.1/stix/ttp.xsd +430 -0
- data/config/1.1.1/uber_schema.xsd +149 -0
- data/lib/stix_schema_spy/models/attribute.rb +1 -1
- data/lib/stix_schema_spy/models/element.rb +2 -9
- data/lib/stix_schema_spy/models/external_type.rb +29 -0
- data/lib/stix_schema_spy/models/has_children.rb +9 -9
- data/lib/stix_schema_spy/models/node.rb +7 -6
- data/lib/stix_schema_spy/models/schema.rb +6 -4
- data/lib/stix_schema_spy/models/type.rb +44 -5
- data/lib/stix_schema_spy/util/tasks.rb +15 -14
- data/lib/stix_schema_spy/version.rb +1 -1
- metadata +171 -9
@@ -0,0 +1,529 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:NetworkSocketObj="http://cybox.mitre.org/objects#NetworkSocketObject-2" xmlns:SocketAddressObj="http://cybox.mitre.org/objects#SocketAddressObject-1" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#NetworkSocketObject-2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
|
3
|
+
<xs:annotation>
|
4
|
+
<xs:documentation>This schema was originally developed by The MITRE Corporation. The CybOX XML Schema implementation is maintained by The MITRE Corporation and developed by the open CybOX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the CybOX website at http://cybox.mitre.org.</xs:documentation>
|
5
|
+
<xs:appinfo>
|
6
|
+
<schema>Network_Socket_Object</schema>
|
7
|
+
<version>2.1</version>
|
8
|
+
<date>01/22/2014</date>
|
9
|
+
<short_description>The following specifies the fields and types that compose this defined CybOX Object type. Each defined object is an extension of the abstract ObjectPropertiesType, defined in CybOX Common. For more information on this extension mechanism, please see the CybOX Specification. This document is intended for developers and assumes some familiarity with XML. </short_description>
|
10
|
+
<terms_of_use>Copyright (c) 2012-2014, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the CybOX License located at http://cybox.mitre.org/about/termsofuse.html. See the CybOX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the CybOX Schema, this license header must be included.</terms_of_use>
|
11
|
+
</xs:appinfo>
|
12
|
+
</xs:annotation>
|
13
|
+
<xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../cybox_common.xsd"/>
|
14
|
+
<xs:import namespace="http://cybox.mitre.org/objects#SocketAddressObject-1" schemaLocation="Socket_Address_Object.xsd"/>
|
15
|
+
<xs:element name="Network_Socket" type="NetworkSocketObj:NetworkSocketObjectType">
|
16
|
+
<xs:annotation>
|
17
|
+
<xs:documentation>The Network_Socket element is intended to characterize network sockets.</xs:documentation>
|
18
|
+
</xs:annotation>
|
19
|
+
</xs:element>
|
20
|
+
<xs:complexType name="NetworkSocketObjectType" mixed="false">
|
21
|
+
<xs:annotation>
|
22
|
+
<xs:documentation>The NetworkSocketObjectType is intended to characterize network sockets.</xs:documentation>
|
23
|
+
</xs:annotation>
|
24
|
+
<xs:complexContent>
|
25
|
+
<xs:extension base="cyboxCommon:ObjectPropertiesType">
|
26
|
+
<xs:sequence>
|
27
|
+
<xs:element name="Address_Family" type="NetworkSocketObj:AddressFamilyType" minOccurs="0">
|
28
|
+
<xs:annotation>
|
29
|
+
<xs:documentation>The Address_Family field specifies the address family (AF_*) that the socket is configured for.</xs:documentation>
|
30
|
+
</xs:annotation>
|
31
|
+
</xs:element>
|
32
|
+
<xs:element name="Domain" type="NetworkSocketObj:DomainFamilyType" minOccurs="0">
|
33
|
+
<xs:annotation>
|
34
|
+
<xs:documentation>The Domain field specifies the communication domain (PF_*) of the socket.</xs:documentation>
|
35
|
+
</xs:annotation>
|
36
|
+
</xs:element>
|
37
|
+
<xs:element name="Local_Address" type="SocketAddressObj:SocketAddressObjectType" minOccurs="0">
|
38
|
+
<xs:annotation>
|
39
|
+
<xs:documentation>The Local_Address field specifies the IP address and port for the socket on the local machine.</xs:documentation>
|
40
|
+
</xs:annotation>
|
41
|
+
</xs:element>
|
42
|
+
<xs:element name="Options" type="NetworkSocketObj:SocketOptionsType" minOccurs="0">
|
43
|
+
<xs:annotation>
|
44
|
+
<xs:documentation>The Options field specifies any particular options used by the socket.</xs:documentation>
|
45
|
+
</xs:annotation>
|
46
|
+
</xs:element>
|
47
|
+
<xs:element name="Protocol" type="NetworkSocketObj:ProtocolType" minOccurs="0">
|
48
|
+
<xs:annotation>
|
49
|
+
<xs:documentation>The Protocol field specifies the type of IP layer protocol used by the socket.</xs:documentation>
|
50
|
+
</xs:annotation>
|
51
|
+
</xs:element>
|
52
|
+
<xs:element name="Remote_Address" type="SocketAddressObj:SocketAddressObjectType" minOccurs="0">
|
53
|
+
<xs:annotation>
|
54
|
+
<xs:documentation>The Remote_Address field specifies the IP address and port for the socket on the remote machine.</xs:documentation>
|
55
|
+
</xs:annotation>
|
56
|
+
</xs:element>
|
57
|
+
<xs:element name="Type" type="NetworkSocketObj:SocketType" minOccurs="0">
|
58
|
+
<xs:annotation>
|
59
|
+
<xs:documentation>The Type field specifies the type of socket being characterized.</xs:documentation>
|
60
|
+
</xs:annotation>
|
61
|
+
</xs:element>
|
62
|
+
<xs:element minOccurs="0" name="Socket_Descriptor" type="cyboxCommon:NonNegativeIntegerObjectPropertyType">
|
63
|
+
<xs:annotation>
|
64
|
+
<xs:documentation>The Socket_Descriptor field specifies the socket file descriptor value associated with the socket. Negative values are not allowed.</xs:documentation>
|
65
|
+
</xs:annotation>
|
66
|
+
</xs:element>
|
67
|
+
</xs:sequence>
|
68
|
+
<xs:attribute name="is_blocking" type="xs:boolean">
|
69
|
+
<xs:annotation>
|
70
|
+
<xs:documentation>The is_blocking field specifies whether or not the socket is in blocking mode.</xs:documentation>
|
71
|
+
</xs:annotation>
|
72
|
+
</xs:attribute>
|
73
|
+
<xs:attribute name="is_listening" type="xs:boolean">
|
74
|
+
<xs:annotation>
|
75
|
+
<xs:documentation>The is_listening field specifies whether or not the socket is in listening mode.</xs:documentation>
|
76
|
+
</xs:annotation>
|
77
|
+
</xs:attribute>
|
78
|
+
</xs:extension>
|
79
|
+
</xs:complexContent>
|
80
|
+
</xs:complexType>
|
81
|
+
<xs:complexType name="SocketOptionsType">
|
82
|
+
<xs:annotation>
|
83
|
+
<xs:documentation>The SocketOptionsType specifies any particular options used by the socket. If an options is supported only by specific address families or socket types, that's indicated in parentheses.</xs:documentation>
|
84
|
+
</xs:annotation>
|
85
|
+
<xs:sequence>
|
86
|
+
<xs:element name="IP_MULTICAST_IF" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
87
|
+
<xs:annotation>
|
88
|
+
<xs:documentation>Set the interface over which outgoing multicast datagrams should be sent (AF_INET / SOCK_DGRAM or SOCK_RAW).</xs:documentation>
|
89
|
+
</xs:annotation>
|
90
|
+
</xs:element>
|
91
|
+
<xs:element name="IP_MULTICAST_IF2" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
92
|
+
<xs:annotation>
|
93
|
+
<xs:documentation>Set the interface over which outgoing multicast datagrams should be sent (AF_INET6 / SOCK_DGRAM or SOCK_RAW) .</xs:documentation>
|
94
|
+
</xs:annotation>
|
95
|
+
</xs:element>
|
96
|
+
<xs:element name="IP_MULTICAST_LOOP" type="xs:boolean" minOccurs="0">
|
97
|
+
<xs:annotation>
|
98
|
+
<xs:documentation>Specify that the sending host receives a copy of an outgoing multicast datagram (AF_INET / SOCK_DGRAM or SOCK_RAW).</xs:documentation>
|
99
|
+
</xs:annotation>
|
100
|
+
</xs:element>
|
101
|
+
<xs:element name="IP_TOS" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
102
|
+
<xs:annotation>
|
103
|
+
<xs:documentation>Set Type of Service (TOS) and Precedence in the IP header (AF_INET).</xs:documentation>
|
104
|
+
</xs:annotation>
|
105
|
+
</xs:element>
|
106
|
+
<xs:element name="SO_BROADCAST" type="xs:boolean" minOccurs="0">
|
107
|
+
<xs:annotation>
|
108
|
+
<xs:documentation>Enable the socket for issuing messages to a broadcast address (AF_INET / SOCK_DGRAM or SOCK_RAW). (.</xs:documentation>
|
109
|
+
</xs:annotation>
|
110
|
+
</xs:element>
|
111
|
+
<xs:element name="SO_CONDITIONAL_ACCEPT" type="xs:boolean" minOccurs="0">
|
112
|
+
<xs:annotation>
|
113
|
+
<xs:documentation>Allows an application to decide whether or not to accept an incoming connection on a listening socket (Windows only).</xs:documentation>
|
114
|
+
</xs:annotation>
|
115
|
+
</xs:element>
|
116
|
+
<xs:element name="SO_KEEPALIVE" type="xs:boolean" minOccurs="0">
|
117
|
+
<xs:annotation>
|
118
|
+
<xs:documentation>Keep the connection up by sending periodic transmissions (AF_INET or AF_INET6 / SOCK_STREAM).</xs:documentation>
|
119
|
+
</xs:annotation>
|
120
|
+
</xs:element>
|
121
|
+
<xs:element name="SO_DONTROUTE" type="xs:boolean" minOccurs="0">
|
122
|
+
<xs:annotation>
|
123
|
+
<xs:documentation>Bypass normal routing mechanisms (AF_INET or AF_INET6 ).</xs:documentation>
|
124
|
+
</xs:annotation>
|
125
|
+
</xs:element>
|
126
|
+
<xs:element name="SO_LINGER" type="cyboxCommon:UnsignedIntegerObjectPropertyType" minOccurs="0">
|
127
|
+
<xs:annotation>
|
128
|
+
<xs:documentation>Specifies if the system attempts delivery of or discards any buffered data when a close() is issued.</xs:documentation>
|
129
|
+
</xs:annotation>
|
130
|
+
</xs:element>
|
131
|
+
<xs:element name="SO_DONTLINGER" type="xs:boolean" minOccurs="0">
|
132
|
+
<xs:annotation>
|
133
|
+
<xs:documentation>Complement of SO_LINGER.</xs:documentation>
|
134
|
+
</xs:annotation>
|
135
|
+
</xs:element>
|
136
|
+
<xs:element name="SO_OOBINLINE" type="xs:boolean" minOccurs="0">
|
137
|
+
<xs:annotation>
|
138
|
+
<xs:documentation>Indicates whether out-of-band data is received inline with normal data (AF_INET or AF_INET6).</xs:documentation>
|
139
|
+
</xs:annotation>
|
140
|
+
</xs:element>
|
141
|
+
<xs:element name="SO_RCVBUF" type="cyboxCommon:UnsignedIntegerObjectPropertyType" minOccurs="0">
|
142
|
+
<xs:annotation>
|
143
|
+
<xs:documentation>Set size of the receive buffer.</xs:documentation>
|
144
|
+
</xs:annotation>
|
145
|
+
</xs:element>
|
146
|
+
<xs:element name="SO_GROUP_PRIORITY" type="cyboxCommon:UnsignedIntegerObjectPropertyType" minOccurs="0">
|
147
|
+
<xs:annotation>
|
148
|
+
<xs:documentation>Sets the relative priority for the socket in its group (Windows only).</xs:documentation>
|
149
|
+
</xs:annotation>
|
150
|
+
</xs:element>
|
151
|
+
<xs:element name="SO_REUSEADDR" type="xs:boolean" minOccurs="0">
|
152
|
+
<xs:annotation>
|
153
|
+
<xs:documentation>Indicates if the local socket address can be reused (AF_INET or AF_INET6 / SOCK_DGRAM or SOCK_RAW).</xs:documentation>
|
154
|
+
</xs:annotation>
|
155
|
+
</xs:element>
|
156
|
+
<xs:element name="SO_DEBUG" type="xs:boolean" minOccurs="0">
|
157
|
+
<xs:annotation>
|
158
|
+
<xs:documentation>Indicates if low-level debugging is active.</xs:documentation>
|
159
|
+
</xs:annotation>
|
160
|
+
</xs:element>
|
161
|
+
<xs:element name="SO_RCVTIMEO" type="cyboxCommon:UnsignedIntegerObjectPropertyType" minOccurs="0">
|
162
|
+
<xs:annotation>
|
163
|
+
<xs:documentation>Set the receive timeout value.</xs:documentation>
|
164
|
+
</xs:annotation>
|
165
|
+
</xs:element>
|
166
|
+
<xs:element name="SO_SNDBUF" type="cyboxCommon:UnsignedIntegerObjectPropertyType" minOccurs="0">
|
167
|
+
<xs:annotation>
|
168
|
+
<xs:documentation>Set size of the send buffer.</xs:documentation>
|
169
|
+
</xs:annotation>
|
170
|
+
</xs:element>
|
171
|
+
<xs:element name="SO_SNDTIMEO" type="cyboxCommon:UnsignedIntegerObjectPropertyType" minOccurs="0">
|
172
|
+
<xs:annotation>
|
173
|
+
<xs:documentation>Set the send timeout value.</xs:documentation>
|
174
|
+
</xs:annotation>
|
175
|
+
</xs:element>
|
176
|
+
<xs:element name="SO_UPDATE_ACCEPT_CONTEXT" type="cyboxCommon:UnsignedIntegerObjectPropertyType" minOccurs="0">
|
177
|
+
<xs:annotation>
|
178
|
+
<xs:documentation>Updates the properties of the socket which are inherited from the listening socket (Windows only).</xs:documentation>
|
179
|
+
</xs:annotation>
|
180
|
+
</xs:element>
|
181
|
+
<xs:element name="SO_TIMEOUT" type="cyboxCommon:UnsignedIntegerObjectPropertyType" minOccurs="0">
|
182
|
+
<xs:annotation>
|
183
|
+
<xs:documentation>Set the socket timeout.</xs:documentation>
|
184
|
+
</xs:annotation>
|
185
|
+
</xs:element>
|
186
|
+
<xs:element name="TCP_NODELAY" type="xs:boolean" minOccurs="0">
|
187
|
+
<xs:annotation>
|
188
|
+
<xs:documentation>When set, TCP will send data immediately instead of using the Nagle delay algorithm (AF_INET or AF_INET6 / SOCK_STREAM). (.</xs:documentation>
|
189
|
+
</xs:annotation>
|
190
|
+
</xs:element>
|
191
|
+
</xs:sequence>
|
192
|
+
</xs:complexType>
|
193
|
+
<xs:complexType name="AddressFamilyType">
|
194
|
+
<xs:annotation>
|
195
|
+
<xs:documentation>AddressFamilyType specifies address family types, via a union of the AddressFamilyTypeEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
|
196
|
+
</xs:annotation>
|
197
|
+
<xs:simpleContent>
|
198
|
+
<xs:restriction base="cyboxCommon:BaseObjectPropertyType">
|
199
|
+
<xs:simpleType>
|
200
|
+
<xs:union memberTypes="NetworkSocketObj:AddressFamilyTypeEnum xs:string"/>
|
201
|
+
</xs:simpleType>
|
202
|
+
<xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
|
203
|
+
<xs:annotation>
|
204
|
+
<xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
|
205
|
+
</xs:annotation>
|
206
|
+
</xs:attribute>
|
207
|
+
</xs:restriction>
|
208
|
+
</xs:simpleContent>
|
209
|
+
</xs:complexType>
|
210
|
+
<xs:complexType name="DomainFamilyType">
|
211
|
+
<xs:annotation>
|
212
|
+
<xs:documentation>DomainFamilyType specifies domain family types, via a union of the DomainTypeEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
|
213
|
+
</xs:annotation>
|
214
|
+
<xs:simpleContent>
|
215
|
+
<xs:restriction base="cyboxCommon:BaseObjectPropertyType">
|
216
|
+
<xs:simpleType>
|
217
|
+
<xs:union memberTypes="NetworkSocketObj:DomainTypeEnum xs:string"/>
|
218
|
+
</xs:simpleType>
|
219
|
+
<xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
|
220
|
+
<xs:annotation>
|
221
|
+
<xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
|
222
|
+
</xs:annotation>
|
223
|
+
</xs:attribute>
|
224
|
+
</xs:restriction>
|
225
|
+
</xs:simpleContent>
|
226
|
+
</xs:complexType>
|
227
|
+
<xs:complexType name="SocketType">
|
228
|
+
<xs:annotation>
|
229
|
+
<xs:documentation>SocketType specifies socket types, via a union of the SocketTypeEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
|
230
|
+
</xs:annotation>
|
231
|
+
<xs:simpleContent>
|
232
|
+
<xs:restriction base="cyboxCommon:BaseObjectPropertyType">
|
233
|
+
<xs:simpleType>
|
234
|
+
<xs:union memberTypes="NetworkSocketObj:SocketTypeEnum xs:string"/>
|
235
|
+
</xs:simpleType>
|
236
|
+
<xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
|
237
|
+
<xs:annotation>
|
238
|
+
<xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
|
239
|
+
</xs:annotation>
|
240
|
+
</xs:attribute>
|
241
|
+
</xs:restriction>
|
242
|
+
</xs:simpleContent>
|
243
|
+
</xs:complexType>
|
244
|
+
<xs:complexType name="ProtocolType">
|
245
|
+
<xs:annotation>
|
246
|
+
<xs:documentation>ProtocolType specifies protocol types, via a union of the ProtocolTypeEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
|
247
|
+
</xs:annotation>
|
248
|
+
<xs:simpleContent>
|
249
|
+
<xs:restriction base="cyboxCommon:BaseObjectPropertyType">
|
250
|
+
<xs:simpleType>
|
251
|
+
<xs:union memberTypes="NetworkSocketObj:ProtocolTypeEnum xs:string"/>
|
252
|
+
</xs:simpleType>
|
253
|
+
<xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
|
254
|
+
<xs:annotation>
|
255
|
+
<xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
|
256
|
+
</xs:annotation>
|
257
|
+
</xs:attribute>
|
258
|
+
</xs:restriction>
|
259
|
+
</xs:simpleContent>
|
260
|
+
</xs:complexType>
|
261
|
+
<xs:simpleType name="AddressFamilyTypeEnum">
|
262
|
+
<xs:annotation>
|
263
|
+
<xs:documentation>The AddressFamilyTypeEnum is an enumeration of address family (AF_*) types.</xs:documentation>
|
264
|
+
</xs:annotation>
|
265
|
+
<xs:restriction base="xs:string">
|
266
|
+
<xs:enumeration value="AF_UNSPEC">
|
267
|
+
<xs:annotation>
|
268
|
+
<xs:documentation>Specifies an unspecified address family.</xs:documentation>
|
269
|
+
</xs:annotation>
|
270
|
+
</xs:enumeration>
|
271
|
+
<xs:enumeration value="AF_INET">
|
272
|
+
<xs:annotation>
|
273
|
+
<xs:documentation>Specifies sockets using for the Internet when using Berkeley sockets.</xs:documentation>
|
274
|
+
</xs:annotation>
|
275
|
+
</xs:enumeration>
|
276
|
+
<xs:enumeration value="AF_IPX">
|
277
|
+
<xs:annotation>
|
278
|
+
<xs:documentation>Specifies the IPX (Novell Internet Protocol) address family.</xs:documentation>
|
279
|
+
</xs:annotation>
|
280
|
+
</xs:enumeration>
|
281
|
+
<xs:enumeration value="AF_APPLETALK">
|
282
|
+
<xs:annotation>
|
283
|
+
<xs:documentation>Specifies the APPLETALK DDP address family.</xs:documentation>
|
284
|
+
</xs:annotation>
|
285
|
+
</xs:enumeration>
|
286
|
+
<xs:enumeration value="AF_NETBIOS">
|
287
|
+
<xs:annotation>
|
288
|
+
<xs:documentation>Specifies the NETBIOS address family.</xs:documentation>
|
289
|
+
</xs:annotation>
|
290
|
+
</xs:enumeration>
|
291
|
+
<xs:enumeration value="AF_INET6">
|
292
|
+
<xs:annotation>
|
293
|
+
<xs:documentation>Specifies the IP version 6 address family.</xs:documentation>
|
294
|
+
</xs:annotation>
|
295
|
+
</xs:enumeration>
|
296
|
+
<xs:enumeration value="AF_IRDA">
|
297
|
+
<xs:annotation>
|
298
|
+
<xs:documentation>Specifies IRDA sockets.</xs:documentation>
|
299
|
+
</xs:annotation>
|
300
|
+
</xs:enumeration>
|
301
|
+
<xs:enumeration value="AF_BTH">
|
302
|
+
<xs:annotation>
|
303
|
+
<xs:documentation>Specifies BTH sockets.</xs:documentation>
|
304
|
+
</xs:annotation>
|
305
|
+
</xs:enumeration>
|
306
|
+
</xs:restriction>
|
307
|
+
</xs:simpleType>
|
308
|
+
<xs:simpleType name="DomainTypeEnum">
|
309
|
+
<xs:annotation>
|
310
|
+
<xs:documentation>The DomainTypeEnum is an enumeration of communication domain (PF_*) types.</xs:documentation>
|
311
|
+
</xs:annotation>
|
312
|
+
<xs:restriction base="xs:string">
|
313
|
+
<xs:enumeration value="PF_LOCAL">
|
314
|
+
<xs:annotation>
|
315
|
+
<xs:documentation>Specifies the communication domain from local to host.</xs:documentation>
|
316
|
+
</xs:annotation>
|
317
|
+
</xs:enumeration>
|
318
|
+
<xs:enumeration value="PF_UNIX">
|
319
|
+
<xs:annotation>
|
320
|
+
<xs:documentation>Specifies the communication domain from UNIX to host.</xs:documentation>
|
321
|
+
</xs:annotation>
|
322
|
+
</xs:enumeration>
|
323
|
+
<xs:enumeration value="PF_FILE">
|
324
|
+
<xs:annotation>
|
325
|
+
<xs:documentation>Specifies the communication domain from file to host.</xs:documentation>
|
326
|
+
</xs:annotation>
|
327
|
+
</xs:enumeration>
|
328
|
+
<xs:enumeration value="PF_INET">
|
329
|
+
<xs:annotation>
|
330
|
+
<xs:documentation>Specifies the IP protocol family.</xs:documentation>
|
331
|
+
</xs:annotation>
|
332
|
+
</xs:enumeration>
|
333
|
+
<xs:enumeration value="PF_AX25">
|
334
|
+
<xs:annotation>
|
335
|
+
<xs:documentation>Specifies the Amateur Radio AX.25 family.</xs:documentation>
|
336
|
+
</xs:annotation>
|
337
|
+
</xs:enumeration>
|
338
|
+
<xs:enumeration value="PF_IPX">
|
339
|
+
<xs:annotation>
|
340
|
+
<xs:documentation>Specifies the Novell Internet Protocol family.</xs:documentation>
|
341
|
+
</xs:annotation>
|
342
|
+
</xs:enumeration>
|
343
|
+
<xs:enumeration value="PF_INET6">
|
344
|
+
<xs:annotation>
|
345
|
+
<xs:documentation>Specifies the IP version 6 protocol family.</xs:documentation>
|
346
|
+
</xs:annotation>
|
347
|
+
</xs:enumeration>
|
348
|
+
<xs:enumeration value="PF_APPLETALK">
|
349
|
+
<xs:annotation>
|
350
|
+
<xs:documentation>Specifies the Appletalk DDP protocol family.</xs:documentation>
|
351
|
+
</xs:annotation>
|
352
|
+
</xs:enumeration>
|
353
|
+
<xs:enumeration value="PF_NETROM">
|
354
|
+
<xs:annotation>
|
355
|
+
<xs:documentation>Specifies the Amateur radio NetROM protocol family.</xs:documentation>
|
356
|
+
</xs:annotation>
|
357
|
+
</xs:enumeration>
|
358
|
+
<xs:enumeration value="PF_BRIDGE">
|
359
|
+
<xs:annotation>
|
360
|
+
<xs:documentation>Specifies the Multiprotocol bridge protocol family.</xs:documentation>
|
361
|
+
</xs:annotation>
|
362
|
+
</xs:enumeration>
|
363
|
+
<xs:enumeration value="PF_ATMPVC">
|
364
|
+
<xs:annotation>
|
365
|
+
<xs:documentation>Specifies the ATM PVCs protocol family.</xs:documentation>
|
366
|
+
</xs:annotation>
|
367
|
+
</xs:enumeration>
|
368
|
+
<xs:enumeration value="PF_X25">
|
369
|
+
<xs:annotation>
|
370
|
+
<xs:documentation>Specifies the protocol family reserved for the X.25 project.</xs:documentation>
|
371
|
+
</xs:annotation>
|
372
|
+
</xs:enumeration>
|
373
|
+
<xs:enumeration value="PF_ROSE">
|
374
|
+
<xs:annotation>
|
375
|
+
<xs:documentation>Specifies the PF_KEY key management API family.</xs:documentation>
|
376
|
+
</xs:annotation>
|
377
|
+
</xs:enumeration>
|
378
|
+
<xs:enumeration value="PF_DECnet">
|
379
|
+
<xs:annotation>
|
380
|
+
<xs:documentation>Specifies the protocol family reserved for the DECnet project.</xs:documentation>
|
381
|
+
</xs:annotation>
|
382
|
+
</xs:enumeration>
|
383
|
+
<xs:enumeration value="PF_NETBEUI">
|
384
|
+
<xs:annotation>
|
385
|
+
<xs:documentation>Specifies the protocol family reserved for the 802.2LLC project.</xs:documentation>
|
386
|
+
</xs:annotation>
|
387
|
+
</xs:enumeration>
|
388
|
+
<xs:enumeration value="PF_SECURITY">
|
389
|
+
<xs:annotation>
|
390
|
+
<xs:documentation>Specifies the Security callback pseudo AF protocol family.</xs:documentation>
|
391
|
+
</xs:annotation>
|
392
|
+
</xs:enumeration>
|
393
|
+
<xs:enumeration value="PF_KEY">
|
394
|
+
<xs:annotation>
|
395
|
+
<xs:documentation>Specifies the PF_KEY key management API protocol family.</xs:documentation>
|
396
|
+
</xs:annotation>
|
397
|
+
</xs:enumeration>
|
398
|
+
<xs:enumeration value="PF_NETLINK">
|
399
|
+
<xs:annotation>
|
400
|
+
<xs:documentation>Specifies the netlink routing API family.</xs:documentation>
|
401
|
+
</xs:annotation>
|
402
|
+
</xs:enumeration>
|
403
|
+
<xs:enumeration value="PF_ROUTE">
|
404
|
+
<xs:annotation>
|
405
|
+
<xs:documentation>Specifies the PF_ROUTE routing API family.</xs:documentation>
|
406
|
+
</xs:annotation>
|
407
|
+
</xs:enumeration>
|
408
|
+
<xs:enumeration value="PF_PACKET">
|
409
|
+
<xs:annotation>
|
410
|
+
<xs:documentation>Specifies the packet family.</xs:documentation>
|
411
|
+
</xs:annotation>
|
412
|
+
</xs:enumeration>
|
413
|
+
<xs:enumeration value="PF_ASH">
|
414
|
+
<xs:annotation>
|
415
|
+
<xs:documentation>Specifies the Ash family.</xs:documentation>
|
416
|
+
</xs:annotation>
|
417
|
+
</xs:enumeration>
|
418
|
+
<xs:enumeration value="PF_ECONET">
|
419
|
+
<xs:annotation>
|
420
|
+
<xs:documentation>Specifies the Acorn Econet family.</xs:documentation>
|
421
|
+
</xs:annotation>
|
422
|
+
</xs:enumeration>
|
423
|
+
<xs:enumeration value="PF_ATMSVC">
|
424
|
+
<xs:annotation>
|
425
|
+
<xs:documentation>Specifies the ATM SVCs protocol family.</xs:documentation>
|
426
|
+
</xs:annotation>
|
427
|
+
</xs:enumeration>
|
428
|
+
<xs:enumeration value="PF_SNA">
|
429
|
+
<xs:annotation>
|
430
|
+
<xs:documentation>Specifies the Linux SNA Project protocol family.</xs:documentation>
|
431
|
+
</xs:annotation>
|
432
|
+
</xs:enumeration>
|
433
|
+
<xs:enumeration value="PF_IRDA">
|
434
|
+
<xs:annotation>
|
435
|
+
<xs:documentation>Specifies IRDA sockets.</xs:documentation>
|
436
|
+
</xs:annotation>
|
437
|
+
</xs:enumeration>
|
438
|
+
<xs:enumeration value="PF_PPPOX">
|
439
|
+
<xs:annotation>
|
440
|
+
<xs:documentation>Specifies PPPoX sockets.</xs:documentation>
|
441
|
+
</xs:annotation>
|
442
|
+
</xs:enumeration>
|
443
|
+
<xs:enumeration value="PF_WANPIPE">
|
444
|
+
<xs:annotation>
|
445
|
+
<xs:documentation>Specifies Wanpipe API sockets.</xs:documentation>
|
446
|
+
</xs:annotation>
|
447
|
+
</xs:enumeration>
|
448
|
+
<xs:enumeration value="PF_BLUETOOTH">
|
449
|
+
<xs:annotation>
|
450
|
+
<xs:documentation>Specifies Bluetooth sockets.</xs:documentation>
|
451
|
+
</xs:annotation>
|
452
|
+
</xs:enumeration>
|
453
|
+
</xs:restriction>
|
454
|
+
</xs:simpleType>
|
455
|
+
<xs:simpleType name="SocketTypeEnum">
|
456
|
+
<xs:annotation>
|
457
|
+
<xs:documentation>The SocketTypeEnum is an enumeration of socket (SOCK_*) types.</xs:documentation>
|
458
|
+
</xs:annotation>
|
459
|
+
<xs:restriction base="xs:string">
|
460
|
+
<xs:enumeration value="SOCK_STREAM">
|
461
|
+
<xs:annotation>
|
462
|
+
<xs:documentation>Specifies a pipe-like socket which operates over a connection with a particular remote socket, and transmits data reliably as a stream of bytes.</xs:documentation>
|
463
|
+
</xs:annotation>
|
464
|
+
</xs:enumeration>
|
465
|
+
<xs:enumeration value="SOCK_DGRAM">
|
466
|
+
<xs:annotation>
|
467
|
+
<xs:documentation>Specifies a socket in which individually-addressed packets are sent (datagram).</xs:documentation>
|
468
|
+
</xs:annotation>
|
469
|
+
</xs:enumeration>
|
470
|
+
<xs:enumeration value="SOCK_RAW">
|
471
|
+
<xs:annotation>
|
472
|
+
<xs:documentation>Specifies raw sockets which allow new IP protocls to be implemented in user space. A raw socket receives or sends the raw datagram not including link level headers.</xs:documentation>
|
473
|
+
</xs:annotation>
|
474
|
+
</xs:enumeration>
|
475
|
+
<xs:enumeration value="SOCK_RDM">
|
476
|
+
<xs:annotation>
|
477
|
+
<xs:documentation>Specifies a socket indicating a reliably-delivered message..</xs:documentation>
|
478
|
+
</xs:annotation>
|
479
|
+
</xs:enumeration>
|
480
|
+
<xs:enumeration value="SOCK_SEQPACKET">
|
481
|
+
<xs:annotation>
|
482
|
+
<xs:documentation>Specifies a datagram congestion control Protocol socket.</xs:documentation>
|
483
|
+
</xs:annotation>
|
484
|
+
</xs:enumeration>
|
485
|
+
</xs:restriction>
|
486
|
+
</xs:simpleType>
|
487
|
+
<xs:simpleType name="ProtocolTypeEnum">
|
488
|
+
<xs:annotation>
|
489
|
+
<xs:documentation>The ProtocolTypeEnum is an enumeration of protocol types.</xs:documentation>
|
490
|
+
</xs:annotation>
|
491
|
+
<xs:restriction base="xs:string">
|
492
|
+
<xs:enumeration value="IPPROTO_ICMP">
|
493
|
+
<xs:annotation>
|
494
|
+
<xs:documentation>Indicates the ICMP protocol.</xs:documentation>
|
495
|
+
</xs:annotation>
|
496
|
+
</xs:enumeration>
|
497
|
+
<xs:enumeration value="IPPROTO_IGMP">
|
498
|
+
<xs:annotation>
|
499
|
+
<xs:documentation>Indicates the IGMP protocol.</xs:documentation>
|
500
|
+
</xs:annotation>
|
501
|
+
</xs:enumeration>
|
502
|
+
<xs:enumeration value="BTHPROTO_RFCOMM">
|
503
|
+
<xs:annotation>
|
504
|
+
<xs:documentation>Indicates the Bluetooth protocol.</xs:documentation>
|
505
|
+
</xs:annotation>
|
506
|
+
</xs:enumeration>
|
507
|
+
<xs:enumeration value="IPPROTO_TCP">
|
508
|
+
<xs:annotation>
|
509
|
+
<xs:documentation>Indicates the TCP protocol.</xs:documentation>
|
510
|
+
</xs:annotation>
|
511
|
+
</xs:enumeration>
|
512
|
+
<xs:enumeration value="IPPROTO_UDP">
|
513
|
+
<xs:annotation>
|
514
|
+
<xs:documentation>Indicates the UDP protocol.</xs:documentation>
|
515
|
+
</xs:annotation>
|
516
|
+
</xs:enumeration>
|
517
|
+
<xs:enumeration value="IPPROTO_ICMPV6">
|
518
|
+
<xs:annotation>
|
519
|
+
<xs:documentation>Indicates the ICMP v6 protocol.</xs:documentation>
|
520
|
+
</xs:annotation>
|
521
|
+
</xs:enumeration>
|
522
|
+
<xs:enumeration value="IPPROTO_RM">
|
523
|
+
<xs:annotation>
|
524
|
+
<xs:documentation>Indicates the Reliable Multicasting protocol.</xs:documentation>
|
525
|
+
</xs:annotation>
|
526
|
+
</xs:enumeration>
|
527
|
+
</xs:restriction>
|
528
|
+
</xs:simpleType>
|
529
|
+
</xs:schema>
|
@@ -0,0 +1,64 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:NetworkSubnetObj="http://cybox.mitre.org/objects#NetworkSubnetObject-2" xmlns:NetworkRouteEntryObj="http://cybox.mitre.org/objects#NetworkRouteEntryObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#NetworkSubnetObject-2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
|
3
|
+
<xs:annotation>
|
4
|
+
<xs:documentation>This schema was originally developed by The MITRE Corporation. The CybOX XML Schema implementation is maintained by The MITRE Corporation and developed by the open CybOX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the CybOX website at http://cybox.mitre.org.</xs:documentation>
|
5
|
+
<xs:appinfo>
|
6
|
+
<schema>Network_Subnet_Object</schema>
|
7
|
+
<version>2.1</version>
|
8
|
+
<date>01/22/2014</date>
|
9
|
+
<short_description>The following specifies the fields and types that compose this defined CybOX Object type. Each defined object is an extension of the abstract ObjectPropertiesType, defined in CybOX Common. For more information on this extension mechanism, please see the CybOX Specification. This document is intended for developers and assumes some familiarity with XML. </short_description>
|
10
|
+
<terms_of_use>Copyright (c) 2012-2014, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the CybOX License located at http://cybox.mitre.org/about/termsofuse.html. See the CybOX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the CybOX Schema, this license header must be included.</terms_of_use>
|
11
|
+
</xs:appinfo>
|
12
|
+
</xs:annotation>
|
13
|
+
<xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../cybox_common.xsd"/>
|
14
|
+
<xs:import namespace="http://cybox.mitre.org/objects#NetworkRouteEntryObject-2" schemaLocation="Network_Route_Entry_Object.xsd"/>
|
15
|
+
<xs:import namespace="http://cybox.mitre.org/objects#AddressObject-2" schemaLocation="Address_Object.xsd"/>
|
16
|
+
<xs:element name="Network_Subnet" type="NetworkSubnetObj:NetworkSubnetObjectType">
|
17
|
+
<xs:annotation>
|
18
|
+
<xs:documentation>The Network_Subnet object is intended to characterize a generic system network subnet.</xs:documentation>
|
19
|
+
</xs:annotation>
|
20
|
+
</xs:element>
|
21
|
+
<xs:complexType name="NetworkSubnetObjectType" mixed="false">
|
22
|
+
<xs:annotation>
|
23
|
+
<xs:documentation>The NetworkSubnetObjectType type is intended to characterize a generic system network subnet.</xs:documentation>
|
24
|
+
</xs:annotation>
|
25
|
+
<xs:complexContent>
|
26
|
+
<xs:extension base="cyboxCommon:ObjectPropertiesType">
|
27
|
+
<xs:sequence>
|
28
|
+
<xs:element name="Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
29
|
+
<xs:annotation>
|
30
|
+
<xs:documentation>The Name field is intended to specify a name for the network subnet.</xs:documentation>
|
31
|
+
</xs:annotation>
|
32
|
+
</xs:element>
|
33
|
+
<xs:element name="Description" type="cyboxCommon:StructuredTextType" minOccurs="0">
|
34
|
+
<xs:annotation>
|
35
|
+
<xs:documentation>The Description field is intended to provide a description of the network subnet.</xs:documentation>
|
36
|
+
</xs:annotation>
|
37
|
+
</xs:element>
|
38
|
+
<xs:element name="Number_Of_IP_Addresses" type="cyboxCommon:IntegerObjectPropertyType" minOccurs="0">
|
39
|
+
<xs:annotation>
|
40
|
+
<xs:documentation>The NumberOfIPAddresses field is intended to specify the number of valid IP addresses within the scope of the network subnet.</xs:documentation>
|
41
|
+
</xs:annotation>
|
42
|
+
</xs:element>
|
43
|
+
<xs:element name="Routes" type="NetworkSubnetObj:RoutesType" minOccurs="0">
|
44
|
+
<xs:annotation>
|
45
|
+
<xs:documentation>The Routes construct is intended to characterize a set of network routes.</xs:documentation>
|
46
|
+
</xs:annotation>
|
47
|
+
</xs:element>
|
48
|
+
</xs:sequence>
|
49
|
+
</xs:extension>
|
50
|
+
</xs:complexContent>
|
51
|
+
</xs:complexType>
|
52
|
+
<xs:complexType name="RoutesType">
|
53
|
+
<xs:annotation>
|
54
|
+
<xs:documentation>The RoutesType is intended to characterize a set network routes.</xs:documentation>
|
55
|
+
</xs:annotation>
|
56
|
+
<xs:sequence>
|
57
|
+
<xs:element name="Route" type="NetworkRouteEntryObj:NetworkRouteEntryObjectType" maxOccurs="unbounded">
|
58
|
+
<xs:annotation>
|
59
|
+
<xs:documentation>The Route field is intended to characterize a single network route.</xs:documentation>
|
60
|
+
</xs:annotation>
|
61
|
+
</xs:element>
|
62
|
+
</xs:sequence>
|
63
|
+
</xs:complexType>
|
64
|
+
</xs:schema>
|