diff --git a/network/trans/WFPSampler/README.md b/network/trans/WFPSampler/README.md index 1acc1490b..89daa05c1 100644 --- a/network/trans/WFPSampler/README.md +++ b/network/trans/WFPSampler/README.md @@ -18,8 +18,6 @@ WFPSamplerService.Exe is the service which instructs BFE to add or remove polici WFPSamplerCalloutDriver.Sys is the driver which houses the various callout functions. -WFPSamplerProxyService.Exe is the service which listens for connections to proxy. - WFPSampler.Lib is a library of user mode helper functions used throughout the project. WFPSamplerSys.Lib is a library of kernel mode helper functions used throughout the project. diff --git a/network/trans/WFPSampler/exe/Scenarios_Proxy.cpp b/network/trans/WFPSampler/exe/Scenarios_Proxy.cpp index efd0ab8b3..0aff56649 100644 --- a/network/trans/WFPSampler/exe/Scenarios_Proxy.cpp +++ b/network/trans/WFPSampler/exe/Scenarios_Proxy.cpp @@ -57,7 +57,7 @@ #include "Framework_WFPSampler.h" /// . -/// WFPSamplerProxyService.Exe's ports +/// TODO: Your proxy service's ports #define PROXY_PORT_V4 17476 #define PROXY_PORT_V6 26214 @@ -466,6 +466,7 @@ UINT32 PrvProxyScenarioParseProxyData(_In_reads_(stringCount) PCWSTR* ppCLPStrin &pPCProxyData->udpPortReservationToken); */ if(pPCProxyData->targetProcessID == 0) + // TODO: Default to WFPSamplerProxyService.Exe's PID. But you can specify another process if needed. HlprProcessGetID(L"WFPSamplerProxyService.Exe", &(pPCProxyData->targetProcessID)); } diff --git a/network/trans/WFPSampler/inc/Identifiers.h b/network/trans/WFPSampler/inc/Identifiers.h index 161c19a0a..0b7d98825 100644 --- a/network/trans/WFPSampler/inc/Identifiers.h +++ b/network/trans/WFPSampler/inc/Identifiers.h @@ -27,14 +27,10 @@ static PCWSTR g_pDeviceName = L"\\Device\\WFPSampler"; static PCWSTR g_pCompanyName = L"Microsoft Corporation"; static PCWSTR g_pBinaryDescription = L"WFPSampler version 1.0.0.1, Copyright (c) 2012 Microsoft Corporation. All Rights Reserved."; -static PCWSTR g_pProxyBinaryDescription = L"WFPSamplerProxyService version 1.0.0.1, Copyright (c) 2012 Microsoft Corporation. All Rights Reserved."; static PCWSTR g_pServiceExe = L"%SystemRoot%\\System32\\WFPSamplerService.Exe"; static PCWSTR g_pServiceName = L"WFPSampler"; static PCWSTR g_pServiceDescription = L"Microsoft Windows Filtering Platform (WFP) Sample Policy Service"; static PCWSTR g_pCalloutServiceName = L"WFPSamplerCallouts"; -static PCWSTR g_pProxyServiceExe = L"%SystemRoot%\\System32\\WFPSamplerProxyService.Exe"; -static PCWSTR g_pProxyServiceName = L"WFPSamplerProxy"; -static PCWSTR g_pProxyServiceDescription = L"Microsoft Windows Filtering Platform (WFP) Sample Proxy Service"; static PCWSTR g_pRPCProtocolSequence = L"ncalrpc"; static PCWSTR g_pEndpoint = L"ncalrpc:[WFPSampler]";