Chris Mullins | 1 Jan 2004 01:24

RE: Jabberd2 client issues (jabber-2.0s1)

Robert Norris Wrote:

[Quick Login with Jabber2]

> > This is a bug in jabberd-2 because it does not
> > accept "quick logins" from clients. The server needs a pause between

> > the initial connection and the authentication, or it stalls.
> 

> Can someone give more information on what a "quick login" is, exactly?
> I've never heard of it before.

I've hit JabberD 2.0 very hard, and very quickly, and not seen any
issues like this. I was running the server on a 2x 2.4Ghz Xeon box with
Red Hat 9 - perhaps the issue they're talking about only happens on
single-proc machines? 

--

-- 
Chris Mullins
Matthias Wimmer | 1 Jan 2004 01:34

Re: Jabberd2 client issues (jabber-2.0s1)

Hi Robert!

Robert Norris schrieb am 2004-01-01 10:52:12:
> Can someone give more information on what a "quick login" is, exactly?
> I've never heard of it before.

As this was in the mailing list just a few days ago, I asked this as
well. I think I got the answer or a pointer to something that told me,
that it does not work if the client sends the authentication stanza in
the same TCP packet as the stream start. But I do not know why this
should be a problem. I have not checked if this is really a/the problem.

Happy new year!
     Matthias

--

-- 
Fon: +49-(0)70 0770 07770       http://matthias.wimmer.name/
HAM: DB1MW                      xmpp:mawis <at> charente.de
Paul Curtis | 1 Jan 2004 16:02

Yahoo-t 2.3.0 Released

Happy New Year .... An updated Yahoo-t is now available

This release incorporates many small bugs fixes. The most significant changes are better 
handling in cases of connection timeouts and errors.

In addition, this release of Yahoo-t is designed to be run standalone using the upcoming 
JCR 0.2.1 release. This will create a standalone binary version of the transport. See 
http://jabber.terrapin.com/ for details on JCR. It is expected to be released within a week.

There are still some licensing issues that need to be resolved concerning the Gaim source 
code used in Yahoo-t. Right now, I'm trying to track down the original sources of these 
files to make sure that they are compatible with the GPL license that Yahoo-t is released 
under. More to come on this subject soon.

Reagrds,
Paul
Andrew J Caird | 1 Jan 2004 20:09
Favicon

Re: jabber2 and bandersnatch-like logging?

On Thu, 1 Jan 2004, Robert Norris wrote:

> On Wed, Dec 31, 2003 at 04:49:12PM -0500, Andrew J Caird wrote:
> >   I would like to have the ability to do logging like it appears that
> > Bandersnatch does for Jabber1.4.  Is there an equivilant in Jabber2?
>
> The jabberd2 router has a facility to allow component to receive a copy
> of every packet that passes through it. This requires the component to
> use the new component protocol and request message logging when it
> connects. Bandersnatch doesn't currently do this.
>
> The other option would be to write a sm component the forwards packets
> to another component (which is alot more like how 1.4 does things). This
> doesn't currently exist, but would be trivial to write.

Rob,
  That's excellent, thanks.  Do you have any pointers to writing jabber2
components, or do I just need to dive into the code?
  For what it's worth, if I'm able to write what I want and what I write
isn't complete junk, I'll share it when I'm done.
  Thanks.
--
Andrew
Damjan | 1 Jan 2004 20:47
Picon
Favicon

Re: jabber2 and bandersnatch-like logging?

> > The jabberd2 router has a facility to allow component to receive a copy
> > of every packet that passes through it. This requires the component to
> > use the new component protocol and request message logging when it
> > connects. Bandersnatch doesn't currently do this.
> >
> > The other option would be to write a sm component the forwards packets
> > to another component (which is alot more like how 1.4 does things). This
> > doesn't currently exist, but would be trivial to write.
> 
>   That's excellent, thanks.  Do you have any pointers to writing jabber2
> components, or do I just need to dive into the code?

Since jabberd2 is stable and out, a component developer HOWTO is really
needed.

Is it possible to make a componnent request only "certain" messages to
be delivered to it... or it all or nothing?

If it is, what are the criterias possible to select the "certain"
messages?

--

-- 
Damjan Georgievski
jabberID: damjan <at> bagra.net.mk
John W. M. Stevens | 2 Jan 2004 00:57
Picon

HowTO: Run Jabber Server Behind NAT?

Hello:

I'm trying to run a Jabber server on a box that is behind a DSL Router/Modem
that requires that NAT be turned on.

I have a static IP address, and valid DNS records for said address, but of
course the address is the public interface of the DSL Router/Modem, not
the box on which the jabber server is running.  I have the jabber
ports forwarded to the machine running jabberd (version 1.4.2), but 
jabberd, instead of accepting the packets, keeps trying to forward
them over an s2s link to the "real" server.

Here's a picture:

+------------+                    +-------------------+
| Computer   | < 192.168.0.100    | DSL Router/Modem  | < Public IP Address
| running    +--------------------+     running NAT   +------------- Internet
| jabberd    |                    |                   | jabber.notreal.us
+------------+                    +-------------------+

I've tried lots of stuff, but nothing seems to work.

In short: is there any way to run a public jabber server behind a NAT'ing
firewall?

Thanks,
John S.
Andrew.Caird | 2 Jan 2004 01:01
Favicon

jabber2, off-line messages, and timezones

Hello all,
  I've noticed that with the most recently released jabber2 code, off-line
messages are delivered with the timezone information missing, so my client
(actually, I've only tested this with Psi) shows off-line messages as coming in
GMT, 5 hours later than they actually are (I'm in the eastern timezone of the
US).  Has anyone else noticed this?  (that is, is it a problem in my
environment, or is it more widespread?)
  Minor issues like this aside, I'm very pleased with all of the efforts of the
jabber2 team - thank you.
--
Andrew Caird
Robert Norris | 2 Jan 2004 01:23
Favicon
Gravatar

Re: Jabberd2 client issues (jabber-2.0s1)

On Thu, Jan 01, 2004 at 01:34:50AM +0100, Matthias Wimmer wrote:
> Robert Norris schrieb am 2004-01-01 10:52:12:
> > Can someone give more information on what a "quick login" is, exactly?
> > I've never heard of it before.
> 
> As this was in the mailing list just a few days ago, I asked this as
> well. I think I got the answer or a pointer to something that told me,
> that it does not work if the client sends the authentication stanza in
> the same TCP packet as the stream start. But I do not know why this
> should be a problem. I have not checked if this is really a/the problem.

Assuming this is a "quick login", I would note the following:

 - This isn't really any quicker, as the client still has to receive the
   stream response, auth result, etc before it can do anything useful.

 - Its pretty bad form on the part of the client to assume that the
   stream will always be successfully established. And with XMPP making
   error conditions so much more explicit, you really can't afford to
   not be watching for errors every step of the way. I consider your
   client to be broken if its not doing this.

 - jabberd2 takes steps to handle packets that arrived before the stream
   was established - they get queued until the stream is fully open (ie
   the stream response has been returned to the client), then replayed.
   This is a hack, but is needed for quite a few broken clients.
   However, it hasn't been well tested, so there may be a bug there.

Rob.

(Continue reading)

Robert Norris | 2 Jan 2004 01:25
Favicon
Gravatar

Re: jabber2 and bandersnatch-like logging?

On Thu, Jan 01, 2004 at 08:47:12PM +0100, Damjan wrote:
> >   That's excellent, thanks.  Do you have any pointers to writing jabber2
> > components, or do I just need to dive into the code?
> 
> Since jabberd2 is stable and out, a component developer HOWTO is really
> needed.

  http://jabberd.jabberstudio.org/dev/docs/component.shtml

> Is it possible to make a componnent request only "certain" messages to
> be delivered to it... or it all or nothing?

No, its all or nothing. You'll get everything the router sees -
including internal session control packets, DNS resolution packets
component discovery packets, etc.

Rob.

--

-- 
Robert Norris                                       GPG: 1024D/FC18E6C2
Email+Jabber: rob <at> cataclysm.cx                Web: http://cataclysm.cx/
Trejkaz Xaoza | 2 Jan 2004 01:29

Re: HowTO: Run Jabber Server Behind NAT?


On Fri, 2 Jan 2004 10:57, John W. M. Stevens wrote:
> Hello:
>
> I'm trying to run a Jabber server on a box that is behind a DSL
> Router/Modem that requires that NAT be turned on.
>
> I have a static IP address, and valid DNS records for said address, but of
> course the address is the public interface of the DSL Router/Modem, not
> the box on which the jabber server is running.  I have the jabber
> ports forwarded to the machine running jabberd (version 1.4.2), but
> jabberd, instead of accepting the packets, keeps trying to forward
> them over an s2s link to the "real" server.

Have you tried adding the hostnames of the jabber server to /etc/hosts on the 
jabber server itself?  That way it should think it is the real server.

TX

--

-- 
'Every sufficiently advanced technology is indistinguishable from magic' - 
Arthur C Clarke
'Every sufficiently advanced magic is indistinguishable from technology' - Tom 
Graves

      Email: Trejkaz Xaoza <trejkaz <at> xaoza.net>
   Web site: http://xaoza.net/trejkaz/
  Jabber ID: trejkaz <at> jabber.xaoza.net

Gmane