Simulation and Analysis of MAC Security Based on NS2 | IEEE Conference Publication | IEEE Xplore