diff options
author | t3sserakt <t3ss@posteo.de> | 2020-07-17 14:26:45 +0200 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2020-07-17 14:26:45 +0200 |
commit | 0c9911d73744da31776f98019ff1460032f2c82b (patch) | |
tree | 6746a66f0467b5115d7c23547b563aab3e119163 /src/include/gnunet_peerstore_service.h | |
parent | 686a873aed44e0dff36f0d52c465af2e5efb5ab2 (diff) | |
download | gnunet-0c9911d73744da31776f98019ff1460032f2c82b.tar.gz gnunet-0c9911d73744da31776f98019ff1460032f2c82b.zip |
TNG: Implemented 5530: add replay protection to TCP communicator. Added monotime value checks
Diffstat (limited to 'src/include/gnunet_peerstore_service.h')
-rw-r--r-- | src/include/gnunet_peerstore_service.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/gnunet_peerstore_service.h b/src/include/gnunet_peerstore_service.h index cd68dad66..91a8f2e66 100644 --- a/src/include/gnunet_peerstore_service.h +++ b/src/include/gnunet_peerstore_service.h | |||
@@ -67,6 +67,24 @@ extern "C" { | |||
67 | #define GNUNET_PEERSTORE_TRANSPORT_DVLEARN_MONOTIME \ | 67 | #define GNUNET_PEERSTORE_TRANSPORT_DVLEARN_MONOTIME \ |
68 | "transport-dv-learn-monotonic-time" | 68 | "transport-dv-learn-monotonic-time" |
69 | 69 | ||
70 | /** | ||
71 | * Key used to store sender's monotonic time from handshake message. | ||
72 | */ | ||
73 | #define GNUNET_PEERSTORE_TRANSPORT_TCP_COMMUNICATOR_HANDSHAKE \ | ||
74 | "transport-tcp-communicator-handshake" | ||
75 | |||
76 | /** | ||
77 | * Key used to store sender's monotonic time from handshake ack message. | ||
78 | */ | ||
79 | #define GNUNET_PEERSTORE_TRANSPORT_TCP_COMMUNICATOR_HANDSHAKE_ACK \ | ||
80 | "transport-tcp-communicator-handshake-ack" | ||
81 | |||
82 | /** | ||
83 | * Key used to store sender's monotonic time from rekey message. | ||
84 | */ | ||
85 | #define GNUNET_PEERSTORE_TRANSPORT_TCP_COMMUNICATOR_REKEY \ | ||
86 | "transport-tcp-communicator-rekey" | ||
87 | |||
70 | 88 | ||
71 | /** | 89 | /** |
72 | * Options for storing values in PEERSTORE | 90 | * Options for storing values in PEERSTORE |