diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-11-22 20:07:46 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-11-22 20:07:46 +0000 |
commit | 3a628a8b12195e3d15dce032d2e11110a6bb71a0 (patch) | |
tree | e04c545488b6e191f739b5bec4e1b6cc5db70e27 /src/transport/plugin_transport_http_common.h | |
parent | dc82ebded4c48483815fd73d4e33750b73fed496 (diff) | |
download | gnunet-3a628a8b12195e3d15dce032d2e11110a6bb71a0.tar.gz gnunet-3a628a8b12195e3d15dce032d2e11110a6bb71a0.zip |
adding TCP STEALTH support to HTTP client (without integrity protection)
Diffstat (limited to 'src/transport/plugin_transport_http_common.h')
-rw-r--r-- | src/transport/plugin_transport_http_common.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_http_common.h b/src/transport/plugin_transport_http_common.h index 79c671862..ccb597b92 100644 --- a/src/transport/plugin_transport_http_common.h +++ b/src/transport/plugin_transport_http_common.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet | 2 | This file is part of GNUnet |
3 | (C) 2002-2013 Christian Grothoff (and other contributing authors) | 3 | (C) 2002-2014 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -21,6 +21,7 @@ | |||
21 | * @file transport/plugin_transport_http_common.c | 21 | * @file transport/plugin_transport_http_common.c |
22 | * @brief functionality shared by http client and server transport service plugin | 22 | * @brief functionality shared by http client and server transport service plugin |
23 | * @author Matthias Wachs | 23 | * @author Matthias Wachs |
24 | * @author Christian Grothoff | ||
24 | */ | 25 | */ |
25 | #include "platform.h" | 26 | #include "platform.h" |
26 | #include "gnunet_common.h" | 27 | #include "gnunet_common.h" |
@@ -72,7 +73,12 @@ enum HttpAddressOptions | |||
72 | * (if this bit is not set, it is probably just self- | 73 | * (if this bit is not set, it is probably just self- |
73 | * signed and not expected to be verified). | 74 | * signed and not expected to be verified). |
74 | */ | 75 | */ |
75 | HTTP_OPTIONS_VERIFY_CERTIFICATE = 1 | 76 | HTTP_OPTIONS_VERIFY_CERTIFICATE = 1, |
77 | |||
78 | /** | ||
79 | * Enable TCP Stealth-style port knocking. | ||
80 | */ | ||
81 | HTTP_OPTIONS_TCP_STEALTH = 2 | ||
76 | }; | 82 | }; |
77 | 83 | ||
78 | 84 | ||