1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
4 <refentry id="ctrlproxy_config.5" xmlns:xi="http://www.w3.org/2003/XInclude">
7 <refentrytitle>ctrlproxy_config</refentrytitle>
8 <manvolnum>5</manvolnum>
12 <refname>ctrlproxy_config</refname>
13 <refpurpose>Configuration file for ctrlproxy</refpurpose>
17 <title>DESCRIPTION</title>
19 Ctrlproxy uses a configuration directory called <filename>.ctrlproxy</filename>
20 that lives inside the users' home directory. The main configuration
21 file lives in this directory and is called <filename>config</filename>. It
22 is an ini-style configuration file with sections and key-value pairs.
26 This manpage discusses the variables that can be set in this file
27 in a standard ControlProxy installation.
33 <title>SETTINGS</title>
36 <title>[global]</title>
38 <para>The [global] section contains some of the most important settings.</para>
40 <xi:include href="config-reference.xml"/>
45 <title>[admin]</title>
47 <para>If the [admin] section is present, ControlProxy will
48 create a fake network with a control channel that can
49 be used for administration.
54 <term>no_privmsg</term>
56 Don't interpret messages to the
57 user <emphasis>ctrlproxy</emphasis> as administration commands.
60 This option would be needed if you want to be able to
61 send messages to an actual user with the
62 nickname <emphasis>ctrlproxy</emphasis>.
69 <title>[log-custom]</title>
72 If the [log-custom] section is present, ControlProxy
73 will write a log to <filename>~/.ctrlproxy/log-custom/</filename>
78 <title>[log-irssi]</title>
80 <para>If the [log-irssi] section is present, ControlProxy
81 will write irssi-style log files to <filename>~/.ctrlproxy/log-irssi/NETWORK/CHANNEL</filename>.
88 Directory in which logs will be written (defaults
89 to <filename>~/.ctrlproxy/log-irssi/</filename>.
96 <title>[auto-away]</title>
99 Add this section to automatically change the state of the
100 user to AWAY when the user is idle for a specific username.</para>
110 <term>client_limit</term>
112 Integer variable. After idle for the specified time,
113 the connection will only be changed to away if there are
114 not more than client_limit connected. The default is -1
115 (always set idle no matter how many clients there are).
116 To achive the behavior of the old variable <term>only_noclient</term>,
117 set client_limit to 0.
124 Number of seconds of idleness after which the
125 connection should be set to away. Default is 10 minutes.
136 <title>[socks]</title>
139 If the [socks] section is present, ControlProxy will listen
140 for SOCKS connections.</para>
146 TCP/IP port to listen on for new connections.
152 Semicolon-separeted list of usernames and passwords allowed
153 to connect. Separate user name and password by a colon.
161 <title>[nickserv]</title>
171 <title>[listener]</title>
177 Automatically start a listener on a new port for
178 each network that ctrlproxy connects to.</para></listitem>
181 <term>autoport</term>
183 First port of port range used when adding new listeners.
188 <term>password</term>
190 Password that the user should specify to log in.
198 Specifies whether the incoming connections will be SSL.
205 The network this listener will connect clients to, if
206 not specified otherwise.
209 If no network is set, clients will have to select
210 a network upon connect using the <command>CONNECT</command>
221 <title>REPLICATION</title>
223 <para>When a client connects, ctrlproxy will send information about
224 the channels the user is on. Optionally, it can also send
225 some of the messages that were received before the client connected
230 The <parameter>replication</parameter> variable determines what
231 kind of replication is used. At the moment, the following
232 values are supported:
238 <listitem><para>No replication.</para></listitem>
242 <term>highlight</term>
244 Send messages that one of a set of regular expressions.
245 The regular expressions should be specified in
246 variable.</para></listitem>
250 <term>lastdisconnect</term>
252 Send all messages since the last client disconnected.
259 Send all messages since the last message said by
260 the user.</para></listitem>
267 <title>SEE ALSO</title>
269 <para>ctrlproxy (1), config.example, http://ctrlproxy.vernstok.nl/</para>
274 <title>LICENSE</title>
277 This program is free software; you can redistribute it and/or modify
278 it under the terms of the GNU General Public License as published by
279 the Free Software Foundation; either version 2 of the License, or
280 (at your option) any later version.
284 This program is distributed in the hope that it will be useful, but
285 <emphasis>WITHOUT ANY WARRANTY</emphasis> without even the implied warranty of
286 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
287 General Public License for more details.
291 You should have received a copy of the GNU General Public License
292 along with this program; if not, write to the Free Software
293 Foundation, Inc., 59 Temple PLace, Suite 330, Boston, MA 02111-1307 USA
302 CtrlProxy currently does not warn about unknown configuration
308 <title>AUTHOR</title>
311 <ulink url="mailto:jelmer@nl.linux.org">Jelmer Vernooij</ulink>