DRIFTNET(1)

πŸ“¦
version 1.5.0 Β· 4 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– DRIFTNET πŸ’–

okay bestie, gather round, because today we're talking about driftnet β€” the General Commands Manual girlie who lives in section 1, and she is a lot.


✨ NAME ✨

driftnet β€” capture images from network traffic and display them in an X window; optionally, capture audio streams and play them. πŸŽ€


🌸 SYNOPSIS 🌸

driftnet [options] [filter code]

πŸ¦‹ DESCRIPTION πŸ¦‹

so driftnet just… watches network traffic. like a little voyeur goblin. πŸ‘€ and it picks out and displays JPEG and GIF images for display. that's the whole thing.

🚨 bestie. It is an horrific invasion of privacy and shouldn't be used by anyone anywhere. not even joking, not even a little bit, that's a direct quote from the vibe. πŸ’€

it's been described as a graphical tcpdump(8), EtherPeg for Unix, and has been called all sorts of nasty names by people on Freshmeat. iconic behavior honestly. πŸ’…

it's also possible to use driftnet to capture MPEG audio data from the network and play it through a player such as mpg123(1). slay. 🎧

images may be saved by clicking on them. yes bestie, just click. πŸ–±οΈβœ¨


πŸ’… OPTIONS πŸ’…

  • -h β€” print a summary of usage. the lil "help me" moment. 🫢
  • -v β€” print additional details of packets captured to the terminal. verbose era. πŸ—£οΈ
  • -b β€” beep when a new image is displayed. beep beep new pic dropped. πŸ””
  • -i interface β€” listen to packets on interface. by default, driftnet will try to pick up traffic on all interfaces, but this does not work with all versions of pcap(3); on such systems, an interface must be specified. also on some systems, driftnet can only use promiscuous mode if an interface is specified. so basically: sometimes you gotta name her. 🌐
  • -f file β€” instead of listening on an interface, read captured packets from a pcap(3) dump file; file can be a named pipe for use with Kismet or similar. reading the receipts instead of living them. πŸ“‚
  • -p β€” do not put the interface into promiscuous mode. keeping it modest. πŸ™ˆ
  • -a β€” operate in adjunct mode, where driftnet gathers images for use by another program, such as Jamie Zawinski's webcollage. in this mode, no window is displayed; images are captured and saved in a temporary directory, and their names written on standard output. the behind-the-scenes bestie. 🀝
  • -m number β€” in adjunct mode, silently drop images if there are more than number in the temporary directory. it is assumed that another process will delete images which it has processed. no hoarding. πŸ—‘οΈ
  • -x prefix β€” the filename prefix to use when saving images, by default driftnet-. 🏷️
  • -d directory β€” use directory to store temporary files. driftnet will clear this directory of its own temporary files on exit, but will not delete the directory or any other files. polite queen. πŸ‘‘
  • -s β€” attempt to capture streamed audio data from the network, and either play it or, in adjunct mode, save it in files. at present this only works with MPEG data. 🎢
  • -S β€” capture streamed audio data only, ignoring images. audio girlies only. πŸŽ§πŸ’œ
  • -M command β€” use the named command to play MPEG audio data. the command, which is executed using the shell, should accept MPEG frames on standard input. the default is mpg123 -. πŸŽ›οΈ
  • -Z username β€” drop privileges to user username after starting pcap. safety first, diva. πŸ”
  • -l β€” list the system capture interfaces. show me the menu. πŸ“‹
  • -r β€” put the interface in monitor mode (not supported on all interfaces). not every interface can handle this energy. 😀
  • -g β€” enable GTK display (this is the default). the og aesthetic. ✨
  • -w β€” enable the HTTP server to display images. web girlie era. 🌈
  • -W β€” port number for the HTTP server (implies -w). default: 9090. πŸ”’

🧚 filter code 🧚

  • filter code β€” additional filter code to restrict the packets captured, in the libpcap syntax. user filter code is evaluated as tcp and (filter code). so yes, it gets wrapped, whether you like it or not. 🎁

πŸ‘€ SEE ALSO πŸ‘€

tcpdump(8), pcap(3), webcollage(1), mpg123(1), http://www.etherpeg.org/, http://freshmeat.net/projects/driftnet/, http://www.ex-parrot.com/~chris/driftnet/.

go read the siblings, bestie. πŸ“š


🫢 AUTHOR 🫢

  • Chris Lightfoot <chris@ex-parrot.com>
  • David SuΓ‘rez <david.sephirot@gmail.com>

⭐ 1.5.0 ⭐

Driftnet, version 1.5.0.

$Id: driftnet.1.in,v 1.7 2004/04/26 14:42:36 chris Exp $

πŸ“œ COPYING πŸ“œ

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.


πŸŽ€ and that's the whole page, bestie!! driftnet, version 1.5.0, last touched by the manual page $Id: driftnet.1.in,v 1.7 2004/04/26 14:42:36 chris Exp $ β€” a true 2004 icon living rent-free in the General Commands Manual forever. periodt. πŸ’…πŸ’–βœ¨
πŸ“¦ where this page comes from