[jadmin] RE : JAdmin Digest, Vol 46, Issue 9
EXT / ALTIOR GIRAUD Emmanuel
ext.altior.giraud at sncf.fr
Fri Nov 9 08:35:35 CST 2007
-----Message d'origine-----
De : jadmin-bounces at jabber.org [mailto:jadmin-bounces at jabber.org] De la part de jadmin-request at jabber.org
Envoyé : mercredi 7 novembre 2007 19:00
À : jadmin at jabber.org
Objet : JAdmin Digest, Vol 46, Issue 9
Send JAdmin mailing list submissions to
jadmin at jabber.org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.jabber.org/mailman/listinfo/jadmin
or, via email, send a message with subject or body 'help' to
jadmin-request at jabber.org
You can reach the person managing the list at
jadmin-owner at jabber.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of JAdmin digest..."
Today's Topics:
1. Re: pyYIMt disconnects after 5 minutes (Norman Rasmussen)
2. creating jabberd2 accounts by directly manipulating db
backend (Darren Jacobs)
3. Re: creating jabberd2 accounts by directly manipulating db
backend (Tomasz Sterna)
4. Re: pyYIMt disconnects after 5 minutes (oliver bril)
5. Re: pyYIMt disconnects after 5 minutes (Norman Rasmussen)
6. PyYIMt chat rooms are broken, was: disconnects after 5
minutes (Norman Rasmussen)
----------------------------------------------------------------------
Message: 1
Date: Tue, 6 Nov 2007 23:59:02 +0200
From: "Norman Rasmussen" <norman at rasmussen.co.za>
Subject: Re: [jadmin] pyYIMt disconnects after 5 minutes
To: "Jabber server administration list" <jadmin at jabber.org>,
"PyTransports Discussion" <py-transports at blathersource.org>
Message-ID:
<5b698f5a0711061359l6b8aa61es7eca062ef0afa21a at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
On Nov 6, 2007 1:02 PM, Norman Rasmussen <norman at rasmussen.co.za> wrote:
> mmm, I think the timer code is more broken than I originally thought.
> This means that the ping generation code has, um, never worked.
(which means that if the yahoo transport was behind certain firewalls, user connections would timeout after ~5 minutes of in-activity)
FYI: I've just fixed this in CVS.
CPU load should be less, but obviously network load will go up a bit. Depending on feedback, I might add an option to 'reset' the connection idle counter each time a packet is sent.
(The keep-alive duration is suggested dynamically by the yahoo server, default is a keep-alive per-user every 4 minutes. I've made it randomize the point at which keep-alives are sent so that the network usage doesn't peak because of them too)
--
- Norman Rasmussen
- Email: norman at rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
------------------------------
Message: 2
Date: Tue, 6 Nov 2007 17:04:16 -0500
From: Darren Jacobs <dhj at cns.utoronto.ca>
Subject: [jadmin] creating jabberd2 accounts by directly manipulating
db backend
To: Jabber server administration list <jadmin at jabber.org>
Message-ID: <4A557627-735F-42AC-960F-CC8FBA1ACA3C at cns.utoronto.ca>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hi all,
I'm running jabberd2 2.1.15 and I'm looking to generate accounts by
directly modifying the mysql back end tables as opposed to registering
new accounts through a jabber client.
I've tried inserting account information into the authreg and vcard
tables and the login process is partially successful:
--
Nov 6 16:41:13 gpu jabberd/c2s[1083]: [8] [1.2.3.4, port=49915] connect Nov 6 16:41:13 gpu jabberd/c2s[1083]: [8] SASL authentication
succeeded: mechanism=DIGEST-MD5; authzid=dh at x.y.ca
Nov 6 16:41:13 gpu jabberd/c2s[1083]: [8] bound: jid=dh at x.y.ca/Adium Nov 6 16:41:13 gpu jabberd/c2s[1083]: [8] requesting session: jid=dh at x.y.ca
/Adium
Nov 6 16:41:13 gpu jabberd/sm[1081]: user not found, can't start
session: jid=dh at x.y.ca/Adium
Nov 6 16:41:13 gpu jabberd/c2s[1083]: [8] [1.2.3.4, port=49915]
disconnect jid=unbound, packets: 2
Nov 6 16:41:15 gpu jabberd/c2s[1083]: [8] [1.2.3.4, port=49916] connect Nov 6 16:41:15 gpu jabberd/c2s[1083]: [8] SASL authentication
succeeded: mechanism=DIGEST-MD5; authzid=dh at x.y.ca
Nov 6 16:41:15 gpu jabberd/c2s[1083]: [8] bound: jid=dh at x.y.ca/Adium Nov 6 16:41:15 gpu jabberd/c2s[1083]: [8] requesting session: jid=dh at x.y.ca
/Adium
Nov 6 16:41:15 gpu jabberd/sm[1081]: user not found, can't start
session: jid=dh at x.y.ca/Adium
--
but sm basically craps out saying it can't find the user. Where is sm
looking? Exactly what tables should be populated with user
information to make a manual insertion work?
Darren.....
------------------------------
Message: 3
Date: Tue, 06 Nov 2007 23:41:43 +0100
From: Tomasz Sterna <tomek at xiaoka.com>
Subject: Re: [jadmin] creating jabberd2 accounts by directly
manipulating db backend
To: Jabber server administration list <jadmin at jabber.org>
Message-ID: <1194388903.6375.0.camel at localhost>
Content-Type: text/plain
Dnia 06-11-2007, Wt o godzinie 17:04 -0500, Darren Jacobs pisze:
> but sm basically craps out saying it can't find the user. Where is sm
> looking?
All sm related tables.
> Exactly what tables should be populated with user
> information to make a manual insertion work?
Please eye-grep your sm.xml for string "<auto-create/>" ;-)
--
/\_./o__ Tomasz Sterna
(/^/(_^^' Xiaoka.com
._.(_.)_ XMPP: smoku at xiaoka.com
------------------------------
Message: 4
Date: Wed, 7 Nov 2007 10:21:23 +0100
From: oliver bril <oliver_bril at hotmail.com>
Subject: Re: [jadmin] pyYIMt disconnects after 5 minutes
To: Jabber server administration list <jadmin at jabber.org>
Message-ID: <BAY132-W1288BC054707CD19EDA7538E8A0 at phx.gbl>
Content-Type: text/plain; charset="iso-8859-1"
Norman,
Downloaded, installed and tested. Works like hell now!!!. (like the debug line "sending ping" :-) )
I really appreciate the time and effort you spent on this problem. Thanks !!!
Ps, it is not a function I will use but perhaps useful to know, as far as I can determine yahoo has changed there chat rooms. If you connect to a room an url is received in the chat room which leads to a webpage. in this page you have type over the characters from the random picture which is displayed. After that permission to that specific chat room is granted. So unfortunately I think the chat room function is broken. (or i am doing something wrong which might be the case)
Kind regards,
Oliver
> Date: Tue, 6 Nov 2007 23:59:02 +0200> From: norman at rasmussen.co.za>
> To: jadmin at jabber.org; py-transports at blathersource.org> Subject: Re: [jadmin] pyYIMt disconnects after 5 minutes> > On Nov 6, 2007 1:02 PM, Norman Rasmussen <norman at rasmussen.co.za> wrote:> > mmm, I think the timer code is more broken than I originally thought.> > This means that the ping generation code has, um, never worked.> > (which means that if the yahoo transport was behind certain firewalls,> user connections would timeout after ~5 minutes of in-activity)> > FYI: I've just fixed this in CVS.> > CPU load should be less, but obviously network load will go up a bit.> Depending on feedback, I might add an option to 'reset' the> connection idle counter each time a packet is sent.> > (The keep-alive duration is suggested dynamically by the yahoo server,> default is a keep-alive per-user every 4 minutes. I've made it> randomize the point at which keep-alives are sent so that the network> usage doesn't pea!
k because of them too)> > -- > - Norman Rasmussen> - Email: norman at rasmussen.co.za> - Home page: http://norman.rasmussen.co.za/> _______________________________________________> JAdmin mailing list> JAdmin at jabber.org> http://mail.jabber.org/mailman/listinfo/jadmin> FAQ: http://www.jabber.org/about/jadminfaq.shtml> _______________________________________________
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jadmin/attachments/20071107/ac1eba30/attachment-0001.htm
------------------------------
Message: 5
Date: Wed, 7 Nov 2007 12:26:38 +0200
From: "Norman Rasmussen" <norman at rasmussen.co.za>
Subject: Re: [jadmin] pyYIMt disconnects after 5 minutes
To: "Jabber server administration list" <jadmin at jabber.org>
Message-ID:
<5b698f5a0711070226r2aedf4feq30b4073fbece1055 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
On Nov 7, 2007 11:21 AM, oliver bril <oliver_bril at hotmail.com> wrote:
> Downloaded, installed and tested. Works like hell now!!!. (like the
> debug line "sending ping" :-) ) I really appreciate the time and
> effort you spent on this problem. Thanks !!!
Cool, that's great!
--
- Norman Rasmussen
- Email: norman at rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
------------------------------
Message: 6
Date: Wed, 7 Nov 2007 12:27:45 +0200
From: "Norman Rasmussen" <norman at rasmussen.co.za>
Subject: [jadmin] PyYIMt chat rooms are broken, was: disconnects after
5 minutes
To: "Jabber server administration list" <jadmin at jabber.org>,
"PyTransports Discussion" <py-transports at blathersource.org>
Message-ID:
<5b698f5a0711070227y29f16884ufb95011d672d9dc2 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
On Nov 7, 2007 11:21 AM, oliver bril <oliver_bril at hotmail.com> wrote:
> Ps, it is not a function I will use but perhaps useful to know, as
> far as I can determine yahoo has changed there chat rooms. If you
> connect to a room an url is received in the chat room which leads to a
> webpage. in this page you have type over the characters from the
> random picture which is displayed. After that permission to that
> specific chat room is granted. So unfortunately I think the chat room
> function is broken. (or i am doing something wrong which might be the
> case)
It's not something I use either (can you tell?). I'm actually glad that Yahoo have finally decided to do something about this, because the amount of spam in their chat-rooms was stupid.
If anyone else wants to submit a patch that will make chatrooms work again, then I'll be happy to apply it, otherwise I think they're broken for now.
The yahoo servers seem to send some base64 encoded data when I try and join the room, and I don't feel like downloading the official yahoo client and corrupting my system with it :-)
--
- Norman Rasmussen
- Email: norman at rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
------------------------------
_______________________________________________
JAdmin mailing list
JAdmin at jabber.org http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/wiki/index.php/FAQ-JADMIN
End of JAdmin Digest, Vol 46, Issue 9
*************************************
More information about the JAdmin
mailing list