# DaemonService **Repository Path**: jie65535/DaemonService ## Basic Information - **Project Name**: DaemonService - **Description**: 保护指定端口免受攻击,只有通过服务校验以后,将其添加至白名单,才可以连接指定端口。 - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-24 - **Last Updated**: 2022-01-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DaemonService 使用**Qt 5.6**编译 数据库使用**SQLite** 原理是操作**windows本地安全策略** 运行截图: ![](images/DeamonService.png) #### 文件结构: - 数据库操作类 - dal.cpp - dal.h - 策略组操作类 - ipsechelper.cpp - ipsechelper.h - 工作者线程类 - worker.cpp - worker.h - 日志类 - log.cpp - log.h - md5计算类(未使用) - md5.cpp - md5.h - 连接池、线程分配、服务主类 - daemonservice.cpp - daemonservice.h - 守护服务初始化脚本 - DaemonServiceInitializer.bat - Qt项目文件 - DaemonService.pro - 资源文件 - res.qrc - uac.rc - 图标文件 - Daemon.ico