Capturing same interface with tshark with same or different capture filters
        Posted  
        
            by 
                Pankaj Goyal
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Pankaj Goyal
        
        
        
        Published on 2013-11-11T07:19:52Z
        Indexed on 
            2013/11/11
            10:00 UTC
        
        
        Read the original article
        Hit count: 394
        
I am in stuck in a situation where an interface will be captured more than one time. Like :-
$ tshark -i rpcap://1.1.1.1/lo -f "ip proto 1" -i rpcap://1.1.1.1/lo -f "ip proto 132"
or
(same filter) $ tshark -i rpcap://1.1.1.1/lo -f "ip proto 1" -i rpcap://1.1.1.1/lo -f "ip proto 1"
what will happen in both the cases ? In first case, will the capture filter gets OR'ed or AND'ed ?? In second case, will the same packets be captured two times ?
© Server Fault or respective owner