详细说明:基于驱动过滤得防火墙源代码。可以自由添加过滤规则。
相关函数/类:
CWinApp CSingleDocTemplate CCommandLineInfo ShowWindow UpdateWindow CDialog CDataExchange CDocument CFormView GetClientRect CPrintInfo CDC CFrameWnd SetWindowText CCmdUI CFile CFileException CFileDialog CString CWnd CloseHandle GetCurrentDirectory GetFileAttributes GetWindowsDirectory OpenSCManager CreateService OpenService CloseServiceHandle DeleteService StartService GetLastError ControlService CreateFile DeviceIoControl
CWinApp CSingleDocTemplate CCommandLineInfo ShowWindow UpdateWindow CDialog CDataExchange CDocument CFormView GetClientRect CPrintInfo CDC CFrameWnd SetWindowText CCmdUI CFile CFileException CFileDialog CString CWnd CloseHandle GetCurrentDirectory GetFileAttributes GetWindowsDirectory OpenSCManager CreateService OpenService CloseServiceHandle DeleteService StartService GetLastError ControlService CreateFile DeviceIoControl
文件列表(点击判断是否您需要的文件):
FirewallFHK_src
...............\Debug
...............\DrvFltIp.h
...............\DrvFltIp.sys
...............\Firewall.exe
...............\FirewallApp.aps
...............\FirewallApp.clw
...............\FirewallApp.cpp
...............\FirewallApp.dsp
...............\FirewallApp.dsw
...............\FirewallApp.h
...............\FirewallApp.ncb
...............\FirewallApp.opt
...............\FirewallApp.plg
...............\FirewallApp.rc
...............\FirewallAppDoc.cpp
...............\FirewallAppDoc.h
...............\FirewallAppView.cpp
...............\FirewallAppView.h
...............\MainFrm.cpp
...............\MainFrm.h
...............\res

...............\...\FirewallApp.rc2



...............\resource.h
...............\RuleDlg.cpp
...............\RuleDlg.h
...............\rules.h
...............\sockUtil.cpp
...............\sockutil.h
...............\StdAfx.cpp
...............\StdAfx.h
...............\TDriver.cpp
...............\TDriver.h
FirewallFHK_src
...............\Debug
...............\DrvFltIp.h
...............\DrvFltIp.sys
...............\Firewall.exe
...............\FirewallApp.aps
...............\FirewallApp.clw
...............\FirewallApp.cpp
...............\FirewallApp.dsp
...............\FirewallApp.dsw
...............\FirewallApp.h
...............\FirewallApp.ncb
...............\FirewallApp.opt
...............\FirewallApp.plg
...............\FirewallApp.rc
...............\FirewallAppDoc.cpp
...............\FirewallAppDoc.h
...............\FirewallAppView.cpp
...............\FirewallAppView.h
...............\MainFrm.cpp
...............\MainFrm.h
...............\res
...............\...\FirewallApp.rc2


...............\resource.h
...............\RuleDlg.cpp
...............\RuleDlg.h
...............\rules.h
...............\sockUtil.cpp
...............\sockutil.h
...............\StdAfx.cpp
...............\StdAfx.h
...............\TDriver.cpp
...............\TDriver.h