Logs for jdev
[00:15:58] * evilotto left the chat.
[00:16:16] * mcepl left the chat.
[01:23:48] * Jon Kristensen joined the chat.
[01:48:59] * jcea left the chat.
[02:24:26] * Jon Kristensen left the chat.
[04:18:16] * norm joined the chat.
[04:18:17] * norm left the chat.
[04:19:09] * marseille_ left the chat.
[05:05:39] * teo left the chat.
[05:05:40] * teo joined the chat.
[05:25:56] * darkrain left the chat.
[05:25:57] * darkrain joined the chat.
[06:08:46] * marseille_ joined the chat.
[06:19:33] * q joined the chat.
[06:19:41] * q left the chat.
[07:00:36] * Kev joined the chat.
[07:17:30] * mcepl joined the chat.
[07:44:42] * teo left the chat.
[07:45:02] * teo joined the chat.
[07:55:42] * sonny joined the chat.
[08:10:42] * Tobias joined the chat.
[08:15:55] * petermount joined the chat.
[08:16:00] * luca tagliaferri joined the chat.
[08:16:27] * luca tagliaferri left the chat.
[08:19:01] * rtreffer left the chat.
[08:21:42] * rtreffer joined the chat.
[08:30:13] * luca tagliaferri joined the chat.
[08:31:28] * luca tagliaferri left the chat.
[08:31:34] * luca tagliaferri joined the chat.
[08:38:14] * theozaurus joined the chat.
[08:38:32] * theozaurus left the chat.
[08:40:44] * sonny left the chat.
[08:55:17] * Xificurk left the chat.
[09:05:14] * Wojtek joined the chat.
[09:05:45] * Wojtek left the chat.
[09:07:35] * nabatt joined the chat.
[09:12:38] * petermount left the chat.
[09:13:14] * petermount joined the chat.
[09:21:54] * petermount left the chat.
[09:22:13] * petermount joined the chat.
[09:28:52] * Tobias left the chat.
[09:52:26] * harrykar left the chat.
[09:53:13] * harrykar joined the chat.
[11:48:39] * petermount left the chat.
[11:48:42] * petermount joined the chat.
[11:55:18] * swmohsin joined the chat.
[11:56:42] * rtreffer left the chat.
[12:04:11] * guus joined the chat.
[12:15:22] * Jon Kristensen joined the chat.
[12:25:50] <swmohsin> if a server does not support in band registration ... what are other options ?
[12:26:38] * rtreffer joined the chat.
[12:27:16] <Kev> swmohsin: Accounts could be allocated by enterprises to their employees, or a public service may have web registration, or
registration may be tied to a mail account, or whatever.
[12:28:35] <swmohsin> it's kind of public server ... and i'm testing my client against jabber.org <http://jabber.org> and wanted to test client
side code of inband registration but jabber.org <http://jabber.org> does not support it.
[12:29:16] <swmohsin> can users have jabber ids of their choice ... e.g. abc@gmail.com <mailto:abc@gmail.com> that can be used to log into the my
jabber server ?
[12:29:35] <Kev> The domain part of the JIDs you provide will be your server.
[12:29:37] <swmohsin> or do i have to process their email address and convert it to xyz_gmail.com@myserver.com <mailto:xyz_gmail.com@myserver.com>
[12:30:14] <swmohsin> because users are only required to enter their email and password .. they dont care about what is the domain name of the xmpp
server
[12:53:59] <Jon Kristensen> clients will not need to verify certificates based on the XmppAddr type (and are not required to implement support for it
at all), correct?
[12:55:12] <Kev> o Support for the XmppAddr identifier type (specified under
Section 13.7.1.4) is encouraged in XMPP client and server software
implementations for the sake of backward-compatibility, but is no
longer encouraged in certificates issued by certification
authorities or requested by XMPP service providers.
[12:55:49] <swmohsin> kev: i have read your book and now excited to get started on extending the server.
[12:55:57] <Kev> swmohsin: Lovely :)
[12:56:43] <swmohsin> i was disappointed by openfire community support so i am considering tigase or prosody for the server deployment
[12:57:05] <Kev> If I was going to migrate my server to a Free one, it would be Prosody.
[12:57:10] <swmohsin> i have actually installed prosody and want to extend it ... and i'll need help.
[12:57:45] <Kev> Given that one of the authors is on the XMPP Council, and the other is active in the XMPP standards community, they know what
they're doing.
[12:57:59] <swmohsin> yeah
[12:58:08] <Kev> Actually, that's unfair on the other people who've contributed code.
[12:58:10] * tester joined the chat.
[12:58:17] <Kev> But I *think* they are still the two primary devs.
[12:58:39] * tester left the chat.
[12:59:16] <swmohsin> so i want to write a component for my prosody installation that would listen for users location data and store it. where do
i start ?
[12:59:33] <swmohsin> (would listen or fetch that from presense or other stanza)
[13:00:20] <Kev> With the last chapter of TDG :)
[13:00:29] <swmohsin> i want to use java
[13:00:49] <Kev> Oh, I wonder if there's a Java library that supports writing components.
[13:01:01] <Kev> I guess I'll get Stroke to do it at some point, but it doesn't yet.
[13:01:11] <swmohsin> oh i see
[13:01:56] <swmohsin> i don't want to use lua for that becuase of future flexibility
[13:02:08] <Kev> If you're C++-literate, Swiften would be a sensible choice, and and SleekXMPP works fine for it (as in the book) if you like
Python.
[13:02:17] * tester joined the chat.
[13:02:19] <Kev> -and
[13:02:45] <Kev> I'm sure numerous others will do fine too, in assorted languages.
[13:02:55] <Kev> My knowledge of libraries isn't encyclopedic, I'm afraid.
[13:03:00] <swmohsin> ok
[13:04:52] <swmohsin> oh i found Smack API which is Java based on openfire website
[13:04:56] <swmohsin> http://www.igniterealtime.org/projects/smack/index.jsp
[13:05:01] <Kev> That does components?
[13:05:08] <Kev> I thought it was C2S only.
[13:05:14] <swmohsin> hmm i see
[13:05:39] * Tobias joined the chat.
[13:05:57] <swmohsin> then i'll have to do it in python i guess
[13:06:21] <Kev> Or C++ :D
[13:07:01] <swmohsin> so basically when i write a component and run it on server ... every stanza that the server is getting will be sent to this
component also to give it a chance to process ?
[13:07:07] <petermount> personally I'd say Java but I've been doing a lot of Erlang recently - just to add a few more ;-)
[13:07:26] <petermount> only if its addressed to that component
[13:07:40] * luca tagliaferri left the chat.
[13:07:45] <Kev> swmohsin: No.
[13:07:54] <Kev> petermount: What library would you use?
[13:08:07] <Kev> This was the original question, I don't think Smack does components, and I've not ported that to Stroke yet.
[13:08:11] <swmohsin> i see ... so the client has to send specialized stanzas and address those to the component ?
[13:08:15] <petermount> at work a custom one in Java using jaxb
[13:08:27] <Kev> swmohsin: Not exactly, no.
[13:08:45] <swmohsin> petermount: undecided about the server library
[13:09:12] <Kev> swmohsin: If the component (or a JID on the component) is in the user's roster, it will receive all presence for that user.
Similarly if it advertises PEP support it will receive geoloc et al. if the client publishes it.
[13:09:45] <swmohsin> yes ... i think pep would be the right thing to do.
[13:10:02] <swmohsin> otherwise the component has to be in everyones roster (possibly tens of thousands users)
[13:10:10] * luca tagliaferri joined the chat.
[13:10:23] <petermount> swmohsin: I use jaxb and compile the xml schemas into objects. Then it handles the parsing of xml & the code works on those
objects. Most of it is then simple as the server deals with the rest
[13:10:31] <Kev> It needs to be in their roster if you're using PEP, too.
[13:10:32] <Jon Kristensen> Kev: yeah, ok, thanks. i was not sure how to read "Use of the "id-on-xmppAddr" format is RECOMMENDED in the generation of
certificates, but all three formats MUST be supported for the purpose of certificate validation."
[13:10:40] <swmohsin> kev: oh i see
[13:10:49] <Kev> Jon Kristensen: Well, MUST in unambiguous, isn't it?
[13:10:56] <Kev> RECOMMENDED is synonymous with SHOULD.
[13:11:09] <swmohsin> so every component should also be in users roster
[13:11:10] <Kev> Where SHOULD means "If you don't do this, you're going to break stuff".
[13:11:35] <Jon Kristensen> i'm just talking about the certificate validaiton part
[13:11:40] <Jon Kristensen> where there is a MUST
[13:12:18] <Jon Kristensen> i didn't know if the client ever needs to validate the server certificate based on XmppAddress, that's what i'm asking
[13:12:45] <petermount> swmohsin it shouldn't be really. In a lot of cases a component should be visible via discovery - which would include advertising
PEP support as an example
[13:12:55] <Kev> I don't store the cert rules in my head, sorry. I'm just reading the RFC, same as you :)
[13:13:17] <Kev> petermount: It should be, if it wants to receive presence and PEP notifications.
[13:13:21] <Jon Kristensen> hehe, ok :)
[13:13:51] <Jon Kristensen> at this point, i don't care about breaking stuff, i just want to get a valid xmpp core implementation out there
[13:14:06] <Jon Kristensen> take it from there
[13:14:29] <petermount> kev: true - although I wrote a simple module for ejabberd to forward presence to components to get around that ;-)
[13:14:33] <swmohsin> petermount: what does that mean in terms of server and client coding
[13:15:29] <Kev> petermount: The more appealing option is to use a server's shared group functionality to do expose-only groups (i.e. to put
everyone in a bot's roster, but the bot in no-one's roster).
[13:16:03] <petermount> kev: thats something I've not had chance to look into - but yes that would be a better option
[13:16:11] <swmohsin> the use case is ... users are not supposed to get other users (which are not in the roster) location via presence ... but
via some intermediate, and that would be a component i guess.
[13:17:19] <swmohsin> as i understand ... from the point of view of client ... i'll just publish users location alongwith his jid to a node.
[13:17:38] <swmohsin> and by default every new user who joins the network is supposed to subscribe to this node
[13:18:07] <swmohsin> or .. my component will be subsribed to this node and will be storing the location data for each user
[13:18:24] <swmohsin> and then other users can fetch users location by a custom web api
[13:19:26] <tester> hello... Can anyone help me to setup a connection between Silverlight client via Openfire XMPP server using BOSH
[13:19:52] <tester> I couldnt cofigure them appropriately
[13:26:02] <swmohsin> kev: this is another one from openfire .. WhackAPI for server side development http://www.igniterealtime.org/projects/whack/index.jsp
[13:27:45] <swmohsin> kev: and i have just found out that Tigase also mentions 'import tigase.server.AbstractMessageReceiver' at http://www.tigase.org/content/component-implementation-lesson-1-basics
[13:28:01] <Kev> Those would seem to be options to investigate, then.
[13:28:09] <swmohsin> i wonder whether i will be able to use these server component libraries with prosody or not
[13:28:17] <swmohsin> that's right.
[13:28:20] <Kev> If they are component libraries, then yes.
[13:28:28] <swmohsin> that's a relief
[13:28:32] <Kev> Components are standardised (XEP-0114 if memory serves)
[13:29:46] * naw joined the chat.
[13:29:48] <swmohsin> coming from a windows background ... i'm very uncomfortable with prosody's config ... i think that's why i was attracted towards
openfire by viewing its admin panel
[13:30:26] <swmohsin> but its poor developer support forced me to change my decision
[13:33:41] <petermount> kev: yes XEP-0114 is components
[13:38:39] <swmohsin> i'm not sure how well supported is tigase
[13:40:39] <Jon Kristensen> when the client is "presenting a certificate", could that be a chain of certificates? i received a chain of certificates from
jabber.org, so i'm confused
[13:49:17] * swmohsin left the chat.
[14:44:52] * Jon Kristensen left the chat.
[14:45:04] * tester left the chat.
[14:46:11] * guus left the chat.
[14:51:05] * tester joined the chat.
[14:56:33] * naw left the chat.
[15:06:30] * marseille_ left the chat.
[15:07:12] * marseille_ joined the chat.
[15:14:06] * deryni joined the chat.
[15:36:42] * tester left the chat.
[15:37:57] * hawke joined the chat.
[15:38:40] * Florob joined the chat.
[15:47:59] * nabatt left the chat.
[16:09:31] * justin joined the chat.
[16:18:11] * Tobias left the chat.
[16:42:52] * Jon Kristensen joined the chat.
[17:04:06] * Florob left the chat.
[17:23:21] * petermount left the chat.
[17:37:35] * luca tagliaferri left the chat.
[17:45:32] * deryni left the chat.
[17:45:32] * deryni joined the chat.
[17:46:58] * whatever left the chat.
[17:56:02] * MattJ joined the chat.
[18:02:36] * jameschurchman joined the chat.
[18:03:27] * hawke left the chat.
[18:03:39] * hawke joined the chat.
[18:18:25] * Jon Kristensen_ joined the chat.
[18:26:14] * hawke left the chat.
[18:26:16] * hawke joined the chat.
[19:01:03] * sonny joined the chat.
[19:09:03] * guest11 joined the chat.
[19:09:34] <guest11> what port does tkabber use to login by default
[19:09:36] <guest11> does anyone know?
[19:11:04] * guest11 left the chat.
[19:11:51] <louiz’> 5222
[19:11:52] <louiz’> no
[19:11:55] <louiz’> np*
[19:17:12] * jameschurchman left the chat.
[19:17:45] * jameschurchman joined the chat.
[19:33:39] * guest11 joined the chat.
[19:33:53] <guest11> does it use winsock or what?
[19:34:38] <louiz’> what is winsock?
[19:35:15] <guest11> how does it connect host at a port
[19:35:56] <louiz’> don’t know
[19:36:24] * Xificurk joined the chat.
[19:37:37] <guest11> does tcp connection use winsock
[19:38:44] <deryni> Does that matter?
[19:43:02] <guest11> yea it does
[19:43:36] <guest11> before when i used to run telnet meebo.org 5222 from command prompt in windows it used to connect and allow me to send stanzas
[19:44:09] <guest11> now it doesnt but i can still sign in to meebo from pidgin and tkabber
[19:44:13] * Jon Kristensen_ left the chat.
[19:44:16] <louiz’> and how is this related to winsock?
[19:44:22] <deryni> In what was does it not work?
[19:44:26] <deryni> s/was/way/
[19:44:34] * Jon Kristensen left the chat.
[19:44:40] * Jon Kristensen joined the chat.
[19:44:47] <deryni> And when did it last work? Recently or (say) over a year ago?
[19:44:52] <guest11> yea it is .... mabye its tcp connect
[19:44:55] <guest11> and the port is 80
[19:44:59] <guest11> for pidgin and tkabber
[19:45:01] * Jon Kristensen left the chat.
[19:45:06] <deryni> You have a proxy?
[19:45:11] <guest11> no
[19:45:22] * Jon Kristensen joined the chat.
[19:45:24] <deryni> Then what port is 80?
[19:45:37] <guest11> I dont know
[19:45:52] <deryni> In what way is telnet currently failing?
[19:46:13] <guest11> my question is how can i connect to meebo.org with tkabber and why not from telnet
[19:46:41] <guest11> it connects fine .. but when i try to create a stream it loses connection
[19:47:05] <deryni> If you write out all the connection stanzas and paste them in all at once does it work?
[19:47:20] <guest11> no it doesnt
[19:47:31] <guest11> does tkabber use port 5222?
[19:47:37] <guest11> or pidgin does it use the port 5222?
[19:47:37] <deryni> The config will tell you.
[19:47:46] <guest11> by default
[19:47:47] <deryni> 5222 is the default client port.
[19:47:52] <deryni> For XMPP.
[19:48:03] <guest11> what if you were connecting with tcp connect
[19:48:06] <deryni> You may or may not have configured your clients to use different ones.
[19:48:08] <guest11> doesnt the port change to 80 then
[19:48:13] <louiz’> no
[19:48:28] <deryni> If you are talking about proxy CONNECT tunneling then it uses whatever the proxy port is.
[19:48:35] <guest11> no i am not
[19:48:40] <guest11> you can try it out yourself
[19:48:41] <xnyhps> meebo has a SRV record for xmpp-west.meebo.com. And it appears to have server problems at the moment.
[19:48:55] <guest11> from commant prompt " telnet meebo.org 5222"
[19:49:04] <deryni> Oh, that might very well have been a relevant change.
[19:49:05] <guest11> then when you try to create a stream it loses connection
[19:49:21] <deryni> If they have an SRV record than that's the wrong server to try to connect to.
[19:49:57] <guest11> but how come it connects from software like tkabber
[19:50:05] <guest11> and not from the telnet directly
[19:50:06] <deryni> Because they are looking up the SRV records.
[19:50:10] <deryni> And telnet doesn't.
[19:50:16] <guest11> what are srv records?
[19:50:22] <deryni> DNS records.
[19:50:24] <louiz’> DNS
[19:50:36] <guest11> how to pass that test
[19:50:42] <deryni> It isn't a test
[19:50:46] <deryni> They are something you look up.
[19:50:52] <deryni> _xmpp-client._tcp.<server>
[19:51:00] <louiz’> connect to xmpp-west.meebo.com and not meebo.org
[19:51:27] <guest11> but in tkabber i am connecting to meebo.org
[19:51:28] <guest11> and it works
[19:51:46] <louiz’> no
[19:52:20] <louiz’> the client is asking the DNS server the real host serving XMPP
[19:52:37] <louiz’> and it seems it’s xmpp-west.meebo.com., according to xnyhps
[19:52:47] <deryni> nslookup -type srv _xmpp-client._tcp.meebo.org
[19:53:00] <deryni> nslookup -type=srv _xmpp-client._tcp.meebo.org <-- This version.
[19:54:18] * whatever joined the chat.
[19:55:41] <guest11> i checked in the xml console
[19:56:07] <louiz’> you checked what?
[19:56:43] <guest11> <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='en-US' to='meebo.org' version='1.0'>
IN(1xxxxx@meebo.org/Meebo):
<features xmlns='http://etherx.jabber.org/streams'>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<auth xmlns='http://jabber.org/features/iq-auth'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
</features>
[19:56:48] <guest11> its meebo.org
[19:56:57] <louiz’> nope
[19:57:41] <louiz’> seriously, you don’t know what a DNS record is, so you should trust what we’re saying :/
[19:58:10] <guest11> oh okay yea i got it
[19:58:19] <guest11> i am sorry i didnt understand earlier
[19:58:35] <louiz’> no problem :)
[19:58:44] * jameschurchman left the chat.
[19:59:10] <guest11> thanks for your help guys
[19:59:16] <louiz’> The host name is meebo.org, but the dns record tells that, really, the machines that is running the XMPP server is at xmpp-west.meebo.com
[19:59:19] <guest11> have a good day everyone
[19:59:26] <louiz’> good day
[19:59:30] <guest11> yea i understand thanks again
[19:59:33] <louiz’> ok :)
[19:59:47] * guest11 left the chat.
[20:17:24] * jameschurchman joined the chat.
[20:29:17] * Florob joined the chat.
[20:54:43] * rtreffer left the chat.
[21:21:57] * jameschurchman left the chat.
[21:37:02] * Tobias joined the chat.
[21:38:49] * marseille_ left the chat.
[21:52:04] * naw joined the chat.
[22:11:59] * sonny left the chat.
[22:13:04] * justin left the chat.
[22:19:27] * Florob left the chat.
[22:35:14] * z4rkus@jabber.org joined the chat.
[22:46:06] * Tobias left the chat.
[22:56:44] * z4rkus@jabber.org left the chat.
[23:11:58] * mcepl left the chat.
[23:17:02] * naw left the chat.
[23:24:08] * hawke left the chat.
[23:28:51] * Jon Kristensen left the chat.