-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdriftnet.1.in
123 lines (110 loc) · 3.94 KB
/
driftnet.1.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
.TH DRIFTNET 1
.\"
.\" driftnet.1.in:
.\" Manual page for driftnet.
.\"
.\" Copyright (c) 2002 Chris Lightfoot. All rights reserved.
.\" Email: chris@ex-parrot.com; WWW: http://www.ex-parrot.com/~chris/
.\"
.\" $Id: driftnet.1.in,v 1.7 2004/04/26 14:42:36 chris Exp $
.\"
.SH NAME
driftnet - capture images from network traffic and display them in an X window;
optionally, capture audio streams and play them.
.SH SYNOPSIS
\fBdriftnet\fP [\fIoptions\fP] [\fIfilter code\fP]
.SH DESCRIPTION
\fBDriftnet\fP 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
.BR tcpdump (8)',
`\fIEtherPeg\fP for Unix', and called all sorts of nasty names by people on
\fIFreshmeat\fP. It is also possible to use \fBdriftnet\fP to capture MPEG
audio data from the network and play it through a player such as
.BR mpg123 (1).
Images may be saved by clicking on them.
.SH OPTIONS
.TP
\fB-h\fP
Print a summary of usage.
.TP
\fB-v\fP
Print additional details of packets captured to the terminal.
.TP
\fB-b\fP
Beep when a new image is displayed.
.TP
\fB-i\fP \fIinterface\fP
Listen to packets on \fIinterface\fP. By default, \fBdriftnet\fP will try to
pick up traffic on all interfaces, but this does not work with all versions of
.BR pcap (3);
on such systems, an interface must be specified. On some systems, \fBdriftnet\fP
can only use promiscuous mode if an interface is specified.
.TP
\fB-p\fP
Do not put the interface into promiscuous mode.
.TP
\fB-a\fP
Operate in `adjunct mode', where \fBdriftnet\fP gathers images for use by
another program, such as Jamie Zawinski's \fBwebcollage\fP. In this mode, no
window is displayed; images are captured and saved in a temporary directory,
and their names written on standard output.
.TP
\fB-m\fP \fInumber\fP
In adjunct mode, silently drop images if there are more than \fInumber\fP in
the temporary directory. It is assumed that another process will delete images
which it has processed.
.TP
\fB-x\fP \fIprefix\fP
The filename prefix to use when saving images, by default `driftnet-'.
.TP
\fB-d\fP \fIdirectory\fP
Use \fIdirectory\fP to store temporary files. \fBDriftnet\fP will clear this
directory of its own temporary files on exit, but will not delete the directory
or any other files.
.TP
\fB-s\fP
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.
.TP
\fB-S\fP
Capture streamed audio data only, ignoring images.
.TP
\fB-M\fP \fIcommand\fP
Use the named \fIcommand\fP to play MPEG audio data. The \fIcommand\fP, which
is executed using the shell, should accept MPEG frames on standard input.
The default is `mpg123 -'.
.TP
\fIfilter code\fP
Additional filter code to restrict the packets captured, in the libpcap
syntax. User filter code is evaluated as `tcp and (\fIfilter code\fP)'.
.SH SEE ALSO
.BR tcpdump (8),
.BR pcap (3),
.BR webcollage (1),
.BR mpg123 (1),
.br
.IR http://www.etherpeg.org/ ,
.br
.IR http://freshmeat.net/projects/driftnet/ ,
.br
.IR http://www.ex-parrot.com/~chris/driftnet/ .
.SH AUTHOR
Chris Lightfoot <chris@ex-parrot.com>
.SH VERSION
\fBDriftnet\fP, version @@@VERSION@@@.
.br
$Id: driftnet.1.in,v 1.7 2004/04/26 14:42:36 chris Exp $
.SH 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.