[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [JDEV] OOhh.. Wittle Wug..



Actually, what you are seeing below is what's supposed to be happening,
because of the second login it identifies you as a multi-client, and
creates another session.

The goofy looking lines in the log are simply an artifact of dumping data
to the terminal and unix vs. win32 newlines... all the data is getting
there correctly otherwise there would have been an XML processing
error(Expat is VERY strict :).

Jer

On Mon, 10 May 1999, Thomas Charron wrote:

> 	Found something interesting after I sent the last message..  OPen a connection, and do this:
> 
> <?xml version="1.0"?>
> <jabber version="name/os version/version" protocol="19990324">
> 
> <login>
> 	<user>test</user>
> 	<pass>test</pass>
> </login>
> 
> 	Send this, everything works fine, message goes thru:
> 
> <message><to>test</to><say>Your momma's funny lookin'..</say></message>
> 
> 	Now for the fun..  Go ahead and send this:
> 
> <login>
> 	<user>u</user>
> 	<pass>p</pass>
> </login>
> 
> 	The debug screen lists:  (NOTICE THE 6th LINE DOWN..  YES, IT'S CUT DIRECT FROM THE LOG  There is also another one later on)
> 
> [Mon May 10 13:16:13 1999] main "Delivering Locally"
> [Mon May 10 13:16:13 1999] lib "new_packet=<message><say>test</say><from>test</from></message>"
> [Mon May 10 13:16:13 1999] lib "writing_data_to=10.94.32.98"
> [Mon May 10 13:16:13 1999] lib "IO: waiting"
> [Mon May 10 13:16:28 1999] lib "new_data_from=10.94.32.98"
> "/login><pass>p</pass>999] main "dispatch_data=<login>
> [Mon May 10 13:16:28 1999] main "Processing Normally"
> [Mon May 10 13:16:28 1999] main "handling_normal_packet=10.94.32.98"
> [Mon May 10 13:16:28 1999] main "handle_login"
> [Mon May 10 13:16:28 1999] main "get_group_user=u"
> [Mon May 10 13:16:28 1999] main "get_handler_group=users"
> [Mon May 10 13:16:28 1999] main "handler_in_module=mod_basic"
> [Mon May 10 13:16:28 1999] main "get_handler=mod_basic"
> [Mon May 10 13:16:28 1999] main "MOD_BASIC: handler_auth =u"
> [Mon May 10 13:16:28 1999] main "MOD_BASIC: AUTH SUCCESSFUL!="
> [Mon May 10 13:16:28 1999] main "new_session=u"
> [Mon May 10 13:16:28 1999] main "lookup_session=(NULL)"
> [Mon May 10 13:16:28 1999] main "get_handler_group=users"
> [Mon May 10 13:16:28 1999] main "handler_in_module=mod_basic"
> [Mon May 10 13:16:28 1999] main "get_handler=mod_basic"
> [Mon May 10 13:16:28 1999] main "MOD_BASIC: login!=u"
> [Mon May 10 13:16:28 1999] mod_basic "spool_file_failure=/usr/local/var/u.offline.xml"
> [Mon May 10 13:16:28 1999] lib "IO: waiting"
> [Mon May 10 13:16:39 1999] lib "new_data_from=10.94.32.98"
> [Mon May 10 13:16:39 1999] main "dispatch_data=<message><to>test</to><say>test</say></message>"
> [Mon May 10 13:16:13 1999] main "Delivering Locally"
> [Mon May 10 13:16:13 1999] lib "new_packet=<message><say>test</say><from>test</from></message>"
> [Mon May 10 13:16:13 1999] lib "writing_data_to=10.94.32.98"
> [Mon May 10 13:16:13 1999] lib "IO: waiting"
> [Mon May 10 13:16:28 1999] lib "new_data_from=10.94.32.98"
> "/login><pass>p</pass>999] main "dispatch_data=<login>
> [Mon May 10 13:16:28 1999] main "Processing Normally"
> [Mon May 10 13:16:28 1999] main "handling_normal_packet=10.94.32.98"
> [Mon May 10 13:16:28 1999] main "handle_login"
> [Mon May 10 13:16:28 1999] main "get_group_user=u"
> [Mon May 10 13:16:28 1999] main "get_handler_group=users"
> [Mon May 10 13:16:28 1999] main "handler_in_module=mod_basic"
> [Mon May 10 13:16:28 1999] main "get_handler=mod_basic"
> [Mon May 10 13:16:28 1999] main "MOD_BASIC: handler_auth =u"
> [Mon May 10 13:16:28 1999] main "MOD_BASIC: AUTH SUCCESSFUL!="
> [Mon May 10 13:16:28 1999] main "new_session=u"
> [Mon May 10 13:16:28 1999] main "lookup_session=(NULL)"
> [Mon May 10 13:16:28 1999] main "get_handler_group=users"
> [Mon May 10 13:16:28 1999] main "handler_in_module=mod_basic"
> [Mon May 10 13:16:28 1999] main "get_handler=mod_basic"
> [Mon May 10 13:16:28 1999] main "MOD_BASIC: login!=u"
> [Mon May 10 13:16:28 1999] mod_basic "spool_file_failure=/usr/local/var/u.offline.xml"
> [Mon May 10 13:16:28 1999] lib "IO: waiting"
> [Mon May 10 13:16:39 1999] lib "new_data_from=10.94.32.98"
> [Mon May 10 13:16:39 1999] main "dispatch_data=<message><to>test</to><say>test</say></message>"
> 
> 	I know, I know, 'Client's shouldn't be doing this, hence, it's acting funny'.  But if it's not allowed, then the transport should
> report the error back.  ;-P
>