[Anima] GRASP issue 55: Could discovery be performed over TCP?

2016-10-18 Thread Brian E Carpenter
55: Could discovery be performed over TCP? Michael is concerned by the use of insecure link-local multicast. MR: I wonder if we shouldn't just send discovery messages on always-up TCP connections from GRASP_LISTEN_PORT<->GRASP_LISTEN_PORT. BC: Yes, if the ACP could give me an API call for that.

[Anima] GRASP issue 57: Add M_INVALID message?

2016-10-18 Thread Brian E Carpenter
57: Add M_INVALID message? MR: What does one do with an invalid msgtype? Options are: 1) ignore (drop msg) 2) die: drop TCP connection 3) reply with ???-M_INVALID or something. BC: I'm inclined to add M_INVALID as a MAY, or possibly a SHOULD, but with a rule that you MUST NOT

[Anima] GRASP issue 58: Maximum message size?

2016-10-18 Thread Brian E Carpenter
58: Maximum message size? MR: I'm also a bit concerned that we have no statement about maximum message size. BC: Me too. I coded my prototype with recvfrom limited to 2048 bytes, but we probably need to specify something. On the other hand, Michael B wants to send infinitely long Intents, I

[Anima] GRASP issue 56: Change Session-ID to 32 bits?

2016-10-18 Thread Brian E Carpenter
56: Change Session-ID to 32 bits? MR: Given that CBOR has only 1,2, and 4 byte uintegers, why do we have a 24-bit session-id? BC: Well, it's a hangover from the pre-CBOR TLV format. But I think it's true that we'd increase the average message size by making it 32 bits, since there are a lot