Frank Scholz | 3 Jan 20:27

Mirabeau/Coherence talk proposal for FOSDEM Dev Room

Hi,

my name is Frank Scholz and I'm the founder and lead-developer of
Coherence. Together with Philippe Normand, who works on Mirabeau,
I would like to propose a talk for the XMPP FOSDEM dev room.

Mirabeau - creating personal media networks and bridging UPnP devices
over the Internet
----------------------------------------------------------------------

DLNA/UPnP devices - consoles, set-top boxes, TVs -  finally
enter our living rooms and allow an easy access of our digital media.

But the UPnP A/V specification has been designed for local networks
only - preventing media sharing over network borders.

With the UPnP framework Coherence and the Jabber/XMPP infrastructure
we are able to overcome these obstacles.

This greatly simplifies the realization of the "access
everywhere" concept and the implementation of "family and friends"
networks. Not only between some software with a dedicated library,
but also by transparently integrating ordinary Consumer Electronics
devices.

Parents can use there DLNA-enabled TV in their home to look at their
kids photos on the NAS there, or one can access his audio-collection
with the laptop from everywhere, or just with the PS3 at a party at
some friends place.

(Continue reading)

Lucas Nussbaum | 3 Jan 23:52

Java XMPP library with jingle support?

Hi,

Is there a Java XMPP library with Jingle support?

I've tried Smack, but its Jingle support seems to be half-working. For
example, it is still using the urn:xmpp:tmp:jingle namespace, and isn't
interoperable with pidgin.

Alternatively, does someone know Jabber clients running on Linux that
interoperate with Smack's version of Jingle?

Thanks
--

-- 
| Lucas Nussbaum
| lucas <at> lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas <at> nussbaum.fr             GPG: 1024D/023B3F4F |
_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________

Tomasz Sterna | 5 Jan 11:02
Favicon
Gravatar

RFC 3921 message to RFC 5322 message conversion

Hello.

I am working on accessing jabber message archive with IMAP and a normal
MUA with IMAP backend.

This begs a question: How do I convert RFC 3921 message, to RFC 5322
message to store in IMAP store. (But it may also be useful for
Jabber/E-Mail gateway.)

1. How do i store 'from' and 'to' fields of the XMPP message?
RFC 5322 defines From: as mailbox-list and To: as address-list which in
turn reduces to addr-spec which does not include schema and is assumed
to be in SMTP domain. ":" is used to delimiter group names so we cannot
use XMPP URI there.
- Should I add X- header for preserving XMPP 'from' field? What exact?
- Should I fill From: and To: fields to maka maile readers usable?

2. Subject: header is straightforward

3. <thread/> converts directly to References:
- what if there is no <thread/>? Should I supplement it? How?

4. Should I generate Message-ID header? If so, how? Maybe it would be
useful to base it on some of the message characteristics?

--

-- 
Tomasz Sterna
Xiaoka.com

_______________________________________________
(Continue reading)

David Ammouial | 5 Jan 12:55

Re: RFC 3921 message to RFC 5322 message conversion

Tue, 05 Jan 2010 11:02:42 +0100, Tomasz:
> 1. How do i store 'from' and 'to' fields of the XMPP message?
> RFC 5322 defines From: as mailbox-list and To: as address-list which
> in turn reduces to addr-spec which does not include schema and is
> assumed to be in SMTP domain.

If there is no way to contact the sender of the message via SMTP (or
to refer to the recipient), I think you should either leave the field
empty (which I'm not sure is legal), or forge an address. Some
solutions that come to mind are:
A. converting the sender JID to an SMTP address at a Jabber-to-SMTP
   gateway of your choice. IMHO, it's obviously the best solution, if
   technically possible.
B. using the mail address of the person responsible for the IMAP store.
C. using a clearly invalid address.

For solutions B. and C., you should maybe put the sender JID in the
realname part of the address, in order to compensate the loss of
information.

> ":" is used to delimiter group names so
> we cannot use XMPP URI there.

Indeed, I don't think any URI is really easy to use in those fields.

> - Should I add X- header for preserving XMPP 'from' field? What exact?

What about the Jabber-ID header? If I understood it correctly, it seems
to be exactly its role: indicating a way to contact the sender of an
email via XMPP.
(Continue reading)

David Ammouial | 5 Jan 13:10

Re: RFC 3921 message to RFC 5322 message conversion

Tue, 5 Jan 2010 05:55:57 -0600, David:
> In any case, I don't think you should include any random data of data
> that is unique to the IMAP store: if the user happens to use various
> SMTP stores [...]

Sorry, this should read:
In any case, I don't think you should include any random data, or any
data that is unique to the IMAP store: if the user happens to use
various stores [...]

--

-- 
David
_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________

chris johnston | 5 Jan 13:44
Picon

Re: RFC 3921 message to RFC 5322 message conversion

You may want to investigate the transport http://xmpppy.sourceforge.net/mail/  for a base application to improve as you need.
 I have used this transport with eJabberD and is very simple to setup.


-Chris


On Tue, Jan 5, 2010 at 5:02 AM, Tomasz Sterna <tomek <at> xiaoka.com> wrote:
Hello.

I am working on accessing jabber message archive with IMAP and a normal
MUA with IMAP backend.

This begs a question: How do I convert RFC 3921 message, to RFC 5322
message to store in IMAP store. (But it may also be useful for
Jabber/E-Mail gateway.)

1. How do i store 'from' and 'to' fields of the XMPP message?
RFC 5322 defines From: as mailbox-list and To: as address-list which in
turn reduces to addr-spec which does not include schema and is assumed
to be in SMTP domain. ":" is used to delimiter group names so we cannot
use XMPP URI there.
- Should I add X- header for preserving XMPP 'from' field? What exact?
- Should I fill From: and To: fields to maka maile readers usable?

2. Subject: header is straightforward

3. <thread/> converts directly to References:
- what if there is no <thread/>? Should I supplement it? How?

4. Should I generate Message-ID header? If so, how? Maybe it would be
useful to base it on some of the message characteristics?




--
Tomasz Sterna
Xiaoka.com

_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________

_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________
Dave Cridland | 5 Jan 13:47

Re: RFC 3921 message to RFC 5322 message conversion

On Tue Jan  5 11:55:57 2010, David Ammouial wrote:
> Tue, 05 Jan 2010 11:02:42 +0100, Tomasz:
> > 1. How do i store 'from' and 'to' fields of the XMPP message?
> > RFC 5322 defines From: as mailbox-list and To: as address-list  
> which
> > in turn reduces to addr-spec which does not include schema and is
> > assumed to be in SMTP domain.
> 
> If there is no way to contact the sender of the message via SMTP (or
> to refer to the recipient), I think you should either leave the  
> field
> empty (which I'm not sure is legal), or forge an address. Some
> solutions that come to mind are:
> A. converting the sender JID to an SMTP address at a Jabber-to-SMTP
>    gateway of your choice. IMHO, it's obviously the best solution,  
> if
>    technically possible.
> B. using the mail address of the person responsible for the IMAP  
> store.
> C. using a clearly invalid address.
> 
> For solutions B. and C., you should maybe put the sender JID in the
> realname part of the address, in order to compensate the loss of
> information.
> 
> 
I don't think B & C are at all practical, I'm sorry to say.

I think A is entirely practical. At minimum, I think you could use  
MIME-style encoding on the node, enclose that in quotes, and then ACE  
encode the domain. That loses resources, but I don't think that's a  
worry, given that you can also include that data in the original  
stanza.

Of course, if you do want a full SMTP/XMPP gateway, then you do need  
resources as well, and you probably need to have the gateway domain  
as the email address's domain, and the full jid (encoded and quoted)  
as the local-part. FWIW, I don't think that this is as interesting a  
problem as rich archival access.

> > - Should I add X- header for preserving XMPP 'from' field? What  
> exact?
> 
> What about the Jabber-ID header? If I understood it correctly, it  
> seems
> to be exactly its role: indicating a way to contact the sender of an
> email via XMPP.
> 
> 
That's a good point. The problem is that it's just a header - there's  
little searching capability, and it won't appear nicely in the  
ENVELOPE fetch item.

> In any case, I don't think you should include any random data of  
> data
> that is unique to the IMAP store: if the user happens to use various
> SMTP stores (e.g. a private one and a public one), the Message-IDs
> should be consistent between every store, so the calculation should  
> be
> as deterministic as possible.

I don't see why consistency between implementations helps here. It's  
not as if we need that for email now, after all - different  
submission agents add message identifiers in all manner of ways, and  
certainly not consistently.

All that matters is that a given message has an identifier, which is  
(mostly) unique. (Message ids aren't entirely unique, and this  
doesn't hurt anyone).

If the intent is to reply to a message held in one IMAP store through  
an unassociated Submission server acting as a gateway and have it all  
work perfectly, then I'd have to raise the If It Hurts defense. :-)

Dave.
--

-- 
Dave Cridland - mailto:dave <at> cridland.net - xmpp:dwd <at> dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade
_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________

Norman Rasmussen | 5 Jan 18:18
Picon
Favicon
Gravatar

Re: RFC 3921 message to RFC 5322 message conversion

On Tue, Jan 5, 2010 at 12:44 PM, chris johnston <ctofur <at> gmail.com> wrote:
You may want to investigate the transport http://xmpppy.sourceforge.net/mail/  for a base application to improve as you need.
 I have used this transport with eJabberD and is very simple to setup.

Good to hear :-)

If anyone finds bugs/has suggestions/patches, feel free to ping me with details.


-Chris



On Tue, Jan 5, 2010 at 5:02 AM, Tomasz Sterna <tomek <at> xiaoka.com> wrote:
Hello.

I am working on accessing jabber message archive with IMAP and a normal
MUA with IMAP backend.

This begs a question: How do I convert RFC 3921 message, to RFC 5322
message to store in IMAP store. (But it may also be useful for
Jabber/E-Mail gateway.)

1. How do i store 'from' and 'to' fields of the XMPP message?
RFC 5322 defines From: as mailbox-list and To: as address-list which in
turn reduces to addr-spec which does not include schema and is assumed
to be in SMTP domain. ":" is used to delimiter group names so we cannot
use XMPP URI there.
- Should I add X- header for preserving XMPP 'from' field? What exact?
- Should I fill From: and To: fields to maka maile readers usable?

2. Subject: header is straightforward

3. <thread/> converts directly to References:
- what if there is no <thread/>? Should I supplement it? How?

4. Should I generate Message-ID header? If so, how? Maybe it would be
useful to base it on some of the message characteristics?




--
Tomasz Sterna
Xiaoka.com

_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________


_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________




--
- Norman Rasmussen
- Email: norman <at> rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________
Peter Saint-Andre | 7 Jan 23:04
Favicon

Re: Mirabeau/Coherence talk proposal for FOSDEM Dev Room

That looks very interesting! Let's make sure it gets on the agenda. :)

On 1/3/10 12:27 PM, Frank Scholz wrote:
> Hi,
> 
> my name is Frank Scholz and I'm the founder and lead-developer of
> Coherence. Together with Philippe Normand, who works on Mirabeau,
> I would like to propose a talk for the XMPP FOSDEM dev room.
> 
> 
> Mirabeau - creating personal media networks and bridging UPnP devices
> over the Internet
> ----------------------------------------------------------------------
> 
> DLNA/UPnP devices - consoles, set-top boxes, TVs -  finally
> enter our living rooms and allow an easy access of our digital media.
> 
> But the UPnP A/V specification has been designed for local networks
> only - preventing media sharing over network borders.
> 
> With the UPnP framework Coherence and the Jabber/XMPP infrastructure
> we are able to overcome these obstacles.
> 
> This greatly simplifies the realization of the "access
> everywhere" concept and the implementation of "family and friends"
> networks. Not only between some software with a dedicated library,
> but also by transparently integrating ordinary Consumer Electronics
> devices.
> 
> Parents can use there DLNA-enabled TV in their home to look at their
> kids photos on the NAS there, or one can access his audio-collection
> with the laptop from everywhere, or just with the PS3 at a party at
> some friends place.
> 
> With new hardware showing up, like the PlugComputer, we even have
> an ideal platform for this task, which e.g. could be given
> pre-configured away to other family members.
> 
> Beside the bridging a device like that can act of course as
> an UPnP MediaServer too, and be an UPnP MediaHub to online-content
> like Flickr, YouTube, Picasa, Miro, BBC,...
> 
> Now with all necessary parts in place - viz. in the
> Debian/Ubuntu/Fedora/... repositories, a simple package install,
> the naming of an Jabber server and a chat room there is all
> that's needed to create a personal media network.
> 
> Technically this is realized by enabling the sharing of UPnP devices,
> like an UPnP MediaServer, with members of ones roster. The communication
> to and from these devices is done via 'messages' in a MUC, where
> each Coherence/Mirabeau instance appears as a chat user.
> The actual media-transfer is at the moment done out-of-band,
> to not strain the servers excessively.
> 
> 
> Coherence is an Open-Source DLNA/UPnP framework,
> -> http://coherence-project.org
> 
> with the emphasis on being easily extended - resulting in a
> community driven, constantly growing list of plugins.
> -> http://coherence-project.org/wiki/MediaServer
> 
> Mirabeau was first presented on the 2nd Open-Source DLNA summit in 2008
> -> http://coherence-project.org/download/coherence-jabber.pdf
> 
> and demonstrated during Gnome/KDE conference in 2009
> -> http://coherence-project.org/download/mirabeau-guadec-2009.odp
> 
> http://netzflocken.de/2009/6/30/pont-mirabeau-an-upnp-bridge
> http://base-art.net/Articles/108/
> 
> http://www.plugcomputer.org/
> 
> Regards,
> Frank
Attachment (smime.p7s): application/x-pkcs7-signature, 6820 bytes
_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________
Peter Saint-Andre | 7 Jan 23:15
Favicon

Re: Java XMPP library with jingle support?

On 1/3/10 3:52 PM, Lucas Nussbaum wrote:
> Hi,
> 
> Is there a Java XMPP library with Jingle support?
> 
> I've tried Smack, but its Jingle support seems to be half-working. For
> example, it is still using the urn:xmpp:tmp:jingle namespace, and isn't
> interoperable with pidgin.

Smack is open-source, no? Patches welcome, I'm sure. :)

> Alternatively, does someone know Jabber clients running on Linux that
> interoperate with Smack's version of Jingle?

Better, I think, to make Smack work correctly.

Peter

--

-- 
Peter Saint-Andre
https://stpeter.im/

Attachment (smime.p7s): application/x-pkcs7-signature, 6820 bytes
_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________

Gmane