Filter
This
sample demonstrates the basic usage of the SetPacketFilterTable
API. It introduces sets of filters for the following scenarios:
1) Redirect only DNS packets for processing in user mode.
2) Redirect only HTTP(TCP port 80) packets for processing in user
mode.
3) Drop all ICMP packets. Redirect all other packets to user mode
(default behaviour).
4) Block access to http://www.ntkernel.com. Pass all other packets
without processing in user mode.
5) Redirect only ARP/RARP packets to user mode. Pass all
others.
|