# # nbtscanner.conf example # # Note that the config file scanner is not very smart, so you'd # better be a bit restrictive here :-) (In particular, don't forget # a newline at the end, and the ranges MUST come after the settings, # otherwise you'll get slightly weird results :-) ) # # This file is case-insensitive. # # The number of retries each host should be allowed to have. num_retries=4 # The amount of time between each retry, in milliseconds. retry_time=5000 # How long nbtscanner will delay between each sent packet, in ms. delay_time=2 # # How long a host may be inactive before it's purged from the database. # Note that this value is in seconds, not milliseconds like the other # time values in this file. # ghost_lifetime=60 # How long there will be between the _start_ of each scan, in ms. # The default (half an hour, or 1800 seconds) should be OK. scan_interval=400000 # # The minimum time to wait between each scan (ie. even if a scan # takes 24 hours, wait at least this time before the next scan # begins). This is to prevent flooding the network constantly. # # The default value is 5 minutes. # scan_wait=300000 # # Verbosity level: # 0: Absolutely no warnings or error messages will be printed (not # recommended, it's kinda nice to know why the program failed). # 1: Fatal error messages will be printed on standard error. # 2: Warnings (like suspicious NBT responses coming in, etc.) are # also printed. # 3: Errors, warnings and progress indicators. # # Config file errors are printed regardless of this setting. It's # recommended that you redirect standard output to a file (or a # pipe) if using verbosity >= 1. # verbosity=3 # # MySQL setup # # If this is 1, a MySQL connection is used instead of outputting # all the IPs to standard output. This is highly recommended, but # needs some table setup before use. # use_mysql=1 # # Your MySQL server information. mysql_host is the IP address (or # host name) of your MySQL server, often localhost. mysql_username # and password_username have obvious meanings. The password is in # cleartext, so make sure the permissions on this file are set to # 0600 or similiar. # mysql_host=localhost mysql_username=nbtscanner mysql_password=qugx8M!S # # Each IP address range is specified with a range= parameter. # There are three different ways to specify these: # # range=10.0.0.1 -- scan one IP address only. # range=10.0.0.0/24 -- scan an entire C-net. # range=10.0.0.0/255.255.255.0 -- the same, using netmask notation. # # If you specify networks, the top and bottom address will not be # scanned. Netmasks must be filled from the left (if you don't have # a VERY weird network layout, this will come naturally). # # Duplicate IP address _will_ be scanned twice. :-) # #range=158.39.124.0/23 #range=213.236.192.0/24 range=10.0.7.80/28 #range=10.0.19.0/24 range=213.236.192.0/24