Active and passive sniffing are the two types of sniffing. Spoofing assaults, DHCP attacks, and DNS poisoning are examples of active sniffing tactics. Passive sniffing entails merely listening and is typically used in networks with hubs. The traffic is visible to all hosts in this form of network.