An efficient intrusion detection and prevention framework for ad hoc networks. (10th October 2016)