Understanding Port Scanning: A Key Technique in Network Security