[jdev] spoofing "from" attributes
Fabio Forno
fabio.forno at polito.it
Tue Feb 22 16:17:04 CST 2005
Matthias Wimmer wrote:
> Don't wrap your messages in <route/> elements ... you cannot "route" a
> packet to another server s <route/> elements are not allowed on s2s
> links. Just send the <message/> element.
I'm realizing that I don't know enough about <route/> packets... If I
send a bare <message/> from the component (using the jabber:client
namespace, is it ok?) the message just disappear whithin the router.
In http://jabberd.jabberstudio.org/dev/docs/component.shtml I read that
messages should be sent using <route/> elements, as in this example:
<route from='s2s' to='conference.jabber.org'>
<message xmlns='jabber:client' to='jdev at conference.jabber.org/rob'
from='rob at cataclysm.cx/laptop' type='groupchat'>
<body>oh, how I wish we could kick people</body>
</message>
</route>
In my attempts only the name of the component name changes, I really
don't understand what's worng.
Are there other sources for better learning <route/> elements?
--
Fabio Forno, Ph.D. - Research Assistant
Politecnico di Torino - Dip. Automatica e Informatica
C.so Duca degli Abruzzi 24 - 10129 Torino (Italy)
Phone: +39 011 2276 102 - JabberId: sciasbat at jabber.linux.it
More information about the JDev
mailing list