  A flooding attack in wireless sensor networks is a type of threat that
shortens the lifetimes of the sensor networks. Although flooding attack
prevention techniques have been proposed, if a continuous flooding attack
occurs, the sensor node energy is depleted during detection. In this paper, we
use multi-path routing to solve this problem. In order to balance the load of
the sensor node, energy balancing of the sensor node is controlled by
determining the number of pathways using fuzzy logic. By adjusting the energy
balancing of the sensor nodes, the number of energy-exhausting sensor nodes can
be reduced. As a result, when a flooding attack occurs, the energy efficiency
of the sensor node is increased by determining the number of pathways.
