[JDEV] Groupchat error

Brian Lalor blalor at hcirisc.cs.binghamton.edu
Sun Dec 3 15:29:49 CST 2000


On Fri, 1 Dec 2000, Keith Minkler wrote:

> Brian,
> 
>     Can you include a copy of your jabberd config file?  I just want
> to make sure it is all setup properly, so that it's easier to
> troubleshoot this problem.

Included! 

Note that I commented out the agent registration section.  I'd like to get
that figured out, too.

Thanks!
B

_____________________________________________________________________________
B r i a n  L a l o r                         blalor at hcirisc.cs.binghamton.edu
http://hcirisc.cs.binghamton.edu/~blalor     Spam me not.
   To get my pgp key, put "get pgp key" in the subject of your message

  Brain:  Pinky, are you pondering what I'm pondering?
  Pinky:  Well, I think so, Brain, but I can't memorize a whole opera
          in Yiddish.
-------------- next part --------------
<jabber>
    <!-- This is the Jabber Server configuration file.  The file is broken into
    different sections based on the services being managed by jabberd, the
    server daemon.  Most of the important sections are commented on and easy to
    modify, full instructions are contained at http://docs.jabber.org/.  When
    you see a tag like "jabberd:cmdline", it's automatically replaced on startup
    with the command line flag to jabberd.  -->
    
    <!-- This section is for the session manager, the most important component
    within the server. -->
    <service id="sessions">
        <!-- Change hostname below to something other than "localhost", or use the
        "jabberd -h hostname" command line flag.  Multiple <host>...</host>
        entries are allowed, each one is a seperate virtual server.  -->
        <host>jabber.insight.com</host>
    
        <!-- This is the custom configuration section for the session manager. -->
        <jsm xmlns="jabber:config:jsm">
            <info>
                <name>Jabber Server</name>
                <description>A Jabber Server!</description>
                <url>http://foo.bar/</url>
            </info>
            
            <register>
            <instructions>Choose a username and password to register with this server.</instructions>
            <name/><email/>
            </register>
            
            <agents>
                <!-- This is the default agent for the master jabber user directory,
                this section can be duplicated for additional user custom/company
                directories. -->
            
                <!--
                <agent jid="users.jabber.org">
                    <name>Jabber User Directory</name>
                    <description>You may register and create a public searchable
                    profile, and search for other registered Jabber users.</description>
                    <service>jud</service>
                    <register/>
                    <search/>
                </agent>
                -->
            
                <!-- These are just examples, you will receive instructions on what to
                place here when you install a real agent. -->
                <agent jid="aim.jabber.insight.com">
                    <name>AIM Transport</name>
                    <description>This is the AIM Transport</description>
                    <transport>AIM/AOL ScreenName</transport>
                    <service>aim</service>
                    <register/>
                </agent>
               <!--
               <agent jid="icq.jabber.org">
                   <name>ICQ Transport</name>
                   <description>This is the ICQ Transport</description>
                   <transport>ICQ#</transport>
                   <service>icq</service>
                   <register/>
               </agent>
               -->
               <!--
               <agent jid="groupchat.jabber.insight.com">
                   <name>Group Conferencing</name>
                   <description>You can create and participate in private chatrooms.</description>
                   <service>groupchat</service>
                   <groupchat/>
                   <register/>
               </agent>
               -->
            </agents>

            <!-- Session log file -->
            <log>
                <file>/home/blalor/jabber/var/log/session</file>
                <type>session</type>
            </log>
            
            <!-- List of IDs with administrative access, all will receive administrator messages
            <admin>
                <read>support at jabber.insight.com</read>
                <write>admin at jabber.insight.com</write>
            </admin>
            -->
            
            <!-- Server version update notification, set to the server name so that
            all administrators (above) will be notified, or set to any ID -->
            <update>jabber.insight.com</update>
        </jsm>

        <!-- This section dynamically loads the session manager, remove or comment
        out modules to disable them. -->
        <load main="jsm">
            <jsm>/home/blalor/jabber/lib/jsm.so</jsm>
            <mod_echo>/home/blalor/jabber/lib/jsm.so</mod_echo>
            <mod_roster>/home/blalor/jabber/lib/jsm.so</mod_roster>
            <mod_time>/home/blalor/jabber/lib/jsm.so</mod_time>
            <mod_vcard>/home/blalor/jabber/lib/jsm.so</mod_vcard>
            <!-- <mod_version>/home/blalor/jabber/lib/jsm.so</mod_version> -->
            <mod_announce>/home/blalor/jabber/lib/jsm.so</mod_announce>
            <mod_agents>/home/blalor/jabber/lib/jsm.so</mod_agents>
            <mod_admin>/home/blalor/jabber/lib/jsm.so</mod_admin>
            <mod_private>/home/blalor/jabber/lib/jsm.so</mod_private>
            <mod_filter>/home/blalor/jabber/lib/jsm.so</mod_filter>
            <mod_presence>/home/blalor/jabber/lib/jsm.so</mod_presence>
            <mod_auth_plain>/home/blalor/jabber/lib/jsm.so</mod_auth_plain>
            <mod_auth_digest>/home/blalor/jabber/lib/jsm.so</mod_auth_digest>
            <mod_auth_0k>/home/blalor/jabber/lib/jsm.so</mod_auth_0k>
            <mod_register>/home/blalor/jabber/lib/jsm.so</mod_register>
            <mod_log>/home/blalor/jabber/lib/jsm.so</mod_log>
        </load>
    </service>

    <!-- This component handles all data storage, using the filesystem. -->
    <xdb id="xdb">
    <host/>
    <load>
        <xdb_file>/home/blalor/jabber/lib/xdb_file.so</xdb_file>
    </load>
    <xdb_file xmlns="jabber:config:xdb_file">
        <spool>/home/blalor/jabber/var/spool</spool>
    </xdb_file>
  </xdb>

  <!-- Service to manage incoming client socket connections. -->
  <service id="c2s">
    <load>
        <pthsock_client>/home/blalor/jabber/lib/pthsock_client.so</pthsock_client>
    </load>
    <pthcsock xmlns='jabber:config:pth-csock'>
      <!-- unlimited time to auth, could be <authtime>10</authtime> for 10
      seconds,  etc -->
      <authtime/>

      <!-- 25 connects in 5 seconds limit (per IP) -->
      <rate time="5" points="25"/>

      <!-- Karma based I/O rate limits, per connection, see
      http://docs.jabber.org/ for more info. -->
      <karma>
        <max>10</max>
        <inc>1</inc>
        <dec>1</dec>
        <restore>5</restore>
        <penalty>-5</penalty>
      </karma>

      <!-- Use these to listen on particular addresses and/or ports.
      <ip port="5223"/>
      <ip port="5222">127.0.0.1</ip>
      -->
    </pthcsock>
  </service>


  <!-- Default server logging component, copies to a file and STDERR. -->
  <log id='logger'>
    <host/>
    <format>%d: [%t] (%h): %s</format>
    <file>/home/blalor/jabber/var/log/error</file>
    <stderr/>
  </log>

  <!-- The following two services are for handling server to server traffic. -->
  <!-- External asychronous DNS resolver -->
  <service id="dnsrv">
    <host/>
    <load>
        <dnsrv>/home/blalor/jabber/lib/dnsrv.so</dnsrv>
    </load>
    <dnsrv xmlns="jabber:config:dnsrv">
        <!-- for supporting SRV records -->
    	<resend service="_jabber._tcp">s2s</resend>
    	<resend>s2s</resend> 
    </dnsrv>
  </service>

  <!-- Handles server connections and dialback hostname verification -->
  <service id="s2s">
    <load>
        <pthsock_server>/home/blalor/jabber/lib/pthsock_server.so</pthsock_server>
    </load>
    <pthssock xmlns='jabber:config:pth-ssock'>
        <!-- allow communication with old 1.0-style servers -->
        <legacy/>

        <!-- 25 connects in 5 seconds limit (per IP) -->
        <rate time="5" points="25"/>

        <!-- Karma based I/O rate limits, per connection, set a little higher
        for server connections -->
        <karma>
            <max>30</max>
            <inc>2</inc>
            <dec>1</dec>
            <restore>15</restore>
            <penalty>-1</penalty>
        </karma>
        <!-- Use these to listen on particular addresses and/or ports.
        <ip port="7000"/>
        <ip port="5269">127.0.0.1</ip>
        -->
    </pthssock>
    </service>

    <service id="aim.jabber.insight.com">
        <accept>
            <ip>172.16.1.25</ip>
            <port>4614</port>
            <secret>terces</secret>
        </accept>
    </service>

    <service id="groupchat.jabber.insight.com">
        <load><groupchat>/home/blalor/jabber/lib/groupchat.so</groupchat></load>
    </service>

</jabber>


More information about the JDev mailing list