OnWorks favicon

driftnet - Online in the Cloud

Run driftnet in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command driftnet that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



driftnet - capture images from network traffic and display them in an X window;
optionally, capture audio streams and play them.


driftnet [options] [filter code]


Driftnet watches network traffic, and picks out and displays JPEG and GIF images for
display. It is an horrific invasion of privacy and shouldn't be used by anyone anywhere.
It has been described as `a graphical tcpdump(8)', `EtherPeg for Unix', and called all
sorts of nasty names by people on Freshmeat. It is also possible to use driftnet to
capture MPEG audio data from the network and play it through a player such as mpg123(1).

Images may be saved by clicking on them.


-h Print a summary of usage.

-v Print additional details of packets captured to the terminal.

-b Beep when a new image is displayed.

-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. On some systems, driftnet can only use
promiscuous mode if an interface is specified.

-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.

-p Do not put the interface into promiscuous mode.

-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.

-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.

-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.

-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.

-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 -'.

filter code
Additional filter code to restrict the packets captured, in the libpcap syntax.
User filter code is evaluated as `tcp and (filter code)'.

Use driftnet online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    Download OpenPDF - Fork of iText
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    Download D3.js
  • 6
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    It ha...
    Download Shadowsocks
  • 7
    GLPI Themes
    GLPI Themes
    Download release at
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • More »

Linux commands