Difference between revisions of "IRCd Config/Inspircd1.1"

From Mibbit Wiki
Jump to: navigation, search
(New page: == Instructions == These are instructions for how to configure your Inspircicd1.1 installation for use with the Mibbit system.<br /> :# Locate the cgiirc module in the inspircd.conf calle...)
 
m (added Note:)
(34 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
== Instructions ==
 
== Instructions ==
These are instructions for how to configure your Inspircicd1.1 installation for use with the Mibbit system.<br />
+
These are instructions for how to configure your InspIRCd 1.1 installation for use with the Mibbit system.
  
:# Locate the cgiirc module in the inspircd.conf called m_cgiirc.so<br />Look for <pre><module name="m_cgiirc.so"></pre> and uncomment it.
+
Note: remember to send us your [[Webirc information]] after you are done configuring.<br />
 +
 
 +
:# Locate the cgiirc module in the inspircd.conf called m_cgiirc.so<br />Look for: <pre><module name="m_cgiirc.so"></pre> and uncomment it.
 
:# Locate the cgihost tag below and configure as follows:
 
:# Locate the cgihost tag below and configure as follows:
 
::# Choose type as Webirc
 
::# Choose type as Webirc
 
::# In the ''password'' attribute, enter the appropriate Mibbit password as provided by the administrators.
 
::# In the ''password'' attribute, enter the appropriate Mibbit password as provided by the administrators.
::# In the ''mask'' attribute, enter our IP address {{Template:Mibbit_IP}}<br />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.
+
::# In the ''mask'' attribute, enter our IP addresses (main:{{Mibbit_IP}}, widget: {{Mibbit_WIDGET1_IP}}<br />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:<pre><cgihost type="webirc" password="Your password here" mask="{{Template:Mibbit_IP}}"></pre>
+
:: Your cgihost should look like this:
:# Locate your connection block and add an additional block as follows<br />
+
:::'''&lt;cgihost type="webirc" password="Your password here" mask="{{Mibbit_IP}}"&gt;'''
<pre>{{Template:Mibbit_IP}}</pre>
+
:::'''&lt;cgihost type="webirc" password="Your password here" mask="{{Mibbit_WIDGET1_IP}}"&gt;'''
 +
:# Locate your connection block and add an additional block as follows:
 +
 
 +
&lt;connect
 +
    allow="{{Mibbit_IP}}"
 +
    allow="{{Mibbit_WIDGET1_IP}}"
 +
    timeout="60"
 +
    flood="10"
 +
    pingfreq="120"
 +
    threshold="5"
 +
    sendq="131074"
 +
    recvq="4096"
 +
    globalmax="30"
 +
    localmax="30"
 +
    port="6667"&gt;
 +
 
 +
'''<span style="color:red;">Warning</span>''': you need to '''reload the cgiirc module''' after changes! Rehashing is not enough!
 +
 
 +
The major difference from your normal &lt;connect&gt; 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: [http://www.inspircd.org/wiki/Modules/cgiirc InspIRCd m_cgiirc documentation]
 +
 
 +
[[Category:How To]]
 +
[[Category:Code]]
 +
[[Category:Specifications]]
 +
[[Category:IRC]]
 +
{{DEFAULTSORT:Ircd Config/Inspircd1.1}}

Revision as of 15:19, 26 December 2012

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