[JDEV] server to server connection

Dillip Kumar Swain babu95 at yahoo.com
Mon Aug 27 09:41:49 CDT 2001


Hi 
I am using jabber server-1.4.1.
I want to configure jabber server(myserver1.abc) to
jabber server(myserver2.abc) connection. But I found
error" server connect failed". I am sending some
part(c2s & s2s) of my configuration file jabber.xml.

Pl. correct my configure file if I have any wrong!

Thanx in advance
Dillip


  <service id="c2s">
    <load>
     
<pthsock_client>./pthsock/pthsock_client.so</pthsock_client>
    </load>
    <pthcsock xmlns='jabber:config:pth-csock'>
      <authtime/>
      <karma>
        <init>10</init>
        <max>10</max>
        <inc>1</inc>
        <dec>1</dec>
        <penalty>-6</penalty>
        <restore>10</restore>
      </karma>

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

      <!--
      The <ssl/> tag acts pretty much like the <ip/>
tag,
      except it defines that SSL is to be used on the 
      ports and IP addresses specified. You must
specify
      an IP address here, or the connections will
fail.
      <ssl port='5223'>127.0.0.1</ssl>
      <ssl port='5224'>192.168.1.100</ssl>
      -->

    </pthcsock>
  </service>

  <!-- 
  This is the default server error logging component, 
  which copies to a file and to STDERR. 
  -->

  <log id='elogger'>
    <host/>
    <logtype/>
    <format>%d: [%t] (%h): %s</format>
    <file>error.log</file>
    <stderr/>
  </log>

  <!-- 
  This is the default server record logging component,

  which logs general statistical/tracking data. 
  -->

  <log id='rlogger'>
    <host/>
    <logtype>record</logtype>
    <format>%d %h %s</format>
    <file>record.log</file>
  </log>

  <!-- The following two services are for handling
server-to-server traffic. -->

  <!-- External asychronous DNS resolver -->

  <service id="dnsrv">
    <host/>
    <load>
      <dnsrv>./dnsrv/dnsrv.so</dnsrv>
    </load>
    <dnsrv xmlns="jabber:config:dnsrv">
    	<resend service="_jabber._tcp">s2s</resend> <!--
for supporting SRV records -->
    	<resend>s2s</resend>
    </dnsrv>
  </service>

  <!--
  The following 's2s' config handles server
connections and 
  dialback hostname verification.  The <legacy/>
element is 
  here to enable communication with old 1.0 servers.
The 
  karma settings are a little higher here to handle
the 
  higher traffic of server-to-server connections (read
  the io section below for more details, medium
settings).
  -->

  <service id="s2s">
    <load>
      <dialback>./dialback/dialback.so</dialback>
    </load>
    <dialback xmlns='jabber:config:dialback'>
      <legacy/>
      <!-- Use these to listen on particular addresses
and/or ports.
      <ip port="7000"/>
      <ip port="5269">127.0.0.1</ip>
	<ip port="5269"/>
      -->
      <ip port="5269">myserver2.abc</ip>
	 <karma>
        <init>50</init>
        <max>50</max>
        <inc>4</inc>
        <dec>1</dec>
        <penalty>-5</penalty>
        <restore>50</restore>
      </karma>
    </dialback>
  </service>

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie



More information about the JDev mailing list