2005-04-28 10:26:44 +02:00
|
|
|
# bip default config file.
|
|
|
|
# Thou shoult change thy password
|
|
|
|
|
2007-05-23 21:32:54 +02:00
|
|
|
# Listening IP address. This is the IP address bip will listen for incoming
|
|
|
|
# client connections.
|
2005-04-28 10:26:44 +02:00
|
|
|
ip = "0.0.0.0";
|
|
|
|
|
|
|
|
# To connect a client to bip, try the port below, and
|
2005-07-12 21:24:26 +02:00
|
|
|
# be sure to set the password to the value
|
2005-04-28 10:26:44 +02:00
|
|
|
# specified in the network you want to connect to.
|
2007-05-23 21:35:22 +02:00
|
|
|
# Port is 6667 by default.
|
2005-04-28 10:26:44 +02:00
|
|
|
port = 7778;
|
|
|
|
|
|
|
|
# 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
|
2007-09-04 00:24:50 +02:00
|
|
|
# for bip using scripts/bipgenconfig.
|
2005-04-28 10:26:44 +02:00
|
|
|
client_side_ssl = false;
|
|
|
|
|
2008-01-07 14:27:37 +01:00
|
|
|
# This is the file containing the SSL cert/key pair bip'll use to
|
|
|
|
# serve SSL clients. If unset, it defaults to <biphome>/bip.pem
|
2008-01-07 20:42:40 +01:00
|
|
|
#client_side_ssl_pem = "/path/to/pemfile";
|
2008-01-07 14:27:37 +01:00
|
|
|
|
2008-02-04 18:36:35 +01:00
|
|
|
# Define where the pidfile should be stored. Defaults to <biphome>/bip.pid
|
2006-07-12 20:10:32 +02:00
|
|
|
#pid_file="/var/run/bip/bip.pid";
|
|
|
|
|
2008-02-04 18:36:35 +01:00
|
|
|
# Uncomment this line to disable logging and backlogging.
|
|
|
|
#log = false
|
|
|
|
|
|
|
|
# Define bip's log level :
|
|
|
|
# 0 : only fatal errors
|
|
|
|
# 1 : add others errors
|
|
|
|
# 2 : add warnings
|
|
|
|
# 3 : add info messages
|
|
|
|
# 4 : add debug messages
|
|
|
|
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.
|
|
|
|
#log_root = "/var/proxy/logs";
|
|
|
|
|
2007-09-26 14:45:30 +02:00
|
|
|
# Uncomment this line to disable bip's internal messages logging.
|
|
|
|
# This is not recommended, a better option is to reduce log_level.
|
|
|
|
#log_system = false;
|
|
|
|
|
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 :
|
|
|
|
# %u -> user name
|
|
|
|
# %n -> network name
|
|
|
|
# %Y -> 4 digit year
|
|
|
|
# %m -> 2 digit month
|
|
|
|
# %d -> 2 digit day
|
|
|
|
# %c -> destination (#chan, privates, ...)
|
2007-11-14 22:03:58 +01:00
|
|
|
#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;
|
|
|
|
|
|
|
|
# Network definition, a name and server info
|
|
|
|
network {
|
|
|
|
name = "iiens";
|
|
|
|
server { host = "irc.iiens.net"; port = 6667; };
|
|
|
|
};
|
|
|
|
|
|
|
|
network {
|
2006-07-02 15:51:43 +02:00
|
|
|
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 !
|
|
|
|
network {
|
|
|
|
name = "oftcs";
|
2007-03-24 12:58:58 +01:00
|
|
|
ssl = true;
|
2007-03-23 22:45:03 +01:00
|
|
|
server { host = "ircs.oftc.net"; port = 9999; };
|
|
|
|
};
|
|
|
|
|
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
|
2005-07-12 21:24:26 +02:00
|
|
|
# the server where bip is running. In your client setup server password to:
|
|
|
|
# username:password:connectionname
|
2005-12-14 23:11:38 +01:00
|
|
|
# - do not store the password in clear here, use the bipmkpw util to generate
|
2005-07-12 21:24:26 +02:00
|
|
|
# a hash
|
2005-04-28 10:26:44 +02:00
|
|
|
|
|
|
|
# User structure is grouping information for a given user
|
|
|
|
user {
|
|
|
|
# The name in bip of the user
|
|
|
|
# This is used by bip only
|
2006-06-08 20:55:26 +02:00
|
|
|
name = "bip4ever";
|
2007-09-02 14:59:19 +02:00
|
|
|
# this user's password (md5(md5("tata"))) with seed - generated by
|
|
|
|
# bipmkpw
|
2005-05-30 20:01:00 +02:00
|
|
|
password = "3880f2b39b3b9cb507b052b695d2680859bfc327";
|
2005-04-28 10:26:44 +02:00
|
|
|
|
2008-01-20 18:49:44 +01:00
|
|
|
# Set this to true if you want "bip4ever" to have admin privileges on
|
|
|
|
# bip He'll be able to RELOAD bip and see all users' configuration
|
|
|
|
# (except pass)
|
2007-09-26 14:45:30 +02:00
|
|
|
admin = true;
|
|
|
|
|
2007-09-28 13:20:32 +02:00
|
|
|
# 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.
|
|
|
|
#bip_use_notice = true;
|
|
|
|
|
2005-06-04 13:05:54 +02:00
|
|
|
# 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
|
2005-06-04 13:05:54 +02:00
|
|
|
# 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...
|
2005-06-04 13:05:54 +02:00
|
|
|
ssl_check_mode = "none";
|
|
|
|
|
|
|
|
# Location of the user's store for 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's a directory of a standard openssl store; you must
|
|
|
|
# put PEM objects (certificates, CRLs...) with .pem extension and run
|
|
|
|
# `c_rehash .' in it
|
2006-06-08 20:55:26 +02:00
|
|
|
ssl_check_store = "/home/bip4ever/.bip/trustedcerts.txt";
|
2005-06-04 13:05:54 +02:00
|
|
|
|
2008-01-20 18:49:44 +01:00
|
|
|
# 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.
|
|
|
|
# ssl_client_certfile = "/home/bip4ever/.bip/bip4ever_client_auth.pem";
|
|
|
|
|
2005-07-09 14:55:01 +02:00
|
|
|
# These will be the default for each connections
|
2006-06-08 20:55:26 +02:00
|
|
|
default_nick = "bip4ever";
|
|
|
|
default_user = "bip4ever";
|
|
|
|
default_realname = "bip4ever";
|
2005-07-09 14:55:01 +02:00
|
|
|
|
2007-09-02 14:59:19 +02:00
|
|
|
# Makes bip send the log of each channel and privates while
|
|
|
|
# you were not connected to the proxy upon connection.
|
|
|
|
#backlog = true; # enable backlog
|
|
|
|
backlog_lines = 10; # number of lines in backlog, 0 means
|
|
|
|
# no limit
|
|
|
|
backlog_always = true; # backlog even lines already backlogged
|
2008-02-04 18:36:35 +01:00
|
|
|
# = do not reset backlog when no client
|
|
|
|
# attached anymore
|
2007-09-02 14:59:19 +02:00
|
|
|
#backlog_no_timestamp = false; # Disables time stamps if you find them
|
|
|
|
# ugly.
|
|
|
|
|
|
|
|
# If blreset_on_talk talking on an irc network has the same effect of
|
2009-01-17 12:50:39 +01:00
|
|
|
# issuing /bip blreset <current window>, meaning that stuffed logged
|
|
|
|
# before the command won't be read back on backlog
|
2008-02-04 18:36:35 +01:00
|
|
|
#backlog_reset_on_talk = false;
|
2009-01-17 12:50:39 +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.
|
|
|
|
#backlog_reset_connection = true;
|
2007-09-02 14:59:19 +02:00
|
|
|
|
|
|
|
# If bl_msg_only is true, only channel and private messages will be
|
|
|
|
# backlogged upon the reconnection of a client. Default is false, thus
|
|
|
|
# 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:
|
|
|
|
connection {
|
|
|
|
name = "iiens"; # used by bip only
|
|
|
|
network = "iiens"; # which ircnet to connect to
|
|
|
|
|
2007-10-06 15:40:56 +02:00
|
|
|
# You can define ssl_check_mode here, if you want a different
|
2007-09-27 01:08:10 +02:00
|
|
|
# behavior than the one defined in the parent user {}.
|
|
|
|
#ssl_check_mode = "none";
|
|
|
|
|
2006-11-15 22:13:51 +01:00
|
|
|
# If you have multiple IP addresses, you can set the one you
|
2007-05-23 21:34:12 +02:00
|
|
|
# want bip to use here. See manpage for more information.
|
2006-11-15 22:13:51 +01:00
|
|
|
#vhost = "192.168.10.6";
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
#source_port = "4567";
|
2005-04-28 10:26:44 +02:00
|
|
|
|
2005-07-12 21:24:26 +02:00
|
|
|
# these will be sent to the real server
|
2008-02-04 18:36:35 +01:00
|
|
|
#nick = "othernick";
|
2005-07-12 21:24:26 +02:00
|
|
|
#user = "otheruser";
|
|
|
|
#realname = "otheruser";
|
2005-04-28 10:26:44 +02:00
|
|
|
#password = "serverpassword";
|
|
|
|
|
|
|
|
# Some options:
|
|
|
|
#away_nick = "bip`away";
|
2006-11-15 22:13:51 +01:00
|
|
|
# Away message to be set when no client is connected
|
|
|
|
#no_client_away_msg = "Having life, knock again later";
|
2005-04-28 10:26:44 +02:00
|
|
|
#follow_nick = true;
|
|
|
|
#ignore_first_nick = true;
|
|
|
|
|
2009-01-21 17:24:54 +01:00
|
|
|
#autojoin_on_kick = false;
|
2009-02-08 12:36:49 +01:00
|
|
|
#ignore_server_capab = false;
|
2009-01-21 17:24:54 +01:00
|
|
|
|
2005-04-28 10:26:44 +02:00
|
|
|
# Autojoined channels:
|
|
|
|
channel { name = "#bip"; };
|
2006-02-02 10:31:23 +01:00
|
|
|
# Password protected channel
|
|
|
|
channel {
|
|
|
|
name = "#elite_UnDeRgR0uNd";
|
2007-09-26 14:45:30 +02:00
|
|
|
key = "sikiour";
|
2006-02-02 10:31:23 +01:00
|
|
|
};
|
2007-09-27 01:08:10 +02:00
|
|
|
channel {
|
|
|
|
name = "#huge(28)_activity";
|
|
|
|
# disable backlogging of this channel.
|
|
|
|
backlog = false;
|
|
|
|
};
|
2005-04-28 10:26:44 +02:00
|
|
|
};
|
2005-07-12 21:24:26 +02:00
|
|
|
|
2009-01-16 12:30:24 +01:00
|
|
|
# another connection (optional)
|
2005-04-28 10:26:44 +02:00
|
|
|
connection {
|
2006-07-02 15:51:43 +02:00
|
|
|
name = "oftc"; # used by bip only
|
|
|
|
network = "oftc"; # 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;
|
|
|
|
#on_connect_send = "PRIVMSG NickServ :IDENTIFY nspassword";
|
|
|
|
|
|
|
|
# Autojoined channels:
|
|
|
|
channel { name = "#bip"; };
|
|
|
|
};
|
|
|
|
};
|