Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
tambunanw #1
User title: Welly
Member since Jul 2011 · 57 posts · Location: Jakarta
Group memberships: Members, Premium
Show profile · Link to this post
Subject: Send Packet to component in other domain
Is that possible sending packet to component in other domain ?

say that there's a client welly@jakwt1 want to send the message to mediarelay.jakwt2

is this scenario possible by xmpp specs ?
Avatar
Alex #2
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
yes, absolutely no problem. Components normally always run on sub-domains like mediarelay.jakwt2 when jakwt2 is the xmpp domain of your server.
Avatar
tambunanw #3
User title: Welly
Member since Jul 2011 · 57 posts · Location: Jakarta
Group memberships: Members, Premium
Show profile · Link to this post
although the component is in the other network ?

jakwt1 to jakwt2 ?
Avatar
Alex #4
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
XMPP components communicate over a Tcp stream to each other. similar like the client to server stream.
So components can run on different physical server machines and different networks, as long as your firewalls are configured correctly and they can talk to each other over the network. Also different server jakwt1 and jakwt2 talk to each other and route packets when they are setup correctly.

Alex
Avatar
tambunanw #5
User title: Welly
Member since Jul 2011 · 57 posts · Location: Jakarta
Group memberships: Members, Premium
Show profile · Link to this post
okay. that's good to know..

so every node from one server can talk to node from different server
as long as both server are connected ?

even the internal component can send a packet to internal component in another server ?
Avatar
Alex #6
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by tambunanw:
so every node from one server can talk to node from different server
as long as both server are connected ?
yes and when the server admin allows this.

Quote by tambunanw:
even the internal component can send a packet to internal component in another server ?
yes, all addressable XMPP nodes can talk to each other when they are federated. When you don't want that one of your components can be reached from every XMPP node you can restrict the access pretty easy.

Alex
Avatar
tambunanw #7
User title: Welly
Member since Jul 2011 · 57 posts · Location: Jakarta
Group memberships: Members, Premium
Show profile · Link to this post
awesome..

Love it.. XMPP is rock

Thanks Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: MatriX RSS