packet capture and protocol analysis