Some features of Mobile Ad hoc Networks (MANETs), including dynamic membership, topology, and open
wireless medium, introduce a variety of security risks. Malicious nodes can drop or modify packets that are
received from other nodes. These malicious activities may seriously affect the availability of services in MANETs.
Therefore, secure routing in MANETs has emerged as an important MANET research area. In this paper, we
propose a scheme that enhances the security of Optimal Link State Routing version 2 (OLSRv2) in MANETs
based on trust. In the proposed scheme, more accurate trust can be obtained by considering different types of
packets and other important factors that may cause dropping packets in friendly nodes, such as buffer overflows
and unreliable wireless connections. Simulation results are presented to demonstrate the effectiveness of the