regandrules.txt

来自「一款防火墙源码」· 文本 代码 · 共 21 行

TXT
21
字号
There are two reg paths for two kinds of rule:

1.HKEY_LOCAL_MACHINE\SOFTWARE\PSMFirewall\Rules
which is for IP/Port rules
rule sample: 

211.041.046.077|211.041.046.077|00021|00021|0|0
From IP|To IP| From Port|To Port|Reserved|Permit or not

Ip format: xxx.xxx.xxx.xxx
Port Format: xxxxx
Permit or not=1 or 0
Reserved always=0

2.HKEY_LOCAL_MACHINE\SOFTWARE\PSMFirewall\Rules1
which is for App path rules
rule sample: 
D:\Program Files\MSN Messenger\MsnMsgr.Exe|1
App Path|Permit or not
App Path=full path
Permit or not=1 or 0

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?