Recently migrated to a Cisco ASA/Sourcefire implementation in our enviroment and have been going through the logs on the ASA. Looking over the logs I noticed multiple critical errors that kept coming in waves. The message is a "Land Attack" being denied.
The IP's are our external PAT POOL addresses being sent from the inside to the ASA itself. Here is the error message from the ASA. Below is a sample of the error message:
06-17-2016 08:01:16 Local4.CriticalX.X.X.X.X%ASA-2-106017: Deny IP due to Land Attack from (external IP) to (external IP)
After doing some wiresharking we discovered that this was happening everytime Apple devices in the network were trying to get to addresses:
17.173.254.222
17.173.254.223
17.173.255.222
17.173.255.223
Here is a packet capture from one: (1.1.1.1 = Our external Nat address)
61065 232.862006 10.70.200.188 -> 17.173.254.222 UDP Source port: 58994 Destination port: 16384
61066 232.862006 10.70.200.188 -> 17.173.254.222 UDP Source port: 58994 Destination port: 16385
61067 232.862006 10.70.200.188 -> 17.173.254.223 UDP Source port: 58994 Destination port: 16386
61068 232.862006 10.70.200.188 -> 17.173.254.222 UDP Source port: 49729 Destination port: 16384
61069 232.862006 10.70.200.188 -> 17.173.254.222 UDP Source port: 49729 Destination port: 16385
61070 232.862006 10.70.200.188 -> 17.173.254.223 UDP Source port: 49729 Destination port: 16386
61080 232.901006 10.70.200.188 -> 1.1.1.1 UDP Source port: 58994 Destination port: 58994
Line 61080 is what triggers the "land attack" message and is repeated about 5 times before reverting back to using the correct inside local address for the source. For some reason it is acting like Apple resorts to using the outside global address as the source address for the devices, causing the land attack log. We have found the ports its using when this happens are common to Apple's FaceTime, iMessage, Gamecenter and iChat. Usually 16393 - 16403.
I have tried adding "ip verify unicast source reachable-via rx" on layer 3 interfaces on the core switch right before the ASA with no success.
Has anyone seen this before and successfully fix it? Looking for a solution other than blocking the 17.173.xxx.222/3 with an ACL at the core before being sent to the ASA.