summaryrefslogtreecommitdiff
path: root/src/Network/Tox/Handshake.hs
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2018-06-24 08:06:36 -0400
committerAndrew Cady <d@jerkface.net>2018-06-24 19:47:43 -0400
commit94c6190ea502a29c6a2e17075f5f598e7034f068 (patch)
tree6de9da056d86a7cd4dbf3830286e6b8e0556e141 /src/Network/Tox/Handshake.hs
parent94294cc6a24c5b58e81ea8b8484e0461e45d11d8 (diff)
Share toxid over avahi
This isn't really completely correct; there should be some possibility for denial of service. The call to setContactAddr is destructive of whatever information was there previously, but we haven't verified that we're talking to the real contact at the time it is called. This problem exists even in the ordinary path where the nodeinfocallback isn't really requiring proof of anything before throwing out data.
Diffstat (limited to 'src/Network/Tox/Handshake.hs')
0 files changed, 0 insertions, 0 deletions