Add a 'request_id' to TID requests and responses
authorJennifer Richards <jennifer@painless-security.com>
Thu, 26 Apr 2018 01:02:06 +0000 (21:02 -0400)
committerJennifer Richards <jennifer@painless-security.com>
Thu, 26 Apr 2018 01:02:06 +0000 (21:02 -0400)
commit6e1647f2f4714d8c0c4c27ef376302bab1ae4bb3
tree69595967d25b33ea39174f188bc2d26b118a2a9b
parent89f9afd660328e1d0042b4da77fa055748bac3fc
Add a 'request_id' to TID requests and responses

This adds a random hex string ID to each TID request. This is
propagated as the request is forwarded, then included in the response.
The field is not required, and is mostly an aid for debugging.

Adds two methods (tid_req_get_request_id and tid_resp_get_request_id)
to the public library interface.
Makefile.am
common/tr_msg.c
common/tr_rand_id.c [new file with mode: 0644]
include/tid_internal.h
include/tr_rand_id.h [new file with mode: 0644]
include/trust_router/tid.h
tid/tid_req.c
tid/tid_resp.c
tid/tidc.c
tid/tids.c
tr/tr_tid.c