Re: [問題] NIC
※ 引述《leslieha (哈)》之銘言:
: 最近在玩 ethereal
: 使用時它會把 NIC 變成 promiscuous mode
: 可以得到所有送到本機的封包
: 想請問
: 1. NIC 在 normal mode 判斷是不是本機的封包是看 dastinaion MAC
: 還是 dastination IP ?
destination MAC
: 2. NIC 是處理到 TCP/IP 那一層?
Link layer
: 3. 把 NIC 設定成 promiscuous mode 是改 NIC 的那個部份?
: 有 NIC 的 layer 圖嗎?
是把 RX promiscuous mode 的 register turn on,
可以隨便去抓 ethernet controller 的 programming guide
應該都會有詳細的說明
--
P2P 優化
http://matrix21.myweb.hinet.net
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.209.4
討論串 (同標題文章)