As a security best practice, verify that your VMware virtual appliance host machines deny IPv6 ICMP redirect messages.
Routers use ICMP redirect messages to tell hosts that a more direct route exists for a destination. A malicious ICMP redirect message can facilitate a man-in-the-middle attack. These messages modify the host's route table and are unauthenticated. Ensure your system is configured to ignore them if they not otherwise needed.
- Run the
# grep  /proc/sys/net/ipv6/conf/*/accept_redirects|egrep "default|all"command on the VMwarevirtual appliance host machines to confirm that they deny IPv6 redirect messages.
If the host machines are configured to deny IPv6 redirects, this command returns the following:
- To configure a virtual appliance host machine to deny IPv4 redirect messages, open the /etc/sysctl.conf file in a text editor.
- Check the values of the lines that begin with
If the values for the following entries in the are not set to zero or if the entries do not exist, add them to the file or update the existing entries accordingly.
- Save the changes and close the file.