X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nbtscanner.conf;h=4b4d7c091f5db02de49e5fda24f110669047c16c;hb=HEAD;hp=06da5e7c10c45bf2dc3653594b9c9c4c54defb88;hpb=c00b46344cce7b05d6e0db74359de1971d2d09ec;p=nbtscanner diff --git a/nbtscanner.conf b/nbtscanner.conf index 06da5e7..4b4d7c0 100644 --- a/nbtscanner.conf +++ b/nbtscanner.conf @@ -10,14 +10,35 @@ # # The number of retries each host should be allowed to have. -num_retries=3 +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=100 +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). @@ -48,9 +69,9 @@ use_mysql=1 # cleartext, so make sure the permissions on this file are set to # 0600 or similiar. # -mysql_host=127.0.0.1 +mysql_host=localhost mysql_username=nbtscanner -mysql_password=tg01 +mysql_password=qugx8M!S # # Each IP address range is specified with a range= parameter. @@ -66,7 +87,9 @@ mysql_password=tg01 # # 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.0.0/24 -range=10.0.19.0/24 +#range=10.0.19.0/24 +range=213.236.192.0/24