123 lines
3.6 KiB
Plaintext
123 lines
3.6 KiB
Plaintext
# bip default config file.
|
|
# Thou shoult change thy password
|
|
|
|
ip = "0.0.0.0";
|
|
|
|
# To connect a client to bip, try the port below, and
|
|
# be sure to set the username and password to the values
|
|
# specified in the network you want to connect to.
|
|
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
|
|
# for bip with 'make cert'
|
|
client_side_ssl = false;
|
|
|
|
log_level = 3;
|
|
|
|
# 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";
|
|
|
|
# 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, ...)
|
|
#log_format = "%n/%Y-%m/%c.%d.log";
|
|
|
|
# Sets the frequency (in seconds) of log syncing (real write to kernel)
|
|
#log_sync_interval = 5;
|
|
|
|
# Makes bip send the log of each channel and privates while
|
|
# you were not connected to the proxy upon connection.
|
|
#no_backlog = false; # disable backlog
|
|
backlog_lines = 10; # number of lines in backlog, 0 means no limit
|
|
always_backlog = true; # backlog even lines already backlogged
|
|
|
|
# Network definition, a name and server info
|
|
network {
|
|
name = "iiens";
|
|
server { host = "irc.iiens.net"; port = 6667; };
|
|
};
|
|
|
|
network {
|
|
name = "freenode";
|
|
server { host = "irc.freenode.org"; port = 6667; };
|
|
server { host = "brown.freenode.net"; port = 6667; };
|
|
server { host = "thunder.stealer.net"; port = 6667; };
|
|
};
|
|
|
|
# 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:
|
|
# - Use the multi server feature of your client, the server beeing each time
|
|
# the server where bip is running. In your client setup realname or username
|
|
# to the value of login in the corresponding connection.
|
|
|
|
# User structure is grouping information for a given user
|
|
user {
|
|
# The name in bip of the user
|
|
# This is used by bip only
|
|
name = "nohar";
|
|
# this user's password
|
|
password = "233a8d53b55a268d4a84a3acdd5ed57d"; # (md5(md5("tata")))
|
|
|
|
# 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
|
|
|
|
login = "bipbip"; # used to auth user and to diffenciate
|
|
# among multiple connections of a user.
|
|
# in your irc client setup username or
|
|
# realname to this login value.
|
|
|
|
# Information sent to the irc server:
|
|
nick = "bip`luser";
|
|
user = "bipbip";
|
|
realname = "coyote";
|
|
#password = "serverpassword";
|
|
|
|
# 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"; };
|
|
};
|
|
connection {
|
|
name = "freenode"; # used by bip only
|
|
network = "freenode"; # which ircnet to connect to
|
|
|
|
login = "bipfnode"; # used to auth user and to diffenciate
|
|
# among multiple connections of a user.
|
|
# in your irc client setup username or
|
|
# realname to this login value.
|
|
|
|
# Information sent to the irc server:
|
|
nick = "bip`luser";
|
|
user = "bipbip";
|
|
realname = "coyote";
|
|
#password = "serverpassword";
|
|
|
|
# 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"; };
|
|
};
|
|
};
|