Analysis of effectiveness of CORE Watchdog mechanism in mobile ad hoc networks