C:\pkt>pktfltsrv.exe -i rules.txt log.txt
Packet Filtering service installation was successful
IMPORTANT:
Do _not_ forget to change the Startup Type of PktFilter to Automatic in the
Services Manager if you want PktFilter to start automatically at system startup
(recommended)
(rules.txt 中的 IP 无效果)
C:\pkt>pktctl.exe -l eth0
error: unable to connect to named pipe
C:\pkt>pktfltsrv.exe -u
Uninstallation of Packet Filtering service was successful
C:\pkt>pktctl.exe
usage:
pktctl -a filtering_rule: add a filtering rule
pktctl -d rule interface: delete a rule on specificied interface
pktctl -f filters_file: source filters file
pktctl -i : interactive mode
pktctl -F filters_file: flush all interfaces and load filters file
pktctl -l interface: list rules on specified interface
pktctl -L interface: list rules with rule numbers on specified
interface
pktctl -s interface: get brief statistics on specified interface
pktctl -S interface: get detailed statistics on specified interface
pktctl -Fa interface: flush all rules on specified interface
pktctl -I: list mapping of Ethernet interfaces