[JDEV] limiting the user a/c in jabber server

2002-04-16 Thread Mansur Ali

Hi all,

Can anybody knows, how can limit the user a/c in jabber.

regards,

Mansur

= 
DISCLAIMER: Information contained in this mail are the sole responsibilty of
the sender. The information contained in this mail is private & confidential
and is intended solely to the person or organisation to whom it is
addressed. If this message is not intended for you, then you are requested
to destroy this message immediately & kindly notify the sender by return
mail. The sender is in no way responsible for any virus that might be
transmitted through this message. It is recommended to check attachments,if
any, received with this message for virus before opening them. Opinions,
conclusions and other information in this message that do not relate to the
official business of I.T.Integrated Solutions Ltd. shall be understood as
neither given nor endorsed by it.
___
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev



Re: [JDEV] Multiple elements within IQs

2002-04-16 Thread David Waite

Thomas Parslow (PatRat) wrote:

>Hi,
>
>Is it possible for there to be 2 or more unrelated elements within an IQ? For
>example would the following be valid and if it is then what would be
>the correct responce?
>
>id="id1">
>
>
>
>
>It doesn't seem correct but I can't find anywhere that says that it
>isn't...
>
Hmm, http://www.jabber.org/ietf/draft-miller-jabber-00.html#anchor14 
says that is legal :-) It also says that having a query and an error is 
illegal, which the server already does.

It has always been my understanding that there is only one inner data 
element allowed, with an optional error element. I don't see that 
documented in the ietf draft, though.

-David Waite

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



Re: [JDEV] priority question

2002-04-16 Thread Casey Crabb
In my answers here I'll assume you are talking about a transport component dealing with a JID from multiple resources. These answers are my opinion only.

Here's a couple of the questions I'm wondering

- What is the behavior when a lower-priority resource changes presence?

The presence broadcast through the transport is always the presence of the resource with highest priority. If a resource with lower priority changes status, nothing changes on the transport side.


- What is the behavior when a lower-priority resource changes to the highest priority, or vice-versa? (keep in mind that some clients change priority when they go auto-away, and any presence change within a priority level makes that client have the highest priority)

Again, the primary presence broadcast should be the presence of the resource with highest priority.

- What is the behavior when the highest-priority resource logs out? (I'm assuming a lower-priority resource is ignored)

The transport looks for the resource with next-highest priority and transmits it's presence if it is different from the presence of the resource that just logged out.


- How should invisible mode interact, in both the case where the remote system does and does not support invisible mode?

In the case where it does support invisible:
Broadcast the presence of the resource with the highest priority.

In the case where it does not support invisible:
(this one I'm not quite sure about)
Broadcast unavailable, even if lower priorities have non-invisible status.

- What is the correct behavior when a message is sent from a resource which is not the highest priority? 

Replies should always go to the resource from which they were sent, that said it is difficult to determine if something is a reply through a transport. Therefore I would suggest the following:

if a message from [EMAIL PROTECTED]/lowpriority is sent to a [EMAIL PROTECTED] Then a message coming from [EMAIL PROTECTED] to [EMAIL PROTECTED] would go to [EMAIL PROTECTED]/lowpriority under the following conditions:
Only a small amount of time from the original message to the 'reply' has elapsed
[EMAIL PROTECTED]/lowpriority is still available.

otherwise it would go to the resource with highest priority.

Messages coming from all other aim users to [EMAIL PROTECTED] will go to the resource with highest priority.



I hope I was clear enough to understand.

--
Casey

Re: [JDEV] priority question

2002-04-16 Thread David Waite

Here's a couple of the questions I'm wondering

- What is the behavior when a lower-priority resource changes presence?
- What is the behavior when a lower-priority resource changes to the 
highest priority, or vice-versa? (keep in mind that some clients change 
priority when they go auto-away, and any presence change within a 
priority level makes that client have the highest priority)
- What is the behavior when the highest-priority resource logs out? (I'm 
assuming a lower-priority resource is ignored)
- How should invisible mode interact, in both the case where the remote 
system does and does not support invisible mode?
- What is the correct behavior when a message is sent from a resource 
which is not the highest priority? Do responses get sent to a different 
client (and how would that happen)?

-David Waite

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



[JDEV] Multiple elements within IQs

2002-04-16 Thread Thomas Parslow (PatRat)

Hi,

Is it possible for there to be 2 or more unrelated elements within an IQ? For
example would the following be valid and if it is then what would be
the correct responce?






It doesn't seem correct but I can't find anywhere that says that it
isn't...

Thomas Parslow (PatRat)
E-Mail/Jabber: [EMAIL PROTECTED]
ICQ: 26359483

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



Re: [JDEV] Custom Namespaces..

2002-04-16 Thread Peter Saint-Andre

You can call your namespace anything you'd like, just be aware that
namespaces that begin with the string 'jabber:' are reserved. Usually your
custom information would be contained in an  element within a message
(you can also include custom info within presence and iq packets). DJ's
book has information about this and you can learn a little about how it
works (for standard namespaces) in the IETF draft:

http://www.jabber.org/ietf/draft-miller-jabber-00.html#extended

Peter

--
Peter Saint-Andre
email+jabber: [EMAIL PROTECTED]
weblog: http://www.saint-andre.com/blog/

On Tue, 16 Apr 2002, Ritu Khetan wrote:

> Hello,
> 
>   I have been reading about the Standard Namespaces in
> Jabber, but haven\'t been able to find any information on
> defining Custom namespaces.
> How can I define a new/custom namespace of my own in Jabber?
> 
> Regards,
> Ritu
> 
> 
> ___
> jdev mailing list
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev
> 

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



Re: [JDEV] Custom Namespaces..

2002-04-16 Thread //Chill

For what, users, components, conference rooms, etc.? You can define custom
namespaces for different things.

Programming Jabber by DJ Adams has much information on this.
http://safari.oreilly.com/main.asp?bookname=jabber

Section 6.2.10.1 involves storing public user data.
Part II of the book deals mostly with the standard namespaces and creating
your own.

Chris

> Hello,
>
>   I have been reading about the Standard Namespaces in
> Jabber, but haven\'t been able to find any information on
> defining Custom namespaces.
> How can I define a new/custom namespace of my own in Jabber?
>
> Regards,
> Ritu
>
>
> ___
> jdev mailing list
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev

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



[JDEV] JUD and XDB_SQL

2002-04-16 Thread Gunjan Kakani



Hi,
 
I am not able to get the JUD up and running with 
my current jabber installation which uses xdb_sql as the backend user 
management. But it works if I use the standard xdb_file based 
backend...
 
Seems like standard JUD extension does not work 
with the xdb_sql.
 
Anyone having experience with this??
 
Cheers~
 
-GC


Re[2]: [JDEV] Does jabber server queues messages

2002-04-16 Thread Thomas Parslow (PatRat)

> I've wondered if there is a way to limit, or even turn off offline
> storage.  You could in effect DOS the server by sending lots of large
> messages to an offline user.  Kinda like filling up /var/log/messages
> etc.


> Chris Pile.

There are karma settings which I think are meant to reduce this sort of
thing, not sure how that works on the s2s level though...

Thomas Parslow (PatRat)
E-Mail/Jabber: [EMAIL PROTECTED]
ICQ: 26359483

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



RE: [JDEV] Does jabber server queues messages

2002-04-16 Thread Jose Obando

good, my next question is , can this be set to queue messages to specific
users only, or all the register users on the server will have the option?

Jose Obando
Software Engineer
(305) 716-1007 ext. 120
ClientSoft, Inc


-Original Message-
From: Peter Millard [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 11:12 AM
To: [EMAIL PROTECTED]
Subject: Re: [JDEV] Does jabber server queues messages


Yes, Jabber queues messages to an "offline spool" area for each user. When
that user comes back online, the server delivers the messages.

pgm.


- Original Message -
From: "Jose Obando" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 8:20 AM
Subject: [JDEV] Does jabber server queues messages


> Does the jabber server queues messages for users that are not online? For
> instance if I send a message to a user which is offline, would they get
the
> message when they come online if I using the jabber server?
>
> Jose Obando
> Software Engineer
> (305) 716-1007 ext. 120
> ClientSoft, Inc
>
> ___
> 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] Does jabber server queues messages

2002-04-16 Thread Chris Pile

I've wondered if there is a way to limit, or even turn off offline
storage.  You could in effect DOS the server by sending lots of large
messages to an offline user.  Kinda like filling up /var/log/messages
etc.


Chris Pile.



Peter Millard wrote:
> 
> Yes, Jabber queues messages to an "offline spool" area for each user. When
> that user comes back online, the server delivers the messages.
> 
> pgm.
> 
> - Original Message -
> From: "Jose Obando" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, April 16, 2002 8:20 AM
> Subject: [JDEV] Does jabber server queues messages
> 
> > Does the jabber server queues messages for users that are not online? For
> > instance if I send a message to a user which is offline, would they get
> the
> > message when they come online if I using the jabber server?
> >
> > Jose Obando
> > Software Engineer
> > (305) 716-1007 ext. 120
> > ClientSoft, Inc
> >
> > ___
> > 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] Does jabber server queues messages

2002-04-16 Thread Peter Millard

Yes, Jabber queues messages to an "offline spool" area for each user. When
that user comes back online, the server delivers the messages.

pgm.


- Original Message -
From: "Jose Obando" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 8:20 AM
Subject: [JDEV] Does jabber server queues messages


> Does the jabber server queues messages for users that are not online? For
> instance if I send a message to a user which is offline, would they get
the
> message when they come online if I using the jabber server?
>
> Jose Obando
> Software Engineer
> (305) 716-1007 ext. 120
> ClientSoft, Inc
>
> ___
> jdev mailing list
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev
>

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



Re: [JDEV] Developing a client using JabberOO

2002-04-16 Thread John Draughn

Gabber uses JabberOO

http://gabber.sf.net/



On Mon, 2002-04-15 at 01:00, Rohit Nadhani wrote:
> Hello,
> 
> I want to develop a Win32 Jabber client from scratch.
> My development environment in VC++ 6. I have
> dwonloaded and compiled the JabberOO lib. Pls. suggest
> me links to sample code that uses JabberOO and can get
> me started with JabberOO. 
> 
> Thanks in advance,
> 
> Rohit
> 
> __
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
> ___
> jdev mailing list
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev




signature.asc
Description: This is a digitally signed message part


[JDEV] Does jabber server queues messages

2002-04-16 Thread Jose Obando

Does the jabber server queues messages for users that are not online? For
instance if I send a message to a user which is offline, would they get the
message when they come online if I using the jabber server?

Jose Obando
Software Engineer
(305) 716-1007 ext. 120
ClientSoft, Inc

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



Re: Re[2]: [JDEV] Question about UserName and Clients

2002-04-16 Thread Ashvil

> You then need a way for clients to connect to the server, quite a few
> currently don't properly support connecting to a different domain
> (none support SRV records afaik). The way I've implemented it in my
> client is to allow a username to be entered followed by an @ then the
> correct domain for the JID, sort of like you suggest. The client will
> then connect to the server specified in the server field but identify
> itself using the the domain given after the @ sign in the username
> field.

This is exactly what I am suggesting. And if there is no @ sign then append
the server name to generate the JID.

Regards,
Ashvil


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



[JDEV] Custom Namespaces..

2002-04-16 Thread Ritu Khetan

Hello,

  I have been reading about the Standard Namespaces in
Jabber, but haven\'t been able to find any information on
defining Custom namespaces.
How can I define a new/custom namespace of my own in Jabber?

Regards,
Ritu


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



Re: [JDEV] Jabber Error Codes

2002-04-16 Thread r-a-v-i

Thank You Reetu !!

- Original Message - 
From: "Ritu Khetan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 2:20 PM
Subject: Re: [JDEV] Jabber Error Codes


> Hi,
> 
>   I do not know the location, but here is a
> lsitextracted from the Programming Jabber book:
> 
> Code
> Text
> 400
> Bad Request
> 401
> Unauthorized
> 402
> Payment Required
> 403
> Forbidden
> 404
> Not Found
> 405
> Not Allowed
> 406
> Not Acceptable
> 407
> Registration Required
> 408
> Request Timeout
> 409
> Conflict
> 500
> Internal Server Error
> 501
> Not Implemented
> 502
> Remove Server Error
> 503
> Service Unavailable
> 504
> Remove Server Timeout
> 510
> Disconnected
> 
> Hope it helps.
> 
> -Ritu
> Quoting r-a-v-i <[EMAIL PROTECTED]>:
> 
> > Hi
> >Can anybody tell me the location of all the
> error codes related to
> > JABBER.
> >
> > regds
> > r-a-v-i
> >
> > ___
> > 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] Jabber Error Codes

2002-04-16 Thread r-a-v-i

Thank You Chris !!

- Original Message -
From: "Chris Pile" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 2:28 PM
Subject: Re: [JDEV] Jabber Error Codes


> do you mean these type of error codes?
> http://www.jabber.org/ietf/draft-miller-jabber-00.html#error
>
>
> Chris Pile.
>
>
> r-a-v-i wrote:
> >
> > Hi
> >Can anybody tell me the location of all the error codes related
to
> > JABBER.
> >
> > regds
> > r-a-v-i
> >
> > ___
> > 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] integration with Snort?

2002-04-16 Thread Justin Kirby

I integrated my lib as a barnyard plugin... it actually works :)


you will have to grab the library repos:
:pserver:[EMAIL PROTECTED]:/cvsroot/openaether
password: (blank)

checkout src

:pserver:[EMAIL PROTECTED]:/cvsroot/tools

checkout security

there is some info and docs on my site www.openaether.org and my jid is
[EMAIL PROTECTED] if you have any questions or feature requests... plz
let me know..


On Mon, 2002-04-15 at 13:29, Peter Saint-Andre wrote:
> Hmm, any volunteers? :)
> 
> Peter
> 
> --
> Peter Saint-Andre
> email+jabber: [EMAIL PROTECTED]
> weblog: http://www.saint-andre.com/blog/
> 
> On 15 Apr 2002, Thomas Muldowney wrote:
> 
> > I started to once, but I didn't have enough time to devote to it (Hah me
> > run out of time?!). It shouldn't be that hard.
> > 
> > --temas
> > 
> > 
> > On Mon, 2002-04-15 at 10:41, Peter Saint-Andre wrote:
> > > Has anyone worked on integrating Jabber alerts into Snort (the open-source
> > > intrusion detection system)?
> > > 
> > > Peter
> > > 
> > > --
> > > Peter Saint-Andre
> > > email+jabber: [EMAIL PROTECTED]
> > > weblog: http://www.saint-andre.com/blog/
> > > 
> > > ___
> > > 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

-- 
JID: [EMAIL PROTECTED]

  ,/\,
 /   \\.
   /|
  /|  /''\___/
/''\__/  |/
 /''\__/|/
  \\  ./
   `\/

http://www.openaether.org

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



Re[2]: [JDEV] Question about UserName and Clients

2002-04-16 Thread Thomas Parslow (PatRat)

> Thanks Temas and Michael. But I am still not clear, why we should not
> support this.

> Why not do it like email clients.
> Pop and SMTP servers run on a different subdomain machines.
> But Email addresses are always in the form of [EMAIL PROTECTED] not
> [EMAIL PROTECTED]

> IMHO, The current client behavior is too restrictive. It forces me to a JID
> that is tied to the name of the server that I connect to. This is
> unacceptable to the customers who want to outsource their IM hosting to an
> ISP that does Jabber hosting.

> If the suggestion that I proposed is followed, then it becomes very easy for
> folks to contact an ISP that offers Jabber hosting to become jabber enabled,
> without disturbing their current web/email hosting setup. (And without
> getting involved in Packet forwarding between two ISPs). This is a real
> issue for customers who want the IM address to be the same as their email
> address but want to use a different ISP for the IM hosting part. This will
> help the nascent IM hosting market using Jabber to develop.

> All I am asking is that if the username contains '@' , then the clients send
> that as the JID. If not then continue the current behavior.

> The are benefits to my proposal (and a older version of WinJab was doing
> this too). What are the issues that outweigh these benefits.

> Regards,
> Ashvil

You can use SRV records much like e-mail uses MX records to have the
Jabber server running on a different domain to the one used for its
JIDs. So you have [EMAIL PROTECTED] but the Jabber server is running
at im.compnay.com.

You then need a way for clients to connect to the server, quite a few
currently don't properly support connecting to a different domain
(none support SRV records afaik). The way I've implemented it in my
client is to allow a username to be entered followed by an @ then the
correct domain for the JID, sort of like you suggest. The client will
then connect to the server specified in the server field but identify
itself using the the domain given after the @ sign in the username
field.

There is another way, I think it has something todo with using 
tags in the jabber.xml file. Then a connecting client would believe
itself to be [EMAIL PROTECTED] but everyone else would see it as
[EMAIL PROTECTED]

Thomas Parslow (PatRat)
E-Mail/Jabber: [EMAIL PROTECTED]
ICQ: 26359483

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



Re: [JDEV] Jabber Error Codes

2002-04-16 Thread Ritu Khetan

Hi,

  I do not know the location, but here is a
lsitextracted from the Programming Jabber book:

Code
Text
400
Bad Request
401
Unauthorized
402
Payment Required
403
Forbidden
404
Not Found
405
Not Allowed
406
Not Acceptable
407
Registration Required
408
Request Timeout
409
Conflict
500
Internal Server Error
501
Not Implemented
502
Remove Server Error
503
Service Unavailable
504
Remove Server Timeout
510
Disconnected

Hope it helps.

-Ritu
Quoting r-a-v-i <[EMAIL PROTECTED]>:

> Hi
>Can anybody tell me the location of all the
error codes related to
> JABBER.
>
> regds
> r-a-v-i
>
> ___
> jdev mailing list
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev
> 

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



Re: [JDEV] Jabber Error Codes

2002-04-16 Thread Chris Pile

do you mean these type of error codes?
http://www.jabber.org/ietf/draft-miller-jabber-00.html#error


Chris Pile.


r-a-v-i wrote:
> 
> Hi
>Can anybody tell me the location of all the error codes related to
> JABBER.
> 
> regds
> r-a-v-i
> 
> ___
> jdev mailing list
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev
___
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev



[JDEV] Jabber Error Codes

2002-04-16 Thread r-a-v-i

Hi
   Can anybody tell me the location of all the error codes related to
JABBER.

regds
r-a-v-i

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