A Survey of Network-Based Detection and Defense Mechanisms Countering the IP Spoofing Problems