what is ethernet sniffing
Ethernet sniffing is listening to the raw ethernet device for packets that interest you. When your software sees a packet that fits certain criteria, it logs it to a file. The most common criteria for an interesting packet is one that contains words like "login" or "password."
On Linux tcpdump command can be used as sniffer.