Hi Stefan,

Thank you very much for your input! I embedded your content in the Wiki page 
and its subpages [1]. I'm not sure if I fully understood what you meant in the 
"Role of the XMPP server" part [2]. Could you please add more details? 
(Answering this mail will be fine.)


Dear other Developers,

Please follow Stefan's lead and do the following:
  * Skim ("querlesen") the existing content (don't forget the subpages).
  * Think of new questions to be answered in the spec document.
  * Try to answer the existing ones.

Thanks a lot,
Franz


Links:
[1] https://www.inf.fu-berlin.de/w/SE/DPPSpecification 
[2] 
https://www.inf.fu-berlin.de/w/SE/DPPSpecificationNetworking#Role_of_the_XMPP_server

-----Original Message-----
From: Stefan Rossbach [mailto:srossb...@arcor.de] 
Sent: Tuesday, June 12, 2012 8:28 PM
To: Zieris, Franz
Cc: dpp-devel@lists.sourceforge.net
Subject: Re: [Dpp-devel] Specification for Saros

Am 12.06.2012 14:04, schrieb Zieris, Franz:
> Dear Saros Developers,
>
> during the last months some of you might have noticed that Saros is lacking a 
> useful specification. Every once in a while I heard someone say something 
> like "We need to define our intended behavior!" -- and you were right.
>
> As discussed in yesterday's stand-up meeting I set up Wiki topic with a rough 
> structure and a few questions to be answered [1]. We agreed on the following 
> procedure:
>    * The first step is a high-level specification that covers all areas of 
> Saros. It's a Wiki page: feel free to add content and subpages!
>    * Every time someone stumbles upon an ambiguity and feels an urgent need 
> for specification, he/she keeps this topic in mind and we are going to 
> discuss it after our stand-up. Afterwards we write down both the results and 
> the decisions made on the way, put them on the Wiki page and share them on 
> dpp-devel.
>    * There will be no new features without a specification. The author is 
> responsible for embedding his/her work in the existing specification.
>
> Best wishes,
> Franz
>
> Links:
> [1] https://www.inf.fu-berlin.de/w/SE/DPPSpecification


Chat:

The chat needs a session. On invitation, the Host opens a MUC on a server, the 
details (server url, room name and password) are then send to the invitee who 
can now join the MUC.

* How does the algorithm for the concurrent editing work? ALERT!

http://www.inf.fu-berlin.de/inst/ag-se/theses/Rieger08-eclipse-erweiterung-PP.pdf
http://www.inf.fu-berlin.de/inst/ag-se/theses/Ziller09-saros-nebenlaeufigkeit.pdf

Short: local changes are applied immediatly and then send to the server / host.
Host does the "correction" and send the results back, which are then applied 
locally.

Inconsistency handling:

Host collects every 30 seconds all LOCAL document checksums from all open 
editors (local and remote, this does not mean that an editor must be open on 
local side).
These are send to all clients. The client then verifies the checksum.

Saros Network:

Topo: Full P2P. Connections are created on demand when calling the sendDirect 
method from the DataTransferManager.

How are the connections created ?

Upon connection to the XMPP server, Saros will query all network interfaces for 
their ip addresses. Second, STUN discovery is used to determine the public IP 
address (if there is any) and last but not least, if Saros finds UPNP IGDs, it 
will query them for the public IP address.

Connection order is: (if not changed in the advanced settings)

Socks5 (direct / mediated)

If that fails, IBB is used.

Socks5 connection establishment is done in both ways, while A connects to B, B 
also connects to A.

If IBB is used, some "packets" are send via XMPP Chat messages instead over 
IBB. The ActivitySequencer will rebuild the correct order.

XMPP Server is used for:

Saros Feature Support (Service Discovery) Saros Version (IQ)

Exchanging Host addresses for Socks5 (handled by Smack) IBB (handled by Smack) 
Chat Messages MUC

http://www.inf.fu-berlin.de/inst/ag-se/theses/Gustavs11_saros-netzwerkschicht.pdf
http://www.inf.fu-berlin.de/inst/ag-se/theses/Szuecs10-DPPVI.pdf
http://www.inf.fu-berlin.de/inst/ag-se/theses/Staib10-DPPX.pdf
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dpp-devel mailing list
Dpp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-devel

Reply via email to