Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The WinGate Module Wizard (WMW) is a Visual Studio 2010 plugin that makes it easy to create boilerplate code for WinGate plugins.

Quick Start

  • Install WinGate on your development machine
  • Install the WinGate SDK onto the same machine
  • Run Visual Studio 2010
  • Create New Project and select WinGate Plugin Module from the Visual C++ section of the Installed Templates
  • Set options in the Wizard and click Finish.

Wizard Options

Friendly name and Description

Enter the text you wish users of your module to see when they view the Module panel in the WinGate Management Console. The friendly name will also be used ti name the DLL's and projects for your plugin.

Create Engine Module

Select this option if you want to create a plugin that runs in the WinGate engine. There are a number of options to chose from for the generated project:

  • Use persistence - generates code to bind to the persistence API and demonstrate reading and writing configuration information through it.
  • Use logging - generates code to bind to the logging API, register your module as a log source and log some text at various places in the generated code.

Generate HTTP filter sample code

Select this option to generate sample code for filtering HTTP traffic from sources such as the HTTP Proxy Service in WinGate. The generated code provides a simplistic example of buffering and then scanning HTTP traffic as well as reporting an error page back to the user if the content is deemed "unsafe".

Generate POP3 filter sample code

Select this option to generate sample code for filtering POP3 traffic from sources such as the POP3 Proxy Service in WinGate. The example code monitors the POP3 commands and message data and will convert "unsafe" emails into a plaintext message indicating that it has been blocked.

Generate SMTP filter sample code

Select this option to generate sample code for filtering SMTP traffic from sources such as the SMTP Server in WinGate. The example code will monitor emails being sent via the source and send back an error message to the client if the message is deemed "unsafe".

it also demonstrates setting an internal tag to indicate the email has been scanned, which is then read by the SMTP queue filter so it can avoid rescanning the message.

Generate SMTP queue filter sample code

Select this option to generate sample code for monitoring the SMTP queue used by services such as the SMTP Server. The example code monitors new mails put into the queue and checks to see if they are "unsafe". If they are, the message is deleted.

 

 

  • No labels