]> git.sesse.net Git - nbtscanner/blob - nbtscanner.conf
Import nbtscanner 0.1.0.
[nbtscanner] / nbtscanner.conf
1 #
2 # nbtscanner.conf example
3 #
4 # Note that the config file scanner is not very smart, so you'd
5 # better be a bit restrictive here :-) (In particular, don't forget
6 # a newline at the end, and the ranges MUST come after the settings,
7 # otherwise you'll get slightly weird results :-) )
8 #
9 # This file is case-insensitive.
10 #
11
12 # The number of retries each host should be allowed to have.
13 num_retries=3 
14
15 # The amount of time between each retry, in milliseconds.
16 retry_time=5000
17
18 # How long nbtscanner will delay between each sent packet, in ms.
19 delay_time=100
20
21 # Verbosity level: 
22 # 0: Absolutely no warnings or error messages will be printed (not
23 #    recommended, it's kinda nice to know why the program failed).
24 # 1: Fatal error messages will be printed on standard error.
25 # 2: Warnings (like suspicious NBT responses coming in, etc.) are
26 #    also printed.
27 # 3: Errors, warnings and progress indicators.
28 #
29 # Config file errors are printed regardless of this setting. It's
30 # recommended that you redirect standard output to a file (or a
31 # pipe) if using verbosity >= 1.
32 #
33 verbosity=3
34
35 #
36 # MySQL setup
37 #
38 # If this is 1, a MySQL connection is used instead of outputting
39 # all the IPs to standard output. This is highly recommended, but
40 # needs some table setup before use.
41 #
42 use_mysql=1
43
44 #
45 # Your MySQL server information. mysql_host is the IP address (or
46 # host name) of your MySQL server, often localhost. mysql_username
47 # and password_username have obvious meanings. The password is in
48 # cleartext, so make sure the permissions on this file are set to
49 # 0600 or similiar.
50 #
51 mysql_host=127.0.0.1
52 mysql_username=nbtscanner
53 mysql_password=tg01
54
55 #
56 # Each IP address range is specified with a range= parameter.
57 # There are three different ways to specify these:
58 #
59 # range=10.0.0.1                -- scan one IP address only.
60 # range=10.0.0.0/24             -- scan an entire C-net.
61 # range=10.0.0.0/255.255.255.0  -- the same, using netmask notation.
62 #
63 # If you specify networks, the top and bottom address will not be
64 # scanned. Netmasks must be filled from the left (if you don't have
65 # a VERY weird network layout, this will come naturally).
66 #
67 # Duplicate IP address _will_ be scanned twice. :-)
68 #
69 range=10.0.7.80/28
70 # range=10.0.0.0/24
71 range=10.0.19.0/24
72