File: guessnet-scan.8

package info (click to toggle)
guessnet 0.56
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 1,064 kB
  • ctags: 863
  • sloc: cpp: 5,355; sh: 1,432; makefile: 168; perl: 118
file content (82 lines) | stat: -rw-r--r-- 2,775 bytes parent folder | download | duplicates (6)
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
.\"                                      Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH GUESSNET-SCAN 8 "10 October 2004"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
guessnet-scan \- guess network configuration data by looking at network traffic
.SH SYNOPSIS
.B guessnet-scan
.RI [ options ]
.RI [ ethernet_interface ]
.br
.SH DESCRIPTION
\fBGuessnet-scan\fP tries to deduce network configuration data
by watching network traffic at a given Ethernet interface.
.P
After scanning network traffic for some time, \fBguessnet-scan\fP prints
a configuration string suitable for inclusion in
/etc/network/interfaces.
.P
Note that \fBguessnet-scan\fP uses heuristics and wild guesses
and that the resulting data is not guaranteed to be accurate.
The program is intended to be used as a first try at getting
network configuration data without bothering anyone.

.SH OPTIONS
Options follow the usual GNU conventions,
.TP
.B \-\-debug
Print debugging messages.
.TP
.B \-\-help
Show a brief summary of commandline options.
.TP
.BR \-\-init\-time =\fIint\fP
Time in seconds to wait for the interface to initialize
when it is not found already up at program startup.
Default: 3 seconds.
.TP
.BR \-t ", " \-\-timeout=\fIint\fP
Time in seconds to watch for network traffic.
Default: 5 seconds.
.TP
.BR \-v ", " \-\-verbose
Operate verbosely.
.TP
.B \-\-version
Show the version number of the program.

.SH "SCANNING REQUIREMENTS"
To correctly identify all data of the local network, \fBguessnet-scan\fP needs
to see traffic related to a host in the local network and to the local gateway,
if any.
.P
To be able to identify the network gateway, \fBguessnet-scan\fP also needs to
see some traffic directed to the external network: you can help the detection
by generating some outbound IP traffic during the scan, for example by browsing
a web page (without proxy) or using telnet to open a connection to some remote
host.
.P
Note that if you are connected to a switch, \fBguessnet-scan\fP won't probably
be able to work, since the switch will isolate it from the network traffic that
the other machines are generating.

.SH SEE ALSO
.BR guessnet (8),
.BR interfaces (5).

.SH AUTHOR
\fBGuessnet-scan\fP was written by Enrico Zini <enrico@debian.org>.