我正试图在电线上安装一个过滤器,以接收所有SMB的回复,这些回复是“Error:STATUS_NO_SUCH_FILE”。 我也要能够在过滤器之前 gr碎包装。 例如:
No. Time Source Destination Proto. Length Info
26482 24.832997 192.168.1.62 192.168.1.4 SMB 288 Trans2 Request, QUERY_PATH_INFO, Query File Basic Info, Path: 1_CLIENTSCLIENTSACME INC
26483 24.833122 192.168.1.4 192.168.1.62 SMB 158 Trans2 Response, QUERY_PATH_INFO
26484 24.833232 192.168.1.62 192.168.1.4 SMB 306 Trans2 Request, FIND_FIRST2, Pattern: 1_CLIENTSCLIENTSACME INC<.AC_
26485 24.833909 192.168.1.4 192.168.1.62 SMB 126 Trans2 Response, FIND_FIRST2, Error: STATUS_NO_SUCH_FILE
The followingfil grabs the "STATUS_NO_SUCH_FILE' Packets:
((ip.src == 192.168.1.4) && (ip.dst == 192.168.1.62)) || ((ip.src == 192.168.1.62) && (ip.dst == 192.168.1.4)) && (smb.nt_status == 0xC000000F)
But I would also like to get the packet previous to that one as well so I know which file path wasn t found.