Re: [JDEV] Re: Checking for messages without actually receiving them

2002-09-26 Thread David Sutton
Hi all, Technically, you could do the same with xdb_file, just by reading the users .xml file. I'm a little worried about xdb_sql due to transports and the like. Saying that, the mod_pending server patch is also good, as detailed in another reply. I've been including that in all the se

[JDEV] Re: Checking for messages without actually receiving them

2002-09-26 Thread Raditha Dissanayake
Hi sebastian How about using xdb_sql and performaing a select count(*) from spool query from your php script to figure out if there are any messages? Since php is so powerfull this to me looks the easiest way of doing it. Sebastian Paul Avarvarei writes: > Hello, > > Is it possible to c

Re: [JDEV] Some Performance issues

2002-09-26 Thread Justin Georgeson
from August 26 to today, here are my averages 212253 presence packets: min 84, avg 154, max 2273 67431 message packets: min 88, avg 236, max 113145 11669 iq packets: min 81, avg 368, max 6373 Sizes are in bytes. Not sure how many clients are logged in on average. Peter Millard wrote: > [Note: S

Re: [JDEV] Some Performance issues

2002-09-26 Thread Peter Millard
[Note: Some questions skipped] > 1)What is the minimum bandwidth a Jabber Client need to connect to > the Server??? Minimum bandwidth?? Every client uses a long-lived tcp socket. I'm not sure we have stats on average packet length from clients. Perhaps others can comment about their # of simulta

[JDEV] Using v2 queries with xdb_sql

2002-09-26 Thread Benoit Decaudin
Hello. I'm trying to bypass the built-in v1 querydefs for "auth-set", "auth-get", and the "0k" stuff related to these queries. I have successfully (!?) removed the code associated with these querydefs, and I wrote to the configuration file the new querydefs. I can now successfully login to the se

Re: [JDEV] jabberd behind NAT fails s2s interoperation

2002-09-26 Thread matthew c. mead
I do not use the -h switch. I do have the following in jabber.xml as an element in the element: goof.com -matt On Thu, Sep 26, 2002 at 12:07:28PM -0500, Justin Georgeson wrote: > No, the receiving server does a dns lookup of the hostname given to find > the ip address to contact for verifi

[JDEV] Some Performance issues

2002-09-26 Thread SARADHI
Hi, I need answers to the following questions. Hope I can get them .. 1)What is the minimum bandwidth a Jabber Client need to connect to the Server??? 2) What are the factors a developer or a administrator to look while installing the Jabber Server and Jabber Client I need in terms of t

[JDEV] Re: Invisible issue

2002-09-26 Thread SARADHI
Hi, Invisibility support is available in the latest server. There are two ways to use Jabber invisibility: on a per-buddy and on a per-server basis.   To use per-buddy invisibility: One can be visible to all others buddies and can set his invisibility Only to a particular user if he wants. This c

Re: [JDEV] Checking for messages without actually receiving them

2002-09-26 Thread Ragavan S
>Hello, > >Is it possible to check on the server if there are messages waiting for an >user, but without actually getting them from the server? > >I'm trying to write an PHP module which would display in an Web page a >notification, in case there are messages waiting for him/her. I don't want

Re: [JDEV] jabberd behind NAT fails s2s interoperation

2002-09-26 Thread Justin Georgeson
No, the receiving server does a dns lookup of the hostname given to find the ip address to contact for verification. When you start jabber, do you give it a -h flag? If so that value needs to resolve, via DNS to the ip of your nat. If not, use the value of the tag right after the start of the

Re: [JDEV] jabberd behind NAT fails s2s interoperation

2002-09-26 Thread matthew c. mead
That's what is happening. Something's getting hosed up. My guess at this point is the implementation is passing ip addresses to the other server rather than a FQDN. A PTR record is a DNS record that maps an ip address to a FQDN. -matt On Thu, Sep 26, 2002 at 10:49:59AM -0500, Justin Georgeso

Re: [JDEV] jabberd behind NAT fails s2s interoperation

2002-09-26 Thread matthew c. mead
On Thu, Sep 26, 2002 at 04:58:51PM +0100, Richard Dobson wrote: > > Yeah, I found that one out by trying. I still don't see what's > > going wrong. > > > > Does dialback require that the ip address specified by the A > > record for the server name have a PTR which points back to the > > server na

Re: [JDEV] jabberd behind NAT fails s2s interoperation

2002-09-26 Thread Justin Georgeson
I'm not sure what a PTR is. The name that your server call itself (the or -h value) should resolve to the ip address of your server. In your case, the external IP of the NAT box. Since you have the forwarding in place, the traffic would go to your jabber server, which should then validate the

Re: [JDEV] jabberd behind NAT fails s2s interoperation

2002-09-26 Thread Richard Dobson
> Yeah, I found that one out by trying. I still don't see what's > going wrong. > > Does dialback require that the ip address specified by the A > record for the server name have a PTR which points back to the > server name? No you do not need a PTR but the domain your server is claiming to be n

Re:[JDEV] Invisible issue

2002-09-26 Thread Sebastian Paul Avarvarei
Hello Adrian, If I remember correctly, there was an addition in the v. 1.4.2: Check out http://www.jabber.org/jeps/jep-0018.html Cheers, Seb Adrian Rapa (9/26/2002 4:53 PM): >hi >is there any method to make an user "invisible"? >i want to take the offline messages from the user without an

Re: [JDEV] jabberd behind NAT fails s2s interoperation

2002-09-26 Thread matthew c. mead
Yeah, I found that one out by trying. I still don't see what's going wrong. Does dialback require that the ip address specified by the A record for the server name have a PTR which points back to the server name? -matt On Thu, Sep 26, 2002 at 09:21:41AM -0500, Justin Georgeson wrote: > I don

[JDEV] Invisible issue

2002-09-26 Thread Adrian Rapa
hi is there any method to make an user "invisible"? i want to take the offline messages from the user without anyone know that the user is logged? The conenction is done from php with a direct conenctoin on the server(jabber server and web server are on the same machine   adrian

Re: [JDEV] jabberd behind NAT fails s2s interoperation

2002-09-26 Thread Justin Georgeson
I don't have time to look at the trace right now, but will try to today. Dialback/s2s does not use ssl, so turning it off will have zero effect on this. matthew c. mead wrote: > Thanks for the explanation. > > Is this key the ssl certificate that I built? If so, would it > being self-signed

Re: [JDEV] UTF 8 problems in jabber stream...

2002-09-26 Thread Edrin
> There is a bug in older versions of expat which allows some invalid > UTF-8 through. I do not know if the open-source server has been upgraded > to a proper version. > > -David Waite hi Anyone could check it out? it would be not nice for other parsers (esspecially for simple parsers as min

[JDEV] How to use EchoComponent of Marbles library?

2002-09-26 Thread Wojciech Dec
Hi, As in the subject. The config below doesn't work. It seems to me the component even doesn't connect because nothing happens if I change the secret in jabber.xml file. How to configure jabber.xml to make EchoComponent working? How to check it out? What address should I send a message to ge

[JDEV] Checking for messages without actually receivingthem

2002-09-26 Thread Sebastian Paul Avarvarei
Hello, Is it possible to check on the server if there are messages waiting for an user, but without actually getting them from the server? I'm trying to write an PHP module which would display in an Web page a notification, in case there are messages waiting for him/her. I don't want to displa