Re: XMPP Server configuration: How to list Remote XMPP server configuration
Bhagavan Prasad <[email protected]> Mon, 17 Sep 2012 17:26:57 +0530
| Newsgroups | gmane.network.jabber.admin |
|---|---|
| Message-ID | <CAAV2PL2pG=iH1BG74a9_x1h-Kwd16RTyi-ops=dRVuF5Y0pWgA@mail.gmail.com> |
--===============2109722585== Content-Type: multipart/alternative; boundary=f46d043c81a66ffc0804c9e47837 --f46d043c81a66ffc0804c9e47837 Content-Type: text/plain; charset=ISO-8859-1 Hi Thank you very much for quick reply. In my case, even the remote XMPP server is also mine. I have two XMPP servers in my setup. How to configure them to communicate each other? Which of my assumptions are correct? >>XMPP server asks DNS server for SRV records with IP address Q. If yes, how XMPP Server knows IP address of DNS server? Is it part of s2s.xml file? >>XMPP servers reads, systems DNS server configuration and tries to communicates to server regards Bhagavan On Mon, Sep 17, 2012 at 4:56 PM, Tomasz Sterna <[email protected]> wrote: > Dnia 2012-09-17, pon o godzinie 16:09 +0530, Bhagavan Prasad pisze: > > >> <IP>0.0.0.0</ip> <port>5269></port> > > Is local server listening for connection from remote servers on port > > number 5269, > > OK. > > > > >> <router> ...., 5347 </router> > > Is to connect to remote router, where it is capable to to build > > communication between XMPP and non-XMPP clients > > From the looks of it, you are using jabberd2. > 'router' is your local jabber server component used to connect other > components (like c2s, s2s and sm) and exchange packets between them. > It's usually not world-accessible. > > > > >> from s2s.log file, I observed that server is trying to build > > connection with remote server local.domain.com/proxy.eu.jabber.org. > > Question. From where the server got the above "proxy.eu.jabber.org" > > string? I have searched all config (xml) files but I couldn't find. > > Every I tried in the code, but no luck. > > There was a packet originated in your server with destination > [email protected] > Most probably someone added [email protected] contact to > ones roster, so the server is sending presence request and/or probe to > this address. > Since you are not handling 'proxy.eu.jabber.org' domain inside your > local jabber server, these packets are pushed to s2s component to > handle, and s2s components tries to open server-to-server connection (on > port 5269) to server handling proxy.eu.jabber.org domain. > > > > Where to configure the Remote XMPP server address in Local XMPP server > > You do not. > It's remote server administrator job, to put proper SRV records in DNS > for the remote server name. > Your server then uses DNS to resolve the remote name, to find the remote > server to connect to. > > > > -- > Tomasz Sterna > Instant Messaging Consultant : Open Source Developer > http://tomasz.sterna.tv/ http://www.xiaoka.com/portfolio > > > > _______________________________________________ > JAdmin mailing list > Info: http://mail.jabber.org/mailman/listinfo/jadmin > Unsubscribe: [email protected] > _______________________________________________ > --f46d043c81a66ffc0804c9e47837 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div>Hi Thank you very much for quick reply.</div> <div>=A0</div> <div>In my case, even the remote XMPP server is also mine.</div> <div>=A0</div> <div>I have=A0two XMPP servers in my setup.=A0 How to configure them to com= municate each other?</div> <div>=A0</div> <div>Which of my assumptions are correct?</div> <div>=A0</div> <div>>>XMPP server asks DNS server for SRV records with IP address</d= iv> <div>=A0Q. If yes, how XMPP Server knows IP address of DNS server?=A0 Is it= part of s2s.xml file?</div> <div>=A0</div> <div>>>XMPP servers reads, systems DNS server configuration and tries= to communicates to server</div> <div>=A0</div> <div>regards</div> <div>Bhagavan<br><br></div> <div class=3D"gmail_quote">On Mon, Sep 17, 2012 at 4:56 PM, Tomasz Sterna <= span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank">= [email protected]</a>></span> wrote:<br> <blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA= DDING-LEFT:1ex" class=3D"gmail_quote">Dnia 2012-09-17, pon o godzinie 16:09= +0530, Bhagavan Prasad pisze:<br> <div class=3D"im">> >> =A0<IP>0.0.0.0</ip> <port>= ;5269></port><br>> Is local server listening for connection fro= m remote servers on port<br>> number 5269,<br><br></div>OK.<br> <div class=3D"im"><br><br>> >> =A0<router> ...., =A05347 <= ;/router><br>> Is to connect to remote router, where it is capable to= to build<br>> communication between XMPP and non-XMPP clients<br><br></= div> From the looks of it, you are using jabberd2.<br>'router' is your l= ocal jabber server component used to connect other<br>components (like c2s,= s2s and sm) and exchange packets between them.<br>It's usually not wor= ld-accessible.<br> <div class=3D"im"><br><br>> >> from s2s.log file, I observed that = server is trying to build<br>> connection with remote server <a href=3D"= http://local.domain.com/proxy.eu.jabber.org" target=3D"_blank">local.domain= .com/proxy.eu.jabber.org</a>.<br> > Question. From where the server got the above "<a href=3D"http://= proxy.eu.jabber.org/" target=3D"_blank">proxy.eu.jabber.org</a>"<br>&g= t; string? =A0I have searched all config (xml) files but I couldn't fin= d.<br> > Every I tried in the code, but no luck.<br><br></div>There was a packe= t originated in your server with destination<br><a href=3D"mailto:something= @proxy.eu.jabber.org">[email protected]</a><br>Most probably so= meone added <a href=3D"mailto:[email protected]">something@prox= y.eu.jabber.org</a> contact to<br> ones roster, so the server is sending presence request and/or probe to<br>t= his address.<br>Since you are not handling '<a href=3D"http://proxy.eu.= jabber.org/" target=3D"_blank">proxy.eu.jabber.org</a>' domain inside y= our<br> local jabber server, these packets are pushed to s2s component to<br>handle= , and s2s components tries to open server-to-server connection (on<br>port = 5269) to server handling <a href=3D"http://proxy.eu.jabber.org/" target=3D"= _blank">proxy.eu.jabber.org</a> domain.<br> <div class=3D"im"><br><br>> Where to configure the Remote XMPP server ad= dress in Local XMPP server<br><br></div>You do not.<br>It's remote serv= er administrator job, to put proper SRV records in DNS<br>for the remote se= rver name.<br> Your server then uses DNS to resolve the remote name, to find the remote<br= >server to connect to.<br><span class=3D"HOEnZb"><font color=3D"#888888"><b= r><br><br>--<br>Tomasz Sterna<br>Instant Messaging Consultant : Open Source= Developer<br> <a href=3D"http://tomasz.sterna.tv/" target=3D"_blank">http://tomasz.sterna= .tv/</a> =A0<a href=3D"http://www.xiaoka.com/portfolio" target=3D"_blank">h= ttp://www.xiaoka.com/portfolio</a><br><br><br><br>_________________________= ______________________<br> JAdmin mailing list<br>Info: <a href=3D"http://mail.jabber.org/mailman/list= info/jadmin" target=3D"_blank">http://mail.jabber.org/mailman/listinfo/jadm= in</a><br>Unsubscribe: <a href=3D"mailto:[email protected]">JAd= [email protected]</a><br> _______________________________________________<br></font></span></blockquo= te></div><br> --f46d043c81a66ffc0804c9e47837-- --===============2109722585== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ JAdmin mailing list Info: http://mail.jabber.org/mailman/listinfo/jadmin Unsubscribe: [email protected] _______________________________________________ --===============2109722585==--