Advertisement
Guest User

Untitled

a guest
Dec 30th, 2016
372
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 108.62 KB | None | 0 0
  1. #-#-#-#-#-#-#-#-#-#-#-#-#- MODULE OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
  2. # #
  3. # These tags define which modules will be loaded on startup by your #
  4. # server. Add modules without any paths. When you make your ircd #
  5. # using the 'make' command, all compiled modules will be moved into #
  6. # the folder you specified when you ran ./configure. The module tag #
  7. # automatically looks for modules in this location. #
  8. # If you attempt to load a module outside of this location, either #
  9. # in the config, or via /LOADMODULE, you will receive an error. #
  10. # #
  11. # By default, ALL modules are commented out. You must uncomment them #
  12. # or add lines to your config to load modules. Please refer to #
  13. # http://wiki.inspircd.org/Modules for a list of modules and #
  14. # each modules link for any additional conf tags they require. #
  15. # #
  16. # ____ _ _____ _ _ ____ _ _ _ #
  17. # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
  18. # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
  19. # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
  20. # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
  21. # #
  22. # To link servers to InspIRCd, you MUST load the m_spanningtree #
  23. # module. If you don't do this, server links will NOT work at all. #
  24. # This is by design, to allow for the implementation of other linking #
  25. # protocols in modules in the future. This module is at the bottom of #
  26. # this file. #
  27. # #
  28.  
  29. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  30. # MD5 module: Allows other modules to generate MD5 hashes, usually for
  31. # cryptographic uses and security.
  32. #
  33. # IMPORTANT:
  34. # Other modules such as m_cloaking.so and m_password_hash.so may rely on
  35. # this module being loaded to function.
  36. #
  37. <module name="m_md5.so">
  38. #
  39. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  40. # SHA256 module: Allows other modules to generate SHA256 hashes,
  41. # usually for cryptographic uses and security.
  42. #
  43. # IMPORTANT:
  44. # Other modules such as m_password_hash.so may rely on this module being
  45. # loaded to function. Certain modules such as m_spanningtree.so will
  46. # function without this module but when it is loaded their features will
  47. # be enhanced (for example the addition of HMAC authentication).
  48. #
  49. #<module name="m_sha256.so">
  50. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  51. # RIPEMD160 module: Allows other modules to generate RIPEMD160 hashes,
  52. # usually for cryptographic uses and security.
  53. #
  54. # IMPORTANT:
  55. # Other modules may rely on this module being loaded to function.
  56. #<module name="m_ripemd160.so">
  57.  
  58. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  59. # Abbreviation module: Provides the ability to abbreviate commands a-la
  60. # BBC BASIC keywords.
  61. #<module name="m_abbreviation.so">
  62.  
  63. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  64. # Alias module: Allows you to define server-side command aliases.
  65. <module name="m_alias.so">
  66. #
  67. # Set the 'prefix' for in-channel aliases (fantasy commands) to the
  68. # specified character. If not set, the default is "!".
  69. # If 'allowbots' is disabled, +B clients will not be able to use
  70. # fantasy commands. If not set, the default is no.
  71. <fantasy prefix="!" allowbots="no">
  72. #
  73. #-#-#-#-#-#-#-#-#-#-#- ALIAS DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
  74. # #
  75. # If you have the m_alias.so module loaded, you may also define #
  76. # aliases as shown below. They are commonly used to provide shortcut #
  77. # commands to services, however they are not limited to just this use.#
  78. # An alias tag requires the following values to be defined in it: #
  79. # #
  80. # text - The text to detect as the actual command line. #
  81. # Can't contain spaces, but case insensitive. #
  82. # You may have multiple aliases with the same #
  83. # command name (text="" value), however the first #
  84. # found will be executed if its format value is #
  85. # matched, or it has no format value. Aliases are #
  86. # read from the top of the file to the bottom. #
  87. # #
  88. # usercommand - If this is true, the alias can be run simply as #
  89. # /aliasname. Defaults to true. #
  90. # #
  91. # channelcommand - If this is true, the alias can be used as an #
  92. # in-channel alias or 'fantasy command', prefixed #
  93. # by the fantasy prefix character, !aliasname by #
  94. # default. Defaults to false. #
  95. # #
  96. # format - If this is defined, the parameters of the alias #
  97. # must match this glob pattern. For example if you #
  98. # want the first parameter to start with a # for #
  99. # the alias to be executed, set format="#*" in the #
  100. # alias definition. Note that the :'s which are #
  101. # part of IRC formatted lines will be preserved #
  102. # for matching of this text. This value is #
  103. # optional. #
  104. # #
  105. # replace - The text to replace 'text' with. Usually this #
  106. # will be "PRIVMSG ServiceName :$2-" or similar. #
  107. # You may use the variables $1 through $9 in the #
  108. # replace string, which refer to the first through #
  109. # ninth word in the original string typed by the #
  110. # user. You may also use $1- through $9- which #
  111. # refer to the first word onwards, through to the #
  112. # ninth word onwards, e.g. if the user types the #
  113. # command "foo bar baz qux quz" then $3- will hold #
  114. # "baz qux quz" and $2 will contain "bar". You may #
  115. # also use the special variables: $nick, $ident, #
  116. # $host and $vhost, and you may separate multiple #
  117. # commands with a newline (which can be written in #
  118. # the file literally, or encoded as &nl; or \n #
  119. # depending on the config format setting). #
  120. # #
  121. # requires - If you provide a value for 'requires' this means #
  122. # the given nickname MUST be online for the alias #
  123. # to successfully trigger. If they are not, then #
  124. # the user receives a 'no such nick' 401 numeric. #
  125. # #
  126. # uline - Setting this to true will ensure that the user #
  127. # given in 'requires' is also on a u-lined server, #
  128. # as well as actually being on the network. If the #
  129. # user is online, but not on a u-lined server, #
  130. # then an oper alert is sent out as this is #
  131. # possibly a sign of a user trying to impersonate #
  132. # a service. #
  133. # #
  134. # operonly - If true, this will make the alias oper only. #
  135. # If a non-oper attempts to use the alias, it will #
  136. # appear to not exist. #
  137. # #
  138. <alias text="NICKSERV" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
  139. <alias text="CHANSERV" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
  140. <alias text="OPERSERV" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
  141. <alias text="BOTSERV" replace="PRIVMSG BotServ :$2-" requires="BotServ" uline="yes">
  142. <alias text="HOSTSERV" replace="PRIVMSG HostServ :$2-" requires="HostServ" uline="yes">
  143. <alias text="MEMOSERV" replace="PRIVMSG MemoServ :$2-" requires="MemoServ" uline="yes">
  144. <alias text="NS" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
  145. <alias text="CS" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
  146. <alias text="OS" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
  147. <alias text="BS" replace="PRIVMSG BotServ :$2-" requires="BotServ" uline="yes">
  148. <alias text="HS" replace="PRIVMSG HostServ :$2-" requires="HostServ" uline="yes">
  149. <alias text="MS" replace="PRIVMSG MemoServ :$2-" requires="MemoServ" uline="yes">
  150. #
  151. # An example of using the format value to create an alias with two
  152. # different behaviours depending on the format of the parameters.
  153. #
  154. #<alias text="ID" format="#*" replace="PRIVMSG ChanServ :IDENTIFY $2 $3"
  155. # requires="ChanServ" uline="yes">
  156. #
  157. #<alias text="ID" replace="PRIVMSG NickServ :IDENTIFY $2"
  158. # requires="NickServ" uline="yes">
  159. #
  160. # This alias fixes a glitch in xchat 2.6.x and above and the way it
  161. # assumes IDENTIFY must be prefixed by a colon (:) character. It should
  162. # be placed ABOVE the default NICKSERV alias (the first example) listed
  163. # above.
  164. #
  165. #<alias text="NICKSERV" format=":IDENTIFY *" replace="PRIVMSG NickServ :IDENTIFY $3-"
  166. # requires="NickServ" uline="yes">
  167. #
  168. # You may also add aliases to trigger based on something said in a
  169. # channel, aka 'fantasy' commands, configured in the same manner as any
  170. # other alias, with usercommand="no" and channelcommand="yes" The
  171. # command must be preceded by the fantasy prefix when used.
  172. #
  173. #<alias text="CS" usercommand="no" channelcommand="yes"
  174. # replace="PRIVMSG ChanServ :$1 $chan $2-" requires="ChanServ" uline="yes">
  175. #
  176. # This would be used as "!cs <command> <options>", with the channel
  177. # being automatically inserted after the command in the message to
  178. # ChanServ, assuming the fantasy prefix is "!".
  179.  
  180. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  181. # Allowinvite module: Gives channel mode +A to allow all users to use
  182. # /INVITE, and extban A to deny invite from specific masks.
  183. <module name="m_allowinvite.so">
  184.  
  185. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  186. # Alltime module: Shows time on all connected servers at once.
  187. # This module is oper-only and provides /ALLTIME.
  188. # To use, ALLTIME must be in one of your oper class blocks.
  189. <module name="m_alltime.so">
  190.  
  191. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  192. # Auditorium module: Adds channel mode +u which makes everyone else
  193. # except you in the channel invisible, used for large meetings etc.
  194. #<module name="m_auditorium.so">
  195. #
  196. # Auditorium settings:
  197. #
  198. #<auditorium opvisible="no" opcansee="no" opercansee="yes">
  199. #
  200. # opvisible (auditorium-vis in exemptchanops):
  201. # Show channel ops to all users
  202. # opcansee (auditorium-see in exemptchanops):
  203. # Allow ops to see all joins/parts/kicks in the channel
  204. # opercansee:
  205. # Allow opers (channels/auspex) to see see all joins/parts/kicks in the channel
  206. #
  207. # Exemptchanops can be used to adjust the level at which users become visible or
  208. # the level at which they can see the full member list of the channel.
  209.  
  210. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  211. # Autoop module: Adds basic channel access controls via the +w listmode.
  212. # For example +w o:*!Attila@127.0.0.1 will op anyone matching that mask
  213. # on join. This can be combined with extbans, for example +w o:R:Brain
  214. # will op anyone identified to the account "Brain".
  215. # Another useful combination is with SSL client certificate
  216. # fingerprints: +w h:z:72db600734bb9546c1bdd02377bc21d2a9690d48 will
  217. # give halfop to the user(s) having the given certificate.
  218. <module name="m_autoop.so">
  219.  
  220. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  221. # Ban except module: Adds support for channel ban exceptions (+e).
  222. <module name="m_banexception.so">
  223.  
  224. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  225. # Ban redirection module: Allows bans which redirect to a specified
  226. # channel. e.g. +b nick!ident@host#channelbanneduserissentto
  227. #<module name="m_banredirect.so">
  228.  
  229. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  230. # Block amsg module: Attempt to block all usage of /amsg and /ame.
  231. #<module name="m_blockamsg.so">
  232. #
  233. #-#-#-#-#-#-#-#-#-#-#- BLOCKAMSG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  234. # #
  235. # If you have the m_blockamsg.so module loaded, you can configure it #
  236. # with the <blockamsg> tag: #
  237. # #
  238. # delay - How many seconds between two messages to force #
  239. # them to be recognised as unrelated. #
  240. # action - Any of 'notice', 'noticeopers', 'silent', 'kill' #
  241. # or 'killopers'. Define how to take action when #
  242. # a user uses /amsg or /ame. #
  243. #
  244. #<blockamsg delay="3" action="killopers">
  245.  
  246. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  247. # Block CAPS module: Adds channel mode +B, blocks all-CAPS messages.
  248. <module name="m_blockcaps.so">
  249. #
  250. #-#-#-#-#-#-#-#-#-#-#- BLOCKCAPS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  251. # #
  252. # percent - How many percent of text must be caps before text #
  253. # will be blocked. #
  254. # #
  255. # minlen - The minimum length a line must be for the block #
  256. # percent to have any effect. #
  257. # #
  258. # capsmap - A list of chars to be considered CAPS. Can be used #
  259. # to add CAPS characters for your language. Also you #
  260. # can add things like ! and space to further lock #
  261. # down on caps usage. #
  262. #<blockcaps percent="50"
  263. # minlen="5"
  264. # capsmap="ABCDEFGHIJKLMNOPQRSTUVWXYZ! ">
  265.  
  266. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  267. # Block color module: Blocking color-coded messages with chan mode +c.
  268. <module name="m_blockcolor.so">
  269.  
  270. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  271. # Botmode module: Adds the user mode +B. If set on a user, it will
  272. # show that the user is a bot in /WHOIS.
  273. <module name="m_botmode.so">
  274.  
  275. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  276. # CallerID module: Adds usermode +g which activates hybrid-style
  277. # callerid: block all private messages unless you /ACCEPT first.
  278. <module name="m_callerid.so">
  279. #
  280. #-#-#-#-#-#-#-#-#-#-#- CALLERID CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
  281. # maxaccepts - Maximum number of entries a user can add to his #
  282. # /ACCEPT list. Default is 16 entries. #
  283. # operoverride - Can opers (note: ALL opers) override callerid? #
  284. # Default is no. #
  285. # tracknick - Preserve /accept entries when a user changes nick? #
  286. # If no (the default), the user is removed from #
  287. # everyone's accept list if he changes nickname. #
  288. # cooldown - Amount of time (in seconds) that must pass since #
  289. # the last notification sent to a user before he can #
  290. # be sent another. Default is 60 (1 minute). #
  291. <callerid maxaccepts="16"
  292. operoverride="no"
  293. tracknick="no"
  294. cooldown="60">
  295.  
  296. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  297. # CAP module: Provides the CAP negotiation mechanism required by the
  298. # m_sasl, m_namesx, m_uhnames, and m_ircv3 modules.
  299. # It is also recommended for the STARTTLS support in m_ssl_gnutls.
  300. <module name="m_cap.so">
  301.  
  302. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  303. # CBAN module: Lets you disallow channels from being used at runtime.
  304. # This module is oper-only and provides /CBAN.
  305. # To use, CBAN must be in one of your oper class blocks.
  306. <module name="m_cban.so">
  307.  
  308. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  309. # Censor module: Adds channel and user mode +G.
  310. <module name="m_censor.so">
  311. #
  312. #-#-#-#-#-#-#-#-#-#-#- CENSOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
  313. # #
  314. # Optional - If you specify to use the m_censor module, then you must #
  315. # specify some censor tags. See also: #
  316. # http://wiki.inspircd.org/Modules/censor #
  317. #
  318. #<include file="conf/examples/censor.conf.example">
  319.  
  320. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  321. # CGI:IRC module: Adds support for automatic host changing in CGI:IRC
  322. # (http://cgiirc.sourceforge.net).
  323. <module name="m_cgiirc.so">
  324. #
  325. #-#-#-#-#-#-#-#-#-#-#-# CGIIRC CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
  326. #
  327. # Optional - If you specify to use m_cgiirc, then you must specify one
  328. # or more cgihost tags which indicate authorised CGI:IRC servers which
  329. # will be connecting to your network, and an optional cgiirc tag.
  330. # For more information see: http://wiki.inspircd.org/Modules/cgiirc
  331. #
  332. # Set to yes if you want to notice opers when CGI:IRC clients connect.
  333. <cgiirc opernotice="no">
  334. #
  335. # The type field indicates where the module should get the real
  336. # client's IP address from, for further information, please see the
  337. # CGI:IRC documentation.
  338. #
  339. # Old style:
  340. # <cgihost type="pass" mask="www.example.com"> # Get IP from PASS
  341. # <cgihost type="ident" mask="otherbox.example.com"> # Get IP from ident
  342. # <cgihost type="passfirst" mask="www.example.com"> # See the docs
  343. # New style:
  344. # <cgihost type="webirc" password="foobar"
  345. # mask="somebox.example.com"> # Get IP from WEBIRC
  346. #
  347. # IMPORTANT NOTE:
  348. # ---------------
  349. #
  350. # When you connect CGI:IRC clients, there are two connect classes which
  351. # apply to these clients. When the client initially connects, the connect
  352. # class which matches the CGI:IRC site's host is checked. Therefore you
  353. # must raise the maximum local/global clients for this ip as high as you
  354. # want to allow cgi clients. After the client has connected and is
  355. # determined to be a cgi:irc client, the class which matches the client's
  356. # real IP is then checked. You may set this class to a lower value, so that
  357. # the real IP of the client can still be restricted to, for example, 3
  358. # sessions maximum.
  359.  
  360. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  361. # Channel create module: Adds snomask +j, which will notify opers of
  362. # any new channels that are created.
  363. # This module is oper-only.
  364. <module name="m_chancreate.so">
  365.  
  366. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  367. # Channel filter module: Allows channel-op defined message filtering
  368. # using simple string matches (channel mode +g).
  369. <module name="m_chanfilter.so">
  370. #
  371. # If hidemask is set to yes, the user will not be shown the mask when
  372. # his/her message is blocked.
  373. <chanfilter hidemask="yes">
  374.  
  375. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  376. # Channel history module: Displays the last 'X' lines of chat to a user
  377. # joining a channel with +H 'X:T' set; 'T' is the maximum time to keep
  378. # lines in the history buffer. Designed so that the new user knows what
  379. # the current topic of conversation is when joining the channel.
  380. #<module name="m_chanhistory.so">
  381. #
  382. # Set the maximum number of lines allowed to be stored per channel below.
  383. # This is the hard limit for 'X'.
  384. # If notice is set to yes, joining users will get a NOTICE before playback
  385. # telling them about the following lines being the pre-join history.
  386. #<chanhistory maxlines="20" notice="yes">
  387.  
  388. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  389. # Channel logging module: Used to send snotice output to channels, to
  390. # allow staff to centrally monitor and discuss network activity.
  391. #
  392. # The "channel" field is where you want the messages to go, "snomasks"
  393. # is what snomasks you want to be sent to that channel. Multiple tags
  394. # are allowed.
  395. <module name="m_chanlog.so">
  396. <chanlog snomasks="AOcC" channel="#services">
  397.  
  398. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  399. # Channel names module: Allows disabling channels which have certain
  400. # characters in the channel name such as bold, colorcodes, etc. which
  401. # can be quite annoying and allow users to on occasion have a channel
  402. # that looks like the name of another channel on the network.
  403. <module name="m_channames.so">
  404.  
  405. <channames
  406. # denyrange: characters or range of characters to deny in channel
  407. # names.
  408. denyrange="2,3"
  409.  
  410. # allowrange: characters or range of characters to specifically allow
  411. # in channel names.
  412. allowrange="">
  413.  
  414. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  415. # Channelban: Implements extended ban j:, which stops anyone already
  416. # in a channel matching a ban like +b j:#channel*mask from joining.
  417. # Note that by default wildcard characters * and ? are allowed in
  418. # channel names. To disallow them, load m_channames and add characters
  419. # 42 and 63 to denyrange (see above).
  420. #<module name="m_channelban.so">
  421.  
  422. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  423. # Chanprotect module: Gives +q and +a channel modes.
  424. <module name="m_chanprotect.so">
  425.  
  426. <chanprotect
  427. # noservices: With this set to yes, when a user joins an empty channel,
  428. # the server will set +q on them. If set to no, it will only set +o
  429. # on them until they register the channel.
  430. noservices="no"
  431.  
  432. # qprefix: Prefix (symbol) to use for +q users.
  433. qprefix="~"
  434.  
  435. # aprefix: Prefix (symbol) to use for +a users.
  436. aprefix="&amp;"
  437.  
  438. # deprotectself: If this value is set (true, yes or 1), it will allow
  439. # +a and +q users to remove the +a and +q from themselves, otherwise,
  440. # the status will have to be removed by services.
  441. deprotectself="yes"
  442.  
  443. # deprotectothers: If this value is set to yes, true, or 1, then any
  444. # user with +q or +a may remove the +q or +a from other users.
  445. deprotectothers="yes">
  446.  
  447.  
  448. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  449. # Check module: Adds the /CHECK command.
  450. # Check is useful for looking up information on channels, users,
  451. # IP addresses and hosts.
  452. # This module is oper-only.
  453. # To use, CHECK must be in one of your oper class blocks.
  454. <module name="m_check.so">
  455.  
  456. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  457. # CHGHOST module: Adds the /CHGHOST command.
  458. # This module is oper-only.
  459. # To use, CHGHOST must be in one of your oper class blocks.
  460. # NOTE: Services will not be able to set vhosts on users if this module
  461. # isn't loaded. If you're planning on running services, you probably
  462. # want to load this.
  463. <module name="m_chghost.so">
  464. #
  465. #-#-#-#-#-#-#-#-# /CHGHOST - /SETHOST CONFIGURATION #-#-#-#-#-#-#-#-#
  466. # Optional - If you want to use special chars for hostnames you can #
  467. # specify your own custom list of chars with the <hostname> tag: #
  468. # #
  469. # charmap - A list of chars accepted as valid by the /CHGHOST #
  470. # and /SETHOST commands. Also note that the list is #
  471. # case-sensitive. #
  472. #<hostname charmap="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-_/0123456789">
  473.  
  474. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  475. # CHGIDENT module: Adds the /CHGIDENT command.
  476. # This module is oper-only.
  477. # To use, CHGIDENT must be in one of your oper class blocks.
  478. <module name="m_chgident.so">
  479.  
  480. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  481. # CHGNAME module: Adds the /CHGNAME command.
  482. # This module is oper-only.
  483. # To use, CHGNAME must be in one of your oper class blocks.
  484. <module name="m_chgname.so">
  485.  
  486. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  487. # Cloaking module: Adds usermode +x and cloaking support.
  488. # Relies on the module m_md5.so being loaded.
  489. # To cloak users when they connect, load m_conn_umodes and set
  490. # <connect:modes> to include the +x mode. The example <connect> tag
  491. # shows this. See the m_conn_umodes module for more information.
  492. <module name="m_cloaking.so">
  493. #
  494. #-#-#-#-#-#-#-#-#-#-#- CLOAKING CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
  495. # #
  496. # To use m_cloaking, you must define a cloak key, and optionally a #
  497. # cloak prefix as shown below. The cloak key must be shared across #
  498. # the network for correct cloaking. #
  499. # #
  500. # There are four methods of cloaking: #
  501. # #
  502. # half Cloak only the "unique" portion of a host; show #
  503. # the last 2 parts of the domain, /16 subnet of IPv4 #
  504. # or /48 subnet of the IPv6 address. #
  505. # #
  506. # full Cloak the users completely, using three slices for #
  507. # common CIDR bans (IPv4: /16, /24; IPv6: /48, /64). #
  508. # #
  509. # These methods use a single key that can be any length of text. #
  510. # An optional prefix may be specified to mark cloaked hosts. #
  511. # #
  512. # The following methods are maintained for backwards compatibility; #
  513. # they are slightly less secure, and always hide unresolved IPs. #
  514. # #
  515. # compat-host InspIRCd 1.2-compatible host-based cloaking. #
  516. # compat-ip InspIRCd 1.2-compatible ip-always cloaking. #
  517. # #
  518. # If you use a compat cloaking mode then you must specify key1, key2, #
  519. # key3, key4; the values must be less than 0x80000000 and should be #
  520. # picked at random. Prefix is mandatory, will default to network name #
  521. # if not specified, and will always have a "-" appended. #
  522. #
  523.  
  524. <cloak mode="compat-host"
  525. key1="0x2AF39F40"
  526. key2="0x78E10B32"
  527. key3="0x4F2D2E82"
  528. key4="0x043A4C81"
  529. prefix="chatdosti-">
  530.  
  531. #-#-#-#-#-#-#-#-#-#-#-#- CLOSE MODULE #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  532. # Close module: Allows an oper to close all unregistered connections.
  533. # This module is oper-only and provides the /CLOSE command.
  534. # To use, CLOSE must be in one of your oper class blocks.
  535. <module name="m_close.so">
  536.  
  537. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  538. # Clones module: Adds an oper command /CLONES for detecting cloned
  539. # users. Warning: This command may be resource intensive when it is
  540. # issued, use with care.
  541. # This module is oper-only.
  542. # To use, CLONES must be in one of your oper class blocks.
  543. <module name="m_clones.so">
  544.  
  545. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  546. # Common channels module: Adds user mode +c, which, when set, requires
  547. # that users must share a common channel with you to PRIVMSG or NOTICE
  548. # you.
  549. <module name="m_commonchans.so">
  550.  
  551. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  552. # Auto join on connect module: Allows you to force users to join one
  553. # or more channels automatically upon connecting to the server.
  554. #<module name="m_conn_join.so">
  555. #
  556. #-#-#-#-#-#-#-#-#-#-#-#- CONNJOIN CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  557. #
  558. # If you have m_conn_join.so loaded, you can configure it using the
  559. # following values, or set autojoin="#chat,#help" in <connect> blocks.
  560. #
  561. #<autojoin channel="#one,#two,#three">
  562.  
  563. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  564. # Set modes on connect module: When this module is loaded <connect>
  565. # blocks may have an optional modes="" value, which contains modes to
  566. # add or remove from users when they connect to the server.
  567. <module name="m_conn_umodes.so">
  568.  
  569. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  570. # Wait for PONG on connect module: Send a PING to all connecting users
  571. # and don't let them connect until they reply with a PONG.
  572. # This is useful to stop certain kinds of bots and proxies.
  573. #<module name="m_conn_waitpong.so">
  574. #
  575. #-#-#-#-#-#-#-#-#-#-#- WAITPONG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  576. # #
  577. # If you have the m_conn_waitpong.so module loaded, configure it with #
  578. # the <waitpong> tag: #
  579. # #
  580. # sendsnotice - Whether to send a helpful notice to users on #
  581. # connect telling them how to connect, should #
  582. # their client not reply PONG automatically. #
  583. # #
  584. # killonbadreply - Whether to kill the user if they send the wrong #
  585. # PONG reply. #
  586. # #
  587. #<waitpong sendsnotice="yes" killonbadreply="yes">
  588.  
  589. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  590. # Channel cycle module: Adds the /CYCLE command which is a server-side
  591. # /HOP that bypasses restrictive modes.
  592. #<module name="m_cycle.so">
  593.  
  594. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  595. # Connectban: Provides IP connection throttling. Any IP range that
  596. # connects too many times (configurable) in an hour is Z-Lined for a
  597. # (configurable) duration, and their count resets to 0.
  598. <module name="m_connectban.so">
  599. #
  600. # ipv4cidr and ipv6cidr allow you to turn the comparison from
  601. # individual IP addresses (32 and 128 bits) into CIDR masks, to allow
  602. # for throttling over whole ISPs/blocks of IPs, which may be needed to
  603. # prevent attacks.
  604. #
  605. # This allows for 10 connections in an hour with a 10 minute ban if
  606. # that is exceeded.
  607. #<connectban threshold="10" duration="10m" ipv4cidr="32" ipv6cidr="128">
  608.  
  609. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  610. # Connection throttle module.
  611. <module name="m_connflood.so">
  612. #
  613. #-#-#-#-#-#-#-#-#-#-#- CONNTHROTTLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#
  614. # seconds, maxconns - Amount of connections per <seconds>.
  615. #
  616. # timeout - Time to wait after the throttle was activated
  617. # before deactivating it. Be aware that the time
  618. # is seconds + timeout.
  619. #
  620. # quitmsg - The message that users get if they attempt to
  621. # connect while the throttle is active.
  622. #
  623. # bootwait - Amount of time in seconds to wait before enforcing
  624. # the throttling when the server just booted.
  625. #
  626.  
  627. <connflood seconds="30" maxconns="5" timeout="30"
  628. quitmsg="Throttled" bootwait="10">
  629.  
  630. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  631. # Custom prefixes: Allows for channel prefixes to be added.
  632. #This replaces m_chanprotect and m_halfop.
  633. #<module name="m_customprefix.so">
  634. #
  635. # name The name of the mode, must be unique from other modes.
  636. # letter The letter used for this mode. Required.
  637. # prefix The prefix used for nicks with this mode. Not required.
  638. # rank A numeric rank for this prefix, defining what permissions it gives.
  639. # The rank of voice, halfop and op is 10000, 20000, and 30000,
  640. # respectively.
  641. # ranktoset The numeric rank required to set/unset this mode. Defaults to rank.
  642. # depriv Can you remove the mode from yourself? Defaults to yes.
  643. <customprefix name="founder" letter="q" prefix="~" rank="50000" ranktoset="50000">
  644. <customprefix name="admin" letter="a" prefix="&amp;" rank="40000" ranktoset="50000">
  645. <customprefix name="halfop" letter="h" prefix="%" rank="20000" ranktoset="30000">
  646. <customprefix name="halfvoice" letter="V" prefix="-" rank="1" ranktoset="20000">
  647. #
  648. # Do /RELOADMODULE m_customprefix.so after changing the settings of this module.
  649.  
  650. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  651. # Custom title module: Adds the /TITLE command which allows for trusted
  652. # users to gain a custom whois line and an optional vhost can be
  653. # specified.
  654. #<module name="m_customtitle.so">
  655. #
  656. #-#-#-#-#-#-#-#-#-#- CUSTOM TITLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#
  657. # name - The username used to identify.
  658. # password - The password used to identify.
  659. # hash - The hash for the specific user's password (optional).
  660. # m_password_hash.so and a hashing module must be loaded
  661. # for this to work.
  662. # host - Allowed hostmask (optional).
  663. # title - Title shown in whois.
  664. # vhost - Displayed host (optional).
  665. #
  666. #<title name="foo" password="bar" title="Official Chat Helper">
  667. #<title name="bar" password="foo" host="ident@test.org" title="Official Chat Helper" vhost="helper.test.org">
  668. #<title name="foo" password="fcde2b2edba56bf408601fb721fe9b5c338d10ee429ea04fae5511b68fbf8fb9" hash="sha256" title="Official Chat Helper">
  669.  
  670. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  671. # DCCALLOW module: Adds the /DCCALLOW command.
  672. #<module name="m_dccallow.so">
  673. #
  674. #-#-#-#-#-#-#-#-#-#-#- DCCALLOW CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  675. # blockchat - Whether to block DCC CHAT as well as DCC SEND.
  676. # length - Default duration of entries in DCCALLOW list.
  677. # action - Default action to take if no action is
  678. # specified, can be 'block' or 'allow'.
  679. # maxentries - Max number of nicks to allow on a DCCALLOW list.
  680. #
  681. # File configuration:
  682. # pattern - The glob pattern to match against.
  683. # action - Action to take if a user attempts to send a file
  684. # that matches this pattern, can be 'block' or
  685. # 'allow'.
  686. #
  687. #<dccallow blockchat="yes" length="5m" action="block" maxentries="20">
  688. #<banfile pattern="*.exe" action="block">
  689. #<banfile pattern="*.txt" action="allow">
  690.  
  691. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  692. # Deaf module: Adds support for the usermode +d - deaf to channel
  693. # messages and channel notices.
  694. <module name="m_deaf.so">
  695.  
  696. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  697. # Delay join module: Adds the channel mode +D which delays all JOIN
  698. # messages from users until they speak. If they quit or part before
  699. # speaking, their quit or part message will not be shown to the channel
  700. # which helps cut down noise on large channels in a more friendly way
  701. # than the auditorium mode. Only channel ops may set the +D mode.
  702. <module name="m_delayjoin.so">
  703.  
  704. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  705. # Delay message module: Adds the channel mode +d which disallows a user
  706. # from talking in the channel unless they've been joined for X seconds.
  707. # Settable using /MODE #chan +d 30
  708. #<module name="m_delaymsg.so">
  709. # Set allownotice to no to disallow NOTICEs too. Defaults to yes.
  710. #<delaymsg allownotice="no">
  711.  
  712. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  713. # Deny channels module: Deny channels from being used by users.
  714. #<module name="m_denychans.so">
  715. #
  716. #-#-#-#-#-#-#-#-#-#-#- DENYCHAN DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#
  717. # #
  718. # If you have the m_denychans.so module loaded, you need to specify #
  719. # the channels to deny: #
  720. # #
  721. # name - The channel name to deny (glob masks are ok). #
  722. # allowopers - If operators are allowed to override the deny. #
  723. # reason - Reason given for the deny. #
  724. # redirect - Redirect the user to a different channel. #
  725. # #
  726. #<badchan name="#gods*" allowopers="yes" reason="Tortoises!"> #
  727. #<badchan name="#chan1" redirect="#chan2" reason="Chan1 is closed"> #
  728. # #
  729. # Redirects will not work if the target channel is set +L. #
  730. # #
  731. # Additionally, you may specify channels which are allowed, even if #
  732. # a badchan tag specifies it would be denied: #
  733. #<goodchan name="#funtimes"> #
  734. # Glob masks are accepted here also. #
  735.  
  736. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  737. # Devoice module: Let users devoice themselves using /DEVOICE #chan.
  738. <module name="m_devoice.so">
  739.  
  740. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  741. # DNS blacklist module: Provides support for looking up IPs on one or #
  742. # more blacklists. #
  743. <module name="m_dnsbl.so"> #
  744. # #
  745. # For configuration options please see the wiki page for m_dnsbl at #
  746. # http://wiki.inspircd.org/Modules/dnsbl #
  747.  
  748. <dnsbl name="EFnet TOR"
  749. type="bitmask"
  750. domain="rbl.efnetrbl.org"
  751. action="ZLINE"
  752. reason="Your IP %ip% is listed on efnet's RBL. http://rbl.efnetrbl.org/?i=%ip%"
  753. duration="1h"
  754. bitmask="1,2,3,4,5">
  755.  
  756. <dnsbl name="rbl.efnetrbl.org"
  757. type="bitmask"
  758. domain="rbl.efnetrbl.org"
  759. action="GLINE"
  760. reason="Your IP %ip% is listed on efnet's RBL. http://RBL.efnetrbl.org/?i=%ip%"
  761. duration="6h"
  762. bitmask="1,2,3,4,5,6,7,8,9,10">
  763.  
  764. <dnsbl name="rbl.efnetrbl.org"
  765. type="record"
  766. domain="rbl.efnetrbl.org"
  767. action="GLINE"
  768. reason="Your IP %ip% is listed on efnet's RBL. http://RBL.efnetrblidiot.org/?i=%ip%"
  769. duration="6h"
  770. records="1,2,3,4,5,6,7,8,9,10">
  771.  
  772. <dnsbl name="opm.tornevall.org"
  773. type="bitmask"
  774. domain="opm.tornevall.org"
  775. action="GLINE"
  776. reason="Your IP %ip% is listed on efnet's tornevall. http://sbl.csma.biz/?i=%ip%"
  777. duration="1h"
  778. bitmask="1,2,4,8,16,3,4,5,10,14,17,19">
  779.  
  780. <dnsbl name="opm.tornevall.org"
  781. type="bitmask"
  782. domain="opm.tornevall.org"
  783. action="ZLINE"
  784. reason="Your IP %ip% is listed on efnet's tornevall. http://sbl.csma.biz/?i=%ip%"
  785. duration="1h"
  786. bitmask="1,2,4,8,16,3,4,5,10,14,17,19">
  787.  
  788. <dnsbl name="opm.tornevall.org"
  789. type="bitmask"
  790. domain="opm.tornevall.org"
  791. action="ZLINE"
  792. reason="Your IP %ip% is listed on efnet's tornevall. http://zobor.csma.biz/?i=%ip%"
  793. duration="7h"
  794. bitmask="1,2,3,4,5,6,7,8,9">
  795.  
  796. <dnsbl name="opm.tornevall.org"
  797. type="record"
  798. domain="opm.tornevall.org"
  799. action="ZLINE"
  800. reason="Your IP %ip% is listed on efnet's tornevall. http://lol.csma.biz/?i=%ip%"
  801. duration="7h"
  802. records="1,2,4,8,16,3,4,5,10,14,17,19">
  803.  
  804. <dnsbl name="proxyBL"
  805. type="bitmask"
  806. domain="dnsbl.proxybl.org"
  807. action="ZLINE"
  808. reason="Your host is listed in proxyBL. Please visit
  809. http://proxybl.org/lookup.do?ip=%ip%"
  810. bitmask="1,2,3,4,5,6,7,8,9,10">
  811.  
  812. <dnsbl name="rbl.efnet.org"
  813. type="bitmask"
  814. domain="tor.efnet.org"
  815. action="ZLINE"
  816. reason="Tor exit server detected. Please visit http://www.sectoor.de/tor.php?ip=%ip% for more information."
  817. duration="1h"
  818. bitmask="1,2,3,4,5,6,7,8,9,20">
  819.  
  820. <dnsbl name="rbl.efnet.org"
  821. type="record"
  822. domain="rbl.efnet.org"
  823. action="ZLINE"
  824. reason="Tor exit server detected. Please visit http://www.zozo.de/tor.php?ip=%ip% for more information."
  825. duration="1h"
  826. records="1,3,5,6,7,9,14">
  827.  
  828. <dnsbl name="dnsbl.dronebl.org"
  829. type="bitmask"
  830. domain="dnsbl.dronebl.org"
  831. action="GLINE"
  832. reason="You are listed in DroneBL. Please visit http://dronebl.org/lookup?ip=%ip%"
  833. duration="5h"
  834. bitmask="2,3,5,6,7,8,9,10,255">
  835.  
  836. <dnsbl name="dnsbl.dronebl.org"
  837. type="bitmask"
  838. domain="dnsbl.dronebl.org"
  839. action="ZLINE"
  840. reason="You are listed in DroneBL. Please visit http://dronebl.IDIOT.org/lookup?ip=%ip%"
  841. duration="5h"
  842. bitmask="1,2,3,4,5,6,7,8,9,10,255">
  843.  
  844. <dnsbl name="dnsbl.dronebl.org"
  845. type="record"
  846. domain="dnsbl.dronebl.org"
  847. action="KLINE"
  848. reason="You are listed in DroneBL. Please visit http://droneblll.org/lookup?ip=%ip%"
  849. duration="7h"
  850. records="1,2,4,8,16,3,4,5,10,14,17,19">
  851.  
  852. <dnsbl name="db.wpbl.info"
  853. type="bitmask"
  854. domain="db.wpbl.info"
  855. action="ZLINE"
  856. reason="You are listed in DroneBL. Please visit http://dronebl.org/lookup?ip=%ip%"
  857. duration="1h"
  858. bitmask="1,2,3,4,5,6,7,8,9,10">
  859.  
  860. <dnsbl name="dnsbl.tornevall.org"
  861. type="bitmask"
  862. domain="dnsbl.tornevall.org"
  863. action="ZLINE"
  864. reason="You are listed in DroneBL. Please visit http://TORNEVALL.yourIdiot.org/lookup?ip=%ip%"
  865. duration="6h"
  866. bitmask="1,2,3,4,5,6,7,8,9,10,12,13,14,15,16">
  867.  
  868. <dnsbl name="dnsbl.tornevall.org"
  869. type="bitmask"
  870. domain="dnsbl.tornevall.org"
  871. action="KLINE"
  872. reason="You are listed in DroneBL. Please visit http://mIRCx.org/lookup?ip=%ip%"
  873. duration="6h"
  874. bitmask="1,2,3,4,5,6,7,8">
  875.  
  876. <dnsbl name="tornevall.org"
  877. type="bitmask"
  878. domain="tornevall.org"
  879. action="KLINE"
  880. reason="You are listed in DroneBL. Please visit http://mIRCx.org/lookup?ip=%ip%"
  881. duration="6h"
  882. bitmask="1,2,3,4,5,6,7,8">
  883.  
  884. <dnsbl name="dnsbl.tornevall.org"
  885. type="record"
  886. domain="dnsbl.tornevall.org"
  887. action="KLINE"
  888. reason="You are listed in DroneBL. Please visit http://mIRCx.org/lookup?ip=%ip%"
  889. duration="6h"
  890. records="1,2,3,4,5,6,7,8,9,10">
  891.  
  892. <dnsbl name="dnsbl.njabl.org"
  893. type="bitmask"
  894. domain="dnsbl.njabl.org"
  895. action="KLINE"
  896. reason="You are listed in njabl.org. Please visit http://www.njabl.org/cgi-bin/lookup.cgi?query=%ip%"
  897. duration="1h"
  898. bitmask="3,4,5,10,14,17,19">
  899.  
  900. <dnsbl name="ircbl.ahbl.org"
  901. type="bitmask"
  902. domain="ircbl.ahbl.org"
  903. action="ZLINE"
  904. reason="Your IP %ip%, is in our DDoS/Drone/Spammer/Abuse List. http://www.ahbl.org/tools/lookup.php?ip=%ip%"
  905. duration="7h"
  906. bitmask="3,4,5,10,14,17,19">
  907.  
  908. <dnsbl name="dnsbl.ahbl.org"
  909. type="bitmask"
  910. domain="dnsbl.ahbl.org"
  911. action="GLINE"
  912. reason="Your IP %ip%, is in our DDoS/Drone/Spammer/Abuse List. http://www.ahbl.org/tools/lookup.php?ip=%ip%"
  913. duration="7h"
  914. bitmask="1,2,3,4,5">
  915.  
  916. <dnsbl name="rbl.efnet.org"
  917. type="bitmask"
  918. domain="rbl.efnet.org"
  919. action="ZLINE"
  920. reason="Your IP %ip% is listed on efnet's RBL. http://rbl.efnet.org/?i=%ip%"
  921. duration="6h"
  922. bitmask="1,2,3,53,4,5,10,14,17,19">
  923.  
  924. <dnsbl name="rbl.efnet.org"
  925. type="record"
  926. domain="rbl.efnet.org"
  927. action="GLINE"
  928. reason="Your IP %ip% is listed on efnet's RBL. http://lol.efnet.org/?i=%ip%"
  929. duration="7h"
  930. records="3,4,5,10,14,17,19">
  931.  
  932. <dnsbl name="tor.ahbl.org"
  933. type="bitmask"
  934. domain="tor.ahbl.org"
  935. action="ZLINE"
  936. reason="Tor exit server detected. Please visit http://www.ahbl.org/tools/lookup.php?ip=%ip% for more information."
  937. duration="1h"
  938. bitmask="3,4,5,10,14,17,19">
  939.  
  940. <dnsbl name="spbl.bl.winbots.org"
  941. type="bitmask"
  942. domain="spbl.bl.winbots.org"
  943. action="ZLINE"
  944. reason="Your IP %ip%, is in our UnderNet/QuakeNet/Winbots Spammer's list. Please e-mail cobi@winbots.org to get this resolved"
  945. duration="1h"
  946. bitmask="1,2,3,4">
  947.  
  948. #<dnsbl name="SwiftBL"
  949. # type="bitmask"
  950. # domain="dnsbl.swiftbl.net"
  951. # action="ZLINE"
  952. # reason="Your IP %ip%, Your host is listed in SwiftBL. For further information and removal visit http://swiftbl.org/lookup"
  953. # duration="1h"
  954. # bitmask="2,3,4,5">
  955.  
  956. <dnsbl name="SwiftBL"
  957. type="bitmask"
  958. domain="dnsbl.swiftbl.org"
  959. action="GLINE"
  960. reason="Your IP %ip%, Your host is listed in SwiftBL. For further information and removal visit http://swiftbl.org/lookup"
  961. duration="1h"
  962. bitmask="2,3,4">
  963.  
  964. <dnsbl name="Ipoc"
  965. type="record"
  966. domain="dnsbl.ipocalypse.net"
  967. action="ZLINE"
  968. reason="Your connection is listed in a Spam Database. This may be because you have spammed, or are on a compromised connection."
  969. duration="1h"
  970. records="2-9">
  971.  
  972. <dnsbl name="dnsbl.ahbl.org"
  973. type="bitmask"
  974. domain="dnsbl.ahbl.org"
  975. action="ZLINE"
  976. reason="Your connection is listed in a Spam Database. This may be because you have spammed, or are on a compromised connection."
  977. duration="1h"
  978. bitmask="5">
  979.  
  980. <dnsbl name="efnet tor"
  981. type="bitmask"
  982. domain="tor.efnet.org"
  983. action="GLINE"
  984. reason="TOR exit node found. Visit http://rbl.efnet.org/?i=%ip% for info"
  985. duration="24h"
  986. bitmask="1">
  987.  
  988. <dnsbl name="Dan"
  989. type="record"
  990. domain="tor.dan.me.uk"
  991. action="ZLINE"
  992. reason="Your connection is listed in a Spam Database. This may be because you have spammed, or are on a compromised connection."
  993. duration="1h"
  994. records="1-9,100">
  995.  
  996. <dnsbl name="TechnoBL"
  997. type="record"
  998. domain="dnsbl.technoirc.org"
  999. action="ZLINE"
  1000. reason="Your host was found in the TechnoBL Blacklist. For more information, please visit: http://dnsbl.technoirc.org/lookup.php?ip=%ip%"
  1001. duration="1h"
  1002. records="1">
  1003.  
  1004. #<dnsbl name="SORBS"
  1005. # type="record"
  1006. # domain="dnsbl.sorbs.net"
  1007. # action="ZLINE"
  1008. # reason="Open proxy found on your host. http://www.sorbs.net/lookup.shtml?%ip% for more information."
  1009. # duration="1h"
  1010. # records="2-5,7,9">
  1011. #
  1012. #<dnsbl name="The CBL"
  1013. # type="record"
  1014. # domain="cbl.abuseat.org"
  1015. # action="ZLINE"
  1016. # reason="Open proxy found on your host. http://cbl.abuseat.org/lookup.cgi?ip=%ip% for more information."
  1017. # duration="1h"
  1018. # records="2">
  1019.  
  1020. <dnsbl name="Virbl (by BIT)"
  1021. type="record"
  1022. domain="virbl.dnsbl.bit.nl"
  1023. action="ZLINE"
  1024. reason="Your IP, %ip%, is in our Virus List.. http://virbl.bit.nl/list.php"
  1025. duration="1h"
  1026. records="2">
  1027.  
  1028. #<dnsbl name="no-more-funn"
  1029. # type="record"
  1030. # domain="no-more-funn.moensted.dk"
  1031. # action="ZLINE"
  1032. # reason="Your IP, %ip%, is in our Open Proxy List.. http://moensted.dk/spam/no-more-funn?addr=%ip%"
  1033. # duration="1h"
  1034. # records="10">
  1035.  
  1036. <dnsbl name="DroneBL"
  1037. type="record"
  1038. domain="dronebl.noderebellion.net"
  1039. action="ZLINE"
  1040. reason="Your IP (%ip%), is listed in the DroneBL, see http://www.noderebellion.net/tools/lookup/?ip=%ip%"
  1041. duration="1h"
  1042. records="3-5,10,14,17,19">
  1043.  
  1044. <dnsbl name="DroneBL"
  1045. type="bitmask"
  1046. domain="dnsbl.justspam.org"
  1047. action="ZLINE"
  1048. reason="Your IP (%ip%), is listed in the DroneBL, see http://www.noderebellion.net/tools/lookup/?ip=%ip%"
  1049. duration="1h"
  1050. bitmask="3-5,10,14,17,19">
  1051.  
  1052. #<dnsbl name="Spamhaus Exploits Block List"
  1053. # type="record"
  1054. # domain="xbl.spamhaus.org"
  1055. # action="ZLINE"
  1056. # reason="You are in the XBL.spamhaus.org DNSBL. http://www.spamhaus.org/query/bl?ip=%ip%"
  1057. # duration="30d"
  1058. # records="4-6">
  1059.  
  1060. <dnsbl name="Tor sectoor.de"
  1061. type="bitmask"
  1062. domain="tor.dnsbl.sectoor.de"
  1063. action="GLINE"
  1064. reason="Tor exit server detected. Please visit http://www.sectoor.de/tor.php?ip=%ip% for more information."
  1065. duration="24h"
  1066. bitmask="1">
  1067.  
  1068. <dnsbl name="AhBL"
  1069. type="bitmask"
  1070. domain="dnsbl.ahbl.org"
  1071. action="ZLINE"
  1072. reason="You are in the AHBL.org DNSBL. Please visit http://www.ahbl.org/tools/lookup.php?ip=%ip%"
  1073. duration="24h"
  1074. bitmask="2,3,6,14,15,16,17,18,19">
  1075.  
  1076. <dnsbl name="Torbl"
  1077. type="bitmask"
  1078. domain="tor.ahbl.org"
  1079. action="ZLINE"
  1080. reason="Your IP, %ip%, is in our TOR Server List.. http://www.ahbl.org/tools/lookup.php?ip=%ip%"
  1081. duration="24h"
  1082. bitmask="10">
  1083.  
  1084. <dnsbl name="nomorefun"
  1085. type="bitmask"
  1086. domain="no-more-funn.moensted.dk"
  1087. action="ZLINE"
  1088. reason="Your IP, %ip%, is in our Open Proxy List.. http://moensted.dk/spam/no-more-funn?addr=%ip%"
  1089. duration="24h"
  1090. bitmask="10">
  1091.  
  1092. <dnsbl name="dnsbl.proxybl.org"
  1093. type="bitmask"
  1094. domain="dnsbl.proxybl.org"
  1095. action="ZLINE"
  1096. reason="Blacklisted Proxy found (%ip%). Visit http://rbl.efnet.org/?i=%ip%"
  1097. duration="24h"
  1098. bitmask="1,2,3,4,5">
  1099.  
  1100. <dnsbl name="opm.blitzed.org"
  1101. type="bitmask"
  1102. domain="opm.blitzed.org"
  1103. action="ZLINE"
  1104. reason="Blacklisted Proxy found (%ip%). Visit http://rbl.efnet.org/?i=%ip%"
  1105. duration="24h"
  1106. bitmask="1,2,4,8,16">
  1107. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1108. # Exempt channel operators module: Provides support for allowing #
  1109. # channel operators to be exempt from some channel modes. Supported #
  1110. # modes are blockcaps, noctcp, blockcolor, nickflood, flood, censor, #
  1111. # filter, regmoderated, nonick, nonotice, and stripcolor. #
  1112. <module name="m_exemptchanops.so"> #
  1113.  
  1114. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1115. # Filter module: Provides message filtering, similar to SPAMFILTER. #
  1116. <module name="m_filter.so">
  1117. # #
  1118. # This module depends upon a regex provider such as m_regex_pcre or #
  1119. # m_regex_glob to function. You must specify which of these you want #
  1120. # m_filter to use via the tag below. #
  1121. # #
  1122. # Valid engines are: #
  1123. # #
  1124. # glob - Glob patterns, provided via m_regex_glob. #
  1125. # pcre - PCRE regexps, provided via m_regex_pcre, needs libpcre. #
  1126. # tre - TRE regexps, provided via m_regex_tre, requires libtre. #
  1127. # posix - POSIX regexps, provided via m_regex_posix, not available #
  1128. # on Windows, no dependencies on other operating systems. #
  1129. # stdlib - stdlib regexps, provided via m_regex_stdlib, see comment #
  1130. # at the <module> tag for info on availability. #
  1131. # #
  1132. #<filteropts engine="glob"> #
  1133. # #
  1134. # Your choice of regex engine must match on all servers network-wide.
  1135. #
  1136. # You may specify specific channels that are exempt from being filtered:
  1137. #<exemptfromfilter channel="#blah">
  1138. #
  1139. #-#-#-#-#-#-#-#-#-#-#- FILTER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
  1140. # #
  1141. # Optional - If you specify to use the m_filter module, then #
  1142. # specify below the path to the filter.conf file, or define some #
  1143. # <filter> tags. #
  1144. # #
  1145. <include file="conf/filter.conf">
  1146.  
  1147. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1148. # Gecos ban: Implements extended ban 'r', which stops anyone matching
  1149. # a mask like +b r:*realname?here* from joining a channel.
  1150. <module name="m_gecosban.so">
  1151.  
  1152. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1153. # GeoIP module: Allows the server admin to match users by country code.
  1154. # This module is in extras. Re-run configure with:
  1155. # ./configure --enable-extras=m_geoip.cpp
  1156. # and run make install, then uncomment this module to enable it.
  1157. # This module requires GeoIP to be installed on your system,
  1158. # use your package manager to find the appropriate packages
  1159. # or check the InspIRCd wiki page for this module.
  1160. #<module name="m_geoip.so">
  1161. #
  1162. # The actual allow/ban actions are done by connect classes, not by the
  1163. # GeoIP module. An example connect class to ban people from russia or
  1164. # turkey:
  1165. #
  1166. # <connect deny="*" geoip="TR,RU">
  1167. #
  1168. # The country code must be in capitals and should be an ISO country
  1169. # code such as TR, GB, or US. Unknown IPs (localhost, LAN IPs, etc)
  1170. # will be assigned the country code "UNK". Since connect classes are
  1171. # matched from top down, your deny classes must be above your allow
  1172. # classes for them to match.
  1173.  
  1174. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1175. # Globops module: Provides the /GLOBOPS command and snomask +g.
  1176. # This module is oper-only.
  1177. # To use, GLOBOPS must be in one of your oper class blocks.
  1178. <module name="m_globops.so">
  1179.  
  1180. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1181. # Global load module: Allows loading and unloading of modules network-
  1182. # wide (USE WITH EXTREME CAUTION!)
  1183. # This module is oper-only and provides /GLOADMODULE, /GUNLOADMODULE
  1184. # and /GRELOADMODULE.
  1185. # To use, GLOADMODULE, GUNLOADMODULE and GRELOADMODULE
  1186. # must be in one of your oper class blocks.
  1187. <module name="m_globalload.so">
  1188.  
  1189. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1190. # Halfop module: Provides the +h (halfops) channel status mode.
  1191. <module name="m_halfop.so">
  1192.  
  1193. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1194. # HELPOP module: Provides the /HELPOP command.
  1195. #<module name="m_helpop.so">
  1196. #
  1197. #-#-#-#-#-#-#-#-#-#-#-#- HELPOP CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  1198. # #
  1199. # If you specify to use the m_helpop.so module, then specify below #
  1200. # the path to the helpop.conf file. #
  1201. #<include file="conf/examples/inspircd.helpop-full.example">
  1202.  
  1203. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1204. # Hide chans module: Allows users to hide their channels list from non-
  1205. # opers by setting user mode +I on themselves.
  1206. <module name="m_hidechans.so">
  1207. #
  1208. # This mode can optionally prevent opers from seeing channels on a +I
  1209. # user, for more privacy if set to true.
  1210. # This setting is not recommended for most mainstream networks.
  1211. <hidechans affectsopers="false">
  1212.  
  1213. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1214. # Hide oper module: Allows opers to hide their oper status from non-
  1215. # opers by setting user mode +H on themselves.
  1216. # This module is oper-only.
  1217. <module name="m_hideoper.so">
  1218.  
  1219. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1220. # Hostchange module: Allows a different style of cloaking.
  1221. #<module name="m_hostchange.so">
  1222. #
  1223. #-#-#-#-#-#-#-#-#-#-#- HOSTCHANGE CONFIGURATION -#-#-#-#-#-#-#-#-#-#
  1224. # #
  1225. # See http://wiki.inspircd.org/Modules/hostchange for help. #
  1226. # #
  1227. #<host suffix="invalid.org" separator="." prefix="">
  1228. #<hostchange mask="*@42.theanswer.example.org" action="addnick">
  1229. #<hostchange mask="*root@*" action="suffix">
  1230. #<hostchange mask="a@example.com" action="set" value="foo.bar.baz">
  1231. #<hostchange mask="localhost" ports="7000,7001,7005-7007" action="set" value="blahblah.foo">
  1232.  
  1233. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1234. # httpd module: Provides HTTP server support for InspIRCd.
  1235. <module name="m_httpd.so">
  1236. #
  1237. #-#-#-#-#-#-#-#-#-#-#-#- HTTPD CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  1238. #
  1239. # If you choose to use the m_httpd.so module, then you will need to add
  1240. # a <bind> tag with type "httpd", and load at least one of the other
  1241. # m_httpd_* modules to provide pages to display.
  1242. #
  1243. # You can adjust the timeout for HTTP connections below. All HTTP
  1244. # connections will be closed after (roughly) this many seconds.
  1245. #<httpd timeout="20">
  1246.  
  1247. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1248. # HTTP ACL module: Provides access control lists for m_httpd dependent
  1249. # modules. Use this module to restrict pages by IP address and by
  1250. # password.
  1251. #<module name="m_httpd_acl.so">
  1252. #
  1253. #-#-#-#-#-#-#-#-#-#-#-#- HTTPD ACL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  1254. #
  1255. # Restrict access to the m_httpd_stats module to all but the local
  1256. # network and when the correct password is specified:
  1257. # <httpdacl path="/stats*" types="password,whitelist"
  1258. # username="secrets" password="mypasshere" whitelist="127.0.0.*,10.*">
  1259. #
  1260. # Deny all connections to all but the main index page:
  1261. # <httpdacl path="/*" types="blacklist" blacklist="*">
  1262.  
  1263. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1264. # HTTP config module: Allows the configuration of the server to be
  1265. # viewed over HTTP. Requires m_httpd.so to be loaded for it to function.
  1266. #<module name="m_httpd_config.so">
  1267.  
  1268. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1269. # HTTP stats module: Provides basic stats pages over HTTP.
  1270. # Requires m_httpd.so to be loaded for it to function.
  1271. #<module name="m_httpd_stats.so">
  1272.  
  1273. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1274. # Ident: Provides RFC 1413 ident lookup support.
  1275. # When this module is loaded <connect:allow> tags may have an optional
  1276. # useident="yes|no" boolean value, determining whether or not to lookup
  1277. # ident on users matching that connect tag.
  1278. #<module name="m_ident.so">
  1279. #
  1280. #-#-#-#-#-#-#-#-#-#-#-#- IDENT CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  1281. # #
  1282. # Optional - If you are using the m_ident.so module, then you can #
  1283. # specify the timeout for ident lookups here. If not defined, it will #
  1284. # default to 5 seconds. This is a non-blocking timeout which holds #
  1285. # the user in a 'connecting' state until the lookup is complete. #
  1286. # The bind value indicates which IP to bind outbound requests to. #
  1287. #
  1288. #<ident timeout="5">
  1289.  
  1290. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1291. # Invite exception module: Adds support for channel invite exceptions
  1292. # (+I).
  1293. #<module name="m_inviteexception.so">
  1294. # bypasskey: If this is enabled, exceptions will bypass +k as well as +i
  1295. #<inviteexception bypasskey="yes">
  1296.  
  1297. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1298. # IRCv3 module: Provides the following IRCv3.1 extensions:
  1299. # extended-join, away-notify and account-notify. These are optional
  1300. # enhancements to the client-to-server protocol. An extension is only
  1301. # active for a client when the client specifically requests it, so this
  1302. # module needs m_cap to work.
  1303. #
  1304. # Further information on these extensions can be found at the IRCv3
  1305. # working group website:
  1306. # http://ircv3.org/extensions/
  1307. #
  1308. #<module name="m_ircv3.so">
  1309. # The following block can be used to control which extensions are
  1310. # enabled. Note that extended-join can be incompatible with m_delayjoin
  1311. # and host cycling.
  1312. <ircv3 accountnotify="on" awaynotify="on" extendedjoin="on">
  1313.  
  1314. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1315. # Join flood module: Adds support for join flood protection +j X:Y.
  1316. # Closes the channel for 60 seconds if X users join in Y seconds.
  1317. <module name="m_joinflood.so">
  1318.  
  1319. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1320. # Jump server module: Adds support for the RPL_REDIR numeric.
  1321. # This module is oper-only.
  1322. # To use, JUMPSERVER must be in one of your oper class blocks.
  1323. # If your server is redirecting new clients and you get disconnected,
  1324. # do a REHASH from shell to open up again.
  1325. #<module name="m_jumpserver.so">
  1326.  
  1327. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1328. # Anti auto rejoin: Adds support for prevention of auto-rejoin (+J).
  1329. <module name="m_kicknorejoin.so">
  1330. # Set the maximum time that is accepted as a parameter for +J here.
  1331. <kicknorejoin maxtime="1m">
  1332.  
  1333. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1334. # Knock module: Adds the /KNOCK command and channel mode +K.
  1335. #<module name="m_knock.so">
  1336. #
  1337. # This setting specifies what to do when someone successfully /KNOCKs.
  1338. # If set to "notice", then a NOTICE will be sent to the channel.
  1339. # This is the default and the compatible setting, as it requires no
  1340. # special support from the clients.
  1341. # If set to "numeric" then a 710 numeric will be sent to the channel.
  1342. # This allows easier scripting but not all clients support it.
  1343. # If set to "both" then (surprise!) both will be sent.
  1344. #<knock notify="notice">
  1345.  
  1346. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1347. # LDAP authentication module: Adds the ability to authenticate users #
  1348. # via LDAP. This is an extra module which must be enabled explicitly #
  1349. # by symlinking it from modules/extra, and requires the OpenLDAP libs #
  1350. # This module is in extras. To enable it, Re-run configure with: #
  1351. # ./configure --enable-extras=m_ldapauth.cpp #
  1352. # and run make install, then uncomment this module. #
  1353. #<module name="m_ldapauth.so">
  1354. # #
  1355. # Configuration: #
  1356. # #
  1357. # <ldapauth baserdn="ou=People,dc=brainbox,dc=cc" #
  1358. # attribute="uid" #
  1359. # server="ldap://brainwave.brainbox.cc" #
  1360. # allowpattern="Guest*" #
  1361. # killreason="Access denied" #
  1362. # searchscope="subtree" #
  1363. # binddn="cn=Manager,dc=brainbox,dc=cc" #
  1364. # bindauth="mysecretpass" #
  1365. # verbose="yes" #
  1366. # host="$uid.$ou.inspircd.org"> #
  1367. # #
  1368. # <ldapwhitelist cidr="10.42.0.0/16"> #
  1369. # #
  1370. # <ldaprequire attribute="attr" value="val"> #
  1371. # #
  1372. # The baserdn indicates the base DN to search in for users. Usually #
  1373. # this is 'ou=People,dc=yourdomain,dc=yourtld'. #
  1374. # #
  1375. # The attribute value indicates the attribute which is used to locate #
  1376. # a user account by name. On POSIX systems this is usually 'uid'. #
  1377. # #
  1378. # The server parameter indicates the LDAP server to connect to. The #
  1379. # ldap:// style scheme before the hostname proper is MANDATORY. #
  1380. # #
  1381. # The allowpattern value allows you to specify a wildcard mask which #
  1382. # will always be allowed to connect regardless of if they have an #
  1383. # account, for example guest users. #
  1384. # #
  1385. # Killreason indicates the QUIT reason to give to users if they fail #
  1386. # to authenticate. #
  1387. # #
  1388. # The searchscope value indicates the subtree to search under. On our #
  1389. # test system this is 'subtree'. Your mileage may vary. #
  1390. # #
  1391. # Setting the verbose value causes an oper notice to be sent out for #
  1392. # every failed authentication to the server, with an error string. #
  1393. # #
  1394. # The binddn and bindauth indicate the DN to bind to for searching, #
  1395. # and the password for the distinguished name. Some LDAP servers will #
  1396. # allow anonymous searching in which case these two values do not #
  1397. # need defining, otherwise they should be set similar to the examples #
  1398. # above. #
  1399. # #
  1400. # ldapwhitelist indicates that clients connecting from an IP in the #
  1401. # provided CIDR do not need to authenticate against LDAP. It can be #
  1402. # repeated to whitelist multiple CIDRs. #
  1403. # #
  1404. # ldaprequire allows further filtering on the LDAP user, by requiring #
  1405. # certain LDAP attibutes to have a given value. It can be repeated, #
  1406. # in which case the list will act as an OR list, that is, the #
  1407. # authentication will succeed if any of the requirements in the list #
  1408. # is satisfied. #
  1409. # #
  1410. # host allows you to change the displayed host of users connecting #
  1411. # from ldap. The string supplied takes formatters which are replaced #
  1412. # from the DN. For instance, if your DN looks like: #
  1413. # uid=w00t,ou=people,dc=inspircd,dc=org, then the formatters uid, ou #
  1414. # and dc will be available to you. If a key is given multiple times #
  1415. # in the DN, the last appearance will take precedence. #
  1416.  
  1417. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1418. # LDAP oper configuration module: Adds the ability to authenticate #
  1419. # opers via LDAP. This is an extra module which must be enabled #
  1420. # explicitly by symlinking it from modules/extra, and requires the #
  1421. # OpenLDAP libs. Re-run configure with: #
  1422. # ./configure --enable-extras=m_ldapoper.cpp
  1423. # and run make install, then uncomment this module to enable it. #
  1424. #<module name="m_ldapoper.so">
  1425. # #
  1426. # Configuration: #
  1427. # #
  1428. # <ldapoper baserdn="ou=People,dc=brainbox,dc=cc"
  1429. # server="ldap://brainwave.brainbox.cc"
  1430. # searchscope="subtree"
  1431. # binddn="cn=Manager,dc=brainbox,dc=cc"
  1432. # bindauth="mysecretpass"
  1433. # attribute="uid">
  1434. # #
  1435. # Available configuration items are identical to the same items in #
  1436. # m_ldapauth above (except for the verbose setting, that is only #
  1437. # supported in m_ldapauth). #
  1438. # Please always specify a password in your <oper> tags even if the #
  1439. # opers are to be authenticated via LDAP, so in case this module is #
  1440. # not loaded the oper accounts are still protected by a password. #
  1441.  
  1442. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1443. # Lock server module: Adds /LOCKSERV and /UNLOCKSERV commands that #
  1444. # are used to temporarily close/open the server for new connections. #
  1445. # These commands require that the /LOCKSERV and /UNLOCKSERV commands #
  1446. # are specified in a <class> tag that the oper is part of. This is so #
  1447. # you can control who has access to this possible dangerous command. #
  1448. # If your server is locked and you get disconnected, do a REHASH from #
  1449. # shell to open up again. #
  1450. # This module is oper-only.
  1451. #<module name="m_lockserv.so">
  1452.  
  1453. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1454. # Map hiding module: replaces /MAP and /LINKS output to users with a #
  1455. # message to see a website, set by maphide="http://test.org/map" in #
  1456. # the <security> tag, instead. #
  1457. #<module name="m_maphide.so">
  1458.  
  1459. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1460. # Message flood module: Adds message/notice flood protection via
  1461. # channel mode +f.
  1462. <module name="m_messageflood.so">
  1463.  
  1464. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1465. # MLOCK module: Adds support for server-side enforcement of services
  1466. # side MLOCKs. Basically, this module suppresses any mode change that
  1467. # would likely be immediately bounced by services.
  1468. <module name="m_mlock.so">
  1469.  
  1470. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1471. # MsSQL module: Allows other SQL modules to access MS SQL Server
  1472. # through a unified API.
  1473. # This module is in extras. Re-run configure with:
  1474. # ./configure --enable-extras=m_mssql.cpp
  1475. # and run make install, then uncomment this module to enable it.
  1476. #<module name="m_mssql.so">
  1477. #
  1478. #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
  1479. # #
  1480. # m_mssql.so is more complex than described here, see wiki for more #
  1481. # info http://wiki.inspircd.org/Modules/mssql #
  1482. #
  1483. #<database module="mssql" name="db" user="user" pass="pass" host="localhost" id="db1">
  1484.  
  1485. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1486. # MySQL module: Allows other SQL modules to access MySQL databases
  1487. # through a unified API.
  1488. # This module is in extras. Re-run configure with:
  1489. # ./configure --enable-extras=m_mysql.cpp
  1490. # and run make install, then uncomment this module to enable it.
  1491. #<module name="m_mysql.so">
  1492. #
  1493. #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
  1494. # #
  1495. # m_mysql.so is more complex than described here, see the wiki for #
  1496. # more: http://wiki.inspircd.org/Modules/mysql #
  1497. #
  1498. #<database module="mysql" name="mydb" user="myuser" pass="mypass" host="localhost" id="my_database2">
  1499.  
  1500. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1501. # Named modes module: Allows for the display and set/unset of channel
  1502. # modes via long-form mode names via +Z and the /PROP command.
  1503. # For example, to set a ban, do /mode #channel +Z ban=foo!bar@baz or
  1504. # /PROP #channel ban=foo!bar@baz
  1505. #<module name="m_namedmodes.so">
  1506.  
  1507. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1508. # NAMESX module: Provides support for the NAMESX extension which allows
  1509. # clients to see all the prefixes set on a user without getting confused.
  1510. # This is supported by mIRC, x-chat, klient, and maybe more.
  1511. #<module name="m_namesx.so">
  1512.  
  1513. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1514. # National characters module:
  1515. # 1) Allows using national characters in nicknames.
  1516. # 2) Allows using custom (national) casemapping over the network.
  1517. #<module name="m_nationalchars.so">
  1518. #
  1519. # file - Location of the file which contains casemapping rules. If this
  1520. # is a relative path then it is relative to "<PWD>/../locales"
  1521. # on UNIX and "<PWD>/locales" on Windows.
  1522. # casemapping - The name of the casemapping sent to clients in the 005
  1523. # numeric. If this is not set then it defaults to the name
  1524. # of the casemapping file unless the file name contains a
  1525. # space in which case you will have to specify it manually.
  1526. #<nationalchars file="bynets/russian-w1251-charlink" casemapping="ru_RU.cp1251-charlink">
  1527.  
  1528. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1529. # Nickchange flood protection module: Provides channel mode +F X:Y
  1530. # which allows up to X nick changes in Y seconds.
  1531. <module name="m_nickflood.so">
  1532.  
  1533. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1534. # Nicklock module: Let opers change a user's nick and then stop that
  1535. # user from changing their nick again until unlocked.
  1536. # This module is oper-only.
  1537. # To use, NICKLOCK and NICKUNLOCK must be in one of your oper class blocks.
  1538. <module name="m_nicklock.so">
  1539.  
  1540. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1541. # No CTCP module: Adds the channel mode +C to block CTCPs and extban
  1542. # 'C' to block CTCPs sent by specific users.
  1543. #<module name="m_noctcp.so">
  1544.  
  1545. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1546. # No kicks module: Adds the +Q channel mode and the Q: extban to deny
  1547. # certain users from kicking.
  1548. <module name="m_nokicks.so">
  1549.  
  1550. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1551. # No nicks module: Adds the +N channel mode, as well as the 'N' extban.
  1552. # +N stops all users from changing their nick, the N extban stops
  1553. # anyone from matching a +b N:nick!user@host mask from changing their
  1554. # nick.
  1555. <module name="m_nonicks.so">
  1556.  
  1557. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1558. # No part message module: Adds extban 'p' to block part messages from #
  1559. # matching users. #
  1560. <module name="m_nopartmsg.so">
  1561.  
  1562. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1563. # No notice module: Adds the channel mode +T and the extban 'T' to
  1564. # block specific users from noticing the channel.
  1565. <module name="m_nonotice.so">
  1566.  
  1567. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1568. # Network business join module:
  1569. # Allows an oper to join a channel using /OJOIN, giving them +Y on the
  1570. # channel which makes them immune to kick/deop/etc.
  1571. <module name="m_ojoin.so">
  1572. #
  1573. # Specify the prefix that +Y will grant here.
  1574. # Leave 'prefix' empty if you do not wish +Y to grant a prefix.
  1575. # If 'notice' is set to on, upon /OJOIN, the server will notice the
  1576. # channel saying that the oper is joining on network business.
  1577. # If 'op' is set to on, it will give them +o along with +Y.
  1578. <ojoin prefix="!" notice="yes" op="yes">
  1579.  
  1580. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1581. # Oper channels mode: Adds the +O channel mode and extban O:<mask>
  1582. # to ban, except, etc. specific oper types. For example
  1583. # /mode #channel +iI O:* is equivalent to channel mode +O, but you
  1584. # may also set +iI O:AdminTypeOnly to only allow admins.
  1585. # Modes +I and +e work in a similar fashion.
  1586. <module name="m_operchans.so">
  1587.  
  1588. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1589. # Oper join module: Auto-joins opers to a channel upon oper-up.
  1590. # This module is oper-only. For the user equivalent, see m_conn_join.
  1591. <module name="m_operjoin.so">
  1592. #
  1593. #-#-#-#-#-#-#-#-#-#-# OPERJOIN CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  1594. # #
  1595. # If you are using the m_operjoin.so module, specify options here: #
  1596. # #
  1597. # channel - The channel name to join, can also be a comma #
  1598. # separated list e.g. "#channel1,#channel2". #
  1599. # #
  1600. # override - If on, lets the oper join walking thru any modes #
  1601. # that might be set, even bans. #
  1602. # #
  1603. <operjoin channel="#oper" override="no">
  1604. #
  1605. # Alternatively you can use the autojoin="channellist" in a <type> #
  1606. # tag to set specific autojoins for a type of oper, for example: #
  1607. #
  1608. #<type name="Helper" autojoin="#help" classes="...">
  1609.  
  1610. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1611. # Oper log module: Logs all oper commands to the server log (with log
  1612. # type "m_operlog" at default loglevel), and optionally to the 'r'
  1613. # snomask.
  1614. # This module is oper-only.
  1615. <module name="m_operlog.so">
  1616. #
  1617. # If the following option is on then all oper commands will be sent to
  1618. # the snomask 'r'. The default is off.
  1619. #<operlog tosnomask="off">
  1620.  
  1621. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1622. # Oper prefixing module: Adds a channel prefix mode +y which is given
  1623. # to all IRC operators automatically on all channels they are in.
  1624. # This prefix mode is more powerful than channel op and other regular
  1625. # prefix modes.
  1626. #
  1627. # Load this module if you want all your IRC operators to have channel
  1628. # operator powers.
  1629. #<module name="m_operprefix.so">
  1630. #
  1631. # You may additionally customise the prefix character.
  1632. #<operprefix prefix="!">
  1633.  
  1634. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1635. # Oper MOTD module: Provides support for separate message of the day
  1636. # on oper-up.
  1637. # This module is oper-only.
  1638. #<module name="m_opermotd.so">
  1639. #
  1640. #-#-#-#-#-#-#-#-#-#-# OPERMOTD CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  1641. # #
  1642. # If you are using the m_opermotd.so module, specify the motd here. #
  1643. # #
  1644. # onoper - If on, the message is sent on /OPER, otherwise it's #
  1645. # only sent when /OPERMOTD is used. #
  1646. # #
  1647. # processcolors - Allow color codes to be processed in the opermotd. #
  1648. # Read the comment above <connect:allowmotdcolors> in #
  1649. # inspircd.conf.example for details. #
  1650. # #
  1651. #<opermotd file="conf/examples/opermotd.txt.example" onoper="yes" processcolors="false">
  1652.  
  1653. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1654. # Override module: Adds support for oper override.
  1655. # This module is oper-only.
  1656. #<module name="m_override.so">
  1657. #
  1658. #-#-#-#-#-#-#-#-#-#-# OVERRIDE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  1659. # #
  1660. # m_override.so is too complex it describe here, see the wiki: #
  1661. # http://wiki.inspircd.org/Modules/override #
  1662.  
  1663. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1664. # Oper levels module: Gives each oper a level and prevents actions
  1665. # being taken by lower level opers against higher level opers.
  1666. # Specify the level as the 'level' parameter of the <type> tag.
  1667. # This module is oper-only.
  1668. <module name="m_operlevels.so">
  1669.  
  1670. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1671. # Oper modes module: Allows you to specify modes to add/remove on oper.
  1672. # Specify the modes as the 'modes' parameter of the <type> tag
  1673. # and/or as the 'modes' parameter of the <oper> tag.
  1674. # This module is oper-only. For the user equivalent, see m_conn_umodes.
  1675. <module name="m_opermodes.so">
  1676.  
  1677. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1678. # Password forwarding module: Forwards a password users can send on
  1679. # connect to the specified client below. The client is usually NickServ
  1680. # and this module is usually used to authenticate users with NickServ
  1681. # using their connect password.
  1682. #<module name="m_passforward.so">
  1683.  
  1684. <passforward
  1685. # nick: nick to forward connect passwords to.
  1686. nick="NickServ"
  1687.  
  1688. # forwardmsg: Message to send to users using a connect password.
  1689. # $nick will be the users' nick, $nickrequired will be the nick
  1690. # of where the password is going (the nick above).
  1691. # You can also use $user for the user ident string.
  1692. forwardmsg="NOTICE $nick :*** Forwarding PASS to $nickrequired"
  1693.  
  1694. # cmd: Command for the user to run when it receives a connect
  1695. # password.
  1696. cmd="PRIVMSG $nickrequired :IDENTIFY $pass">
  1697.  
  1698. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1699. # Password hash module: Allows hashed passwords to be used.
  1700. # To be useful, a hashing module like m_sha256.so also needs to be loaded.
  1701. #<module name="m_password_hash.so">
  1702. #
  1703. #-#-#-#-#-#-#-#-#-# PASSWORD HASH CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#
  1704. #
  1705. # To use this module, you must define a hash type for each oper's
  1706. # password you want to hash. For example:
  1707. #
  1708. # <oper name="Brain"
  1709. # host="ident@dialup15.isp.test.com"
  1710. # hash="sha256"
  1711. # password="01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
  1712. # type="NetAdmin">
  1713. #
  1714. # Starting from 2.0, you can use a more secure salted hash that prevents simply
  1715. # looking up the hash's value in a rainbow table built for the hash.
  1716. # hash="hmac-sha256" password="lkS1Nbtp$CyLd/WPQXizsbxFUTqFRoMvaC+zhOULEeZaQkUJj+Gg"
  1717. #
  1718. # Generate hashes using the /MKPASSWD command on the server.
  1719. # Don't run it on a server you don't trust with your password.
  1720.  
  1721. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1722. # Permanent channels module: Channels with the permanent channel mode
  1723. # will remain open even after everyone else has left the channel, and
  1724. # therefore keep things like modes, ban lists and topic. Permanent
  1725. # channels -may- need support from your Services package to function
  1726. # properly with them. This adds channel mode +P.
  1727. # This module is oper-only.
  1728. <module name="m_permchannels.so">
  1729. #
  1730. # If you like, m_permchannels can write a config file of permanent channels
  1731. # whenever +P is set, unset, or the topic/modes on a +P channel is changed.
  1732. # If you want to do this, set the filename below, and uncomment the include.
  1733. #
  1734. # If 'listmodes' is true then all list modes (+b, +I, +e, +g...) will be
  1735. # saved. Defaults to false.
  1736. #<permchanneldb filename="data/permchannels.conf" listmodes="true">
  1737. #<include file="data/permchannels.conf">
  1738. #
  1739. # You may also create channels on startup by using the <permchannels> block.
  1740. # Don't forget to set them +P in the modes, or they won't stay permanent.
  1741. #<permchannels channel="#opers" modes="isP" topic="Opers only.">
  1742.  
  1743. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1744. # PostgreSQL module: Allows other SQL modules to access PgSQL databases
  1745. # through a unified API.
  1746. # This module is in extras. Re-run configure with:
  1747. # ./configure --enable-extras=m_pgsql.cpp
  1748. # and run make install, then uncomment this module to enable it.
  1749. #<module name="m_pgsql.so">
  1750. #
  1751. #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
  1752. # #
  1753. # m_pgsql.so is more complex than described here, see the wiki for #
  1754. # more: http://wiki.inspircd.org/Modules/pgsql #
  1755. #
  1756. #<database module="pgsql" name="mydb" user="myuser" pass="mypass" host="localhost" id="my_database" ssl="no">
  1757.  
  1758. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1759. # Muteban: Implements extended ban 'm', which stops anyone matching
  1760. # a mask like +b m:nick!user@host from speaking on channel.
  1761. <module name="m_muteban.so">
  1762.  
  1763. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1764. # Random quote module: Provides a random quote on connect.
  1765. # NOTE: Some of these may mimic fatal errors and confuse users and
  1766. # opers alike - BEWARE!
  1767. #<module name="m_randquote.so">
  1768. #
  1769. #-#-#-#-#-#-#-#-#-#- RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  1770. # #
  1771. # Optional - If you specify to use the m_randquote.so module, then #
  1772. # specify below the path to the quotes file. #
  1773. # #
  1774. <randquote file="examples/quotes.txt.example">
  1775.  
  1776. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1777. # Redirect module: Adds channel redirection mode +L. #
  1778. # Optional: <redirect:antiredirect> to add usermode +L to stop forced #
  1779. # redirection and instead print an error. #
  1780. # #
  1781. # Note: You can not update this with a simple rehash, it requires #
  1782. # reloading the module for it to take effect. #
  1783. # This also breaks linking to servers that do not have the option. #
  1784. # This defaults to false for the 2.0 version, it will be enabled in #
  1785. # all the future versions. #
  1786. #<module name="m_redirect.so">
  1787. #<redirect antiredirect="true">
  1788.  
  1789. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1790. # Regular expression provider for glob or wildcard (?/*) matching.
  1791. # You must have at least 1 provider loaded to use m_filter or m_rline
  1792. # modules. This module has no additional requirements, as it uses the
  1793. # matching already present in InspIRCd core.
  1794. #<module name="m_regex_glob.so">
  1795.  
  1796. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1797. # Regular expression provider for PCRE (Perl-Compatible Regular
  1798. # Expressions). You need libpcre installed to compile and load this
  1799. # module. You must have at least 1 provider loaded to use m_filter or
  1800. # m_rline.
  1801. #<module name="m_regex_pcre.so">
  1802.  
  1803. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1804. # Regular expression provider for POSIX regular expressions.
  1805. # You shouldn't need any additional libraries on a POSIX-compatible
  1806. # system (i.e.: any Linux, BSD, but not Windows). You must have at
  1807. # least 1 provider loaded to use m_filter or m_rline.
  1808. # On POSIX-compliant systems, regex syntax can be found by using the
  1809. # command: 'man 7 regex'.
  1810. #<module name="m_regex_posix.so">
  1811.  
  1812. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1813. # Regular expression provider for C++11 std::regex regular expressions.
  1814. # This module works on any fully compliant implementation of the C++11
  1815. # std::regex container. Examples for such are Visual C++ 2010 and newer
  1816. # but not libstdc++ (which GCC uses).
  1817. # You should verify that std::regex is supported by your setup before
  1818. # using this module, as it may compile normally but won't do anything
  1819. # on some implementations.
  1820. #<module name="m_regex_stdlib.so">
  1821. #
  1822. # Specify the regular expression engine to use here. Valid settings are
  1823. # bre, ere, awk, grep, egrep, ecmascript (default if not specified).
  1824. #<stdregex type="ecmascript">
  1825.  
  1826. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1827. # Regular expression provider for TRE regular expressions.
  1828. # This is the same regular expression engine used by UnrealIRCd, so
  1829. # if you are most familiar with the syntax of /SPAMFILTER from there,
  1830. # this is the provider you want. You need libtre installed in order
  1831. # to compile and load this module.
  1832. #<module name="m_regex_tre.so">
  1833.  
  1834. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1835. # Registered users only channel creation module. If enabled, only
  1836. # registered users and opers can create new channels.
  1837. #
  1838. # You probably *DO NOT* want to load this module on a public network.
  1839. #
  1840. #<module name="m_regonlycreate.so">
  1841.  
  1842. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1843. # Remove module: Adds the /REMOVE command which is a peaceful
  1844. # alternative to /KICK.
  1845. #<module name="m_remove.so">
  1846.  
  1847. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1848. # Restricted channels module: Allows only opers to create channels.
  1849. #
  1850. # You probably *DO NOT* want to load this module on a public network.
  1851. #
  1852. #<module name="m_restrictchans.so">
  1853.  
  1854. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1855. # Restrict message module: Allows users to only message opers.
  1856. #
  1857. # You probably *DO NOT* want to load this module on a public network.
  1858. #
  1859. #<module name="m_restrictmsg.so">
  1860. #
  1861. # Uncomment this to allow users to message ulines (e.g. services):
  1862. #<restrictmsg uline="yes">
  1863.  
  1864. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1865. # R-Line module: Ban users through regular expression patterns.
  1866. #<module name="m_rline.so">
  1867. #
  1868. #-#-#-#-#-#-#-#-#-#-#-#- RLINE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
  1869. #
  1870. # If you wish to re-check a user when they change nickname (can be
  1871. # useful under some situations, but *can* also use CPU with more users
  1872. # on a server) then set 'matchonnickchange' to yes.
  1873. # Also, this is where you set what Regular Expression engine is to be
  1874. # used. If you ever change it while running, all of your R-Lines will
  1875. # be wiped. This is the regex engine used by all R-Lines set, and
  1876. # m_regex_<engine>.so must be loaded, or rline will be non-functional
  1877. # until you load it or change the engine to one that is loaded.
  1878. #
  1879. #<rline matchonnickchange="yes" engine="pcre">
  1880. #
  1881. # Generally, you will NOT want to use 'glob' here, as this turns
  1882. # rline into just another gline. The exceptions are that rline will
  1883. # always use the full "nick!user@host realname" string, rather than only
  1884. # user@host, but beware that only the ? and * wildcards are available,
  1885. # and are the only way to specify where the space can occur if you do
  1886. # use glob. For this reason, is recommended to use a real regex engine
  1887. # so that at least \s or [[:space:]] is available.
  1888.  
  1889. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1890. # SAJOIN module: Adds the /SAJOIN command which forcibly joins a user
  1891. # to the given channel.
  1892. # This module is oper-only.
  1893. # To use, SAJOIN must be in one of your oper class blocks.
  1894. <module name="m_sajoin.so">
  1895.  
  1896. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1897. # SAKICK module: Adds the /SAKICK command which kicks a user from the
  1898. # given channel.
  1899. # This module is oper-only.
  1900. # To use, SAKICK must be in one of your oper class blocks.
  1901. <module name="m_sakick.so">
  1902.  
  1903. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1904. # SAMODE module: Adds the /SAMODE command which allows server operators
  1905. # to change modes on a channel without requiring them to have any
  1906. # channel priviliges. Also allows changing user modes for any user.
  1907. # This module is oper-only.
  1908. # To use, SAMODE must be in one of your oper class blocks.
  1909. <module name="m_samode.so">
  1910.  
  1911. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1912. # SANICK module: Adds the /SANICK command which allows opers to change
  1913. # users' nicks.
  1914. # This module is oper-only.
  1915. # To use, SANICK must be in one of your oper class blocks.
  1916. <module name="m_sanick.so">
  1917.  
  1918. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1919. # SAPART module: Adds the /SAPART command which forcibly parts a user
  1920. # from a channel.
  1921. # This module is oper-only.
  1922. # To use, SAPART must be in one of your oper class blocks.
  1923. <module name="m_sapart.so">
  1924.  
  1925. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1926. # SAQUIT module: Adds the /SAQUIT command which forcibly quits a user.
  1927. # This module is oper-only.
  1928. # To use, SAQUIT must be in one of your oper class blocks.
  1929. <module name="m_saquit.so">
  1930.  
  1931. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1932. # SATOPIC module: Adds the /SATOPIC command which allows changing the
  1933. # topic on a channel without requiring any channel priviliges.
  1934. # This module is oper-only.
  1935. # To use, SATOPIC must be in one of your oper class blocks.
  1936. <module name="m_satopic.so">
  1937.  
  1938. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1939. # SASL authentication module: Provides support for IRC Authentication
  1940. # Layer via AUTHENTICATE. Note: You also need to have m_cap.so loaded
  1941. # for SASL to work.
  1942. <module name="m_sasl.so">
  1943.  
  1944. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1945. # Secure list module: Prevent /LIST in the first minute of connection,
  1946. # crippling most spambots and trojan spreader bots.
  1947. <module name="m_securelist.so">
  1948. #
  1949. #-#-#-#-#-#-#-#-#-# SECURELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
  1950. # #
  1951. # Securelist can be harmful to some IRC search engines such as #
  1952. # netsplit.de and searchirc.com. To prevent securelist blocking these #
  1953. # sites from listing, define exception tags as shown below: #
  1954. #<securehost exception="*@*.searchirc.org">
  1955. #<securehost exception="*@*.netsplit.de">
  1956. #<securehost exception="*@echo940.server4you.de">
  1957. #<securehost exception="*@*.ircdriven.com">
  1958. # #
  1959. # Define the following variable to change how long a user must wait #
  1960. # before issuing a LIST. If not defined, defaults to 60 seconds. #
  1961. # #
  1962. #<securelist waittime="60"> #
  1963.  
  1964. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1965. # Servprotect module: Provides support for Austhex style +k /
  1966. # UnrealIRCD +S services mode.
  1967. #<module name="m_servprotect.so">
  1968.  
  1969. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1970. # See nicks module: Adds snomask +n and +N which show local and remote
  1971. # nick changes.
  1972. # This module is oper-only.
  1973. <module name="m_seenicks.so">
  1974.  
  1975. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1976. # Set idle module: Adds a command for opers to change their idle time.
  1977. # This module is oper-only.
  1978. # To use, SETIDLE must be in one of your oper class blocks.
  1979. <module name="m_setidle.so">
  1980.  
  1981. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1982. # Services support module: Adds several usermodes such as +R and +M.
  1983. # This module implements the 'identified' state via account names,
  1984. # and is similar in operation to the way asuka and ircu handle services.
  1985. #
  1986. # At the same time, this offers +r for users and channels to mark them
  1987. # as identified separately from the idea of a master account, which
  1988. # can be useful for services which are heavily nick-as-account centric.
  1989. #
  1990. # Also of note is that this module implements two extbans:
  1991. # +b R: (stop matching account names from joining)
  1992. # +b U:n!u@h (blocks matching unregistered users)
  1993. #
  1994. <module name="m_services_account.so">
  1995.  
  1996. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1997. # Sethost module: Adds the /SETHOST command.
  1998. # This module is oper-only.
  1999. # To use, SETHOST must be in one of your oper class blocks.
  2000. # See m_chghost for how to customise valid chars for hostnames.
  2001. <module name="m_sethost.so">
  2002.  
  2003. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2004. # Setident module: Adds the /SETIDENT command.
  2005. # This module is oper-only.
  2006. # To use, SETIDENT must be in one of your oper class blocks.
  2007. <module name="m_setident.so">
  2008.  
  2009. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2010. # SETNAME module: Adds the /SETNAME command.
  2011. <module name="m_setname.so">
  2012.  
  2013. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2014. # Serverban: Implements extended ban 's', which stops anyone connected
  2015. # to a server matching a mask like +b s:server.mask.here from joining.
  2016. <module name="m_serverban.so">
  2017.  
  2018. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2019. # Show whois module: Adds the +W usermode which allows opers to see
  2020. # when they are /WHOIS'd.
  2021. # This module is oper-only by default.
  2022. <module name="m_showwhois.so">
  2023. #
  2024. # If you wish, you may also let users set this mode. Only opers with the
  2025. # users/auspex priv will see real hosts of people, though. This setting
  2026. # is not reloadable via /REHASH, changing it requires /RELOADMODULE.
  2027. #<showwhois opersonly="yes"
  2028. #
  2029. # You may also set whether or not users should receive whois notices,
  2030. # should they be /WHOIS'd by an oper.
  2031. #showfromopers="yes">
  2032.  
  2033. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2034. # Shun module: Provides the /SHUN command, which stops a user from
  2035. # executing all except configured commands.
  2036. # This module is oper-only.
  2037. # To use, SHUN must be in one of your oper class blocks.
  2038. <module name="m_shun.so">
  2039. #
  2040. # You may also configure which commands you wish a user to be able to
  2041. # perform when shunned. It should be noted that if a shunned user
  2042. # issues QUIT or PART then their message will be removed, as if they
  2043. # did not issue one.
  2044. #
  2045. # You can optionally let the user know that their command was blocked.
  2046. #
  2047. # You may also let SHUN affect opers (defaults to no).
  2048. #<shun enabledcommands="PING PONG QUIT PART JOIN" notifyuser="yes" affectopers="no">
  2049.  
  2050. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2051. # SSL channel mode module: Adds support for SSL-only channels via
  2052. # channel mode +z and the 'z' extban which matches SSL client
  2053. # certificate fingerprints.
  2054. # Does not do anything useful without a working SSL module (see below).
  2055. #<module name="m_sslmodes.so">
  2056.  
  2057. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2058. # GnuTLS SSL module: Adds support for SSL connections using GnuTLS,
  2059. # if enabled. You must answer 'yes' in ./configure when asked or
  2060. # manually symlink the source for this module from the directory
  2061. # src/modules/extra, if you want to enable this, or it will not load.
  2062. #<module name="m_ssl_gnutls.so">
  2063. #
  2064. #-#-#-#-#-#-#-#-#-#-#- GNUTLS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
  2065. # #
  2066. # m_ssl_gnutls.so is too complex to describe here, see the wiki: #
  2067. # http://wiki.inspircd.org/Modules/ssl_gnutls #
  2068.  
  2069. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2070. # SSL info module: Allows users to retrieve information about other
  2071. # users' peer SSL certificates and keys. This can be used by client
  2072. # scripts to validate users. For this to work, one of m_ssl_gnutls.so
  2073. # or m_ssl_openssl.so must be loaded. This module also adds the
  2074. # "* <user> is using a secure connection" whois line, the ability for
  2075. # opers to use SSL fingerprints to verify their identity and the
  2076. # ability to force opers to use SSL connections in order to oper up.
  2077. # It is highly recommended to load this module if you use SSL on your
  2078. # network.
  2079. # For how to use the oper features, please see the first example <oper> tag
  2080. # in opers.conf.example.
  2081. #
  2082. #<module name="m_sslinfo.so">
  2083.  
  2084. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2085. # OpenSSL SSL module: Adds support for SSL connections using OpenSSL,
  2086. # if enabled. You must answer 'yes' in ./configure when asked or symlink
  2087. # the source for this module from the directory src/modules/extra, if
  2088. # you want to enable this, or it will not load.
  2089. #<module name="m_ssl_openssl.so">
  2090. #
  2091. #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
  2092. # #
  2093. # m_ssl_openssl.so is too complex to describe here, see the wiki: #
  2094. # http://wiki.inspircd.org/Modules/ssl_openssl #
  2095.  
  2096. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2097. # Strip color module: Adds channel mode +S that strips mIRC color
  2098. # codes from all messages sent to the channel.
  2099. <module name="m_stripcolor.so">
  2100.  
  2101. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2102. # Silence module: Adds support for the /SILENCE command, which allows
  2103. # users to have a server-side ignore list for their client.
  2104. <module name="m_silence.so">
  2105. #
  2106. # Set the maximum number of entries allowed on a user's silence list.
  2107. <silence maxentries="32">
  2108.  
  2109. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2110. # SQLite3 module: Allows other SQL modules to access SQLite3 #
  2111. # databases through a unified API. #
  2112. # This module is in extras. Re-run configure with: #
  2113. # ./configure --enable-extras=m_sqlite.cpp
  2114. # and run make install, then uncomment this module to enable it. #
  2115. #
  2116. #<module name="m_sqlite3.so">
  2117. #
  2118. #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
  2119. # #
  2120. # m_sqlite.so is more complex than described here, see the wiki for #
  2121. # more: http://wiki.inspircd.org/Modules/sqlite3 #
  2122. #
  2123. #<database module="sqlite" hostname="/full/path/to/database.db" id="anytext">
  2124.  
  2125. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2126. # SQL authentication module: Allows IRCd connections to be tied into
  2127. # a database table (for example a forum).
  2128. # This module is in extras. Re-run configure with:
  2129. # ./configure --enable-extras=m_sqlauth.cpp
  2130. # and run make install, then uncomment this module to enable it.
  2131. #
  2132. #<module name="m_sqlauth.so">
  2133. #
  2134. #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
  2135. # #
  2136. # m_sqlauth.so is too complex to describe here, see the wiki: #
  2137. # http://wiki.inspircd.org/Modules/sqlauth #
  2138.  
  2139. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2140. # SQL oper module: Allows you to store oper credentials in an SQL table
  2141. # This module is in extras. Re-run configure with:
  2142. # ./configure --enable-extras=m_sqloper.cpp
  2143. # and run make install, then uncomment this module to enable it.
  2144. #
  2145. #<module name="m_sqloper.so">
  2146. #
  2147. #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
  2148. # #
  2149. # dbid - Database ID to use (see SQL modules). #
  2150. # hash - Hashing provider to use for password hashing. #
  2151. # #
  2152. # See also: http://wiki.inspircd.org/Modules/sqloper #
  2153. # #
  2154. #<sqloper dbid="1" hash="md5">
  2155.  
  2156. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2157. # SVSHold module: Implements SVSHOLD. Like Q:Lines, but can only be #
  2158. # added/removed by Services. #
  2159. <module name="m_svshold.so">
  2160. # If silent is true no snotices will be generated by SVSHOLD.
  2161. #<svshold silent="false">
  2162.  
  2163. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2164. # SWHOIS module: Allows you to add arbitrary lines to user WHOIS.
  2165. # This module is oper-only.
  2166. # To use, SWHOIS must be in one of your oper class blocks.
  2167. <module name="m_swhois.so">
  2168.  
  2169. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2170. # Test module: Enable this to create a command useful in testing
  2171. # flood control. To avoid accidental use on live networks, the server
  2172. # name must contain ".test" to load the module
  2173. #<module name="m_testnet.so">
  2174.  
  2175. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2176. # Timed bans module: Adds timed channel bans with the /TBAN command.
  2177. <module name="m_timedbans.so">
  2178.  
  2179. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2180. # Test line module: Adds the /TLINE command, used to test how many
  2181. # users a /GLINE or /ZLINE etc. would match.
  2182. # This module is oper-only.
  2183. # To use, TLINE must be in one of your oper class blocks.
  2184. #<module name="m_tline.so">
  2185.  
  2186. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2187. # Topiclock module: implements server-side topic locking to achieve deeper
  2188. # integration with services packages.
  2189. #<module name="m_topiclock.so">
  2190.  
  2191. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2192. # UHNAMES support module: Adds support for the IRCX style UHNAMES
  2193. # extension, which displays ident and hostname in the names list for
  2194. # each user, saving clients from doing a WHO on the channel.
  2195. # If a client does not support UHNAMES it will not enable it, this will
  2196. # not break incompatible clients.
  2197. #<module name="m_uhnames.so">
  2198.  
  2199. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2200. # Uninvite module: Adds the /UNINVITE command which lets users remove
  2201. # pending invites from channels without waiting for the user to join.
  2202. #<module name="m_uninvite.so">
  2203.  
  2204. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2205. # Userip module: Adds the /USERIP command.
  2206. # Allows users to query their own IP, also allows opers to query the IP
  2207. # of anyone else.
  2208. <module name="m_userip.so">
  2209.  
  2210. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2211. # Vhost module: Adds the VHOST command which allows for adding virtual
  2212. # hosts which are accessible using a username and password in the config.
  2213. <module name="m_vhost.so">
  2214. #
  2215. #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
  2216. # #
  2217. # user - Username for the vhost. #
  2218. # #
  2219. # pass - Password for the vhost. #
  2220. # #
  2221. # hash - The hash for the specific user (optional) #
  2222. # m_password_hash.so and a hashing module must be loaded #
  2223. # for this to work. #
  2224. # #
  2225. # host - Vhost to set. #
  2226. #
  2227. #<vhost user="some_username" pass="some_password" host="some.host.test.cc">
  2228. #<vhost user="foo" password="fcde2b2edba56bf408601fb721fe9b5c338d10ee429ea04fae5511b68fbf8fb9" hash="sha256" host="some.other.host.example.com">
  2229.  
  2230. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2231. # Watch module: Adds the WATCH command, which is used by clients to
  2232. # maintain notify lists.
  2233. #<module name="m_watch.so">
  2234. #
  2235. # Set the maximum number of entries on a user's watch list below.
  2236. #<watch maxentries="32">
  2237.  
  2238. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2239. # XLine database: Stores all *Lines (G/Z/K/R/any added by other modules)
  2240. # in a file which is re-loaded on restart. This is useful
  2241. # for two reasons: it keeps bans so users may not evade them, and on
  2242. # bigger networks, server connections will take less time as there will
  2243. # be a lot less bans to apply - as most of them will already be there.
  2244. #<module name="m_xline_db.so">
  2245.  
  2246. # Specify the filename for the xline database here.
  2247. #<xlinedb filename="data/xline.db">
  2248.  
  2249. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2250. # ____ _ _____ _ _ ____ _ _ _ #
  2251. # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
  2252. # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
  2253. # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
  2254. # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
  2255. # #
  2256. # To link servers to InspIRCd, you MUST load the m_spanningtree #
  2257. # module. If you don't do this, server links will NOT work at all. #
  2258. # This is by design, to allow for the implementation of other linking #
  2259. # protocols in modules in the future. #
  2260.  
  2261. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2262. # Spanning tree module: Allows linking of servers using the spanning
  2263. # tree protocol (see the READ THIS BIT section above).
  2264. # You will almost always want to load this.
  2265. #
  2266. <module name="m_spanningtree.so">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement