aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2020-06-05 16:37:10 +0200
committert3sserakt <t3ss@posteo.de>2020-06-05 16:37:10 +0200
commitd22eacb13eb676b5c096b47c72a3fdbdb332d5a5 (patch)
tree9be948a80a6be2c56080be8826cba747de9dce57 /src/include
parent59f616a3c5d8a6873de0090d0db1413c8b9c411d (diff)
downloadgnunet-d22eacb13eb676b5c096b47c72a3fdbdb332d5a5.tar.gz
gnunet-d22eacb13eb676b5c096b47c72a3fdbdb332d5a5.zip
Fixed bug #5822 by adding a monotonic time to the connection create message of a peer that want to start a KX, and the corresponding test #5823. Credits to dvn, lurchi and xrs for helpful discussions and coding.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_protocols.h10
-rw-r--r--src/include/gnunet_signatures.h4
2 files changed, 11 insertions, 3 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index a9cd7466a..0db6150aa 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -2734,9 +2734,8 @@ extern "C" {
2734 * 1000-1009 Connection-level Messages 2734 * 1000-1009 Connection-level Messages
2735 * 1010-1019 Channel-level Messages 2735 * 1010-1019 Channel-level Messages
2736 * 1020-1029 Local Client-Service 2736 * 1020-1029 Local Client-Service
2737 * 1030-1039 Local Service Monitoring 2737 * 1030-1049 Local Service Monitoring
2738 * 1040-1049 Application Data 2738 * 1050-1059 Application Data
2739 * 1050-1059 Reserved
2740 */ 2739 */
2741 2740
2742/******************************** Connection ********************************/ 2741/******************************** Connection ********************************/
@@ -2932,6 +2931,11 @@ extern "C" {
2932 */ 2931 */
2933#define GNUNET_MESSAGE_TYPE_CADET_LOCAL_INFO_TUNNELS_END 1041 2932#define GNUNET_MESSAGE_TYPE_CADET_LOCAL_INFO_TUNNELS_END 1041
2934 2933
2934/**
2935 * Request to drop a message of type X to peer y.
2936 */
2937#define GNUNET_MESSAGE_TYPE_CADET_DROP_CADET_MESSAGE 1042
2938
2935 2939
2936/******************************** Application *******************************/ 2940/******************************** Application *******************************/
2937 2941
diff --git a/src/include/gnunet_signatures.h b/src/include/gnunet_signatures.h
index a00e0372d..503113770 100644
--- a/src/include/gnunet_signatures.h
+++ b/src/include/gnunet_signatures.h
@@ -241,6 +241,10 @@ extern "C"
241 */ 241 */
242#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_INITIATOR 37 242#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_INITIATOR 37
243 243
244/**
245 * Signature by a peer that like to create a connection.
246 */
247#define GNUNET_SIGNATURE_PURPOSE_CADET_CONNECTION_INITIATOR 38
244 248
245#if 0 /* keep Emacsens' auto-indent happy */ 249#if 0 /* keep Emacsens' auto-indent happy */
246{ 250{