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

Re: New multi6 draft: WIMP



marcelo bagnulo wrote:

2) The initiating party must not re-use a context if it is initiated by
other party.
As a consequence, p2p applications will have two contexts. One per
direction.


Yes, this may wotk...
I can see how would you this for TCP and even for connected UDP
socket, but is don't know how would you recognize who has initiated the
communication in the case of non-connected UDP though



Just one more thought...


Perhaps an option for this would be:

suppose that A wants to initiate acommunication with B

A calculates ID(R)=hash(FQDNB)
A then searches for a context with ID(R)
If one context with ID(R) is found, A verifies ID(I),
if ID(I) = hash(FQDNA) then it creates a new context with ID(R) and
ID(I)=random
if ID(I) =! hash(FQDNA) then it just uses this context

This way, you implicetly discover who has created the context.

Do you think this may work?



Yes! I think that is a good idea and I will put that into the WIMP draft.
I have to still analyze Pekka Nikander's ideas that he sent to me about the
same issue.

(As a result of this discussion we take the second alternative as a working
assumption, and leave the DNS check out of the scope)

Thanks, Jukka

regards, marcelo