1
###############################################################################
3
# This file, ntop.conf.sample is a sample of an ntop configuration file. #
5
# You should copy this file to it's normal location, /etc/ntop.conf #
6
# and edit it to fit your needs. #
8
# ntop is easily launched with options by referencing this file from #
9
# a command line like this: #
11
# ntop @/etc/ntop.conf #
13
# Remember, options may also be listed directly on the command line, both #
14
# before and after the @/etc/ntop.conf. #
16
# For switches that provide values, e.g. -i, the last one matters. #
17
# For switches just say 'do things', e..g -M, if it's ANYWHERE in the #
18
# commands, it will be set. There's no unset option. #
20
# You can use this to your advantage, for example: #
21
# ntop @/etc/ntop.conf -i none #
22
# Overrides the -i in the file. #
24
###############################################################################
26
# Initial version by Burton M. Strauss III (Burton@ntopsupport.com) #
28
# Updates and documentation courtesy of #
29
# Joseph Ezerski (jezerski@broadcom.com) (04-2003) #
31
###############################################################################
33
# Sets the user that ntop runs as.
34
# NOTE: This should not be root unless you really understand the security risks.
38
#Work around for FreeBSD problem with userland threads - appears to hang the web server.
41
# Sets the directory that ntop runs from.
43
--db-file-path %%DBDIR%%/ntop
45
# interface(s) that ntop will capture on
46
# DEFAULT: The 1st sisernet device, e.g. sis0
50
# Configures ntop not to trust MAC addrs. This is used when port mirroring or SPAN
53
# Logging messages to syslog (instead of the console):
54
# NOTE: To log to a specific facility, use --use-syslog=local3
55
# NOTE: The = is REQUIRED and no spaces are permitted.
59
# Tells ntop to track only local hosts as specified by the --local-subnets option
63
# Sets the port that the HTTP webserver listens on
64
# NOTE: --http-server 3000 is the default
68
# Sets the port that the optional HTTPS webserver listens on
72
# Sets the networks that ntop should consider as local.
73
# NOTE: Uses dotted decimal and CIDR notation. Example: 192.168.0.0/24
74
# The addresses of the interfaces are always local and don't need to be specified.
76
#--local-subnets xx.xx.xx.xx/yy
78
# Sets the domain. ntop should be able to determine this automatically.
80
#--domain mydomain.com
82
#Sets program to run as a daemon
83
# NOTE: For more than casual use, you probably want this.