Open evanyeyeye opened 5 months ago
vmms/localDocker.py (1)
`180-196`: > :memo: **NOTE** > This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [145-193] Ensure that the `allowedOutgoingIPs` parameter is properly validated before use. While the code correctly handles the `allowedOutgoingIPs` when `disableNetwork` is `False`, it's crucial to ensure that the IPs provided are in a valid format to prevent potential security risks or misconfigurations. Consider adding a validation step to check the format of the IPs before they are used in the `iptables` command.
Description
Motivation and Context
How Has This Been Tested?