A mobile ad-hoc network (MANET) is a kind of self configuring network with mobile routers connected by wireless links. Misbehavior in MANET arises for several reasons such as non-intentionally when a node is faulty or it is overloaded or intentionally when a node is being selfish to save battery, bandwidth, and processing power. This paper presents a new method to stabilize the performance of the network for the active nodes even in the presence of some misbehaving nodes which do not route and forward packets send by the others correctly. This situation becomes even worst when mobile nodes do not rely on any routing infrastructure but relay packets for each other. Specifically, we introduce two extensions to the Dynamic Source Routing (DSR) algorithm  to mitigate the effects of routing misbehavior: the watchdog and the pathrater  Based on the watchdog and the pathrater systems, we propose a reputation trust (RT) algorithm that updates the reputation trust (RT) table of each node with the ranked values of other nodes. Simulation and numerical results show the success of the proposed method by minimizing the malicious behavior of mobile nodes and consequently improving the overall throughput of MANET.