├── Passthru ├── objchk_wxp_x86 │ ├── i386 │ │ ├── pch_hdr.src │ │ ├── hook.obj │ │ ├── vc90.pdb │ │ ├── miniport.obj │ │ ├── passthru.obj │ │ ├── passthru.pdb │ │ ├── passthru.res │ │ ├── passthru.sys │ │ ├── precomp.obj │ │ ├── precomp.pch │ │ ├── protocol.obj │ │ ├── analysispacket.obj │ │ ├── precomp.oacr.pft.pchast │ │ ├── _objects.mac │ │ ├── analysispacket.obj.oacr.root.x86chk.pft.xml │ │ └── passthru.obj.oacr.root.x86chk.pft.xml │ └── _objects.mac ├── Hook.c ├── miniport.c ├── passthru.c ├── passthru.h ├── protocol.c ├── passthru.htm ├── passthru.ncb ├── passthru.plg ├── passthru.suo ├── Debug │ ├── vc60.idb │ └── vc60.pdb ├── passthru.c.bak ├── analysispacket.c ├── analysispacket.dsw ├── analysispacket.ncb ├── analysispacket.opt ├── analysispacket.plg ├── free │ └── BuildLog.htm ├── analysispacket.c.bak ├── my_clean.bat ├── _UpgradeReport_Files │ ├── UpgradeReport_Plus.gif │ ├── UpgradeReport_Minus.gif │ ├── UpgradeReport.css │ └── UpgradeReport.xslt ├── common.h.bak ├── my_build.bat ├── buildchk_wxp_x86.wrn ├── precomp.h ├── makefile ├── common.h ├── sources.bak ├── sources ├── passthru.rc ├── passthru.vcproj.ZHANGLIU.zhangliuyan.user ├── UpgradeLog.XML ├── netsf_m.inf ├── passthru.vcproj.old ├── passthru.vcproj ├── passthru.dsp ├── analysispacket.dsp ├── buildfre_wnet_x86.log ├── netsf.inf └── buildchk_wxp_x86.log ├── FireWall_Cilent.exe ├── FireWall_Cilent ├── common.h ├── Debug │ ├── StdAfx.obj │ ├── vc60.idb │ ├── vc60.pdb │ ├── FireWall_Cilent.exe │ ├── FireWall_Cilent.ilk │ ├── FireWall_Cilent.obj │ ├── FireWall_Cilent.pch │ ├── FireWall_Cilent.pdb │ ├── FireWall_Cilent.res │ └── FireWall_CilentDlg.obj ├── FireWall_Cilent.rc ├── FireWall_Cilent.aps ├── FireWall_Cilent.dsw ├── FireWall_Cilent.ncb ├── FireWall_Cilent.opt ├── FireWall_Cilent.plg ├── FireWall_CilentDlg.cpp ├── res │ ├── FireWall_Cilent.ico │ └── FireWall_Cilent.rc2 ├── StdAfx.cpp ├── StdAfx.h ├── resource.h ├── FireWall_Cilent.h ├── FireWall_CilentDlg.h ├── FireWall_Cilent.clw ├── FireWall_Cilent.cpp ├── ReadMe.txt └── FireWall_Cilent.dsp ├── SYS Drivers ├── passthru.sys ├── netsf_m.inf └── netsf.inf └── README.md /Passthru/objchk_wxp_x86/i386/pch_hdr.src: -------------------------------------------------------------------------------- 1 | #include "precomp.h" 2 | -------------------------------------------------------------------------------- /Passthru/Hook.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/Hook.c -------------------------------------------------------------------------------- /FireWall_Cilent.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent.exe -------------------------------------------------------------------------------- /Passthru/miniport.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/miniport.c -------------------------------------------------------------------------------- /Passthru/passthru.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/passthru.c -------------------------------------------------------------------------------- /Passthru/passthru.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/passthru.h -------------------------------------------------------------------------------- /Passthru/protocol.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/protocol.c -------------------------------------------------------------------------------- /Passthru/passthru.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/passthru.htm -------------------------------------------------------------------------------- /Passthru/passthru.ncb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/passthru.ncb -------------------------------------------------------------------------------- /Passthru/passthru.plg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/passthru.plg -------------------------------------------------------------------------------- /Passthru/passthru.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/passthru.suo -------------------------------------------------------------------------------- /FireWall_Cilent/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/common.h -------------------------------------------------------------------------------- /Passthru/Debug/vc60.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/Debug/vc60.idb -------------------------------------------------------------------------------- /Passthru/Debug/vc60.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/Debug/vc60.pdb -------------------------------------------------------------------------------- /Passthru/passthru.c.bak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/passthru.c.bak -------------------------------------------------------------------------------- /SYS Drivers/passthru.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/SYS Drivers/passthru.sys -------------------------------------------------------------------------------- /Passthru/analysispacket.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/analysispacket.c -------------------------------------------------------------------------------- /Passthru/analysispacket.dsw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/analysispacket.dsw -------------------------------------------------------------------------------- /Passthru/analysispacket.ncb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/analysispacket.ncb -------------------------------------------------------------------------------- /Passthru/analysispacket.opt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/analysispacket.opt -------------------------------------------------------------------------------- /Passthru/analysispacket.plg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/analysispacket.plg -------------------------------------------------------------------------------- /Passthru/free/BuildLog.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/free/BuildLog.htm -------------------------------------------------------------------------------- /Passthru/analysispacket.c.bak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/analysispacket.c.bak -------------------------------------------------------------------------------- /FireWall_Cilent/Debug/StdAfx.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/Debug/StdAfx.obj -------------------------------------------------------------------------------- /FireWall_Cilent/Debug/vc60.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/Debug/vc60.idb -------------------------------------------------------------------------------- /FireWall_Cilent/Debug/vc60.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/Debug/vc60.pdb -------------------------------------------------------------------------------- /FireWall_Cilent/FireWall_Cilent.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/FireWall_Cilent.rc -------------------------------------------------------------------------------- /FireWall_Cilent/FireWall_Cilent.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/FireWall_Cilent.aps -------------------------------------------------------------------------------- /FireWall_Cilent/FireWall_Cilent.dsw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/FireWall_Cilent.dsw -------------------------------------------------------------------------------- /FireWall_Cilent/FireWall_Cilent.ncb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/FireWall_Cilent.ncb -------------------------------------------------------------------------------- /FireWall_Cilent/FireWall_Cilent.opt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/FireWall_Cilent.opt -------------------------------------------------------------------------------- /FireWall_Cilent/FireWall_Cilent.plg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/FireWall_Cilent.plg -------------------------------------------------------------------------------- /Passthru/objchk_wxp_x86/i386/hook.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/objchk_wxp_x86/i386/hook.obj -------------------------------------------------------------------------------- /Passthru/objchk_wxp_x86/i386/vc90.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/objchk_wxp_x86/i386/vc90.pdb -------------------------------------------------------------------------------- /FireWall_Cilent/FireWall_CilentDlg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/FireWall_CilentDlg.cpp -------------------------------------------------------------------------------- /FireWall_Cilent/res/FireWall_Cilent.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/res/FireWall_Cilent.ico -------------------------------------------------------------------------------- /FireWall_Cilent/Debug/FireWall_Cilent.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/Debug/FireWall_Cilent.exe -------------------------------------------------------------------------------- /FireWall_Cilent/Debug/FireWall_Cilent.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/Debug/FireWall_Cilent.ilk -------------------------------------------------------------------------------- /FireWall_Cilent/Debug/FireWall_Cilent.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/Debug/FireWall_Cilent.obj -------------------------------------------------------------------------------- /FireWall_Cilent/Debug/FireWall_Cilent.pch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/Debug/FireWall_Cilent.pch -------------------------------------------------------------------------------- /FireWall_Cilent/Debug/FireWall_Cilent.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/Debug/FireWall_Cilent.pdb -------------------------------------------------------------------------------- /FireWall_Cilent/Debug/FireWall_Cilent.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/Debug/FireWall_Cilent.res -------------------------------------------------------------------------------- /Passthru/objchk_wxp_x86/i386/miniport.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/objchk_wxp_x86/i386/miniport.obj -------------------------------------------------------------------------------- /Passthru/objchk_wxp_x86/i386/passthru.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/objchk_wxp_x86/i386/passthru.obj -------------------------------------------------------------------------------- /Passthru/objchk_wxp_x86/i386/passthru.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/objchk_wxp_x86/i386/passthru.pdb -------------------------------------------------------------------------------- /Passthru/objchk_wxp_x86/i386/passthru.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/objchk_wxp_x86/i386/passthru.res -------------------------------------------------------------------------------- /Passthru/objchk_wxp_x86/i386/passthru.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/objchk_wxp_x86/i386/passthru.sys -------------------------------------------------------------------------------- /Passthru/objchk_wxp_x86/i386/precomp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/objchk_wxp_x86/i386/precomp.obj -------------------------------------------------------------------------------- /Passthru/objchk_wxp_x86/i386/precomp.pch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/objchk_wxp_x86/i386/precomp.pch -------------------------------------------------------------------------------- /Passthru/objchk_wxp_x86/i386/protocol.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/objchk_wxp_x86/i386/protocol.obj -------------------------------------------------------------------------------- /FireWall_Cilent/Debug/FireWall_CilentDlg.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/FireWall_Cilent/Debug/FireWall_CilentDlg.obj -------------------------------------------------------------------------------- /Passthru/my_clean.bat: -------------------------------------------------------------------------------- 1 | if exist Debug rd /s /q Debug 2 | if exist Release rd /s /q Release 3 | if exist obj%1_%2_x86 rd /s /q obj%1_%2_x86 4 | -------------------------------------------------------------------------------- /Passthru/objchk_wxp_x86/i386/analysispacket.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/objchk_wxp_x86/i386/analysispacket.obj -------------------------------------------------------------------------------- /Passthru/_UpgradeReport_Files/UpgradeReport_Plus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/_UpgradeReport_Files/UpgradeReport_Plus.gif -------------------------------------------------------------------------------- /Passthru/objchk_wxp_x86/i386/precomp.oacr.pft.pchast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/objchk_wxp_x86/i386/precomp.oacr.pft.pchast -------------------------------------------------------------------------------- /Passthru/_UpgradeReport_Files/UpgradeReport_Minus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ltangjian/FireWall/HEAD/Passthru/_UpgradeReport_Files/UpgradeReport_Minus.gif -------------------------------------------------------------------------------- /Passthru/common.h.bak: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | typedef struct _ParamConfig 4 | { 5 | int bandwidth; 6 | int dropProbability; 7 | int latency; 8 | int jitter; 9 | }ParamConfig; 10 | 11 | ParamConfig *paramdev; -------------------------------------------------------------------------------- /FireWall_Cilent/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // FireWall_Cilent.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Passthru/my_build.bat: -------------------------------------------------------------------------------- 1 | @echo on 2 | @echo %1 is chk or fre %2 is WXP or W2K or WNET. 3 | 4 | if "%4"=="/a" call my_clean %1 %2 5 | 6 | pushd. 7 | call %BASEDIR%\bin\setenv.bat %BASEDIR% %1 %2 8 | popd 9 | 10 | set INCLUDE=%INCLUDE% 11 | 12 | @echo on 13 | build -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # FireWall 2 | Based on the research of Windows network architecture and the core packet filtering firewall technology, using NDIS intermediate driver, the article achieved the filter of the core layer, and completed the Windows Personal Firewall Design and Implementation. 3 | -------------------------------------------------------------------------------- /FireWall_Cilent/res/FireWall_Cilent.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // FIREWALL_CILENT.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | ///////////////////////////////////////////////////////////////////////////// 14 | -------------------------------------------------------------------------------- /Passthru/buildchk_wxp_x86.wrn: -------------------------------------------------------------------------------- 1 | 1>warnings in directory c:\passthru 2 | 1>c:\passthru\passthru.c(617) : warning C4133: 'function' : incompatible types - from 'ParamConfig *' to 'ParamConfig *' 3 | 1>c:\passthru\analysispacket.c(23) : warning C4996: 'ExAllocatePool': was declared deprecated 4 | 1>c:\passthru\analysispacket.c(30) : warning C4133: '=' : incompatible types - from 'ParamConfig *' to 'ParamConfig *' 5 | 1>c:\passthru\analysispacket.c(51) : warning C4133: '=' : incompatible types - from 'ParamConfig *' to 'ParamConfig *' 6 | -------------------------------------------------------------------------------- /Passthru/precomp.h: -------------------------------------------------------------------------------- 1 | #pragma warning(disable:4214) // bit field types other than int 2 | 3 | #pragma warning(disable:4201) // nameless struct/union 4 | #pragma warning(disable:4115) // named type definition in parentheses 5 | #pragma warning(disable:4127) // conditional expression is constant 6 | #pragma warning(disable:4054) // cast of function pointer to PVOID 7 | #pragma warning(disable:4244) // conversion from 'int' to 'BOOLEAN', possible loss of data 8 | 9 | #include 10 | #include "passthru.h" 11 | 12 | -------------------------------------------------------------------------------- /Passthru/objchk_wxp_x86/i386/_objects.mac: -------------------------------------------------------------------------------- 1 | 2 | 3 | 386_OBJECTS=\ 4 | $(OBJ_PATH)\$O\miniport.obj \ 5 | $(OBJ_PATH)\$O\passthru.obj \ 6 | $(OBJ_PATH)\$O\protocol.obj \ 7 | $(OBJ_PATH)\$O\analysispacket.obj \ 8 | $(OBJ_PATH)\$O\hook.obj \ 9 | 10 | 11 | _RES_FILE=$(OBJ_PATH)\$O\passthru.res 12 | PRECOMPILED_INCLUDE_BASENAME=precomp.h 13 | 14 | 15 | 16 | 17 | # lowercased 18 | BASEDIR=c:\winddk\7600.16385.1 19 | OBJECT_ROOT=c:\winddk\7600.16385.1 20 | MAKEDIR_LOWERCASE=c:\passthru 21 | OBJ_PATH=c:\passthru 22 | CONCURRENT_MIDL=0 23 | CONCURRENT_MANIFEST_BUILD=0 24 | -------------------------------------------------------------------------------- /Passthru/objchk_wxp_x86/i386/analysispacket.obj.oacr.root.x86chk.pft.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 1 4 | 0 5 | 2319analysispacket.cc:\passthru\28159Consider using 'ExAllocatePoolWithTag' instead of 'ExAllocatePool'. Reason: No tag interferes with debugging..UTIL_AllocateMemory20 6 | 7 | -------------------------------------------------------------------------------- /Passthru/makefile: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE!!! Edit .\sources. if you want to add a new source 3 | # file to this component. This file merely indirects to the real make file 4 | # that is shared by all the components of NT 5 | # 6 | 7 | #!INCLUDE $(NTMAKEENV)\makefile.def 8 | 9 | 10 | !IF DEFINED(_NT_TARGET_VERSION) 11 | ! IF $(_NT_TARGET_VERSION)>=0x501 12 | ! INCLUDE $(NTMAKEENV)\makefile.def 13 | ! ELSE 14 | # Only warn once per directory 15 | ! INCLUDE $(NTMAKEENV)\makefile.plt 16 | ! IF "$(BUILD_PASS)"=="PASS1" 17 | ! message BUILDMSG: Warning : The sample "$(MAKEDIR)" is not valid for the current OS target. 18 | ! ENDIF 19 | ! ENDIF 20 | !ELSE 21 | ! INCLUDE $(NTMAKEENV)\makefile.def 22 | !ENDIF 23 | -------------------------------------------------------------------------------- /Passthru/common.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | typedef struct _ipaddr 4 | { 5 | int field1; 6 | int field2; 7 | int field3; 8 | int field4; 9 | }ipaddr; 10 | 11 | typedef struct _ParamConfig 12 | { 13 | char protocol; 14 | ipaddr src_address; 15 | ipaddr dst_address; 16 | int action; 17 | int alltcp; 18 | int alludp; 19 | int allicmp; 20 | 21 | }ParamConfig; 22 | 23 | 24 | #define IOCTL_PTUSERIO_READY CTL_CODE(FILE_DEVICE_UNKNOWN, 0x800, METHOD_BUFFERED, FILE_ANY_ACCESS) 25 | #define IOCTL_PTUSERIO_ADDCONFIG CTL_CODE(FILE_DEVICE_UNKNOWN, 0x801, METHOD_BUFFERED, FILE_ANY_ACCESS) 26 | 27 | #define NORULE 0 28 | #define TCP 1 29 | #define UDP 2 30 | #define ICMP 3 31 | 32 | #define PASS 0 33 | #define DENY 1 34 | 35 | #define PASSALL 0 36 | #define DENYALLTCP 1 37 | #define DENYALLUDP 1 38 | #define DENYALLICMP 1 39 | -------------------------------------------------------------------------------- /Passthru/sources.bak: -------------------------------------------------------------------------------- 1 | TARGETNAME=passthru 2 | TARGETTYPE=DRIVER 3 | 4 | C_DEFINES=$(C_DEFINES) -DNDIS_MINIPORT_DRIVER -DNDIS_WDM=1 5 | 6 | 7 | !if "$(DDK_TARGET_OS)"=="Win2K" 8 | # 9 | # The driver is built in the Win2K build environment 10 | # 11 | C_DEFINES=$(C_DEFINES) -DNDIS40_MINIPORT=1 12 | C_DEFINES=$(C_DEFINES) -DNDIS40=1 13 | !else 14 | # 15 | # The driver is built in the XP or .NET build environment 16 | # So let us build NDIS 5.1 version. 17 | # 18 | C_DEFINES=$(C_DEFINES) -DNDIS51_MINIPORT=1 19 | C_DEFINES=$(C_DEFINES) -DNDIS51=1 20 | !endif 21 | 22 | # Uncomment the following to build for Win98/SE/WinMe 23 | # This causes several APIs that are not present in Win9X to be 24 | # ifdef'ed out. 25 | # C_DEFINES=$(C_DEFINES) -DWIN9X=1 26 | 27 | PRECOMPILED_INCLUDE=precomp.h 28 | 29 | TARGETLIBS=$(DDK_LIB_PATH)\ndis.lib 30 | 31 | INCLUDES= 32 | 33 | SOURCES=\ 34 | miniport.c \ 35 | passthru.c \ 36 | passthru.rc \ 37 | protocol.c\ 38 | analysispacket.c\ 39 | hook.c 40 | 41 | -------------------------------------------------------------------------------- /Passthru/sources: -------------------------------------------------------------------------------- 1 | TARGETNAME=passthru 2 | TARGETPATH=obj 3 | TARGETTYPE=DRIVER 4 | 5 | C_DEFINES=$(C_DEFINES) -DNDIS_MINIPORT_DRIVER -DNDIS_WDM=1 6 | 7 | 8 | !if "$(DDK_TARGET_OS)"=="Win2K" 9 | # 10 | # The driver is built in the Win2K build environment 11 | # 12 | C_DEFINES=$(C_DEFINES) -DNDIS40_MINIPORT=1 13 | C_DEFINES=$(C_DEFINES) -DNDIS40=1 14 | !else 15 | # 16 | # The driver is built in the XP or .NET build environment 17 | # So let us build NDIS 5.1 version. 18 | # 19 | C_DEFINES=$(C_DEFINES) -DNDIS51_MINIPORT=1 20 | C_DEFINES=$(C_DEFINES) -DNDIS51=1 21 | !endif 22 | 23 | # Uncomment the following to build for Win98/SE/WinMe 24 | # This causes several APIs that are not present in Win9X to be 25 | # ifdef'ed out. 26 | # C_DEFINES=$(C_DEFINES) -DWIN9X=1 27 | 28 | PRECOMPILED_INCLUDE=precomp.h 29 | 30 | TARGETLIBS=$(DDK_LIB_PATH)\ndis.lib 31 | 32 | INCLUDES= 33 | 34 | SOURCES=\ 35 | miniport.c \ 36 | passthru.c \ 37 | passthru.rc \ 38 | protocol.c\ 39 | analysispacket.c\ 40 | hook.c 41 | 42 | -------------------------------------------------------------------------------- /FireWall_Cilent/StdAfx.h: -------------------------------------------------------------------------------- 1 | // stdafx.h : include file for standard system include files, 2 | // or project specific include files that are used frequently, but 3 | // are changed infrequently 4 | // 5 | 6 | #if !defined(AFX_STDAFX_H__A137B2B4_C65A_4DBD_81CF_F0A0B2A02B45__INCLUDED_) 7 | #define AFX_STDAFX_H__A137B2B4_C65A_4DBD_81CF_F0A0B2A02B45__INCLUDED_ 8 | 9 | #if _MSC_VER > 1000 10 | #pragma once 11 | #endif // _MSC_VER > 1000 12 | 13 | #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers 14 | 15 | #include // MFC core and standard components 16 | #include // MFC extensions 17 | #include // MFC Automation classes 18 | #include // MFC support for Internet Explorer 4 Common Controls 19 | #ifndef _AFX_NO_AFXCMN_SUPPORT 20 | #include // MFC support for Windows Common Controls 21 | #endif // _AFX_NO_AFXCMN_SUPPORT 22 | 23 | 24 | //{{AFX_INSERT_LOCATION}} 25 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 26 | 27 | #endif // !defined(AFX_STDAFX_H__A137B2B4_C65A_4DBD_81CF_F0A0B2A02B45__INCLUDED_) 28 | -------------------------------------------------------------------------------- /Passthru/passthru.rc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | /*-----------------------------------------------*/ 5 | /* the following lines are specific to this file */ 6 | /*-----------------------------------------------*/ 7 | 8 | /* VER_FILETYPE, VER_FILESUBTYPE, VER_FILEDESCRIPTION_STR 9 | * and VER_INTERNALNAME_STR must be defined before including COMMON.VER 10 | * The strings don't need a '\0', since common.ver has them. 11 | */ 12 | #define VER_FILETYPE VFT_DRV 13 | /* possible values: VFT_UNKNOWN 14 | VFT_APP 15 | VFT_DLL 16 | VFT_DRV 17 | VFT_FONT 18 | VFT_VXD 19 | VFT_STATIC_LIB 20 | */ 21 | #define VER_FILESUBTYPE VFT2_DRV_NETWORK 22 | /* possible values VFT2_UNKNOWN 23 | VFT2_DRV_PRINTER 24 | VFT2_DRV_KEYBOARD 25 | VFT2_DRV_LANGUAGE 26 | VFT2_DRV_DISPLAY 27 | VFT2_DRV_MOUSE 28 | VFT2_DRV_NETWORK 29 | VFT2_DRV_SYSTEM 30 | VFT2_DRV_INSTALLABLE 31 | VFT2_DRV_SOUND 32 | VFT2_DRV_COMM 33 | */ 34 | #define VER_FILEDESCRIPTION_STR "Sample NDIS 4.0 Intermediate Miniport Driver" 35 | #define VER_INTERNALNAME_STR "PASSTHRU.SYS" 36 | #define VER_ORIGINALFILENAME_STR "PASSTHRU.SYS" 37 | #define VER_LANGNEUTRAL 38 | 39 | #include "common.ver" 40 | 41 |  42 | -------------------------------------------------------------------------------- /FireWall_Cilent/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Developer Studio generated include file. 3 | // Used by FireWall_Cilent.rc 4 | // 5 | #define IDM_ABOUTBOX 0x0010 6 | #define IDD_ABOUTBOX 100 7 | #define IDS_ABOUTBOX 101 8 | #define IDD_FIREWALL_CILENT_DIALOG 102 9 | #define IDR_MAINFRAME 128 10 | #define IDC_EDIT1 1000 11 | #define IDC_EDIT2 1001 12 | #define IDC_EDIT3 1002 13 | #define IDC_EDIT4 1003 14 | #define IDC_EDIT5 1004 15 | #define IDC_EDIT6 1005 16 | #define IDC_EDIT7 1006 17 | #define IDC_EDIT8 1007 18 | #define IDC_CHECK1 1008 19 | #define IDC_CHECK2 1009 20 | #define IDC_CHECK3 1010 21 | #define IDC_BUTTON1 1011 22 | #define IDC_BUTTON2 1012 23 | 24 | // Next default values for new objects 25 | // 26 | #ifdef APSTUDIO_INVOKED 27 | #ifndef APSTUDIO_READONLY_SYMBOLS 28 | #define _APS_NEXT_RESOURCE_VALUE 129 29 | #define _APS_NEXT_COMMAND_VALUE 32771 30 | #define _APS_NEXT_CONTROL_VALUE 1012 31 | #define _APS_NEXT_SYMED_VALUE 101 32 | #endif 33 | #endif 34 | -------------------------------------------------------------------------------- /Passthru/objchk_wxp_x86/_objects.mac: -------------------------------------------------------------------------------- 1 | MUI_386_OBJECTS= \ 2 | $(_OBJ_DIR)\i386\passthru.res 3 | 4 | 386_OBJECTS= \ 5 | $(_OBJ_DIR)\i386\passthru.res \ 6 | $(_OBJ_DIR)\i386\miniport.obj \ 7 | $(_OBJ_DIR)\i386\passthru.obj \ 8 | $(_OBJ_DIR)\i386\protocol.obj \ 9 | $(_OBJ_DIR)\i386\analysispacket.obj \ 10 | $(_OBJ_DIR)\i386\hook.obj 11 | 12 | MUI_IA64_OBJECTS= \ 13 | $(_OBJ_DIR)\ia64\passthru.res 14 | 15 | IA64_OBJECTS= \ 16 | $(_OBJ_DIR)\ia64\passthru.res \ 17 | $(_OBJ_DIR)\ia64\miniport.obj \ 18 | $(_OBJ_DIR)\ia64\passthru.obj \ 19 | $(_OBJ_DIR)\ia64\protocol.obj \ 20 | $(_OBJ_DIR)\ia64\analysispacket.obj \ 21 | $(_OBJ_DIR)\ia64\hook.obj 22 | 23 | MUI_AMD64_OBJECTS= \ 24 | $(_OBJ_DIR)\amd64\passthru.res 25 | 26 | AMD64_OBJECTS= \ 27 | $(_OBJ_DIR)\amd64\passthru.res \ 28 | $(_OBJ_DIR)\amd64\miniport.obj \ 29 | $(_OBJ_DIR)\amd64\passthru.obj \ 30 | $(_OBJ_DIR)\amd64\protocol.obj \ 31 | $(_OBJ_DIR)\amd64\analysispacket.obj \ 32 | $(_OBJ_DIR)\amd64\hook.obj 33 | 34 | MUI_ARM_OBJECTS= \ 35 | $(_OBJ_DIR)\arm\passthru.res 36 | 37 | ARM_OBJECTS= \ 38 | $(_OBJ_DIR)\arm\passthru.res \ 39 | $(_OBJ_DIR)\arm\miniport.obj \ 40 | $(_OBJ_DIR)\arm\passthru.obj \ 41 | $(_OBJ_DIR)\arm\protocol.obj \ 42 | $(_OBJ_DIR)\arm\analysispacket.obj \ 43 | $(_OBJ_DIR)\arm\hook.obj 44 | 45 | PRECOMPILED_INCLUDE_BASENAME=precomp.h 46 | 47 | -------------------------------------------------------------------------------- /FireWall_Cilent/FireWall_Cilent.h: -------------------------------------------------------------------------------- 1 | // FireWall_Cilent.h : main header file for the FIREWALL_CILENT application 2 | // 3 | 4 | #if !defined(AFX_FIREWALL_CILENT_H__9C21E27D_CB6F_47C0_9626_6BF8910A838A__INCLUDED_) 5 | #define AFX_FIREWALL_CILENT_H__9C21E27D_CB6F_47C0_9626_6BF8910A838A__INCLUDED_ 6 | 7 | #if _MSC_VER > 1000 8 | #pragma once 9 | #endif // _MSC_VER > 1000 10 | 11 | #ifndef __AFXWIN_H__ 12 | #error include 'stdafx.h' before including this file for PCH 13 | #endif 14 | 15 | #include "resource.h" // main symbols 16 | 17 | ///////////////////////////////////////////////////////////////////////////// 18 | // CFireWall_CilentApp: 19 | // See FireWall_Cilent.cpp for the implementation of this class 20 | // 21 | 22 | class CFireWall_CilentApp : public CWinApp 23 | { 24 | public: 25 | CFireWall_CilentApp(); 26 | 27 | // Overrides 28 | // ClassWizard generated virtual function overrides 29 | //{{AFX_VIRTUAL(CFireWall_CilentApp) 30 | public: 31 | virtual BOOL InitInstance(); 32 | //}}AFX_VIRTUAL 33 | 34 | // Implementation 35 | 36 | //{{AFX_MSG(CFireWall_CilentApp) 37 | // NOTE - the ClassWizard will add and remove member functions here. 38 | // DO NOT EDIT what you see in these blocks of generated code ! 39 | //}}AFX_MSG 40 | DECLARE_MESSAGE_MAP() 41 | }; 42 | 43 | 44 | ///////////////////////////////////////////////////////////////////////////// 45 | 46 | //{{AFX_INSERT_LOCATION}} 47 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 48 | 49 | #endif // !defined(AFX_FIREWALL_CILENT_H__9C21E27D_CB6F_47C0_9626_6BF8910A838A__INCLUDED_) 50 | -------------------------------------------------------------------------------- /Passthru/passthru.vcproj.ZHANGLIU.zhangliuyan.user: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 11 | 35 | 36 | 39 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /FireWall_Cilent/FireWall_CilentDlg.h: -------------------------------------------------------------------------------- 1 | // FireWall_CilentDlg.h : header file 2 | // 3 | 4 | #if !defined(AFX_FIREWALL_CILENTDLG_H__96AD9FDC_1D7F_47A4_9B6F_B11D0EE2BA85__INCLUDED_) 5 | #define AFX_FIREWALL_CILENTDLG_H__96AD9FDC_1D7F_47A4_9B6F_B11D0EE2BA85__INCLUDED_ 6 | 7 | #if _MSC_VER > 1000 8 | #pragma once 9 | #endif // _MSC_VER > 1000 10 | 11 | ///////////////////////////////////////////////////////////////////////////// 12 | // CFireWall_CilentDlg dialog 13 | 14 | class CFireWall_CilentDlg : public CDialog 15 | { 16 | // Construction 17 | public: 18 | CFireWall_CilentDlg(CWnd* pParent = NULL); // standard constructor 19 | 20 | // Dialog Data 21 | //{{AFX_DATA(CFireWall_CilentDlg) 22 | enum { IDD = IDD_FIREWALL_CILENT_DIALOG }; 23 | // NOTE: the ClassWizard will add data members here 24 | //}}AFX_DATA 25 | 26 | // ClassWizard generated virtual function overrides 27 | //{{AFX_VIRTUAL(CFireWall_CilentDlg) 28 | protected: 29 | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 30 | //}}AFX_VIRTUAL 31 | 32 | // Implementation 33 | protected: 34 | HICON m_hIcon; 35 | 36 | // Generated message map functions 37 | //{{AFX_MSG(CFireWall_CilentDlg) 38 | virtual BOOL OnInitDialog(); 39 | afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 40 | afx_msg void OnPaint(); 41 | afx_msg HCURSOR OnQueryDragIcon(); 42 | afx_msg void OnApply(); 43 | afx_msg void OnClean(); 44 | //}}AFX_MSG 45 | DECLARE_MESSAGE_MAP() 46 | }; 47 | 48 | //{{AFX_INSERT_LOCATION}} 49 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 50 | 51 | #endif // !defined(AFX_FIREWALL_CILENTDLG_H__96AD9FDC_1D7F_47A4_9B6F_B11D0EE2BA85__INCLUDED_) 52 | -------------------------------------------------------------------------------- /FireWall_Cilent/FireWall_Cilent.clw: -------------------------------------------------------------------------------- 1 | ; CLW file contains information for the MFC ClassWizard 2 | 3 | [General Info] 4 | Version=1 5 | LastClass=CFireWall_CilentDlg 6 | LastTemplate=CDialog 7 | NewFileInclude1=#include "stdafx.h" 8 | NewFileInclude2=#include "FireWall_Cilent.h" 9 | 10 | ClassCount=4 11 | Class1=CFireWall_CilentApp 12 | Class2=CFireWall_CilentDlg 13 | Class3=CAboutDlg 14 | 15 | ResourceCount=3 16 | Resource1=IDD_ABOUTBOX 17 | Resource2=IDR_MAINFRAME 18 | Resource3=IDD_FIREWALL_CILENT_DIALOG 19 | 20 | [CLS:CFireWall_CilentApp] 21 | Type=0 22 | HeaderFile=FireWall_Cilent.h 23 | ImplementationFile=FireWall_Cilent.cpp 24 | Filter=N 25 | 26 | [CLS:CFireWall_CilentDlg] 27 | Type=0 28 | HeaderFile=FireWall_CilentDlg.h 29 | ImplementationFile=FireWall_CilentDlg.cpp 30 | Filter=D 31 | BaseClass=CDialog 32 | VirtualFilter=dWC 33 | 34 | [CLS:CAboutDlg] 35 | Type=0 36 | HeaderFile=FireWall_CilentDlg.h 37 | ImplementationFile=FireWall_CilentDlg.cpp 38 | Filter=D 39 | 40 | [DLG:IDD_ABOUTBOX] 41 | Type=1 42 | Class=CAboutDlg 43 | ControlCount=4 44 | Control1=IDC_STATIC,static,1342177283 45 | Control2=IDC_STATIC,static,1342308480 46 | Control3=IDC_STATIC,static,1342308352 47 | Control4=IDOK,button,1342373889 48 | 49 | [DLG:IDD_FIREWALL_CILENT_DIALOG] 50 | Type=1 51 | Class=CFireWall_CilentDlg 52 | ControlCount=18 53 | Control1=IDC_EDIT1,edit,1350631552 54 | Control2=IDC_EDIT2,edit,1350631552 55 | Control3=IDC_EDIT3,edit,1350631552 56 | Control4=IDC_EDIT4,edit,1350631552 57 | Control5=IDC_STATIC,static,1342308352 58 | Control6=IDC_STATIC,static,1342308352 59 | Control7=IDC_EDIT5,edit,1350631552 60 | Control8=IDC_EDIT6,edit,1350631552 61 | Control9=IDC_EDIT7,edit,1350631552 62 | Control10=IDC_EDIT8,edit,1350631552 63 | Control11=IDC_CHECK1,button,1342242819 64 | Control12=IDC_CHECK2,button,1342242819 65 | Control13=IDC_CHECK3,button,1342242819 66 | Control14=IDC_STATIC,static,1342308352 67 | Control15=IDC_STATIC,static,1342308352 68 | Control16=IDC_STATIC,static,1342308352 69 | Control17=IDC_BUTTON1,button,1342242816 70 | Control18=IDC_BUTTON2,button,1342242816 71 | 72 | -------------------------------------------------------------------------------- /Passthru/UpgradeLog.XML: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /FireWall_Cilent/FireWall_Cilent.cpp: -------------------------------------------------------------------------------- 1 | // FireWall_Cilent.cpp : Defines the class behaviors for the application. 2 | // 3 | 4 | #include "stdafx.h" 5 | #include "FireWall_Cilent.h" 6 | #include "FireWall_CilentDlg.h" 7 | 8 | #ifdef _DEBUG 9 | #define new DEBUG_NEW 10 | #undef THIS_FILE 11 | static char THIS_FILE[] = __FILE__; 12 | #endif 13 | 14 | ///////////////////////////////////////////////////////////////////////////// 15 | // CFireWall_CilentApp 16 | 17 | BEGIN_MESSAGE_MAP(CFireWall_CilentApp, CWinApp) 18 | //{{AFX_MSG_MAP(CFireWall_CilentApp) 19 | // NOTE - the ClassWizard will add and remove mapping macros here. 20 | // DO NOT EDIT what you see in these blocks of generated code! 21 | //}}AFX_MSG 22 | ON_COMMAND(ID_HELP, CWinApp::OnHelp) 23 | END_MESSAGE_MAP() 24 | 25 | ///////////////////////////////////////////////////////////////////////////// 26 | // CFireWall_CilentApp construction 27 | 28 | CFireWall_CilentApp::CFireWall_CilentApp() 29 | { 30 | // TODO: add construction code here, 31 | // Place all significant initialization in InitInstance 32 | } 33 | 34 | ///////////////////////////////////////////////////////////////////////////// 35 | // The one and only CFireWall_CilentApp object 36 | 37 | CFireWall_CilentApp theApp; 38 | 39 | ///////////////////////////////////////////////////////////////////////////// 40 | // CFireWall_CilentApp initialization 41 | 42 | BOOL CFireWall_CilentApp::InitInstance() 43 | { 44 | AfxEnableControlContainer(); 45 | 46 | // Standard initialization 47 | // If you are not using these features and wish to reduce the size 48 | // of your final executable, you should remove from the following 49 | // the specific initialization routines you do not need. 50 | 51 | #ifdef _AFXDLL 52 | Enable3dControls(); // Call this when using MFC in a shared DLL 53 | #else 54 | Enable3dControlsStatic(); // Call this when linking to MFC statically 55 | #endif 56 | 57 | CFireWall_CilentDlg dlg; 58 | m_pMainWnd = &dlg; 59 | int nResponse = dlg.DoModal(); 60 | if (nResponse == IDOK) 61 | { 62 | // TODO: Place code here to handle when the dialog is 63 | // dismissed with OK 64 | } 65 | else if (nResponse == IDCANCEL) 66 | { 67 | // TODO: Place code here to handle when the dialog is 68 | // dismissed with Cancel 69 | } 70 | 71 | // Since the dialog has been closed, return FALSE so that we exit the 72 | // application, rather than start the application's message pump. 73 | return FALSE; 74 | } 75 | -------------------------------------------------------------------------------- /Passthru/netsf_m.inf: -------------------------------------------------------------------------------- 1 | ; -- NETSF_M.INF -- 2 | ; 3 | ; Passsthru Miniport INF file 4 | ; 5 | ; Copyright (c) 1993-1999, Microsoft Corporation 6 | 7 | ; ---------------------------------------------------------------------- 8 | ; Notes: 9 | ; 0. The term "filter" is used here to refer to an NDIS IM driver that 10 | ; implements a 1:1 relationship between upper and lower bindings. 11 | ; 1. Items specifically required for a filter have been marked with 12 | ; "!!--Filter Specific--!!" keyword 13 | ; 2. A filter DOES NOT require a notify object for proper installation. 14 | ; A notify object is only required if one wants to have better control 15 | ; over binding operations or if one wants to receive notifications 16 | ; when other components get installed/removed/bound/unbound. 17 | ; This sample uses a notify object as an example only. If you do not 18 | ; want to use a notify object, please comment out the lines that add 19 | ; ClsId and ComponentDll registry keys. 20 | ; ---------------------------------------------------------------------- 21 | 22 | [Version] 23 | signature = "$Windows NT$" 24 | Class = Net 25 | ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} 26 | Provider = %Msft% 27 | DriverVer =10/01/2002,6.0.5019.0 28 | 29 | [ControlFlags] 30 | ExcludeFromSelect = ms_passthrump 31 | 32 | [DestinationDirs] 33 | DefaultDestDir=12 34 | ; No files to copy 35 | 36 | [Manufacturer] 37 | %Msft% = MSFT,NTx86,NTia64,NTamd64 38 | 39 | ;For Win2K 40 | 41 | [MSFT] 42 | %PassthruMP_Desc% = PassthruMP.ndi, ms_passthrump 43 | 44 | ;For WinXP and later 45 | 46 | [MSFT.NTx86] 47 | %PassthruMP_Desc% = PassthruMP.ndi, ms_passthrump 48 | 49 | [MSFT.NTia64] 50 | %PassthruMP_Desc% = PassthruMP.ndi, ms_passthrump 51 | 52 | [MSFT.NTamd64] 53 | %PassthruMP_Desc% = PassthruMP.ndi, ms_passthrump 54 | 55 | 56 | [PassthruMP.ndi] 57 | AddReg = PassthruMP.ndi.AddReg 58 | Characteristics = 0x29 ;NCF_NOT_USER_REMOVABLE | NCF_VIRTUAL | NCF_HIDDEN 59 | 60 | [PassthruMP.ndi.AddReg] 61 | HKR, Ndi, Service, 0, PassthruMP 62 | 63 | [PassthruMP.ndi.Services] 64 | AddService = PassthruMP,0x2, PassthruMP.AddService 65 | 66 | 67 | [PassthruMP.AddService] 68 | ServiceType = 1 ;SERVICE_KERNEL_DRIVER 69 | StartType = 3 ;SERVICE_DEMAND_START 70 | ErrorControl = 1 ;SERVICE_ERROR_NORMAL 71 | ServiceBinary = %12%\passthru.sys 72 | AddReg = PassthruMP.AddService.AddReg 73 | 74 | 75 | [PassthruMP.AddService.AddReg] 76 | ; ---------------------------------------------------------------------- 77 | ; Add any miniport-specific parameters here. These are params that your 78 | ; filter device is going to use. 79 | ; 80 | ;HKR, Parameters, ParameterName, 0x10000, "MultiSz", "Parameter", "Value" 81 | ;HKR, Parameters, ParameterName2, 0x10001, 4 82 | 83 | [Strings] 84 | Msft = "Microsoft" 85 | PassthruMP_Desc = "Passthru Miniport" 86 | 87 | [SourceDisksNames] 88 | ;None 89 | 90 | [SourceDisksFiles] 91 | ;None 92 | 93 | 94 | -------------------------------------------------------------------------------- /SYS Drivers/netsf_m.inf: -------------------------------------------------------------------------------- 1 | ; -- NETSF_M.INF -- 2 | ; 3 | ; Passsthru Miniport INF file 4 | ; 5 | ; Copyright (c) 1993-1999, Microsoft Corporation 6 | 7 | ; ---------------------------------------------------------------------- 8 | ; Notes: 9 | ; 0. The term "filter" is used here to refer to an NDIS IM driver that 10 | ; implements a 1:1 relationship between upper and lower bindings. 11 | ; 1. Items specifically required for a filter have been marked with 12 | ; "!!--Filter Specific--!!" keyword 13 | ; 2. A filter DOES NOT require a notify object for proper installation. 14 | ; A notify object is only required if one wants to have better control 15 | ; over binding operations or if one wants to receive notifications 16 | ; when other components get installed/removed/bound/unbound. 17 | ; This sample uses a notify object as an example only. If you do not 18 | ; want to use a notify object, please comment out the lines that add 19 | ; ClsId and ComponentDll registry keys. 20 | ; ---------------------------------------------------------------------- 21 | 22 | [Version] 23 | signature = "$Windows NT$" 24 | Class = Net 25 | ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} 26 | Provider = %Msft% 27 | DriverVer =10/01/2002,6.0.5019.0 28 | 29 | [ControlFlags] 30 | ExcludeFromSelect = ms_passthrump 31 | 32 | [DestinationDirs] 33 | DefaultDestDir=12 34 | ; No files to copy 35 | 36 | [Manufacturer] 37 | %Msft% = MSFT,NTx86,NTia64,NTamd64 38 | 39 | ;For Win2K 40 | 41 | [MSFT] 42 | %PassthruMP_Desc% = PassthruMP.ndi, ms_passthrump 43 | 44 | ;For WinXP and later 45 | 46 | [MSFT.NTx86] 47 | %PassthruMP_Desc% = PassthruMP.ndi, ms_passthrump 48 | 49 | [MSFT.NTia64] 50 | %PassthruMP_Desc% = PassthruMP.ndi, ms_passthrump 51 | 52 | [MSFT.NTamd64] 53 | %PassthruMP_Desc% = PassthruMP.ndi, ms_passthrump 54 | 55 | 56 | [PassthruMP.ndi] 57 | AddReg = PassthruMP.ndi.AddReg 58 | Characteristics = 0x29 ;NCF_NOT_USER_REMOVABLE | NCF_VIRTUAL | NCF_HIDDEN 59 | 60 | [PassthruMP.ndi.AddReg] 61 | HKR, Ndi, Service, 0, PassthruMP 62 | 63 | [PassthruMP.ndi.Services] 64 | AddService = PassthruMP,0x2, PassthruMP.AddService 65 | 66 | 67 | [PassthruMP.AddService] 68 | ServiceType = 1 ;SERVICE_KERNEL_DRIVER 69 | StartType = 3 ;SERVICE_DEMAND_START 70 | ErrorControl = 1 ;SERVICE_ERROR_NORMAL 71 | ServiceBinary = %12%\passthru.sys 72 | AddReg = PassthruMP.AddService.AddReg 73 | 74 | 75 | [PassthruMP.AddService.AddReg] 76 | ; ---------------------------------------------------------------------- 77 | ; Add any miniport-specific parameters here. These are params that your 78 | ; filter device is going to use. 79 | ; 80 | ;HKR, Parameters, ParameterName, 0x10000, "MultiSz", "Parameter", "Value" 81 | ;HKR, Parameters, ParameterName2, 0x10001, 4 82 | 83 | [Strings] 84 | Msft = "Microsoft" 85 | PassthruMP_Desc = "Passthru Miniport" 86 | 87 | [SourceDisksNames] 88 | ;None 89 | 90 | [SourceDisksFiles] 91 | ;None 92 | 93 | 94 | -------------------------------------------------------------------------------- /Passthru/passthru.vcproj.old: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 13 | 14 | 15 | 16 | 17 | 26 | 39 | 40 | 49 | 62 | 63 | 64 | 65 | 66 | 67 | 71 | 74 | 75 | 78 | 79 | 82 | 83 | 86 | 87 | 90 | 91 | 92 | 96 | 99 | 100 | 103 | 104 | 105 | 109 | 112 | 113 | 114 | 117 | 118 | 119 | 120 | 121 | 122 | -------------------------------------------------------------------------------- /Passthru/passthru.vcproj: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 14 | 15 | 16 | 17 | 18 | 27 | 40 | 41 | 50 | 63 | 64 | 65 | 66 | 67 | 68 | 72 | 75 | 76 | 79 | 80 | 83 | 84 | 87 | 88 | 91 | 92 | 93 | 97 | 100 | 101 | 104 | 105 | 106 | 110 | 113 | 114 | 115 | 118 | 119 | 120 | 121 | 122 | 123 | -------------------------------------------------------------------------------- /Passthru/passthru.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="passthru" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Console Application" 0x0103 6 | 7 | CFG=passthru - Win32 Debug 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "passthru.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "passthru.mak" CFG="passthru - Win32 Debug" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "passthru - Win32 Release" (based on "Win32 (x86) Console Application") 21 | !MESSAGE "passthru - Win32 Debug" (based on "Win32 (x86) Console Application") 22 | !MESSAGE 23 | 24 | # Begin Project 25 | # PROP AllowPerConfigDependencies 0 26 | # PROP Scc_ProjName "" 27 | # PROP Scc_LocalPath "" 28 | CPP=cl.exe 29 | RSC=rc.exe 30 | 31 | !IF "$(CFG)" == "passthru - Win32 Release" 32 | 33 | # PROP BASE Use_MFC 0 34 | # PROP BASE Use_Debug_Libraries 0 35 | # PROP BASE Output_Dir "Release" 36 | # PROP BASE Intermediate_Dir "Release" 37 | # PROP BASE Target_Dir "" 38 | # PROP Use_MFC 0 39 | # PROP Use_Debug_Libraries 0 40 | # PROP Output_Dir "Release" 41 | # PROP Intermediate_Dir "Release" 42 | # PROP Target_Dir "" 43 | # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c 44 | # ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c 45 | # ADD BASE RSC /l 0x804 /d "NDEBUG" 46 | # ADD RSC /l 0x804 /d "NDEBUG" 47 | BSC32=bscmake.exe 48 | # ADD BASE BSC32 /nologo 49 | # ADD BSC32 /nologo 50 | LINK32=link.exe 51 | # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 52 | # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 53 | 54 | !ELSEIF "$(CFG)" == "passthru - Win32 Debug" 55 | 56 | # PROP BASE Use_MFC 0 57 | # PROP BASE Use_Debug_Libraries 1 58 | # PROP BASE Output_Dir "Debug" 59 | # PROP BASE Intermediate_Dir "Debug" 60 | # PROP BASE Target_Dir "" 61 | # PROP Use_MFC 0 62 | # PROP Use_Debug_Libraries 1 63 | # PROP Output_Dir "Debug" 64 | # PROP Intermediate_Dir "Debug" 65 | # PROP Target_Dir "" 66 | # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c 67 | # ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c 68 | # ADD BASE RSC /l 0x804 /d "_DEBUG" 69 | # ADD RSC /l 0x804 /d "_DEBUG" 70 | BSC32=bscmake.exe 71 | # ADD BASE BSC32 /nologo 72 | # ADD BSC32 /nologo 73 | LINK32=link.exe 74 | # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept 75 | # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept 76 | 77 | !ENDIF 78 | 79 | # Begin Target 80 | 81 | # Name "passthru - Win32 Release" 82 | # Name "passthru - Win32 Debug" 83 | # Begin Source File 84 | 85 | SOURCE=.\passthru.c 86 | # End Source File 87 | # End Target 88 | # End Project 89 | -------------------------------------------------------------------------------- /Passthru/analysispacket.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="analysispacket" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Console Application" 0x0103 6 | 7 | CFG=analysispacket - Win32 Debug 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "analysispacket.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "analysispacket.mak" CFG="analysispacket - Win32 Debug" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "analysispacket - Win32 Release" (based on "Win32 (x86) Console Application") 21 | !MESSAGE "analysispacket - Win32 Debug" (based on "Win32 (x86) Console Application") 22 | !MESSAGE 23 | 24 | # Begin Project 25 | # PROP AllowPerConfigDependencies 0 26 | # PROP Scc_ProjName "" 27 | # PROP Scc_LocalPath "" 28 | CPP=cl.exe 29 | RSC=rc.exe 30 | 31 | !IF "$(CFG)" == "analysispacket - Win32 Release" 32 | 33 | # PROP BASE Use_MFC 0 34 | # PROP BASE Use_Debug_Libraries 0 35 | # PROP BASE Output_Dir "Release" 36 | # PROP BASE Intermediate_Dir "Release" 37 | # PROP BASE Target_Dir "" 38 | # PROP Use_MFC 0 39 | # PROP Use_Debug_Libraries 0 40 | # PROP Output_Dir "Release" 41 | # PROP Intermediate_Dir "Release" 42 | # PROP Target_Dir "" 43 | # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c 44 | # ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c 45 | # ADD BASE RSC /l 0x804 /d "NDEBUG" 46 | # ADD RSC /l 0x804 /d "NDEBUG" 47 | BSC32=bscmake.exe 48 | # ADD BASE BSC32 /nologo 49 | # ADD BSC32 /nologo 50 | LINK32=link.exe 51 | # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 52 | # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 53 | 54 | !ELSEIF "$(CFG)" == "analysispacket - Win32 Debug" 55 | 56 | # PROP BASE Use_MFC 0 57 | # PROP BASE Use_Debug_Libraries 1 58 | # PROP BASE Output_Dir "Debug" 59 | # PROP BASE Intermediate_Dir "Debug" 60 | # PROP BASE Target_Dir "" 61 | # PROP Use_MFC 0 62 | # PROP Use_Debug_Libraries 1 63 | # PROP Output_Dir "Debug" 64 | # PROP Intermediate_Dir "Debug" 65 | # PROP Target_Dir "" 66 | # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c 67 | # ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c 68 | # ADD BASE RSC /l 0x804 /d "_DEBUG" 69 | # ADD RSC /l 0x804 /d "_DEBUG" 70 | BSC32=bscmake.exe 71 | # ADD BASE BSC32 /nologo 72 | # ADD BSC32 /nologo 73 | LINK32=link.exe 74 | # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept 75 | # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept 76 | 77 | !ENDIF 78 | 79 | # Begin Target 80 | 81 | # Name "analysispacket - Win32 Release" 82 | # Name "analysispacket - Win32 Debug" 83 | # Begin Source File 84 | 85 | SOURCE=.\analysispacket.c 86 | # End Source File 87 | # End Target 88 | # End Project 89 | -------------------------------------------------------------------------------- /FireWall_Cilent/ReadMe.txt: -------------------------------------------------------------------------------- 1 | ======================================================================== 2 | MICROSOFT FOUNDATION CLASS LIBRARY : FireWall_Cilent 3 | ======================================================================== 4 | 5 | 6 | AppWizard has created this FireWall_Cilent application for you. This application 7 | not only demonstrates the basics of using the Microsoft Foundation classes 8 | but is also a starting point for writing your application. 9 | 10 | This file contains a summary of what you will find in each of the files that 11 | make up your FireWall_Cilent application. 12 | 13 | FireWall_Cilent.dsp 14 | This file (the project file) contains information at the project level and 15 | is used to build a single project or subproject. Other users can share the 16 | project (.dsp) file, but they should export the makefiles locally. 17 | 18 | FireWall_Cilent.h 19 | This is the main header file for the application. It includes other 20 | project specific headers (including Resource.h) and declares the 21 | CFireWall_CilentApp application class. 22 | 23 | FireWall_Cilent.cpp 24 | This is the main application source file that contains the application 25 | class CFireWall_CilentApp. 26 | 27 | FireWall_Cilent.rc 28 | This is a listing of all of the Microsoft Windows resources that the 29 | program uses. It includes the icons, bitmaps, and cursors that are stored 30 | in the RES subdirectory. This file can be directly edited in Microsoft 31 | Visual C++. 32 | 33 | FireWall_Cilent.clw 34 | This file contains information used by ClassWizard to edit existing 35 | classes or add new classes. ClassWizard also uses this file to store 36 | information needed to create and edit message maps and dialog data 37 | maps and to create prototype member functions. 38 | 39 | res\FireWall_Cilent.ico 40 | This is an icon file, which is used as the application's icon. This 41 | icon is included by the main resource file FireWall_Cilent.rc. 42 | 43 | res\FireWall_Cilent.rc2 44 | This file contains resources that are not edited by Microsoft 45 | Visual C++. You should place all resources not editable by 46 | the resource editor in this file. 47 | 48 | 49 | 50 | 51 | ///////////////////////////////////////////////////////////////////////////// 52 | 53 | AppWizard creates one dialog class: 54 | 55 | FireWall_CilentDlg.h, FireWall_CilentDlg.cpp - the dialog 56 | These files contain your CFireWall_CilentDlg class. This class defines 57 | the behavior of your application's main dialog. The dialog's 58 | template is in FireWall_Cilent.rc, which can be edited in Microsoft 59 | Visual C++. 60 | 61 | 62 | ///////////////////////////////////////////////////////////////////////////// 63 | Other standard files: 64 | 65 | StdAfx.h, StdAfx.cpp 66 | These files are used to build a precompiled header (PCH) file 67 | named FireWall_Cilent.pch and a precompiled types file named StdAfx.obj. 68 | 69 | Resource.h 70 | This is the standard header file, which defines new resource IDs. 71 | Microsoft Visual C++ reads and updates this file. 72 | 73 | ///////////////////////////////////////////////////////////////////////////// 74 | Other notes: 75 | 76 | AppWizard uses "TODO:" to indicate parts of the source code you 77 | should add to or customize. 78 | 79 | If your application uses MFC in a shared DLL, and your application is 80 | in a language other than the operating system's current language, you 81 | will need to copy the corresponding localized resources MFC42XXX.DLL 82 | from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, 83 | and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. 84 | For example, MFC42DEU.DLL contains resources translated to German.) If you 85 | don't do this, some of the UI elements of your application will remain in the 86 | language of the operating system. 87 | 88 | ///////////////////////////////////////////////////////////////////////////// 89 | -------------------------------------------------------------------------------- /Passthru/_UpgradeReport_Files/UpgradeReport.css: -------------------------------------------------------------------------------- 1 | BODY 2 | { 3 | BACKGROUND-COLOR: white; 4 | FONT-FAMILY: "Verdana", sans-serif; 5 | FONT-SIZE: 100%; 6 | MARGIN-LEFT: 0px; 7 | MARGIN-TOP: 0px 8 | } 9 | P 10 | { 11 | FONT-FAMILY: "Verdana", sans-serif; 12 | FONT-SIZE: 70%; 13 | LINE-HEIGHT: 12pt; 14 | MARGIN-BOTTOM: 0px; 15 | MARGIN-LEFT: 10px; 16 | MARGIN-TOP: 10px 17 | } 18 | .note 19 | { 20 | BACKGROUND-COLOR: #ffffff; 21 | COLOR: #336699; 22 | FONT-FAMILY: "Verdana", sans-serif; 23 | FONT-SIZE: 100%; 24 | MARGIN-BOTTOM: 0px; 25 | MARGIN-LEFT: 0px; 26 | MARGIN-TOP: 0px; 27 | PADDING-RIGHT: 10px 28 | } 29 | .infotable 30 | { 31 | BACKGROUND-COLOR: #f0f0e0; 32 | BORDER-BOTTOM: #ffffff 0px solid; 33 | BORDER-COLLAPSE: collapse; 34 | BORDER-LEFT: #ffffff 0px solid; 35 | BORDER-RIGHT: #ffffff 0px solid; 36 | BORDER-TOP: #ffffff 0px solid; 37 | FONT-SIZE: 70%; 38 | MARGIN-LEFT: 10px 39 | } 40 | .issuetable 41 | { 42 | BACKGROUND-COLOR: #ffffe8; 43 | BORDER-COLLAPSE: collapse; 44 | COLOR: #000000; 45 | FONT-SIZE: 100%; 46 | MARGIN-BOTTOM: 10px; 47 | MARGIN-LEFT: 13px; 48 | MARGIN-TOP: 0px 49 | } 50 | .issuetitle 51 | { 52 | BACKGROUND-COLOR: #ffffff; 53 | BORDER-BOTTOM: #dcdcdc 1px solid; 54 | BORDER-TOP: #dcdcdc 1px; 55 | COLOR: #003366; 56 | FONT-WEIGHT: normal 57 | } 58 | .header 59 | { 60 | BACKGROUND-COLOR: #cecf9c; 61 | BORDER-BOTTOM: #ffffff 1px solid; 62 | BORDER-LEFT: #ffffff 1px solid; 63 | BORDER-RIGHT: #ffffff 1px solid; 64 | BORDER-TOP: #ffffff 1px solid; 65 | COLOR: #000000; 66 | FONT-WEIGHT: bold 67 | } 68 | .issuehdr 69 | { 70 | BACKGROUND-COLOR: #E0EBF5; 71 | BORDER-BOTTOM: #dcdcdc 1px solid; 72 | BORDER-TOP: #dcdcdc 1px solid; 73 | COLOR: #000000; 74 | FONT-WEIGHT: normal 75 | } 76 | .issuenone 77 | { 78 | BACKGROUND-COLOR: #ffffff; 79 | BORDER-BOTTOM: 0px; 80 | BORDER-LEFT: 0px; 81 | BORDER-RIGHT: 0px; 82 | BORDER-TOP: 0px; 83 | COLOR: #000000; 84 | FONT-WEIGHT: normal 85 | } 86 | .content 87 | { 88 | BACKGROUND-COLOR: #e7e7ce; 89 | BORDER-BOTTOM: #ffffff 1px solid; 90 | BORDER-LEFT: #ffffff 1px solid; 91 | BORDER-RIGHT: #ffffff 1px solid; 92 | BORDER-TOP: #ffffff 1px solid; 93 | PADDING-LEFT: 3px 94 | } 95 | .issuecontent 96 | { 97 | BACKGROUND-COLOR: #ffffff; 98 | BORDER-BOTTOM: #dcdcdc 1px solid; 99 | BORDER-TOP: #dcdcdc 1px solid; 100 | PADDING-LEFT: 3px 101 | } 102 | A:link 103 | { 104 | COLOR: #cc6633; 105 | TEXT-DECORATION: underline 106 | } 107 | A:visited 108 | { 109 | COLOR: #cc6633; 110 | } 111 | A:active 112 | { 113 | COLOR: #cc6633; 114 | } 115 | A:hover 116 | { 117 | COLOR: #cc3300; 118 | TEXT-DECORATION: underline 119 | } 120 | H1 121 | { 122 | BACKGROUND-COLOR: #003366; 123 | BORDER-BOTTOM: #336699 6px solid; 124 | COLOR: #ffffff; 125 | FONT-SIZE: 130%; 126 | FONT-WEIGHT: normal; 127 | MARGIN: 0em 0em 0em -20px; 128 | PADDING-BOTTOM: 8px; 129 | PADDING-LEFT: 30px; 130 | PADDING-TOP: 16px 131 | } 132 | H2 133 | { 134 | COLOR: #000000; 135 | FONT-SIZE: 80%; 136 | FONT-WEIGHT: bold; 137 | MARGIN-BOTTOM: 3px; 138 | MARGIN-LEFT: 10px; 139 | MARGIN-TOP: 20px; 140 | PADDING-LEFT: 0px 141 | } 142 | H3 143 | { 144 | COLOR: #000000; 145 | FONT-SIZE: 80%; 146 | FONT-WEIGHT: bold; 147 | MARGIN-BOTTOM: -5px; 148 | MARGIN-LEFT: 10px; 149 | MARGIN-TOP: 20px 150 | } 151 | H4 152 | { 153 | COLOR: #000000; 154 | FONT-SIZE: 70%; 155 | FONT-WEIGHT: bold; 156 | MARGIN-BOTTOM: 0px; 157 | MARGIN-TOP: 15px; 158 | PADDING-BOTTOM: 0px 159 | } 160 | UL 161 | { 162 | COLOR: #000000; 163 | FONT-SIZE: 70%; 164 | LIST-STYLE: square; 165 | MARGIN-BOTTOM: 0pt; 166 | MARGIN-TOP: 0pt 167 | } 168 | OL 169 | { 170 | COLOR: #000000; 171 | FONT-SIZE: 70%; 172 | LIST-STYLE: square; 173 | MARGIN-BOTTOM: 0pt; 174 | MARGIN-TOP: 0pt 175 | } 176 | LI 177 | { 178 | LIST-STYLE: square; 179 | MARGIN-LEFT: 0px 180 | } 181 | .expandable 182 | { 183 | CURSOR: hand 184 | } 185 | .expanded 186 | { 187 | color: black 188 | } 189 | .collapsed 190 | { 191 | DISPLAY: none 192 | } 193 | .foot 194 | { 195 | BACKGROUND-COLOR: #ffffff; 196 | BORDER-BOTTOM: #cecf9c 1px solid; 197 | BORDER-TOP: #cecf9c 2px solid 198 | } 199 | .settings 200 | { 201 | MARGIN-LEFT: 25PX; 202 | } 203 | .help 204 | { 205 | TEXT-ALIGN: right; 206 | margin-right: 10px; 207 | } 208 | -------------------------------------------------------------------------------- /Passthru/buildfre_wnet_x86.log: -------------------------------------------------------------------------------- 1 | BUILD: Computing Include file dependencies: 2 | BUILD: Examining d:\work\pln\skipping post pass 0 command 3 | Compiling and Linking d:\work\pln\'nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1 MAKEDIR_RELATIVE_TO_BASEDIR=' 4 | BUILDMSG: _NT_TARGET_VERSION SET TO WS03 5 | cl.exe /Ii386 /I. /Id:\work\pln\ 6 | #include "precomp.h" 7 | Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.278 for 80x86 8 | Copyright (C) Microsoft Corporation. All rights reserved. 9 | cl 10 | /Ii386 11 | /I. 12 | /Id:\work\pln\ 13 | /IC:\WINDDK\6001.18001\inc\api 14 | /IC:\WINDDK\6001.18001\inc\api 15 | /IC:\WINDDK\6001.18001\inc\ddk 16 | /IC:\WINDDK\6001.18001\inc\ddk 17 | /IC:\WINDDK\6001.18001\inc\crt 18 | /D_X86_=1 19 | /Di386=1 20 | /DSTD_CALL 21 | /DCONDITION_HANDLING=1 22 | /DNT_INST=0 23 | /DWIN32=100 24 | /D_NT1X_=100 25 | /DWINNT=1 26 | /D_WIN32_WINNT=0x0502 27 | /DWINVER=0x0502 28 | /D_WIN32_IE=0x0603 29 | /DWIN32_LEAN_AND_MEAN=1 30 | /DDEVL=1 31 | /D__BUILDMACHINE__=WinDDK 32 | /DFPO=0 33 | /DNDEBUG 34 | /D_DLL=1 35 | /DNDEBUG 36 | -DNDIS_MINIPORT_DRIVER 37 | -DNDIS_WDM=1 38 | -DNDIS51_MINIPORT=1 39 | -DNDIS51=1 40 | /DNTDDI_VERSION=0x05020100 41 | /c 42 | /Zc:wchar_t- 43 | /Zl 44 | /Zp8 45 | /Gy 46 | /Gm- 47 | -cbstring 48 | /W3 49 | /WX 50 | /Gz 51 | /hotpatch 52 | /EHs-c- 53 | /GR- 54 | /GF 55 | /GS 56 | /Zi 57 | /Oxs 58 | /Oy- 59 | /Zi 60 | /Fdd:\work\pln\ 61 | /DKMDF_MAJOR_VERSION=01 62 | /DKMDF_MINOR_VERSION=007 63 | /FIC:\WINDDK\6001.18001\inc\api\warning.h 64 | /Ylpassthru /Ycprecomp.h /Fpd:\work\pln\ 65 | pch_hdr.src 66 | rc -l 409 -DSXS_PROCESSOR_ARCHITECTURE="""x86""" -DSXS_TARGET="""passthru.sys""" -DSYSTEM_COMPATIBLE_ASSEMBLY_NAME="""Microsoft.Windows.SystemCompatible""" -DLSYSTEM_COMPATIBLE_ASSEMBLY_NAME=L"""Microsoft.Windows.SystemCompatible""" -DSXS_ASSEMBLY_VERSION="""""" /r /fo d:\work\pln\ 67 | Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 68 | Copyright (C) Microsoft Corporation. All rights reserved. 69 | cl.exe @d:\work\pln\????\source_code\passthru\objfre_wnet_x86\i386\cl.rsp 70 | Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.278 for 80x86 71 | Copyright (C) Microsoft Corporation. All rights reserved. 72 | cl /Fo"d:\work\pln\ 73 | /FC 74 | /Ii386 75 | /I. 76 | /Id:\work\pln\ 77 | /IC:\WINDDK\6001.18001\inc\api 78 | /IC:\WINDDK\6001.18001\inc\api 79 | /IC:\WINDDK\6001.18001\inc\ddk 80 | /IC:\WINDDK\6001.18001\inc\ddk 81 | /IC:\WINDDK\6001.18001\inc\crt 82 | /D_X86_=1 83 | /Di386=1 84 | /DSTD_CALL 85 | /DCONDITION_HANDLING=1 86 | /DNT_INST=0 87 | /DWIN32=100 88 | /D_NT1X_=100 89 | /DWINNT=1 90 | /D_WIN32_WINNT=0x0502 91 | /DWINVER=0x0502 92 | /D_WIN32_IE=0x0603 93 | /DWIN32_LEAN_AND_MEAN=1 94 | /DDEVL=1 95 | /D__BUILDMACHINE__=WinDDK 96 | /DFPO=0 97 | /DNDEBUG 98 | /D_DLL=1 99 | /DNDEBUG 100 | -DNDIS_MINIPORT_DRIVER 101 | -DNDIS_WDM=1 102 | -DNDIS51_MINIPORT=1 103 | -DNDIS51=1 104 | /DNTDDI_VERSION=0x05020100 105 | /c 106 | /Zc:wchar_t- 107 | /Zl 108 | /Zp8 109 | /Gy 110 | /Gm- 111 | -cbstring 112 | /W3 113 | /WX 114 | /Gz 115 | /hotpatch 116 | /EHs-c- 117 | /GR- 118 | /GF 119 | /GS 120 | /Zi 121 | /Oxs 122 | /Oy- 123 | /Zi 124 | /Fdd:\work\pln\ 125 | /DKMDF_MAJOR_VERSION=01 126 | /DKMDF_MINOR_VERSION=007 127 | /FIC:\WINDDK\6001.18001\inc\api\warning.h 128 | /Yuprecomp.h 129 | /Fpd:\work\pln\ 130 | .\miniport.c .\passthru.c .\protocol.c .\analysispacket.c .\hook.c 131 | miniport.c 132 | passthru.c 133 | protocol.c 134 | analysispacket.c 135 | hook.c 136 | Generating Code... 137 | link.exe /out:d:\work\pln\????\source_code\passthru\objfre_wnet_x86\i386\passthru.sys /machine:ix86 @d:\work\pln\????\source_code\passthru\objfre_wnet_x86\i386\lnk.rsp 138 | Microsoft (R) Incremental Linker Version 8.00.50727.278 139 | Copyright (C) Microsoft Corporation. All rights reserved. 140 | /MERGE:_PAGE=PAGE 141 | /MERGE:_TEXT=.text 142 | /SECTION:INIT,d 143 | /OPT:REF 144 | /OPT:ICF 145 | /IGNORE:4198,4010,4037,4039,4065,4070,4078,4087,4089,4221 146 | /INCREMENTAL:NO 147 | /release 148 | /NODEFAULTLIB 149 | /WX 150 | /debug 151 | /debugtype:cv,fixup,pdata 152 | /version:6.0 153 | /osversion:6.0 154 | /functionpadmin:5 155 | /safeseh 156 | /pdbcompress 157 | /STACK:0x40000,0x1000 158 | /driver 159 | /base:0x10000 160 | /subsystem:native,5.02 161 | /entry:GsDriverEntry@8 162 | /out:d:\work\pln\ 163 | d:\work\pln\ 164 | d:\work\pln\ 165 | d:\work\pln\ 166 | d:\work\pln\ 167 | d:\work\pln\ 168 | d:\work\pln\ 169 | d:\work\pln\ 170 | c:\winddk\6001.18001\lib\wnet\i386\BufferOverflowK.lib 171 | c:\winddk\6001.18001\lib\wnet\i386\ntoskrnl.lib 172 | c:\winddk\6001.18001\lib\wnet\i386\hal.lib 173 | c:\winddk\6001.18001\lib\wnet\i386\wmilib.lib 174 | c:\winddk\6001.18001\lib\wnet\i386\ndis.lib 175 | c:\winddk\6001.18001\lib\wnet\i386\sehupd.lib 176 | -------------------------------------------------------------------------------- /FireWall_Cilent/FireWall_Cilent.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="FireWall_Cilent" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Application" 0x0101 6 | 7 | CFG=FireWall_Cilent - Win32 Debug 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "FireWall_Cilent.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "FireWall_Cilent.mak" CFG="FireWall_Cilent - Win32 Debug" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "FireWall_Cilent - Win32 Release" (based on "Win32 (x86) Application") 21 | !MESSAGE "FireWall_Cilent - Win32 Debug" (based on "Win32 (x86) Application") 22 | !MESSAGE 23 | 24 | # Begin Project 25 | # PROP AllowPerConfigDependencies 0 26 | # PROP Scc_ProjName "" 27 | # PROP Scc_LocalPath "" 28 | CPP=cl.exe 29 | MTL=midl.exe 30 | RSC=rc.exe 31 | 32 | !IF "$(CFG)" == "FireWall_Cilent - Win32 Release" 33 | 34 | # PROP BASE Use_MFC 6 35 | # PROP BASE Use_Debug_Libraries 0 36 | # PROP BASE Output_Dir "Release" 37 | # PROP BASE Intermediate_Dir "Release" 38 | # PROP BASE Target_Dir "" 39 | # PROP Use_MFC 6 40 | # PROP Use_Debug_Libraries 0 41 | # PROP Output_Dir "Release" 42 | # PROP Intermediate_Dir "Release" 43 | # PROP Target_Dir "" 44 | # ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c 45 | # ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /c 46 | # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 47 | # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 48 | # ADD BASE RSC /l 0x804 /d "NDEBUG" /d "_AFXDLL" 49 | # ADD RSC /l 0x804 /d "NDEBUG" /d "_AFXDLL" 50 | BSC32=bscmake.exe 51 | # ADD BASE BSC32 /nologo 52 | # ADD BSC32 /nologo 53 | LINK32=link.exe 54 | # ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 55 | # ADD LINK32 /nologo /subsystem:windows /machine:I386 56 | 57 | !ELSEIF "$(CFG)" == "FireWall_Cilent - Win32 Debug" 58 | 59 | # PROP BASE Use_MFC 6 60 | # PROP BASE Use_Debug_Libraries 1 61 | # PROP BASE Output_Dir "Debug" 62 | # PROP BASE Intermediate_Dir "Debug" 63 | # PROP BASE Target_Dir "" 64 | # PROP Use_MFC 6 65 | # PROP Use_Debug_Libraries 1 66 | # PROP Output_Dir "Debug" 67 | # PROP Intermediate_Dir "Debug" 68 | # PROP Target_Dir "" 69 | # ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /GZ /c 70 | # ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c 71 | # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 72 | # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 73 | # ADD BASE RSC /l 0x804 /d "_DEBUG" /d "_AFXDLL" 74 | # ADD RSC /l 0x804 /d "_DEBUG" /d "_AFXDLL" 75 | BSC32=bscmake.exe 76 | # ADD BASE BSC32 /nologo 77 | # ADD BSC32 /nologo 78 | LINK32=link.exe 79 | # ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept 80 | # ADD LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept 81 | 82 | !ENDIF 83 | 84 | # Begin Target 85 | 86 | # Name "FireWall_Cilent - Win32 Release" 87 | # Name "FireWall_Cilent - Win32 Debug" 88 | # Begin Group "Source Files" 89 | 90 | # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" 91 | # Begin Source File 92 | 93 | SOURCE=.\FireWall_Cilent.cpp 94 | # End Source File 95 | # Begin Source File 96 | 97 | SOURCE=.\FireWall_Cilent.rc 98 | # End Source File 99 | # Begin Source File 100 | 101 | SOURCE=.\FireWall_CilentDlg.cpp 102 | # End Source File 103 | # Begin Source File 104 | 105 | SOURCE=.\StdAfx.cpp 106 | # ADD CPP /Yc"stdafx.h" 107 | # End Source File 108 | # End Group 109 | # Begin Group "Header Files" 110 | 111 | # PROP Default_Filter "h;hpp;hxx;hm;inl" 112 | # Begin Source File 113 | 114 | SOURCE=.\common.h 115 | # End Source File 116 | # Begin Source File 117 | 118 | SOURCE=.\FireWall_Cilent.h 119 | # End Source File 120 | # Begin Source File 121 | 122 | SOURCE=.\FireWall_CilentDlg.h 123 | # End Source File 124 | # Begin Source File 125 | 126 | SOURCE=.\Resource.h 127 | # End Source File 128 | # Begin Source File 129 | 130 | SOURCE=.\StdAfx.h 131 | # End Source File 132 | # End Group 133 | # Begin Group "Resource Files" 134 | 135 | # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" 136 | # Begin Source File 137 | 138 | SOURCE=.\res\FireWall_Cilent.ico 139 | # End Source File 140 | # Begin Source File 141 | 142 | SOURCE=.\res\FireWall_Cilent.rc2 143 | # End Source File 144 | # End Group 145 | # Begin Source File 146 | 147 | SOURCE=.\ReadMe.txt 148 | # End Source File 149 | # End Target 150 | # End Project 151 | -------------------------------------------------------------------------------- /Passthru/objchk_wxp_x86/i386/passthru.obj.oacr.root.x86chk.pft.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 13 4 | 0 5 | 23544passthru.cc:\passthru\28169The dispatch function 'myCreate' does not have any __drv_dispatchType annotations: This can be corrected by adding appropriate __drv_dispatchType annotations to the function. Unnecessary casts can cause this warning.DriverEntry85 6 | 23843passthru.cc:\passthru\28169The dispatch function 'myWrite' does not have any __drv_dispatchType annotations: This can be corrected by adding appropriate __drv_dispatchType annotations to the function. Unnecessary casts can cause this warning.DriverEntry85 7 | 24142passthru.cc:\passthru\28169The dispatch function 'myRead' does not have any __drv_dispatchType annotations: This can be corrected by adding appropriate __drv_dispatchType annotations to the function. Unnecessary casts can cause this warning.DriverEntry85 8 | 24452passthru.cc:\passthru\28169The dispatch function 'myDeviceControl' does not have any __drv_dispatchType annotations: This can be corrected by adding appropriate __drv_dispatchType annotations to the function. Unnecessary casts can cause this warning.DriverEntry85 9 | 23042passthru.cc:\passthru\28155The function being assigned or passed should be a DRIVER_ADD_DEVICE function: Add the declaration 'DRIVER_ADD_DEVICE myAddDevice;' before the current first declaration of myAddDevice.DriverEntry85 10 | 23544passthru.cc:\passthru\28155The function being assigned or passed should be a DRIVER_DISPATCH function: Add the declaration 'DRIVER_DISPATCH myCreate;' before the current first declaration of myCreate.DriverEntry85 11 | 23843passthru.cc:\passthru\28155The function being assigned or passed should be a DRIVER_DISPATCH function: Add the declaration 'DRIVER_DISPATCH myWrite;' before the current first declaration of myWrite.DriverEntry85 12 | 24142passthru.cc:\passthru\28155The function being assigned or passed should be a DRIVER_DISPATCH function: Add the declaration 'DRIVER_DISPATCH myRead;' before the current first declaration of myRead.DriverEntry85 13 | 24452passthru.cc:\passthru\28155The function being assigned or passed should be a DRIVER_DISPATCH function: Add the declaration 'DRIVER_DISPATCH myDeviceControl;' before the current first declaration of myDeviceControl.DriverEntry85 14 | 31831passthru.cc:\passthru\28155The function being assigned or passed should be a DRIVER_DISPATCH function: Add the declaration 'DRIVER_DISPATCH DevOpen;' before the current first declaration of DevOpen.PtRegisterDevice251 15 | 31932passthru.cc:\passthru\28155The function being assigned or passed should be a DRIVER_DISPATCH function: Add the declaration 'DRIVER_DISPATCH DevCleanup;' before the current first declaration of DevCleanup.PtRegisterDevice251 16 | 32030passthru.cc:\passthru\28155The function being assigned or passed should be a DRIVER_DISPATCH function: Add the declaration 'DRIVER_DISPATCH DevClose;' before the current first declaration of DevClose.PtRegisterDevice251 17 | 32139passthru.cc:\passthru\28155The function being assigned or passed should be a DRIVER_DISPATCH function: Add the declaration 'DRIVER_DISPATCH DevIoControl;' before the current first declaration of DevIoControl.PtRegisterDevice251 18 | 19 | -------------------------------------------------------------------------------- /Passthru/netsf.inf: -------------------------------------------------------------------------------- 1 | ; -- NETSF.INF -- 2 | ; 3 | ; Passthru driver INF file - this is the INF for the service (protocol) 4 | ; part. 5 | ; 6 | ; Copyright (c) 1993-2001, Microsoft Corporation 7 | ; 8 | ; ---------------------------------------------------------------------- 9 | ; Notes: 10 | ; 0. The term "filter" is used in this INF to refer to an NDIS IM driver that 11 | ; implements a 1:1 relationship between upper and lower bindings. 12 | ; 13 | ; 1. Items specifically required for a filter have been marked with 14 | ; "!!--Filter Specific--!!" keyword 15 | ; 2. In general a filter DOES NOT require a notify object for proper installation. 16 | ; A notify object is only required if one wants to have better control 17 | ; over binding operations or if one wants to receive notifications 18 | ; when other components get installed/removed/bound/unbound. 19 | ; Since Windows 2000 systems do not have support for CopyINF directive, 20 | ; a notify object is required to programmatically copy the miniport INF 21 | ; file to the system INF directory. Previous versions of this INF file 22 | ; erroneously used to copy the INF files directly by using the CopyFiles 23 | ; directive. 24 | ; On Windows XP, you can install a filter IM without a notify object. 25 | ; by following the instructions in (4). 26 | ; 27 | ; 3. If you want to use this INF file with your own IM driver, please 28 | ; make the following modifications: 29 | ; File netsf.inf 30 | ; -------------- 31 | ; a. In section [SourceDiskFiles] and [Passthru.Files.Sys] 32 | ; change passthru.sys to the name of your own driver binary. 33 | ; b. In section [Passthru.ndi.AddReg], change values of 34 | ; BindForm and MiniportId to appropriate values. 35 | ; File netsf_m.inf 36 | ; ---------------- 37 | ; a. Replace MS_PassthruMP with InfId of your miniport. 38 | ; b. In section [PassthruMP.AddService], 39 | ; change ServiceBinary appropriately. 40 | ; c. In section [PassthruMP.ndi.AddReg], 41 | ; change "Passthru" in the line having "Service" 42 | ; to reflect the appropriate name 43 | ; 44 | ; 45 | ; ---------------------------------------------------------------------- 46 | 47 | [Version] 48 | Signature = "$Windows NT$" 49 | Class = NetService 50 | ClassGUID = {4D36E974-E325-11CE-BFC1-08002BE10318} 51 | Provider = %Msft% 52 | DriverVer =10/01/2002,6.0.5019.0 53 | 54 | 55 | [Manufacturer] 56 | %Msft% = MSFT,NTx86,NTia64,NTamd64 57 | 58 | [ControlFlags] 59 | 60 | ;========================================================================= 61 | ; 62 | ;========================================================================= 63 | ;For Win2K 64 | 65 | [MSFT] 66 | %Passthru_Desc% = Passthru.ndi, ms_passthru 67 | 68 | ;For WinXP and later 69 | 70 | [MSFT.NTx86] 71 | %Passthru_Desc% = Passthru.ndi, ms_passthru 72 | 73 | [MSFT.NTia64] 74 | %Passthru_Desc% = Passthru.ndi, ms_passthru 75 | 76 | [MSFT.NTamd64] 77 | %Passthru_Desc% = Passthru.ndi, ms_passthru 78 | 79 | 80 | [Passthru.ndi] 81 | AddReg = Passthru.ndi.AddReg, Passthru.AddReg 82 | Characteristics = 0x4410 ; NCF_FILTER | NCF_NDIS_PROTOCOL !--Filter Specific--!! 83 | CopyFiles = Passthru.Files.Sys 84 | CopyInf = netsf_m.inf 85 | 86 | [Passthru.ndi.Remove] 87 | DelFiles = Passthru.Files.Sys 88 | 89 | [Passthru.ndi.Services] 90 | AddService = Passthru,, Passthru.AddService 91 | 92 | [Passthru.AddService] 93 | DisplayName = %PassthruService_Desc% 94 | ServiceType = 1 ;SERVICE_KERNEL_DRIVER 95 | StartType = 3 ;SERVICE_DEMAND_START 96 | ErrorControl = 1 ;SERVICE_ERROR_NORMAL 97 | ServiceBinary = %12%\passthru.sys 98 | AddReg = Passthru.AddService.AddReg 99 | 100 | 101 | [Passthru.AddService.AddReg] 102 | ; ---------------------------------------------------------------------- 103 | ; Add any miniport-specific parameters here. These are params that your 104 | ; filter device is going to use. 105 | ; 106 | ;HKR, Parameters, ParameterName, 0x10000, "MultiSz", "Parameter", "Value" 107 | ;HKR, Parameters, ParameterName2, 0x10001, 4 108 | 109 | 110 | ; ---------------------------------------------------------------------- 111 | ; File copy 112 | ; 113 | [SourceDisksNames] 114 | 1=%DiskDescription%,"",, 115 | 116 | [SourceDisksFiles] 117 | passthru.sys=1 118 | 119 | [DestinationDirs] 120 | DefaultDestDir = 12 121 | Passthru.Files.Sys = 12 ; %windir%\System32\drivers 122 | 123 | [Passthru.Files.Sys] 124 | passthru.sys,,,2 125 | 126 | ; ---------------------------------------------------------------------- 127 | ; Filter Install 128 | ; 129 | 130 | [Passthru.ndi.AddReg] 131 | HKR, Ndi, HelpText, , %Passthru_HELP% 132 | 133 | ; ---------------------------------------------------------------------- 134 | ; !!--Filter Specific--!! 135 | ; 136 | ; Note: 137 | ; 1. Other components may also have UpperRange/LowerRange but for filters 138 | ; the value of both of them must be noupper/nolower 139 | ; 2. The value FilterClass is required. 140 | ; 3. The value Service is required 141 | ; 4. FilterDeviceInfId is the InfId of the filter device (miniport) that will 142 | ; be installed for each filtered adapter. 143 | ; In this case this is ms_passthrump (refer to netsf_m.inf) 144 | ; 145 | HKR, Ndi, FilterClass, , failover 146 | HKR, Ndi, FilterDeviceInfId, , ms_passthrump 147 | HKR, Ndi, Service, , Passthru 148 | HKR, Ndi\Interfaces, UpperRange, , noupper 149 | HKR, Ndi\Interfaces, LowerRange, , nolower 150 | HKR, Ndi\Interfaces, FilterMediaTypes, , "ethernet, tokenring, fddi, wan" 151 | 152 | [Passthru.AddReg] 153 | ; The following key is Required 154 | ; The following key is Passthru specific 155 | HKR, Parameters, Param1, 0, 4 156 | 157 | ; ---------------------------------------------------------------------- 158 | [Strings] 159 | Msft = "Microsoft" 160 | DiskDescription = "Microsoft Passthru Driver Disk" 161 | 162 | Passthru_Desc = "Passthru Driver" 163 | Passthru_HELP = "Passthru Driver" 164 | PassthruService_Desc = "Passthru Service" 165 | 166 | 167 | -------------------------------------------------------------------------------- /SYS Drivers/netsf.inf: -------------------------------------------------------------------------------- 1 | ; -- NETSF.INF -- 2 | ; 3 | ; Passthru driver INF file - this is the INF for the service (protocol) 4 | ; part. 5 | ; 6 | ; Copyright (c) 1993-2001, Microsoft Corporation 7 | ; 8 | ; ---------------------------------------------------------------------- 9 | ; Notes: 10 | ; 0. The term "filter" is used in this INF to refer to an NDIS IM driver that 11 | ; implements a 1:1 relationship between upper and lower bindings. 12 | ; 13 | ; 1. Items specifically required for a filter have been marked with 14 | ; "!!--Filter Specific--!!" keyword 15 | ; 2. In general a filter DOES NOT require a notify object for proper installation. 16 | ; A notify object is only required if one wants to have better control 17 | ; over binding operations or if one wants to receive notifications 18 | ; when other components get installed/removed/bound/unbound. 19 | ; Since Windows 2000 systems do not have support for CopyINF directive, 20 | ; a notify object is required to programmatically copy the miniport INF 21 | ; file to the system INF directory. Previous versions of this INF file 22 | ; erroneously used to copy the INF files directly by using the CopyFiles 23 | ; directive. 24 | ; On Windows XP, you can install a filter IM without a notify object. 25 | ; by following the instructions in (4). 26 | ; 27 | ; 3. If you want to use this INF file with your own IM driver, please 28 | ; make the following modifications: 29 | ; File netsf.inf 30 | ; -------------- 31 | ; a. In section [SourceDiskFiles] and [Passthru.Files.Sys] 32 | ; change passthru.sys to the name of your own driver binary. 33 | ; b. In section [Passthru.ndi.AddReg], change values of 34 | ; BindForm and MiniportId to appropriate values. 35 | ; File netsf_m.inf 36 | ; ---------------- 37 | ; a. Replace MS_PassthruMP with InfId of your miniport. 38 | ; b. In section [PassthruMP.AddService], 39 | ; change ServiceBinary appropriately. 40 | ; c. In section [PassthruMP.ndi.AddReg], 41 | ; change "Passthru" in the line having "Service" 42 | ; to reflect the appropriate name 43 | ; 44 | ; 45 | ; ---------------------------------------------------------------------- 46 | 47 | [Version] 48 | Signature = "$Windows NT$" 49 | Class = NetService 50 | ClassGUID = {4D36E974-E325-11CE-BFC1-08002BE10318} 51 | Provider = %Msft% 52 | DriverVer =10/01/2002,6.0.5019.0 53 | 54 | 55 | [Manufacturer] 56 | %Msft% = MSFT,NTx86,NTia64,NTamd64 57 | 58 | [ControlFlags] 59 | 60 | ;========================================================================= 61 | ; 62 | ;========================================================================= 63 | ;For Win2K 64 | 65 | [MSFT] 66 | %Passthru_Desc% = Passthru.ndi, ms_passthru 67 | 68 | ;For WinXP and later 69 | 70 | [MSFT.NTx86] 71 | %Passthru_Desc% = Passthru.ndi, ms_passthru 72 | 73 | [MSFT.NTia64] 74 | %Passthru_Desc% = Passthru.ndi, ms_passthru 75 | 76 | [MSFT.NTamd64] 77 | %Passthru_Desc% = Passthru.ndi, ms_passthru 78 | 79 | 80 | [Passthru.ndi] 81 | AddReg = Passthru.ndi.AddReg, Passthru.AddReg 82 | Characteristics = 0x4410 ; NCF_FILTER | NCF_NDIS_PROTOCOL !--Filter Specific--!! 83 | CopyFiles = Passthru.Files.Sys 84 | CopyInf = netsf_m.inf 85 | 86 | [Passthru.ndi.Remove] 87 | DelFiles = Passthru.Files.Sys 88 | 89 | [Passthru.ndi.Services] 90 | AddService = Passthru,, Passthru.AddService 91 | 92 | [Passthru.AddService] 93 | DisplayName = %PassthruService_Desc% 94 | ServiceType = 1 ;SERVICE_KERNEL_DRIVER 95 | StartType = 3 ;SERVICE_DEMAND_START 96 | ErrorControl = 1 ;SERVICE_ERROR_NORMAL 97 | ServiceBinary = %12%\passthru.sys 98 | AddReg = Passthru.AddService.AddReg 99 | 100 | 101 | [Passthru.AddService.AddReg] 102 | ; ---------------------------------------------------------------------- 103 | ; Add any miniport-specific parameters here. These are params that your 104 | ; filter device is going to use. 105 | ; 106 | ;HKR, Parameters, ParameterName, 0x10000, "MultiSz", "Parameter", "Value" 107 | ;HKR, Parameters, ParameterName2, 0x10001, 4 108 | 109 | 110 | ; ---------------------------------------------------------------------- 111 | ; File copy 112 | ; 113 | [SourceDisksNames] 114 | 1=%DiskDescription%,"",, 115 | 116 | [SourceDisksFiles] 117 | passthru.sys=1 118 | 119 | [DestinationDirs] 120 | DefaultDestDir = 12 121 | Passthru.Files.Sys = 12 ; %windir%\System32\drivers 122 | 123 | [Passthru.Files.Sys] 124 | passthru.sys,,,2 125 | 126 | ; ---------------------------------------------------------------------- 127 | ; Filter Install 128 | ; 129 | 130 | [Passthru.ndi.AddReg] 131 | HKR, Ndi, HelpText, , %Passthru_HELP% 132 | 133 | ; ---------------------------------------------------------------------- 134 | ; !!--Filter Specific--!! 135 | ; 136 | ; Note: 137 | ; 1. Other components may also have UpperRange/LowerRange but for filters 138 | ; the value of both of them must be noupper/nolower 139 | ; 2. The value FilterClass is required. 140 | ; 3. The value Service is required 141 | ; 4. FilterDeviceInfId is the InfId of the filter device (miniport) that will 142 | ; be installed for each filtered adapter. 143 | ; In this case this is ms_passthrump (refer to netsf_m.inf) 144 | ; 145 | HKR, Ndi, FilterClass, , failover 146 | HKR, Ndi, FilterDeviceInfId, , ms_passthrump 147 | HKR, Ndi, Service, , Passthru 148 | HKR, Ndi\Interfaces, UpperRange, , noupper 149 | HKR, Ndi\Interfaces, LowerRange, , nolower 150 | HKR, Ndi\Interfaces, FilterMediaTypes, , "ethernet, tokenring, fddi, wan" 151 | 152 | [Passthru.AddReg] 153 | ; The following key is Required 154 | ; The following key is Passthru specific 155 | HKR, Parameters, Param1, 0, 4 156 | 157 | ; ---------------------------------------------------------------------- 158 | [Strings] 159 | Msft = "Microsoft" 160 | DiskDescription = "Microsoft Passthru Driver Disk" 161 | 162 | Passthru_Desc = "Passthru Driver" 163 | Passthru_HELP = "Passthru Driver" 164 | PassthruService_Desc = "Passthru Service" 165 | 166 | 167 | -------------------------------------------------------------------------------- /Passthru/buildchk_wxp_x86.log: -------------------------------------------------------------------------------- 1 | BUILD: Examining c:\passthru directory for files to compile. 2 | oacr invalidate root:x86chk /autocleanqueue 3 | 1>Compiling and Linking c:\passthru ************* 4 | 1>'nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1 MAKEDIR_RELATIVE_TO_BASEDIR=' 5 | 1>c:\passthru: TARGETPATH is obj 6 | 1>BUILDMSG: _NT_TARGET_VERSION SET TO WINXP 7 | 1>C:\WinDDK\7600.16385.1\Bin\x86\oacr\oacrcl /Ii386 /I. /Ic:\passthru\objchk_wxp_x86\i386 /IC:\WinDDK\7600.16385.1\inc\api /IC:\WinDDK\7600.16385.1\inc\api /IC:\WinDDK\7600.16385.1\inc\ddk /IC:\WinDDK\7600.16385.1\inc\ddk /IC:\WinDDK\7600.16385.1\inc\crt /D_X86_=1 /Di386=1 /DSTD_CALL /DCONDITION_HANDLING=1 /DNT_UP=1 /DNT_INST=0 /DWIN32=100 /D_NT1X_=100 /DWINNT=1 /D_WIN32_WINNT=0x0501 /DWINVER=0x0501 /D_WIN32_IE=0x0603 /DWIN32_LEAN_AND_MEAN=1 /DDEVL=1 /DDBG=1 /D__BUILDMACHINE__=WinDDK /DFPO=0 /D_DLL=1 /DNDEBUG -DNDIS_MINIPORT_DRIVER -DNDIS_WDM=1 -DNDIS51_MINIPORT=1 -DNDIS51=1 /DDEPRECATE_DDK_FUNCTIONS=1 /DMSC_NOOPT /DNTDDI_VERSION=0x05010200 /c /Zc:wchar_t- /Zl /Zp8 /Gy /Gm- -cbstring /W3 /Gz /hotpatch /EHs-c- /GR- /GF /GS /Zi /Od /Oi /Oy- /Zi /Fdc:\passthru\objchk_wxp_x86\i386\ /DKMDF_MAJOR_VERSION_STRING=01 /DKMDF_MINOR_VERSION_STRING=009 /wd4603 /wd4627 /typedil- /FIC:\WinDDK\7600.16385.1\inc\api\warning.h /Yuprecomp.h /Fpc:\passthru\objchk_wxp_x86\i386\precomp.pch /Ylpassthru /Ycprecomp.h /Fpc:\passthru\objchk_wxp_x86\i386\precomp.pch /Fo"c:\passthru\objchk_wxp_x86\i386\precomp.obj" /Tc 8 | 1>#include "precomp.h" 9 | 1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.207 for 80x86 10 | 1>Copyright (C) Microsoft Corporation. All rights reserved. 11 | 1>cl 12 | 1> /Ii386 13 | 1> /I. 14 | 1> /Ic:\passthru\objchk_wxp_x86\i386 15 | 1> /IC:\WinDDK\7600.16385.1\inc\api 16 | 1> /IC:\WinDDK\7600.16385.1\inc\api 17 | 1> /IC:\WinDDK\7600.16385.1\inc\ddk 18 | 1> /IC:\WinDDK\7600.16385.1\inc\ddk 19 | 1> /IC:\WinDDK\7600.16385.1\inc\crt 20 | 1> /D_X86_=1 21 | 1> /Di386=1 22 | 1> /DSTD_CALL 23 | 1> /DCONDITION_HANDLING=1 24 | 1> /DNT_UP=1 25 | 1> /DNT_INST=0 26 | 1> /DWIN32=100 27 | 1> /D_NT1X_=100 28 | 1> /DWINNT=1 29 | 1> /D_WIN32_WINNT=0x0501 30 | 1> /DWINVER=0x0501 31 | 1> /D_WIN32_IE=0x0603 32 | 1> /DWIN32_LEAN_AND_MEAN=1 33 | 1> /DDEVL=1 34 | 1> /DDBG=1 35 | 1> /D__BUILDMACHINE__=WinDDK 36 | 1> /DFPO=0 37 | 1> /D_DLL=1 38 | 1> /DNDEBUG 39 | 1> -DNDIS_MINIPORT_DRIVER 40 | 1> -DNDIS_WDM=1 41 | 1> -DNDIS51_MINIPORT=1 42 | 1> -DNDIS51=1 43 | 1> /DDEPRECATE_DDK_FUNCTIONS=1 44 | 1> /DMSC_NOOPT 45 | 1> /DNTDDI_VERSION=0x05010200 46 | 1> /c 47 | 1> /Zc:wchar_t- 48 | 1> /Zl 49 | 1> /Zp8 50 | 1> /Gy 51 | 1> /Gm- 52 | 1> -cbstring 53 | 1> /W3 54 | 1> /Gz 55 | 1> /hotpatch 56 | 1> /EHs-c- 57 | 1> /GR- 58 | 1> /GF 59 | 1> /GS 60 | 1> /Zi 61 | 1> /Od 62 | 1> /Oi 63 | 1> /Oy- 64 | 1> /Zi 65 | 1> /Fdc:\passthru\objchk_wxp_x86\i386\ 66 | 1> /DKMDF_MAJOR_VERSION_STRING=01 67 | 1> /DKMDF_MINOR_VERSION_STRING=009 68 | 1> /wd4603 69 | 1> /wd4627 70 | 1> /typedil- 71 | 1> /FIC:\WinDDK\7600.16385.1\inc\api\warning.h 72 | 1> /Ylpassthru /Ycprecomp.h /Fpc:\passthru\objchk_wxp_x86\i386\precomp.pch /Fo"c:\passthru\objchk_wxp_x86\i386\precomp.obj" 73 | 1>pch_hdr.src 74 | 1> rc.exe -l 409 -DSXS_PROCESSOR_ARCHITECTURE="""x86""" -DSXS_TARGET="""passthru.sys""" -DSYSTEM_COMPATIBLE_ASSEMBLY_NAME="""Microsoft.Windows.SystemCompatible""" -DLSYSTEM_COMPATIBLE_ASSEMBLY_NAME=L"""Microsoft.Windows.SystemCompatible""" -DSXS_ASSEMBLY_VERSION="""""" /r /fo c:\passthru\objchk_wxp_x86\i386\passthru.res /D_X86_=1 /Di386=1 /DSTD_CALL /DCONDITION_HANDLING=1 /DNT_UP=1 /DNT_INST=0 /DWIN32=100 /D_NT1X_=100 /DWINNT=1 /D_WIN32_WINNT=0x0501 /DWINVER=0x0501 /D_WIN32_IE=0x0603 /DWIN32_LEAN_AND_MEAN=1 /DDEVL=1 /DDBG=1 /D__BUILDMACHINE__=WinDDK /DFPO=0 /D_DLL=1 /DNDEBUG -DNDIS_MINIPORT_DRIVER -DNDIS_WDM=1 -DNDIS51_MINIPORT=1 -DNDIS51=1 /DDEPRECATE_DDK_FUNCTIONS=1 /DMSC_NOOPT /DNTDDI_VERSION=0x05010200 /Ic:\passthru\objchk_wxp_x86\i386 /IC:\WinDDK\7600.16385.1\inc\api /IC:\WinDDK\7600.16385.1\inc\api /IC:\WinDDK\7600.16385.1\inc\ddk /IC:\WinDDK\7600.16385.1\inc\ddk /IC:\WinDDK\7600.16385.1\inc\crt .\passthru.rc 75 | 1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6908.0 76 | 1>Copyright (C) Microsoft Corporation. All rights reserved. 77 | 1> C:\WinDDK\7600.16385.1\Bin\x86\oacr\oacrcl @c:\passthru\objchk_wxp_x86\i386\cl.rsp 78 | 1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.207 for 80x86 79 | 1>Copyright (C) Microsoft Corporation. All rights reserved. 80 | 1>cl /Fo"c:\passthru\objchk_wxp_x86\i386/" 81 | 1> /FC 82 | 1> /Ii386 83 | 1> /I. 84 | 1> /Ic:\passthru\objchk_wxp_x86\i386 85 | 1> /IC:\WinDDK\7600.16385.1\inc\api 86 | 1> /IC:\WinDDK\7600.16385.1\inc\api 87 | 1> /IC:\WinDDK\7600.16385.1\inc\ddk 88 | 1> /IC:\WinDDK\7600.16385.1\inc\ddk 89 | 1> /IC:\WinDDK\7600.16385.1\inc\crt 90 | 1> /D_X86_=1 91 | 1> /Di386=1 92 | 1> /DSTD_CALL 93 | 1> /DCONDITION_HANDLING=1 94 | 1> /DNT_UP=1 95 | 1> /DNT_INST=0 96 | 1> /DWIN32=100 97 | 1> /D_NT1X_=100 98 | 1> /DWINNT=1 99 | 1> /D_WIN32_WINNT=0x0501 100 | 1> /DWINVER=0x0501 101 | 1> /D_WIN32_IE=0x0603 102 | 1> /DWIN32_LEAN_AND_MEAN=1 103 | 1> /DDEVL=1 104 | 1> /DDBG=1 105 | 1> /D__BUILDMACHINE__=WinDDK 106 | 1> /DFPO=0 107 | 1> /D_DLL=1 108 | 1> /DNDEBUG 109 | 1> -DNDIS_MINIPORT_DRIVER 110 | 1> -DNDIS_WDM=1 111 | 1> -DNDIS51_MINIPORT=1 112 | 1> -DNDIS51=1 113 | 1> /DDEPRECATE_DDK_FUNCTIONS=1 114 | 1> /DMSC_NOOPT 115 | 1> /DNTDDI_VERSION=0x05010200 116 | 1> /c 117 | 1> /Zc:wchar_t- 118 | 1> /Zl 119 | 1> /Zp8 120 | 1> /Gy 121 | 1> /Gm- 122 | 1> -cbstring 123 | 1> /W3 124 | 1> /Gz 125 | 1> /hotpatch 126 | 1> /EHs-c- 127 | 1> /GR- 128 | 1> /GF 129 | 1> /GS 130 | 1> /Zi 131 | 1> /Od 132 | 1> /Oi 133 | 1> /Oy- 134 | 1> /Zi 135 | 1> /Fdc:\passthru\objchk_wxp_x86\i386\ 136 | 1> /DKMDF_MAJOR_VERSION_STRING=01 137 | 1> /DKMDF_MINOR_VERSION_STRING=009 138 | 1> /wd4603 139 | 1> /wd4627 140 | 1> /typedil- 141 | 1> /FIC:\WinDDK\7600.16385.1\inc\api\warning.h 142 | 1> /Yuprecomp.h 143 | 1> /Fpc:\passthru\objchk_wxp_x86\i386\precomp.pch 144 | 1> .\miniport.c .\passthru.c .\protocol.c .\analysispacket.c .\hook.c 145 | 1>miniport.c 146 | 1>passthru.c 147 | 1>c:\passthru\passthru.c(617) : warning C4133: 'function' : incompatible types - from 'ParamConfig *' to 'ParamConfig *' 148 | 1>warnings in directory c:\passthru 149 | 1>c:\passthru\passthru.c(617) : warning C4133: 'function' : incompatible types - from 'ParamConfig *' to 'ParamConfig *' 150 | 1>protocol.c 151 | 1>analysispacket.c 152 | 1>c:\passthru\analysispacket.c(23) : warning C4996: 'ExAllocatePool': was declared deprecated 153 | 1>c:\passthru\analysispacket.c(23) : warning C4996: 'ExAllocatePool': was declared deprecated 154 | 1> c:\winddk\7600.16385.1\inc\ddk\wdm.h(16147) : see declaration of 'ExAllocatePool' 155 | 1>c:\passthru\analysispacket.c(30) : warning C4133: '=' : incompatible types - from 'ParamConfig *' to 'ParamConfig *' 156 | 1>c:\passthru\analysispacket.c(30) : warning C4133: '=' : incompatible types - from 'ParamConfig *' to 'ParamConfig *' 157 | 1>c:\passthru\analysispacket.c(51) : warning C4133: '=' : incompatible types - from 'ParamConfig *' to 'ParamConfig *' 158 | 1>c:\passthru\analysispacket.c(51) : warning C4133: '=' : incompatible types - from 'ParamConfig *' to 'ParamConfig *' 159 | 1>hook.c 160 | 1>Generating Code... 161 | 1> C:\WinDDK\7600.16385.1\Bin\x86\oacr\oacrlink /out:c:\passthru\objchk_wxp_x86\i386\passthru.sys /machine:ix86 @c:\passthru\objchk_wxp_x86\i386\lnk.rsp 162 | 1>Microsoft (R) Incremental Linker Version 9.00.30729.207 163 | 1>Copyright (C) Microsoft Corporation. All rights reserved. 164 | 1>/MERGE:_PAGE=PAGE 165 | 1>/MERGE:_TEXT=.text 166 | 1>/SECTION:INIT,d 167 | 1>/OPT:REF 168 | 1>/OPT:ICF 169 | 1>/IGNORE:4198,4010,4037,4039,4065,4070,4078,4087,4089,4221 170 | 1>/INCREMENTAL:NO 171 | 1>/release 172 | 1>/NODEFAULTLIB 173 | 1>/WX 174 | 1>/debug 175 | 1>/debugtype:cv,fixup,pdata 176 | 1>/version:6.1 177 | 1>/osversion:6.1 178 | 1>/functionpadmin:5 179 | 1>/safeseh 180 | 1>/pdbcompress 181 | 1>/STACK:0x40000,0x1000 182 | 1>/driver 183 | 1>/base:0x10000 184 | 1>/align:0x80 /stub:c:\winddk\7600.16385.1\lib\wxp\stub512.com 185 | 1>/subsystem:native,5.01 186 | 1>/entry:GsDriverEntry@8 187 | 1>/out:c:\passthru\objchk_wxp_x86\i386\passthru.sys 188 | 1>c:\passthru\objchk_wxp_x86\i386\precomp.obj 189 | 1>c:\passthru\objchk_wxp_x86\i386\passthru.res 190 | 1>c:\passthru\objchk_wxp_x86\i386\miniport.obj 191 | 1>c:\passthru\objchk_wxp_x86\i386\passthru.obj 192 | 1>c:\passthru\objchk_wxp_x86\i386\protocol.obj 193 | 1>c:\passthru\objchk_wxp_x86\i386\analysispacket.obj 194 | 1>c:\passthru\objchk_wxp_x86\i386\hook.obj 195 | 1>c:\winddk\7600.16385.1\lib\wxp\i386\BufferOverflowK.lib 196 | 1>c:\winddk\7600.16385.1\lib\wxp\i386\ntoskrnl.lib 197 | 1>c:\winddk\7600.16385.1\lib\wxp\i386\hal.lib 198 | 1>c:\winddk\7600.16385.1\lib\wxp\i386\wmilib.lib 199 | 1>c:\winddk\7600.16385.1\lib\wxp\i386\ndis.lib 200 | 1>c:\winddk\7600.16385.1\lib\wxp\i386\sehupd.lib 201 | -------------------------------------------------------------------------------- /Passthru/_UpgradeReport_Files/UpgradeReport.xslt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 |

63 | 解决方案: 64 | 项目: 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 |

73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 92 | 102 | 103 | 104 | 105 | 106 | 107 | src 108 | 109 | 126 | 127 | 128 | 129 | 130 | 131 | 139 | 143 | 144 | 145 | 146 |
文件名状态错误警告
90 | javascript:document.images[''].click()src 91 | 93 | 94 | 95 | 已转换 96 | 97 | 98 | 99 | 已转换 100 | 101 |
132 | 133 | 个文件 134 | 135 | 136 | 1 个文件 137 | 138 | 140 | 已转换:
141 | 未转换: 142 |
147 |
148 |
149 | 150 | 151 | 152 | : 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 转换报告 162 | <xsl:if test="Properties/Property[@Name='LogNumber']"> 163 | <xsl:value-of select="Properties/Property[@Name='LogNumber']/@Value"/> 164 | </xsl:if> 165 | 166 | 189 | 190 | 191 |

转换报告 -

192 | 193 |

194 | 转换时间:
195 |

196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 |

221 | 222 | 223 | 226 | 227 | 228 |
224 | 转换设置 225 |

229 | 230 | 231 |
232 |
233 | --------------------------------------------------------------------------------