What is the primary purpose of performing a packet capture in the context of network security?
To collect and analyze network traffic for security monitoring and investigative purposes
To provide network users with a secure method of file transfer
To increase the bandwidth and performance of the network
To restrict access to network resources based on IP addresses