IRCd Config/Inspircd1.1

From Mibbit Wiki
Revision as of 15:19, 26 December 2012 by Molkmin (Talk | contribs) (added Note:)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Instructions

These are instructions for how to configure your InspIRCd 1.1 installation for use with the Mibbit system.

Note: remember to send us your Webirc information after you are done configuring.

  1. Locate the cgiirc module in the inspircd.conf called m_cgiirc.so
    Look for:
    <module name="m_cgiirc.so">
    and uncomment it.
  2. Locate the cgihost tag below and configure as follows:
  1. Choose type as Webirc
  2. In the password attribute, enter the appropriate Mibbit password as provided by the administrators.
  3. In the mask attribute, enter our IP addresses (main:64.62.228.82, widget: 207.192.75.252
    Note: In some cases its been reported that connection from mibbit users were not resolved to the correct address. In some cases this can be fixed by setting the mask to "*". This is NOT recommended behavior.
Your cgihost should look like this:
<cgihost type="webirc" password="Your password here" mask="64.62.228.82">
<cgihost type="webirc" password="Your password here" mask="207.192.75.252">
  1. Locate your connection block and add an additional block as follows:
<connect 
   allow="64.62.228.82" 
   allow="207.192.75.252"
   timeout="60" 
   flood="10" 
   pingfreq="120"
   threshold="5" 
   sendq="131074"
   recvq="4096"
   globalmax="30"
   localmax="30"
   port="6667">

Warning: you need to reload the cgiirc module after changes! Rehashing is not enough!

The major difference from your normal <connect> block should be the allow parameter and the globalmax and localmax. The reason for these changes is so that the server does not identify several users of mibbit as coming from the same IP and then raises a session exceeded error.

Troubleshooting

If you are having problems getting the module to work, try rehashing and reloading the module after configuration changes. The easiest way to do this is by rehashing, then issuing the command "/reloadmodule m_cgiirc.so". Sometimes only a server retart helps.

For more information: InspIRCd m_cgiirc documentation