[jdev] s2s packet routing

Matthias Wimmer m at tthias.net
Sat Feb 26 07:01:57 CST 2005


Hi David!

David Sansot schrieb am 2005-02-25 15:28:31:
> I was wondering if it is posible for a server to route
> a packet bound for another server through a third
> server.  That is, server A has a packet for server B,
> but sends the packet to server C who forwards it on to
> server B.
> 
> I guess my question is, is this allowed by the
> protocol?  The spec only really talks about a direct
> connection to the foreign domain.

But it's also not forbidden.

There are two possible cases:

1. The sending server does not establish connections to other servers
   but uses a "smarthost". You would have to configure the the sending
   server and the smarthost of behave to the outside world as the
   smarthost would be the sender. (E.g. if you use dialback for sender
   address verification, your smarthost would have to be able to do
   valid dialbacks.)

2. The receiving server might have a backup server with lower priority
   for delivery in DNS. You might have to configure it to forward the
   stanzas to the primary server if that comes back online. For dialback
   again you might have to configure both servers to generate the same
   dialback keys as for outgoing connections of the primary server other
   servers might use the backup server to verify the keys as well.


Tot kijk
    Matthias

-- 
Fon: +49-(0)70 0770 07770          http://web.amessage.info
Fax: +49-(0)89 312 88 654          xmpp:mawis at amessage.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://www.jabber.org/jdev/attachments/20050226/e4ef3b3c/attachment-0002.pgp>


More information about the JDev mailing list