Post-Dissection包分析
對于與特定過濾器匹配或具有特定分路的每個數據包,都會調用一次偵聽器。它可以讀取樹、數據包的TVB緩沖區以及分路數據,但不能向樹中添加元素。
Listener.new([tap], [filter], [allfields])
創建一個新的Listener 點擊對象
參數:
tap (optional)
The name of this tap. See Listener.list() for a way to print valid listener names.
filter (optional)
A display filter to apply to the tap. The tap.packet function will be called for each matching packet. The default is nil, which matches every packet. Example: “m2tp”.
allfields (optional)
Whether to generate all fields. The default is false. Note: This impacts performance.
Returns
The newly created Listener listener object
Errors
- tap registration error
Wireshark中文使用教程(開發版)
推薦文章: