Created
July 27, 2015 19:23
-
-
Save rubo77/a4ef86ad38a9aa7fd030 to your computer and use it in GitHub Desktop.
bib example configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 password to the value | |
# 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 = true; | |
log_level = 3; | |
pid_file="/var/run/bip/bip.pid"; | |
# 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/log/bip/"; | |
# 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. | |
backlog = true; # enable backlog | |
backlog_lines = 0; # number of lines in backlog, 0 means no limit | |
backlog_always = false; # backlog even lines already backlogged | |
# If blreset_on_talk talking on an irc network has the same effect of issuing | |
# /bip blreset, meaning that stuffed logged before the command won't be read | |
# back on backlog | |
blreset_on_talk = true; | |
# Network definition, a name and server info | |
network { | |
name = "freenode"; | |
server { host = "chat.freenode.net"; port = 6667; }; | |
}; | |
network { | |
name = "blitzed"; | |
server { host = "irc.blitzed.org"; 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 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 | |
# a hash | |
# User structure is grouping information for a given user | |
user { | |
# The name in bip of the user | |
# This is used by bip only | |
name = "USERNAME; #BIP User account created with bipmkpw | |
password = "00000000000000000000000000000000000000"; # the hash bipmkpw created | |
ssl_check_mode = "none"; | |
# These will be the default for each connections | |
default_nick = "NICKNAME"; #IRC Nick | |
default_user = "IRCUSERNAME"; #IRC User | |
default_realname = "REALNAME"; #IRC Real Name | |
admin = true; | |
backlog_msg_only = true; # When true, | |
# A user can have mutiple connections to irc networks. | |
# define a connection: | |
connection { | |
name = "freenode"; # used by bip only | |
network = "freenode"; # which ircnet to connect to | |
# these will be sent to the real IRC server | |
user = "IRCUSERNAME"; | |
realname = "IRCREALNAME"; | |
password = "serverpassword"; #can be commented out if not needed | |
# Some options: | |
follow_nick = true; | |
ignore_first_nick = false; | |
#on_connect_send = "PRIVMSG NickServ :IDENTIFY nspassword"; | |
# Autojoined channels: | |
channel { name = "#cat"; }; # Join #cat | |
channel { name = "#dog"; backlog = false; }; # Join #dog but don't backlog it. | |
channel { name = "#pig"; key = "01nk01nk"; }; # Join #pig that has a password. | |
}; | |
connection { | |
name = "blitzed"; # used by bip only | |
network = "blitzed"; # which ircnet to connect to | |
# these will be sent to the real IRC server | |
user = "IRCUSERNAME"; | |
realname = "IRCREALNAME"; | |
password = "serverpassword"; #can be commented out if not needed | |
# Some options: | |
follow_nick = true; | |
ignore_first_nick = false; | |
#on_connect_send = "PRIVMSG NickServ :IDENTIFY nspassword"; | |
# Autojoined channels: | |
channel { name = "#bar"; }; | |
channel { name = "#foo"; }; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment