diff --git a/doc/divert.html b/doc/divert.html index 1ccb946..e001747 100644 --- a/doc/divert.html +++ b/doc/divert.html @@ -124,8 +124,44 @@ for more information. If you wish to simply test and/or evaluate WinDivert, you can set up a test certificate and test sign the WinDivert.sys driver. -See +See Test Signing a Driver Package for more information. +In summary, the steps are: +
    +
  1. Download and install the latest +Windows + Driver Kit.
  2. +
  3. Open a WDK Build Environment console as Administrator.
  4. +
  5. Run the MakeCert.exe tool to create a test certificate, e.g. + with: +
    +    MakeCert -r -pe -ss TestCertStoreName -n "CN=TestCertName" CertFileName.cer
    +
    +
  6. +
  7. Install the test certificate with CertMgr.exe, e.g. with: +
    +    CertMgr /add CertFileName.cer /s /r localMachine root
    +
    +
  8. +
  9. Sign WinDivert.sys with the test certificate, e.g. with: +
    +    SignTool sign /v /s TestCertStoreName /n TestCertName WinDivert.sys
    +
    +
  10. +
  11. Before you can load test-signed drivers, you must enable + Windows test mode. + To do this, run the command: +
    +    Bcdedit.exe -set TESTSIGNING ON
    +
    + and restart Windows. + For more information, see + The + TESTSIGNING Boot Configuration Option. +
  12. +
+After following these steps you should be able to use the WinDivert driver.

2.3 Visual Studio 2010 Support

@@ -134,7 +170,7 @@ To build the WinDivert package for Visual Studio 2010:
  1. First build the driver by running wddk-build.bat as per the instructions above.
  2. -
  3. Open a Visual Studio Command Prompt environment
  4. +
  5. Open a Visual Studio Command Prompt environment.
  6. In the WinDivert package root directory, run the command:
     msvc-build.bat
    @@ -142,7 +178,6 @@ msvc-build.bat
     This will build Visual Studio 2010 compatible files and place them in the
     install\MSVC subdirectory.
-NOTE: Currently only the i386 build is supported.

2.4 MinGW Support