DSNIFF(8)
π DSNIFF(8) β the manual, but make it make sense π
okay bestie, sit down, we're reading the dsniff page from the System Manager's Manual together and it's honestly iconic. no cap.
β¨ NAME β¨
dsniff β password sniffer. yes girl, that's the whole name. it's giving "job description that's also a warning label" π
πΈ SYNOPSIS πΈ
dsniff [-v] [-c] [-a] [-d] [-m] [-D] [-N] [-P] [-i interface | -p
pcapfile] [-s snaplen] [-M magics] [-f services] [-t trigger[,...]]
[-r|-w savefile] [expression]
like, look at her. all those little flags. she's busy and she's thriving π¦
π DESCRIPTION π
so dsniff is a password sniffer, and the way it handles a whole list of protocols? obsessed. it speaks: FTP, Telnet, SMTP, HTTP, POP, poppass, NNTP, IMAP, SNMP, LDAP, Rlogin, RIP, OSPF, PPTP MS-CHAP, NFS, VRRP, YP/NIS, SOCKS, X11, CVS, IRC, AIM, ICQ, Napster, PostgreSQL, Meeting Maker, Citrix ICA, Symantec pcAnywhere, NAI Sniffer, Microsoft SMB, Oracle SQL*Net, Sybase and Microsoft SQL. not one, not two β all of them. she's the main character of protocol decoding fr fr π
and here's the tea: dsniff automatically detects and minimally parses each application protocol, only saving the interesting bits, and uses Berkeley DB as its output file format, only logging unique authentication attempts. so she's picky in the best way. full TCP/IP reassembly is provided by libnids(3) β shoutout to the support system, we love a collab π«Ά
I wrote dsniff with honest intentions - to audit my own network, and to demonstrate the insecurity of cleartext network protocols. Please do not abuse this software.
(that's the author speaking, and honestly? respect. do not be weird with it, bestie. periodt.)
π OPTIONS π
one bullet per flag, because we do not skip, we do not merge, we do not abbreviate. every single one is here π
-cβ Perform half-duplex TCP stream reassembly, to handle asymmetrically routed traffic (such as when usingarpspoof(8)to intercept client traffic bound for the local gateway).-vβ Verbose. Show banners.-aβ Show all results. Otherwisedsnifftries not to show to many duplicates.-dβ Enable debugging mode.-mβ Force protocol detection/DPI also on known services. For example,-mwill detect SSH _and_ HTTPS on port 443.-Nβ Resolve IP addresses to hostnames.-Pβ Enable promisc mode.-Cβ Force color output even if not a tty.-Dβ Disable DPI. Only decode known services (DPI is enabled by default on unknown ports).-iinterface β Specify the interface to listen on.-ppcapfile β Rather than processing the contents of packets observed upon the network process the given PCAP capture file.-ssnaplen β Analyze at most the first snaplen bytes of each TCP connection, rather than the default of1024.-fservices β Load triggers from a services file. Default is to use internal.-Mmagicfile β Load magics from file. Default is to use internal. Can not be used with-t.-ttrigger[,...] β Load triggers from a comma-separated list, specified asport/proto=service(e.g.80/tcp=http).-rsavefile β Read sniffed sessions from a savefile created with the-woption.-wfile β Write sniffed sessions to savefile rather than parsing and printing them out.- expression β Specify a
tcpdump(8)filter expression to select traffic to sniff.
heads up, queen: on a hangup signaldsniffwill dump its current trigger table todsniff.services. she just... does that. unprompted. iconic behavior, honestly π
π FILES π
the little files she keeps in her bag:
/usr/share/dsniff/dsniff.servicesβ Default trigger table/usr/share/dsniff/dsniff.magicβ Network protocol magic
π¦ SEE ALSO π¦
go read her friends, they're all slaying in their own lanes:
π AUTHOR π
Dug Song <dugsong@monkey.org> β we stan a legend π
π BUGS π
ngl, this part is real: dsniff's automatic protocol detection feature is based on the classic file(1) command by Ian Darwin, and shares its historical limitations and bugs. so like... the baggage came with the blueprint. we're all just living in file(1)'s legacy fr π
and that's the whole page, bestie!! πΈ this was DSNIFF(8) from the System Manager's Manual, signing off with a little π β stay curious, stay ethical, and never sniff anything that isn't yours πβ¨
π¦ where this page comes from
- ubuntu resolute: dsniff 2.5a2-1 Β· BSD-3-Clause
- ubuntu stonking: dsniff 2.5a2-1build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms