Re: [JDEV] Privacy in conferencing -- does it work?

2001-07-12 Thread David Waite

In the more recent draft of the protocol, the functionality provided by 
'privacy' is always on; iq requests are defined as IQ requests against 
the representation of the user within the room, not the account/client 
connected.

-David Waite

Ben Zel wrote:

> Hello,
>
> When implementing conferencing I've noticed that  does not 
> seem to work.  I send it in the IQ after the initial presence is sent 
> to the conference:
>
> 
>
> 
>  
>me
>Test Chat
>
>  
> 
>
> However, when I issue a browse request (explicit request, not live 
> browsing) on the conference it will return the real JID of the 
> person.  What's wrong here, is privacy not implemented, or am I 
> misunderstanding something / doing something wrong?
>
> Thanks,
> Ben
>
> _
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> ___
> jdev mailing list
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev




___
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev



Re: [JDEV] Privacy in conferencing -- does it work?

2001-07-12 Thread David Waite

It actually has been up for a week now :-) Try conference.jabber.com.

-David Waite

Robert Temple wrote:

>If I was you, I'd hold off on implementing conferencing until the new
>version is out.   Supposedly it was released in the newest JCS just
>yesterday and its being tested on a non-CS, jabber.org right now.
>
>-Robert
>
>>-Original Message-
>>From: Ben Zel [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, July 12, 2001 4:08 PM
>>To: [EMAIL PROTECTED]
>>Subject: [JDEV] Privacy in conferencing -- does it work?
>>
>>
>>Hello,
>>
>>When implementing conferencing I've noticed that  
>>does not seem to 
>>work.  I send it in the IQ after the initial presence is sent to the 
>>conference:
>>
>>
>>
>>
>>  
>>me
>>Test Chat
>>
>>  
>>
>>
>>However, when I issue a browse request (explicit request, not 
>>live browsing) 
>>on the conference it will return the real JID of the person.  
>>What's wrong 
>>here, is privacy not implemented, or am I misunderstanding 
>>something / doing 
>>something wrong?
>>
>>Thanks,
>>Ben
>>
>>__
>>___
>>Get Your Private, Free E-mail from MSN Hotmail at 
>>
>http://www.hotmail.com.
>
>___
>jdev mailing list
>[EMAIL PROTECTED]
>http://mailman.jabber.org/listinfo/jdev
>___
>jdev mailing list
>[EMAIL PROTECTED]
>http://mailman.jabber.org/listinfo/jdev
>



___
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev



RE: [JDEV] Bug: Status messages truncated before quote char

2001-07-12 Thread Stanley Kurdziel
Title: 



Actually, I was composing an email regarding truncation of offline 
messages, when I saw your email :-)
 
I am 
running jabber server 1.4.1 on Linux.
 
This 
problem only happens when the receiving user is offline, and is not just 
restricted to status elements.   I noticed this problem during sending 
regular messages.   Here's the problem's I 
observed:
1. 
Sending a message with 'message   will end up 
with only ' in the .xml 
file
2. 
Sending a message with "message   will end up 
with only " in the .xml 
file
3. 
Sending a message with part1"part2   will end 
up with only part1 in the .xml 
file
4. 
Sending a message with part1'part2   will end 
up with only part1 in the .xml 
file
 
Maybe 
it's a bug in xdb_file, since the messages are sent fine if both users are 
online.
 
Interestingly, this does not happen on the jabber.org 
server...   Is jabber.org using xdb_file?   or 
xdb_
Or has 
a fix been applied to jabber.org?
 
 
Thanks 
for any information,
 
-sek
 
 
-Original 
Message-From: Jens Alfke [mailto:[EMAIL PROTECTED]]Sent: 
Thursday, July 12, 2001 12:03 PMTo: 
[EMAIL PROTECTED]Subject: [JDEV] Bug: Status messages truncated before 
quote char

  I have noticed that status messages (i.e.  elements in a 
   element) containing a quote character are truncated before 
  that character — but only when forwarded by the server upon client login, not 
  when they're sent in real time to an already logged in client. 
  I've verified that my client sends XML metachars properly to the 
  server, and that the problem exists in the raw XML received by the client, not 
  in my XML parsing. 
  This is with the 1.4.1 server running on Solaris. Anyone else seen this? 
  
  —Jens


Re: [JDEV] Privacy in conferencing -- does it work?

2001-07-12 Thread Jens Alfke
 On Thursday, July 12, 2001, at 04:07 PM, Ben Zel wrote:

When implementing conferencing I've noticed that  does not seem to work.  I send it in the IQ after the initial presence is sent to the conference:

If you create the conference by sending presence to it, you get the old-style groupchat protocol, which I believe doesn't support privacy. To get privacy you need to create the room the new way. The conferencing draft document describes all this.

http://docs.jabber.org/draft-proto/html/conferencing.html

(Look under "creating a new room".)

Watch out though, the current draft of this document describes all kinds of new features that I don't think have even been implemented yet! As far as I know there's no current document that describes just what exists today in 1.4.x.

—Jens

RE: [JDEV] Privacy in conferencing -- does it work?

2001-07-12 Thread Robert Temple

If I was you, I'd hold off on implementing conferencing until the new
version is out.   Supposedly it was released in the newest JCS just
yesterday and its being tested on a non-CS, jabber.org right now.

-Robert

> -Original Message-
> From: Ben Zel [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 12, 2001 4:08 PM
> To: [EMAIL PROTECTED]
> Subject: [JDEV] Privacy in conferencing -- does it work?
> 
> 
> Hello,
> 
> When implementing conferencing I've noticed that  
> does not seem to 
> work.  I send it in the IQ after the initial presence is sent to the 
> conference:
> 
> 
> 
> 
>   
> me
> Test Chat
> 
>   
> 
> 
> However, when I issue a browse request (explicit request, not 
> live browsing) 
> on the conference it will return the real JID of the person.  
> What's wrong 
> here, is privacy not implemented, or am I misunderstanding 
> something / doing 
> something wrong?
> 
> Thanks,
> Ben
> 
> __
> ___
> Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com.

___
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev
___
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev



[JDEV] Privacy in conferencing -- does it work?

2001-07-12 Thread Ben Zel

Hello,

When implementing conferencing I've noticed that  does not seem to 
work.  I send it in the IQ after the initial presence is sent to the 
conference:




  
me
Test Chat

  


However, when I issue a browse request (explicit request, not live browsing) 
on the conference it will return the real JID of the person.  What's wrong 
here, is privacy not implemented, or am I misunderstanding something / doing 
something wrong?

Thanks,
Ben

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

___
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev



[JDEV] Updated Jabber Test reporting..

2001-07-12 Thread Dustin Puryear

I added some nice reports to Jabber Test. When using nusers2.sh you can 
now enable GETRESULTS, which will grab and tabulate stats on message 
deliveries.

Each test has a detail report, such as the following one for 10 users, 
sending 1 msg/sec, for 60 seconds (nusers2.sh crack 10 1 60 test_):

User  MinDelTime MaxDelTime AvgDelTime MsgCnt ExpMsg MsgLossRate
0 0.003950.011230.0049960 60 0.0
1 0.003730.069520.0059160 60 0.0
2 0.003630.046310.0054760 60 0.0
3 0.003490.016100.0046760 60 0.0
4 0.003360.009780.0043960 60 0.0
5 0.003230.011950.0040360 60 0.0
6 0.003070.010330.0039360 60 0.0
7 0.002890.033280.0043760 60 0.0
8 0.002770.027350.0043860 60 0.0
9 0.002630.046270.0042960 60 0.0

Summary information for a series of test are then placed into summary.rpt:

Users Rate  Duration MinDelTime MaxDelTime AvgDelTime MsgCnt ExpMsg 
MsgLossRate
101 60   0.002630.069520.004646006000.0
201 60   0.004380.230720.015081200   1200   0.0
301 60   0.006120.337330.021701800   1800   0.0
1 1060   0.001120.044930.001476006000.0
1 2060   0.001090.019850.001521200   1200   0.0
1 3060   0.001110.074400.001791800   1800   0.0
102 60   0.002680.285510.006361200   1200   0.0
104 60   0.002790.100180.005262400   2400   0.0
106 60   0.002870.099570.007123600   3600   0.0

These reports were created using the sample run_nusers2 script, which 
contains the simple lines:

# test increasing users
./nusers2.sh crack 10  1 60 test_
./nusers2.sh crack 20  1 60 test_
./nusers2.sh crack 30  1 60 test_

# test increasing messages
./nusers2.sh crack 1 10  60 test_
./nusers2.sh crack 1 20  60 test_
./nusers2.sh crack 1 30  60 test_

# test increasing messages
./nusers2.sh crack 10 2 60 test_
./nusers2.sh crack 10 4 60 test_
./nusers2.sh crack 10 6 60 test_

Also, I talked with Colin and we decided to setup a website at 
jabbertest.sf.net to start hosting testing results. This will make it 
easier to see how jabberd scales on hardware. I'll notify everyone when 
the site goes up.

http://www.sf.net/projects/jabbertest

I can email builds if you don't want to download and install expat on 
your test servers. Oh, and this should be obvious to everyone, but you 
need to sync time on your servers for Jabber Test to give good data.

Regards, Dustin

-- 
Dustin Puryear <[EMAIL PROTECTED]>
http://members.telocity.com/~dpuryear
In the beginning the Universe was created.
This has been widely regarded as a bad move. - Douglas Adams
___
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev



RE: [JDEV] User connected?

2001-07-12 Thread Robert Temple

Does that work with the Jabber Commercial Server?

-Robert

> -Original Message-
> From: Keith Minkler 
> Sent: Wednesday, July 11, 2001 10:51 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JDEV] User connected?
> 
> 
> If you are listed as an admin (read or write), you can browse to
> the server to see the online users.. just browse to server.com/admin
> 
> On Mon, Jul 09, 2001 at 02:39:54PM -0700, Robert Temple wrote:
> > > Is there a way to tell of a user is connect to IM without 
> seting the user
> > > up as a friend?
> 
> ---
> Keith Minkler
> Software Developer
> Jabber.COM, Inc.
> ---
> 
___
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev



[JDEV] Bug: Status messages truncated before quote char

2001-07-12 Thread Jens Alfke
I have noticed that status messages (i.e.  elements in a  element) containing a quote character are truncated before that character — but only when forwarded by the server upon client login, not when they're sent in real time to an already logged in client. 

I've verified that my client sends XML metachars properly to the server, and that the problem exists in the raw XML received by the client, not in my XML parsing.

This is with the 1.4.1 server running on Solaris. Anyone else seen this?

—Jens

Re: [JDEV] Bug? OOB URLs lost in groupchat messages

2001-07-12 Thread DJ Adams

On Thu, Jul 12, 2001 at 09:11:52AM -0700, Jens Alfke wrote:
...
> But the other client would receive from the conference server: 
>  from="[EMAIL PROTECTED]/5789578957239857"> 
> Everyone, check this out 
>  
>  

Hi Jens

it's odd.  For what it's worth:

I've just tried it using both the groupchat and conferencing 
protocols on my test setup and don't experience this problem...

dj
___
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev



[JDEV] Bug? OOB URLs lost in groupchat messages

2001-07-12 Thread Jens Alfke
I've been fine-tuning my client's file-transfer (jabber:x:oob) implementation, including the ability to send files/URLs in groupchat messages. Unfortunately I quickly discovered that the conference server often, but not always, removes the contents of the  element, i.e. the URL itself, when relaying the message. The really weird thing is that this consistently happens on one of my machines but not the other, even though both are running the identical client binary, nor does it matter which of them sent the message or created the chat room.

I've verified this by dumping the raw XML sent/received by the clients (though the sample XML below is just something I made up, since I'm writing this from home and don't have those logs handy right now. Don't flame me if there are syntax errors.)

For example one client might send this:

Everyone, check this out
http://www.foobar.com


But the other client would receive from the conference server:

Everyone, check this out



As a workaround I now have the sender add a duplicate copy of the URL as a 'url' attribute of the  element, then the receiver tries to find this if the body of the  is empty.

Is this a known bug? I'm running the 1.4.1 conference server on Solaris.

--Jens

Re: [JDEV] JavaJabber Server Docs

2001-07-12 Thread Jens Alfke
 On Monday, July 9, 2001, at 10:53 PM, Al Sutton wrote:

- When a client tries to subscribe to another user via a presence message,
an iq message of type set holding the new roster entry reflecting this needs
to be sent back to the client.
- Messages comming from the client in the  jabber:iq:roster namespace can
have an undocumented value in its subscription attribute of "remove" which
indicates they should be removed from the users roster.

These may be undocumented in the "Protocol-standard" document, but they're covered in the "jabber:iq:roster" section of the Jabber Protocol Overview, and also in my Jabber Client Developer's Cheat Sheet.

It's definitely a problem that none of the documentation is comprehensive. I had to develop my own client (and write my cheat-sheet) by having printouts of both the JPO and JPG open in front of me and constantly flipping back and forth between them. (And to get conferencing working, I had to go to the protocol-draft document for that, since the stuff in both of the previously mentioned documents is out of date.)

--Jens

Re: [JDEV] Some LDAP integration questions

2001-07-12 Thread zad


Hi Ragavan,

You can do the kind of pass-through you talked about. Just use one of the
ldap modules and put in your NT-domain server chaeck right after the LDAP
check failure.

>Any thoughts on this one below?

> > 2. Can the modules deal with uid attributes with an '@' in them? For
> > example, the directory I want to bind with contains email
> > addresses as the
> > uid attribute. Now, going through the protocol draft, I can see
> > that a valid
> > JID cannot contain the '@'. So, is there some other way around this?

Don't know, have to try this one out !

Zad

___
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev