FAN: Friendship based anonymous routing in wireless social mobile networks of malicious communities