~ubuntu-branches/ubuntu/natty/ntop/natty

« back to all changes in this revision

Viewing changes to packages/FreeBSD-ports/net/ntop/files/ntop.conf.sample

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2005-01-30 21:59:13 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050130215913-xc3ke963bw49b3k4
Tags: 2:3.0-5
* Updated README.Debian file so users will understand what to do at
  install, closes: #291794, #287802.
* Updated ntop init script to give better output.
* Also changed log directory from /var/lib/ntop to /var/log/ntop,
  closes: #252352.
* Quoted the interface list to allow whitespace, closes: #267248.
* Added a couple of logcheck ignores, closes: #269321, #269319.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
###############################################################################
 
2
#                                                                             #
 
3
#  This file, ntop.conf.sample is a sample of an ntop configuration file.     #
 
4
#                                                                             #
 
5
#  You should copy this file to it's normal location, /etc/ntop.conf          #
 
6
#  and edit it to fit your needs.                                             #
 
7
#                                                                             #
 
8
#       ntop is easily launched with options by referencing this file from    #
 
9
#       a command line like this:                                             #
 
10
#                                                                             #
 
11
#       ntop @/etc/ntop.conf                                                  #
 
12
#                                                                             #
 
13
#  Remember, options may also be listed directly on the command line, both    #
 
14
#  before and  after the @/etc/ntop.conf.                                     #
 
15
#                                                                             #
 
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.                        #
 
19
#                                                                             #
 
20
#  You can use this to your advantage, for example:                           #
 
21
#       ntop @/etc/ntop.conf -i none                                          #
 
22
#  Overrides the -i in the file.                                              #
 
23
#                                                                             #
 
24
###############################################################################
 
25
#                                                                             #
 
26
#  Initial version by Burton M. Strauss III (Burton@ntopsupport.com)          #
 
27
#                                                                             #
 
28
#  Updates and documentation courtesy of                                      #
 
29
#      Joseph Ezerski (jezerski@broadcom.com) (04-2003)                       #
 
30
#                                                                             #
 
31
###############################################################################
 
32
 
 
33
# Sets the user that ntop runs as.  
 
34
#  NOTE: This should not be root unless you really understand the security risks.
 
35
 
 
36
--user ntop
 
37
 
 
38
#Work around for FreeBSD problem with userland threads - appears to hang the web server.
 
39
--set-pcap-nonblock
 
40
 
 
41
# Sets the directory that ntop runs from.
 
42
 
 
43
--db-file-path %%DBDIR%%/ntop
 
44
 
 
45
# interface(s) that ntop will capture on
 
46
#  DEFAULT: The 1st sisernet device, e.g. sis0 
 
47
 
 
48
#--interface sis0
 
49
 
 
50
# Configures ntop not to trust MAC addrs.  This is used when port mirroring or SPAN
 
51
#--no-mac
 
52
 
 
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.
 
56
 
 
57
#--use-syslog
 
58
 
 
59
# Tells ntop to track only local hosts as specified by the --local-subnets option
 
60
 
 
61
#--track-local-hosts
 
62
 
 
63
# Sets the port that the HTTP webserver listens on
 
64
#  NOTE: --http-server 3000 is the default
 
65
 
 
66
--http-server 3000
 
67
 
 
68
# Sets the port that the optional HTTPS webserver listens on
 
69
 
 
70
#--https-server 3001
 
71
 
 
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.
 
75
 
 
76
#--local-subnets xx.xx.xx.xx/yy
 
77
 
 
78
# Sets the domain.  ntop should be able to determine this automatically.
 
79
 
 
80
#--domain mydomain.com
 
81
 
 
82
#Sets program to run as a daemon
 
83
#  NOTE: For more than casual use, you probably want this.
 
84
 
 
85
#--daemon
 
86