1<?xml version="1.0" encoding="utf-8"?>
2<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3  <ItemGroup Label="ProjectConfigurations">
4    <ProjectConfiguration Include="Debug|Win32">
5      <Configuration>Debug</Configuration>
6      <Platform>Win32</Platform>
7    </ProjectConfiguration>
8    <ProjectConfiguration Include="Debug|x64">
9      <Configuration>Debug</Configuration>
10      <Platform>x64</Platform>
11    </ProjectConfiguration>
12    <ProjectConfiguration Include="Release|Win32">
13      <Configuration>Release</Configuration>
14      <Platform>Win32</Platform>
15    </ProjectConfiguration>
16    <ProjectConfiguration Include="Release|x64">
17      <Configuration>Release</Configuration>
18      <Platform>x64</Platform>
19    </ProjectConfiguration>
20    <ProjectConfiguration Include="Template|Win32">
21      <Configuration>Template</Configuration>
22      <Platform>Win32</Platform>
23    </ProjectConfiguration>
24    <ProjectConfiguration Include="Template|x64">
25      <Configuration>Template</Configuration>
26      <Platform>x64</Platform>
27    </ProjectConfiguration>
28  </ItemGroup>
29  <PropertyGroup Label="Globals">
30    <SccProjectName />
31    <SccLocalPath />
32    <Keyword>MakeFileProj</Keyword>
33    <ProjectGuid>{74156258-05D1-4489-8BE4-3EC288373C65}</ProjectGuid>
34    <WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
35  </PropertyGroup>
36  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
37  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Template|Win32'" Label="Configuration">
38    <ConfigurationType>Application</ConfigurationType>
39    <PlatformToolset>v141</PlatformToolset>
40  </PropertyGroup>
41  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Template|x64'" Label="Configuration">
42    <ConfigurationType>Application</ConfigurationType>
43    <PlatformToolset>v141</PlatformToolset>
44  </PropertyGroup>
45  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
46    <ConfigurationType>Utility</ConfigurationType>
47    <PlatformToolset>v141</PlatformToolset>
48    <UseOfMfc>false</UseOfMfc>
49  </PropertyGroup>
50  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
51    <ConfigurationType>Utility</ConfigurationType>
52    <PlatformToolset>v141</PlatformToolset>
53    <UseOfMfc>false</UseOfMfc>
54  </PropertyGroup>
55  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
56    <ConfigurationType>Utility</ConfigurationType>
57    <PlatformToolset>v141</PlatformToolset>
58    <UseOfMfc>false</UseOfMfc>
59  </PropertyGroup>
60  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
61    <ConfigurationType>Utility</ConfigurationType>
62    <PlatformToolset>v141</PlatformToolset>
63    <UseOfMfc>false</UseOfMfc>
64  </PropertyGroup>
65  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
66  <ImportGroup Label="ExtensionSettings">
67  </ImportGroup>
68  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Template|Win32'">
69    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
70  </ImportGroup>
71  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Template|x64'" Label="PropertySheets">
72    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
73  </ImportGroup>
74  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
75    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
76    <Import Project="$(VCTargetsPath)Microsoft.Cpp.UpgradeFromVC60.props" />
77  </ImportGroup>
78  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
79    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
80    <Import Project="$(VCTargetsPath)Microsoft.Cpp.UpgradeFromVC60.props" />
81  </ImportGroup>
82  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
83    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
84    <Import Project="$(VCTargetsPath)Microsoft.Cpp.UpgradeFromVC60.props" />
85  </ImportGroup>
86  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
87    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
88    <Import Project="$(VCTargetsPath)Microsoft.Cpp.UpgradeFromVC60.props" />
89  </ImportGroup>
90  <PropertyGroup Label="UserMacros" />
91  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
92    <OutDir>.\Snort_Initialize_Debug\</OutDir>
93    <IntDir>.\Snort_Initialize_Debug\</IntDir>
94  </PropertyGroup>
95  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
96  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
97    <OutDir>.\Snort_Initialize_Release\</OutDir>
98    <IntDir>.\Snort_Initialize_Release\</IntDir>
99  </PropertyGroup>
100  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
101    <OutDir>.\Snort_Initialize_Release\</OutDir>
102    <IntDir>.\Snort_Initialize_Release\</IntDir>
103  </PropertyGroup>
104  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
105    <Midl>
106      <TypeLibraryName>.\Snort_Initialize_Debug\snort_initialize.tlb</TypeLibraryName>
107    </Midl>
108  </ItemDefinitionGroup>
109  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
110    <Midl>
111      <TypeLibraryName>.\Snort_Initialize_Debug\snort_initialize.tlb</TypeLibraryName>
112    </Midl>
113  </ItemDefinitionGroup>
114  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
115    <Midl>
116      <TypeLibraryName>.\Snort_Initialize_Release\snort_initialize.tlb</TypeLibraryName>
117    </Midl>
118  </ItemDefinitionGroup>
119  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
120    <Midl>
121      <TypeLibraryName>.\Snort_Initialize_Release\snort_initialize.tlb</TypeLibraryName>
122    </Midl>
123  </ItemDefinitionGroup>
124  <ItemGroup>
125    <CustomBuild Include="..\..\dynamic-plugins\sf_engine\sf_snort_packet.h">
126      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">copy %(FullPath) ..\..\detection-plugins</Command>
127      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">copy %(FullPath) ..\..\detection-plugins</Command>
128      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\detection-plugins\$(InputName).h;%(Outputs)</Outputs>
129      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\detection-plugins\$(InputName).h;%(Outputs)</Outputs>
130      <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy %(FullPath) ..\..\detection-plugins</Command>
131      <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">copy %(FullPath) ..\..\detection-plugins</Command>
132      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\detection-plugins\$(InputName).h;%(Outputs)</Outputs>
133      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\detection-plugins\$(InputName).h;%(Outputs)</Outputs>
134    </CustomBuild>
135    <CustomBuild Include="..\..\dynamic-plugins\sf_engine\sf_snort_plugin_api.h">
136      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">copy %(FullPath) ..\..\detection-plugins</Command>
137      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">copy %(FullPath) ..\..\detection-plugins</Command>
138      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\detection-plugins\$(InputName).h;%(Outputs)</Outputs>
139      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\detection-plugins\$(InputName).h;%(Outputs)</Outputs>
140      <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy %(FullPath) ..\..\detection-plugins</Command>
141      <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">copy %(FullPath) ..\..\detection-plugins</Command>
142      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\detection-plugins\$(InputName).h;%(Outputs)</Outputs>
143      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\detection-plugins\$(InputName).h;%(Outputs)</Outputs>
144    </CustomBuild>
145  </ItemGroup>
146  <ItemGroup>
147    <CustomBuild Include="..\..\dynamic-plugins\sf_engine\sf_snort_plugin_hdropts.c">
148      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">copy %(FullPath) ..\..\detection-plugins\%(Filename).c.new
149c:\cygwin\bin\sed -e "s/_ded.errMsg/ErrorMessage/g" -e "s/sf_snort_packet.h/decode.h/g" -e "s/SFSnortPacket/Packet/g" -e "s/ip4_header/iph/g" -e "s/tcp_header/tcph/g" -e "s/proto/ip_proto/g" -e "s/type_service/ip_tos/g" -e "s/time_to_live/ip_ttl/g" -e "s/num_ip_options/ip_option_count/g" -e "s/IPOptions/Options/g" -e "s/option_code/code/g" -e  "s/acknowledgement/th_ack/g" -e "s/sequence/th_seq/g" -e "s/tcph-&gt;flags/tcph-&gt;th_flags/g" -e "s/tcph-&gt;window/tcph-&gt;th_win/g" -e "s/num_tcp_options/tcp_option_count/g" -e "s/icmp_header/icmph/g" -e "s/ICMP_ECHO_REPLY/ICMP_ECHOREPLY/g" -e "s/ICMP_ECHO_REQUEST/ICMP_ECHO/g" -e "s/icmph_union.echo.id/s_icmp_id/g" -e "s/icmph_union.echo.seq/s_icmp_seq/g" ../../detection-plugins/%(Filename).c.new &gt; ../../detection-plugins/%(Filename).c</Command>
150      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">copy %(FullPath) ..\..\detection-plugins\%(Filename).c.new
151c:\cygwin\bin\sed -e "s/_ded.errMsg/ErrorMessage/g" -e "s/sf_snort_packet.h/decode.h/g" -e "s/SFSnortPacket/Packet/g" -e "s/ip4_header/iph/g" -e "s/tcp_header/tcph/g" -e "s/proto/ip_proto/g" -e "s/type_service/ip_tos/g" -e "s/time_to_live/ip_ttl/g" -e "s/num_ip_options/ip_option_count/g" -e "s/IPOptions/Options/g" -e "s/option_code/code/g" -e  "s/acknowledgement/th_ack/g" -e "s/sequence/th_seq/g" -e "s/tcph-&gt;flags/tcph-&gt;th_flags/g" -e "s/tcph-&gt;window/tcph-&gt;th_win/g" -e "s/num_tcp_options/tcp_option_count/g" -e "s/icmp_header/icmph/g" -e "s/ICMP_ECHO_REPLY/ICMP_ECHOREPLY/g" -e "s/ICMP_ECHO_REQUEST/ICMP_ECHO/g" -e "s/icmph_union.echo.id/s_icmp_id/g" -e "s/icmph_union.echo.seq/s_icmp_seq/g" ../../detection-plugins/%(Filename).c.new &gt; ../../detection-plugins/%(Filename).c</Command>
152      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\detection-plugins\$(InputName).c;..\..\detection-plugins\$(InputName).c.new;%(Outputs)</Outputs>
153      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\detection-plugins\$(InputName).c;..\..\detection-plugins\$(InputName).c.new;%(Outputs)</Outputs>
154      <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy %(FullPath) ..\..\detection-plugins\%(Filename).c.new
155c:\cygwin\bin\sed -e "s/_ded.errMsg/ErrorMessage/g" -e "s/sf_snort_packet.h/decode.h/g" -e "s/SFSnortPacket/Packet/g" -e "s/ip4_header/iph/g" -e "s/tcp_header/tcph/g" -e "s/proto/ip_proto/g" -e "s/type_service/ip_tos/g" -e "s/time_to_live/ip_ttl/g" -e "s/num_ip_options/ip_option_count/g" -e "s/IPOptions/Options/g" -e "s/option_code/code/g" -e  "s/acknowledgement/th_ack/g" -e "s/sequence/th_seq/g" -e "s/tcph-&gt;flags/tcph-&gt;th_flags/g" -e "s/tcph-&gt;window/tcph-&gt;th_win/g" -e "s/num_tcp_options/tcp_option_count/g" -e "s/icmp_header/icmph/g" -e "s/ICMP_ECHO_REPLY/ICMP_ECHOREPLY/g" -e "s/ICMP_ECHO_REQUEST/ICMP_ECHO/g" -e "s/icmph_union.echo.id/s_icmp_id/g" -e "s/icmph_union.echo.seq/s_icmp_seq/g" -e "/sf_snort_detection_engine.h/d" ../../detection-plugins/%(Filename).c.new &gt; ../../detection-plugins/%(Filename).c</Command>
156      <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">copy %(FullPath) ..\..\detection-plugins\%(Filename).c.new
157c:\cygwin\bin\sed -e "s/_ded.errMsg/ErrorMessage/g" -e "s/sf_snort_packet.h/decode.h/g" -e "s/SFSnortPacket/Packet/g" -e "s/ip4_header/iph/g" -e "s/tcp_header/tcph/g" -e "s/proto/ip_proto/g" -e "s/type_service/ip_tos/g" -e "s/time_to_live/ip_ttl/g" -e "s/num_ip_options/ip_option_count/g" -e "s/IPOptions/Options/g" -e "s/option_code/code/g" -e  "s/acknowledgement/th_ack/g" -e "s/sequence/th_seq/g" -e "s/tcph-&gt;flags/tcph-&gt;th_flags/g" -e "s/tcph-&gt;window/tcph-&gt;th_win/g" -e "s/num_tcp_options/tcp_option_count/g" -e "s/icmp_header/icmph/g" -e "s/ICMP_ECHO_REPLY/ICMP_ECHOREPLY/g" -e "s/ICMP_ECHO_REQUEST/ICMP_ECHO/g" -e "s/icmph_union.echo.id/s_icmp_id/g" -e "s/icmph_union.echo.seq/s_icmp_seq/g" -e "/sf_snort_detection_engine.h/d" ../../detection-plugins/%(Filename).c.new &gt; ../../detection-plugins/%(Filename).c</Command>
158      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\detection-plugins\$(InputName).c;..\..\detection-plugins\$(InputName).c.new;%(Outputs)</Outputs>
159      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\detection-plugins\$(InputName).c;..\..\detection-plugins\$(InputName).c.new;%(Outputs)</Outputs>
160    </CustomBuild>
161  </ItemGroup>
162  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
163  <ImportGroup Label="ExtensionTargets">
164  </ImportGroup>
165</Project>