• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.circleci/H19-Nov-2019-4435

src/H03-May-2022-6,9144,167

.gitignoreH A D19-Nov-2019384 4236

COPYINGH A D19-Nov-201917.6 KiB342281

CREDITSH A D19-Nov-2019738 2414

ChangelogH A D19-Nov-20193.4 KiB13780

INSTALLH A D19-Nov-201915.4 KiB372289

Makefile.amH A D19-Nov-2019745 3323

README.mdH A D19-Nov-20194.4 KiB7755

TODOH A D19-Nov-2019677 2313

config.subH A D19-Nov-201935.3 KiB1,8021,661

configure.acH A D03-May-20226.4 KiB284227

driftnet.1.inH A D19-Nov-20194.5 KiB149126

driftnet.doxygenH A D19-Nov-201974.7 KiB1,7931,299

README.md

1
2Driftnet
3========
4
5[![release](https://img.shields.io/github/release/deiv/driftnet.svg)](https://github.com/deiv/driftnet/releases)
6[![version](https://img.shields.io/github/release-date/deiv/driftnet.svg)](https://github.com/deiv/driftnet/releases)
7[![license](https://img.shields.io/github/license/deiv/driftnet.svg)](https://github.com/deiv/driftnet/blob/master/COPYING)
8[![IDE](https://img.shields.io/badge/IDE-CLion-00AA00.svg)](https://www.jetbrains.com/clion/)
9[![Refactored](https://img.shields.io/badge/Refactored%20with-Structure101-8A2BE2.svg)](https://structure101.com/)
10[![CircleCI](https://img.shields.io/circleci/project/github/deiv/driftnet/master.svg?colorB=CEC109)](https://circleci.com/gh/deiv/driftnet/tree/master)
11[![codecov](https://codecov.io/gh/deiv/driftnet/branch/master/graph/badge.svg)](https://codecov.io/gh/deiv/driftnet)
12
13Driftnet watches network traffic, and picks out and displays JPEG, GIF and other image formats for display. It is a horrific invasion of privacy and shouldn't be used by anyone anywhere. It can also extract MPEG audio data from the network and play it. If you live in a house with thick walls, this may be a useful way to find out about your neighbours' musical taste.
14
15News
16------------
17
18    Added new, http and websockets based, display
19    Added basic windows support (cygwin)
20    Added option to list capture interfaces
21    Added support for putting the interface in monitor mode
22
23Dependencies
24------------
25
26
27## Unix
28
29You will need:
30* [libpcap](https://sourceforge.net/projects/libpcap/)
31* [libjpeg](http://libjpeg.sourceforge.net/)
32* [libungif](http://directory.fsf.org/wiki/Libungif)
33* [libpng](http://www.libpng.org/pub/png/libpng.html)
34* [libwebsockets](https://libwebsockets.org/) (if you want the http server)
35* [libgtk](https://www.gtk.org/) (if you want the GTK display)
36
37On most Linux distributions (APT based) these can be installed by executing `sudo apt-get install libpcap-dev libjpeg-dev libpng12-dev giflib-tools`. If you don't want a version of driftnet which will display images itself, but just want  to use it to gather images for some other application, you only need `libpcap`. See comments in the Makefile for more information. To play MPEG audio, you need an MPEG player. By default, driftnet will use [mpg123](http://www.mpg123.de/).
38
39## Windows (on cygwin)
40
41You will need:
42* [libwinpcap](http://www.winpcap.org/devel.htm)
43* ~~[libjpeg](http://libjpeg.sourceforge.net/)~~
44* ~~[libungif](http://directory.fsf.org/wiki/Libungif)~~
45* ~~[libpng](http://www.libpng.org/pub/png/libpng.html)~~
46
47Only 32 bits builds are supported (libwinpcap did not provide a x64 library). You should pass a x86 compiler to configure:
48`./configure --target=i686-pc-cygwin --host=i686-pc-cygwin`
49
50Compilation
51------------
52To compile, generate the needed autotools files with `autoreconf -fi` (you probably need to install autotools) then run `./configure; make; make install`. Driftnet is at a very early stage of development and probably won't work for you at all.
53
54Usage
55-----
56Driftnet needs to run with sufficient privilege to obtain raw packets from the network. On most systems, this means running it as root.
57
58You can use Driftnet to sniff images passing over a wireless network. However, Driftnet does not understand the optional WEP encryption used with wireless ethernet. Instead, you can use [Kismet](http://www.kismetwireless.net/) to decrypt packets and pass them into a named pipe; the -f option can then be used to have Driftnet read the packets from the pipe. Thanks to Rob Timko and
59Joshua Wright for pointing this out; [Rob's page](http://68.38.68.127:81/writings/driftnet.html) describes the process in greater detail.
60
61If you find this program entertaining, you might want to help me develop it.
62The TODO file contains a list of yet-to-be-done ideas.
63
64Driftnet is licensed under the GNU GPL. See the file COPYING in the distribution.
65
66Thanks
67------------
68+ [Jetbrains](https://www.jetbrains.com) for his marvelous IDE [CLion](https://www.jetbrains.com/clion/)
69+ **Headway Software Technologies Ltd** and their fantastic refactor tool [Structure101](https://structure101.com/)
70+ All the [contributors](https://github.com/deiv/driftnet/graphs/contributors)
71
72Support development
73------------
74
75If you interested in this software (or other FOSS activities I do),
76<a href="https://www.patreon.com/bePatron?u=13707009" data-patreon-widget-type="become-patron-button">get on board and become a Patron!</a>
77