IP spoofing or IP forgery is a hijacking technique used to gain unauthorized access to users machine, network or website. The intruder will use the access for spamming activity by masking their identity. In IP spoofing the hacker firsts gain access to the IP of a legitimate host, edits the packet headers so that the source host would look legitimate.