minbif.conf 4.55 KB
Newer Older
1 2 3
# Path settings
path {

4 5
	# Users directory, where minbif will write
	# every settings.
6
	users = /var/lib/minbif/users
Romain Bignon's avatar
Romain Bignon committed
7 8 9

	# Path to motd file.
	motd = /etc/minbif/minbif.motd
10 11
}

12 13
irc {

14
	# IRC server hostname. If not set, it'll be automatically detected.
15
	#hostname = localhost.localdomain
16

17
	# Minbif mode.
18
	#
19
	# 0: inetd
20
	# 1: daemon (isn't implemented yet)
21
	# 2: daemon fork
22
	type = 2
23

24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
	# With 'inetd' modes, set some parameters
	inetd {
		# Connection security mode
		# none/tls/starttls/starttls-mandatory
		#security = none

		# TLS parameters (if enabled)
		#tls {
		#	cert_file = /etc/minbif/server.crt
		#	key_file = /etc/minbif/server.key
		#	priority = PERFORMANCE
		#
		#	# client certificate validation
		#	trust_file = /etc/ssl/certs/ca.crt
		#	crl_file = /etc/ssl/certs/ca.crl
		#}
	}
41

42 43
	# With 'daemon' and 'daemon fork' modes, set some
	# parameters to listen on network.
44
	daemon {
45 46 47
		# Interface or IP address to listen on.  It can be a IPv4 or
		# a IPv6 address or netmask.
		# To listen on every interfaces, set 'bind' to '::'.
48 49
		bind = 0.0.0.0

50
		# Port to listen on.
51 52
		port = 6667

53 54
		# If this parameter is enabled, it run MinBif as a daemon.
		# stdin, stdout and stderr will be also closed.
55
		background = true
56 57 58

		# Maximum simultaneous connections
		maxcon = 10
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73

		# Connection security mode
		# none/tls/starttls/starttls-mandatory
		#security = none

		# TLS parameters (if enabled)
		#tls {
		#	cert_file = /etc/minbif/server.crt
		#	key_file = /etc/minbif/server.key
		#	priority = PERFORMANCE
		#
		#	# client certificate validation
		#	trust_file = /etc/ssl/certs/ca.crt
		#	crl_file = /etc/ssl/certs/ca.crl
		#}
74
	}
75

76
	# Ping interval in seconds.
77
	ping = 60
78 79 80 81 82 83 84 85 86 87

	# When a user /WHOIS a buddy, if libcaca is present, the buddy's icon
	# is displayed in colored ASCII.
	# You can also setup a web server or whatever you want, and put here
	# the base of url shown in /WHOIS reply.
	#
	# You can for example create a virtual host on Apache, and redirect it
	# to the folder which contains minbif's users.
	# Warning: do not forgot to deny access to everything else than .png files!
	#
Romain Bignon's avatar
Romain Bignon committed
88 89
	# buddy_icons_url = http://mydomain.tld/minbif/
	# buddy_icons_url = file:///var/lib/minbif/users/
90 91 92 93 94 95 96 97 98 99 100

	# IRC Operators can rehash configuration, send WALLOPS to other
	# minbif's users (in daemon fork mode), etc.
	#
	# Use the '/OPER login password' to authenticate as an IRC oper.
	#
	# Define a block for each Operator:
	#
	# oper {
	# 	login = romain
	# 	password = pupuce
101
	#	email = romain@minbif.im
102 103 104 105 106
	# }
	#
	# oper {
	# 	login = pankkake
	# 	password = littledick
107
	#	email = pankkake@blowjob.org
108
	# }
109 110
	#
	# Note that the email address is displayed in /stats o.
111 112 113 114 115 116 117 118 119 120 121 122

	# Password to protect the server.
	#
	# *NOTE* THIS IS AN OPTIONAL SETTING. IF YOU DON'T RUN A PUBLIC
	#        SERVER IT IS NOT NECESSARY.
	#
	# If enabled, use it to connect to server first time with:
	# /server localhost 6667 globalpasswd
	# Then, change your password with:
	# /admin password mypasswd
	#
	#password = minbifrocks
123 124
}

125
# Authentication, Authorization and Accounting
Romain Bignon's avatar
Romain Bignon committed
126
aaa {
127

128 129
	# Enable local user database (defaults to true)
	#use_local = true
130

131
	# Enable PAM authentication/authorization (need the ENABLE_PAM compile flag)
132
	#use_pam = false
133 134
	# Child process setuid with the pam user (needs root and pam auth)
	#pam_setuid = false
135

136 137 138
	# Enable connection information for authentication/authorization
	# (currently only used with TLS client certificates)
	#use_connection = false
139 140
}

141 142 143 144 145 146 147 148 149 150 151
file_transfers {

	# Enable file transfers feature.
	enabled = true

	# Send files to IRC user with DCC, and accept to receive
	# file from user to send to IM.
	dcc = true

	# Port range to listen for DCC.
	port_range = 1024-65535
152 153 154 155 156 157

	# Force minbif to always send DCC requests from a particular IP address.
	# This is *NOT* the bind address.
	#
	# When not set, it tries to guess your public IP address.
	# dcc_own_ip = 127.0.0.1
158 159
}

160 161
# Log function
logging {
162

163
	# What you want to log
Romain Bignon's avatar
Romain Bignon committed
164 165
	#       DEBUG       :Debug information (discouraged)
	#       PARSE       :Parse information (discouraged)
166
	#       PURPLE      :Purple warning messages
Romain Bignon's avatar
Romain Bignon committed
167
	#       DESYNCH     :Desynchronization
168 169
	#       WARNING     :Warnings
	#       ERR         :Errors
Romain Bignon's avatar
Romain Bignon committed
170
	#       INFO        :Information
171 172
	#       ALL         :Show all infos
	# You can put several logging level on the same line, separated by a space
Romain Bignon's avatar
Romain Bignon committed
173
	level = INFO ERR WARNING DESYNCH
174 175 176

	# Wether to log errors and warning to syslog
	to_syslog = true
177 178 179 180 181 182

	# Enable conversation logging
	# We consider that it's the IRC client job, but if you use the same
	# purple directory with an other purple client, you'd want to keep
	# logs at the same place.
	conv_logs = false
183
}