Wildfire server, Gaim client, 30 min timeouts again

Hello, everyone. Lamer here.

I’'m running Wildfire on FC4 (installed from rpm, IIRC). It serves very nicely as a testbed for internal IM needs, but as previously mentioned (http://www.jivesoftware.org/community/thread.jspa?threadID=17033&tstart=0&messag eID=109131#109131) on this forum, after about 30 minutes, my users are temporarily kicked off.

The lame workaround I gave was to have their system automatically log on with their password cached… they’‘re gone for about 15 seconds, then they return. But it’‘s distracting as heck, since I’'m adding more users.

The solution listed from link above makes a suggested to modify some coding. When I went to terminal and did both a slocate[/b] and whereis[/b], I cannot find the file that must be edited. While I feel comfortable in vim and will gladly make the changes, I’‘m surprised that I can’'t find the files.

Another thing I noticed is that a different suggestion listed higher up the thread said to change a client idle timeout to around 12 hours. When I administer the server, though, the value that needs to be changed (xmpp.client.idle or something) doesn’‘t exist on my server. Can I arbitrarily drop the suggested “system property” in like that, or is it looking for something else that I haven’'t added in yet?

Any assistance in correctly finding the stuff I need to replace would be great.

Botlrokit

p.s.: thanks for your patience with the lamer.

Hi,

you want to add the value xmpp.client.idle to the already known system properties, thus creating a new one.

If you are interested in compiling Wildfire for yourself then fetch the source code from http://www.jivesoftware.org/source.jsp , do the changes mentioned in the thread and compile it.

LG

Hey Botlrokit,

Remember to restart the server once you have created/updated the system property.

Regards,

– Gato

I was looking at the source code for both GAIM and Wildfire and one thing caught my attention:

Wildfire expects heartbeats as either a space (0x20) or a newline (0x0A) character, while GAIM is sending a single tab (0x09) character.

~ Dima

Hey Dima,

Excellent news!!! I added JM-549 and fixed it for our next release due out today.

Thanks,

– Gato

Is this GAIM 2.0beta, or any version of GAIM? I thought earlier versions of GAIM didn’'t do any heartbeat at all?

Well, just by looking at

http://cvs.sourceforge.net/viewcvs.py/gaim/gaim/src/protocols/jabber/jabber.c ,

jabber_keepalive function has always been there and registered in Jabber protocol plugin information structure in the same file.

They changed the keepalive character sequence in jabber.c revision 1.192, right after GAIM 0.70 release.