Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions network/trans/WFPSampler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion network/trans/WFPSampler/exe/Scenarios_Proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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));
}
Expand Down
4 changes: 0 additions & 4 deletions network/trans/WFPSampler/inc/Identifiers.h
Original file line number Diff line number Diff line change
Expand Up @@ -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]";

Expand Down
Loading