Skip to content

Commit

Permalink
Add more documentation to example configs [jdhore]
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11165 e03df62e-2008-0410-955e-edbf42e46eb7
  • Loading branch information
danieldg committed Mar 4, 2009
1 parent d66ce94 commit 2089dfc
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 4 deletions.
22 changes: 19 additions & 3 deletions conf/inspircd.conf.example
Expand Up @@ -161,7 +161,15 @@
# need this ability should know the die and restart password. #
# #

<power
<power
# hash: what hash these passwords are hashed with. requires the module
# for selected hash (m_md5.so, m_sha256.so or m_ripemd160.so) be
# loaded and the password hashing module (m_password_hash.so)
# loaded. Options here are: "md5", "sha256" and "ripemd160".
# Optional, but recommended. Create hashed password with:
# /mkpasswd <hash> <password>
#hash="sha256"

# diepass: Password for opers to use if they need to shutdown (die)
# a server.
diepass=""
Expand Down Expand Up @@ -192,10 +200,18 @@

<connect
# allow: What IP addresses/hosts to allow for this block.
allow="196.12.*"
allow="196.12.*"

# hash: what hash this password is hashed with. requires the module
# for selected hash (m_md5.so, m_sha256.so or m_ripemd160.so) be
# loaded and the password hashing module (m_password_hash.so)
# loaded. Options here are: "md5", "sha256" and "ripemd160".
# Optional, but recommended. Create hashed password with:
# /mkpasswd <hash> <password>
#hash="sha256"

# password: Password to use for this block/user(s)
password="secret"
password="secret"

# port: What port this user is allowed to connect on. (optional)
# The port MUST be set to listen in the bind blocks above.
Expand Down
10 changes: 10 additions & 0 deletions conf/modules.conf.example
Expand Up @@ -594,12 +594,15 @@
#-#-#-#-#-#-#-#-#-#- CUSTOM TITLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#
# name - The username used to identify
# password - The password used to identify
# hash - The hash for the specific user's password (optional)
# m_password_hash.so and a hashing module must be loaded for this to work
# host - Allowed hostmask [optional]
# title - Title shown in whois
# vhost - Displayed host [optional]
#
#<title name="foo" password="bar" title="Official Chat Helper">
#<title name="bar" password="foo" host="ident@host.name" title="Official Chat Helper" vhost="helper.network.chat">
#<title name="foo" password="fcde2b2edba56bf408601fb721fe9b5c338d10ee429ea04fae5511b68fbf8fb9" hash="sha256" title="Official Chat Helper">

#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# DCCALLOW module: Adds the /DCCALLOW command
Expand Down Expand Up @@ -694,6 +697,9 @@
# #
# Your choice of regex engine must match on all servers network-wide.
#
# You may specify specific channels that are exempt from being filtered:
#<exemptfromfilter channel="#blah">
#
#-#-#-#-#-#-#-#-#-#-#- FILTER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
# #
# Optional - If you specify to use the m_filter module, then #
Expand Down Expand Up @@ -1716,10 +1722,14 @@
# user - Username for the vhost. #
# #
# pass - Password for the vhost. #
# #
# hash - The hash for the specific user (optional)
# m_password_hash.so and a hashing module must be loaded for this to work
# #
# host - Vhost to set. #
#
#<vhost user="some_username" pass="some_password" host="some.host">
#<vhost user="foo" password="fcde2b2edba56bf408601fb721fe9b5c338d10ee429ea04fae5511b68fbf8fb9" hash="sha256" host="some.other.host">

#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Watch module: Adds the WATCH command, which is used by clients to
Expand Down
3 changes: 2 additions & 1 deletion conf/opers.conf.example
Expand Up @@ -122,8 +122,9 @@

# hash: what hash this password is hashed with. requires the module
# for selected hash (m_md5.so, m_sha256.so or m_ripemd160.so) be
# loaded and the oper password hashing module (m_password_hash.so)
# loaded and the password hashing module (m_password_hash.so)
# loaded. Options here are: "md5", "sha256" and "ripemd160".
# Create hashed password with: /mkpasswd <hash> <password>
hash="sha256"

# password: a hash of your password (see above option) hashed
Expand Down

0 comments on commit 2089dfc

Please sign in to comment.