Arpwarp is a tool which attempts to detect ARP spoofing attacks before executing a unix command (such as SSH or Telnet). This is the linux version - The solaris version is available here.
fb4e374b3b67a9958140a897ca83b151e75d5d663b0f3a0fe9a2e70556277fa4