1
0
forked from bip/bip
bip/samples/bip.conf

280 lines
9.6 KiB
Plaintext
Raw Normal View History

2005-04-28 10:26:44 +02:00
# bip default config file.
# Thou shoult change thy password
2017-02-23 16:56:17 +01:00
# Default values are commented out.
2007-05-23 21:32:54 +02:00
# Listening IP address. This is the IP address bip will listen for incoming
# client connections.
2017-02-23 16:56:17 +01:00
#ip = "0.0.0.0";
2005-04-28 10:26:44 +02:00
# To connect a client to bip, try the port below, and
# be sure to set the password to the value
2017-02-28 16:22:53 +01:00
# specified in the network you want to connect to.
2017-02-23 16:56:17 +01:00
# Port is 7778 by default.
#port = 7778;
2005-04-28 10:26:44 +02:00
# If you set this to true, you'll only be able to connect to bip
# with a SSL capable IRC client. Be sure to generate a certificate
# for bip using scripts/bipgenconfig.
2017-02-23 16:56:17 +01:00
#client_side_ssl = false;
2005-04-28 10:26:44 +02:00
# This is the file containing the SSL cert/key pair bip'll use to
# serve SSL clients. If unset, it defaults to <bipdir>/bip.pem
2017-02-23 16:56:17 +01:00
# Supply at least 2048-bit parameters, for example using openssl:
# openssl dhparam -out dh.pem 2048;
#client_side_ssl_pem = "<bipdir>/bip.pem";
# OpenSSL cipher lists used with SSL client connections.
2017-02-23 16:56:17 +01:00
# If not set, OpenSSL default ciphers will be used. See OpenSSL ciphers
# command. An example value: "ECDHE-RSA-AES128-GCM-SHA256".
#client_side_ciphers = ;
2016-07-05 09:18:07 +02:00
# DH parameters bip'll use when serving SSL clients.
# Supply at least 2048-bit parameters, for example using openssl:
# openssl dhparam -out dh.pem 2048;
2017-02-23 16:56:17 +01:00
#client_side_dh_param = "<bipdir>/dh.pem";
2016-07-05 09:18:07 +02:00
# Default OpenSSL cipher lists used with outgoing connections to IRC servers.
2017-02-23 16:56:17 +01:00
# If not set, OpenSSL default ciphers will be used. See OpenSSL ciphers
# command. An example value: "ECDHE-RSA-AES128-GCM-SHA256".
# If not set, OpenSSL default ciphers will be used.
#ssl_default_ciphers = ;
2017-02-23 16:56:17 +01:00
# Define where the pidfile should be stored. Defaults to <bipdir>/bip.pid.
#pid_file="";
2006-07-12 20:10:32 +02:00
# Defaults to false, whether to write oidentd.conf files (see below).
#write_oidentd = true;
2016-06-29 19:55:27 +02:00
# Defaults to <bipdir>/.oidentd.conf
#oidentd_file="";
2017-02-23 16:56:17 +01:00
# Set to false and uncomment this line to disable logging and backlogging.
#log = true
# Define bip's log level :
# 0 : only fatal errors
# 1 : add others errors
# 2 : add warnings
# 3 : add info messages
# 4 : add debug messages
2017-02-23 16:56:17 +01:00
#log_level = 3;
2005-04-28 10:26:44 +02:00
# This is where logs go. Channel and private messages will use that
# configuration value as a prefix, and then log_format to determine
# full log filename. Defaults to <bipdir>/logs.
2017-02-23 16:56:17 +01:00
#log_root = "";
2005-04-28 10:26:44 +02:00
2017-02-23 16:56:17 +01:00
# Set to false and uncomment this line to disable bip's internal messages
# logging. This is not recommended, a better option is to reduce log_level.
#log_system = true;
2005-04-28 10:26:44 +02:00
# Log format allows you to make log filenames depend on the log line's
# attributes. Here's a list :
2017-02-28 16:23:21 +01:00
# %u -> username
2005-04-28 10:26:44 +02:00
# %n -> network name
# %Y -> 4 digit year
# %m -> 2 digit month
# %d -> 2 digit day
# %h -> 2 digit hour of the day
# %c -> destination (#chan, nick, ...)
#log_format = "%u/%n/%Y-%m/%c.%d.log";
2005-04-28 10:26:44 +02:00
# Sets the frequency (in seconds) of log syncing (real write to kernel)
#log_sync_interval = 5;
# Sets the initial delay (in seconds) before a reconnection attempt.
# The delay increases with the number of attempts:
# delay = reconn_timer * number of attempts
#reconn_timer = 120;
2005-04-28 10:26:44 +02:00
# Network definition, a name and server info
2017-02-28 16:21:52 +01:00
#network {
# name = "iiens";
# server { host = "irc.iiens.net"; port = 6667; };
#};
2005-04-28 10:26:44 +02:00
2017-02-28 16:21:52 +01:00
#network {
# name = "oftc";
# server { host = "irc.oftc.net"; port = 6667; };
# server { host = "other.oftc.server"; port = 6667; };
#};
2005-04-28 10:26:44 +02:00
2007-03-23 22:45:03 +01:00
# SSL network sample. SSL is per-network option, not per-server !
2017-02-28 16:21:52 +01:00
#network {
# name = "oftcs";
# ssl = true;
# server { host = "ircs.oftc.net"; port = 9999; };
#};
2007-03-23 22:45:03 +01:00
2005-04-28 10:26:44 +02:00
# Configuration example with one user who connects to two irc networks
# To use the multi-server feature:
# - define the connections
# - chose and setup a different login for each connection
# on your irc client:
2009-01-16 15:09:22 +01:00
# - Use the multi server feature of your client, the server being each time
# the server where bip is running. In your client setup server password to:
# username:password:connectionname
# - do not store the password in clear here, use the bipmkpw util to generate
2017-02-28 16:23:21 +01:00
# a hash
2005-04-28 10:26:44 +02:00
# User structure is grouping information for a given user
2017-02-23 16:56:17 +01:00
#user {
2017-02-28 16:23:21 +01:00
# The name in bip of the user, required. This is used by bip only.
2017-02-23 16:56:17 +01:00
#name = ;
# This user's password (md5(md5("tata"))) with seed - generated by
2017-02-28 16:23:21 +01:00
# bipmkpw, for example: "3880f2b39b3b9cb507b052b695d2680859bfc327".
2017-02-23 16:56:17 +01:00
#password = ;
2005-04-28 10:26:44 +02:00
2017-02-23 16:56:17 +01:00
# Set this to true if you want this user to have admin privileges on
# bip. User will be able to RELOAD bip and see all users' configuration
# (except pass).
#admin = false;
# When bip_use_notice is true, bip will send internal messages like
# disconnection notifications or /BIP commands replies as notices
# instead of private messages. The default is false.
2017-02-23 16:56:17 +01:00
#bip_use_notice = false;
# SSL certificates checking mode for user:
2005-08-25 10:17:10 +02:00
# - "none" to accept anything;
# - "basic" to accept if the certificate is contained in the store;
# In "basic" mode, encountered untrusted certificates can be added to
# the store interactively by connecting a client and "trusting" them.
# - "ca" to do a complete certificate chain checking with the objects
# in the store below (you have to put in it every cert, CRL, up to the
2005-08-25 10:17:10 +02:00
# root CA). You have to build your store manually, so you may prefer
# using "basic" unless you're a crypto zealot...
2017-02-23 16:56:17 +01:00
#ssl_check_mode = "none";
# Location of the user's store for server SSL certificate check
2005-08-25 10:17:10 +02:00
# In "basic" mode, that must point to a single file with all trusted
# certs concatenated together (the interactive "trust" appends to this
# file).
# In "ca" mode, it can be either:
# - a directory of a standard openssl store; you must put PEM objects
# (certificates, CRLs...) with .pem extension and run `c_rehash .' in it
# - a certificate bundle file containing one or more certificates in PEM
# format, enclosed in BEGIN CERTIFICATE / END CERTIFICATE lines
# - unspecified: in this case, bip will attempt to use the default
2017-02-23 16:56:17 +01:00
# certificate store of the OpenSSL it is built against. This is the default.
#ssl_check_store = "";
# Some networks (OFTC at least) allow you to authenticate to nickserv
# using client side certificates, see
# http://www.oftc.net/oftc/NickServ/CertFP
# This is where you put your user's certificate.
2017-02-23 16:56:17 +01:00
# The default is not to use a certificate.
#ssl_client_certfile = "";
2017-02-23 16:56:17 +01:00
# These will be the default for each connections.
#default_nick = ;
#default_user = ;
#default_realname = ;
2005-07-09 14:55:01 +02:00
# Makes bip send the log of each channel and privates while
2017-02-28 16:22:53 +01:00
# you were not connected to the proxy upon connection.
#backlog = true; # enable backlog
2017-02-23 16:56:17 +01:00
#backlog_lines = 10; # number of lines in backlog, 0 means no limit
# When true, backlog even lines already backlogged, do not reset backlog
# when no client attached anymore.
#backlog_always = false;
# When true, disables time stamps if you find them ugly.
#backlog_no_timestamp = false;
# If blreset_on_talk talking on an irc network has the same effect of
# issuing /bip blreset <current window>, meaning that stuffed logged
2017-02-28 16:23:21 +01:00
# before the command won't be read back on backlog.
#backlog_reset_on_talk = false;
2017-02-28 16:23:21 +01:00
# If you have backlog_reset_on_talk set to true, talking in a query
# will reset the backlog for the query. Same goes for channel. With the
# following option set to true, talking in a connection will reset the
# whole connection. The backlog for the current network is reset.
2017-02-23 16:56:17 +01:00
#backlog_reset_connection = false;
# If bl_msg_only is true, only channel and private messages will be
# backlogged upon the reconnection of a client. Default is false, thus
2017-02-28 16:23:21 +01:00
# joins, parts, quits, nick changes, topic changes, ... are backlogged.
#backlog_msg_only = false;
2005-04-28 10:26:44 +02:00
# A user can have mutiple connections to irc networks.
# define a connection:
2017-02-28 16:21:52 +01:00
#connection {
# used by bip only, required (for example: "oftc").
#name = ;
# which ircnet to connect to, required (for example: "oftc").
#network = ;
#log = false; # disable or enable logging and backlogging for
2017-02-23 16:56:17 +01:00
# the current connection. Overrides global
# (top-level) log parameter.
# You can define ssl_check_mode here, if you want a different
2017-02-23 16:56:17 +01:00
# behavior than the one defined in the parent level ('user' section).
2007-09-27 01:08:10 +02:00
#ssl_check_mode = "none";
# If you have multiple IP addresses, you can set the one you
2017-02-23 16:56:17 +01:00
# want bip to use here. This options is totally useless to people who
# only have one IP address.
#vhost = "";
# When source_port is defined, bip will connect to the IRC
# server from this port number. That means the IRC server will
# see the socket coming from <your_ip>:source_port.
2017-02-23 16:56:17 +01:00
#source_port = "";
2005-04-28 10:26:44 +02:00
2017-02-23 16:56:17 +01:00
# These will be sent to the real server. Nick, user and realname are
# required. Default values are defined at the parent level
# (default_nick, default_user, default_realname).
#nick = "othernick";
#user = "otheruser";
#realname = "otheruser";
2017-02-23 16:56:17 +01:00
#password = "server password";
#You can specify this field more than once. BIP will send the text as is to the server.
2017-02-23 16:56:17 +01:00
#on_connect_send = "PRIVMSG NickServ :IDENTIFY nspassword";
2005-04-28 10:26:44 +02:00
# Some options:
#away_nick = "bip`away";
# Away message to be set when no client is connected
#no_client_away_msg = "Having life, knock again later";
2017-02-23 16:56:17 +01:00
#follow_nick = false;
#ignore_first_nick = false;
2005-04-28 10:26:44 +02:00
2017-02-23 16:56:17 +01:00
#autojoin_on_kick = true;
#ignore_server_capab = true;
2005-04-28 10:26:44 +02:00
# Autojoined channels:
2017-02-23 16:56:17 +01:00
#channel { name = "#bip"; }; # name is required.
# Password protected channel
2017-02-28 16:21:52 +01:00
#channel {
# name = "#elite_UnDeRgR0uNd";
# key = "sikiour";
#};
#another channel {
# name = "#huge(28)_activity";
2007-09-27 01:08:10 +02:00
# disable backlogging of this channel.
2017-02-28 16:21:52 +01:00
# backlog = false;
#};
#};
2009-01-16 12:30:24 +01:00
# another connection (optional)
2017-02-28 16:21:52 +01:00
#connection {
#name = "iiens"; # used by bip only
#network = "iiens"; # which ircnet to connect to
2005-04-28 10:26:44 +02:00
# Some options:
#away_nick = "bip`away";
#follow_nick = true;
#ignore_first_nick = true;
# Autojoined channels:
2017-02-28 16:21:52 +01:00
#channel { name = "#bip"; };
#};
#};