請問使用WinPcap可以達到防火牆功能嗎? |
尚未結案
|
cookie431908
一般會員 發表:1 回覆:1 積分:0 註冊:2005-09-25 發送簡訊給我 |
|
malanlk
尊榮會員 發表:20 回覆:694 積分:577 註冊:2004-04-19 發送簡訊給我 |
|
暗黑破壞神
版主 發表:9 回覆:2301 積分:1627 註冊:2004-10-04 發送簡訊給我 |
The purpose of WinPcap is to give this kind of access to Win32 applications; it provides facilities to: * capture raw packets, both the ones destined to the machine where it's running and the ones exchanged by other hosts (on shared media)
* filter the packets according to user-specified rules before dispatching them to the application
* transmit raw packets to the network
* gather statistical information on the network traffic 用任何一個外來函數時。如果不能去讀通它的原始碼。你也要去看過它的文件。
這才是一個好的程式設計師的行為。
|
8866
中階會員 發表:27 回覆:147 積分:69 註冊:2002-10-14 發送簡訊給我 |
WinPcap 是屬於 Protocol Driver , 它只是監聽 (Sniffer) , 並無法達到防火牆的功能 ! 如果是想用 Driver 寫防火牆 , 有許多的技術可實現包含 NDIS Firewall, TDI Firewall, Winsock Layered Firewall, Packet Filtering API , NDIS HOOK 等 . 如果對 Driver 不熟 , 可從 Winsock Layered Firewall or Hook API 著手 ,
對於初學者比較容易上手喔 ! 也可參考我的作品 . http://delphi.ktop.com.tw/topic.php?TOPIC_ID=70032
|
cookie431908
一般會員 發表:1 回覆:1 積分:0 註冊:2005-09-25 發送簡訊給我 |
|
Ktop_Robot
站務副站長 發表:0 回覆:3511 積分:0 註冊:2007-04-17 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |