aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--configure.ac20
-rw-r--r--src/dht/test_dht_2dtorus.conf2
3 files changed, 22 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 2032a43e5..b4edb0e86 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -38,6 +38,7 @@ Heikki Lindholm <holin@iki.fi>
38Igor Wronsky <iwronsky@users.sourceforge.net> 38Igor Wronsky <iwronsky@users.sourceforge.net>
39Ioana Patrascu <ioanapatrascu@yahoo.com> 39Ioana Patrascu <ioanapatrascu@yahoo.com>
40<january@hushmail.com> 40<january@hushmail.com>
41Jacob Appelbaum <jacob@appelbaum.net>
41Jake Dust <jakedust@gmail.com> 42Jake Dust <jakedust@gmail.com>
42James Blackwell <jblack@linuxguru.net> 43James Blackwell <jblack@linuxguru.net>
43Jean-Luc Cooke <jlcooke@certainkey.com> [ SHA-512] 44Jean-Luc Cooke <jlcooke@certainkey.com> [ SHA-512]
diff --git a/configure.ac b/configure.ac
index 464201f92..44fa288a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -201,6 +201,26 @@ then
201 AC_MSG_ERROR([GNUnet needs libgcrypt]) 201 AC_MSG_ERROR([GNUnet needs libgcrypt])
202fi 202fi
203 203
204# Adam shostack suggests the following for Windows:
205# -D_FORTIFY_SOURCE=2 -fstack-protector-all
206AC_ARG_ENABLE(gcc-hardening,
207 AS_HELP_STRING(--enable-gcc-hardening, enable compiler security checks),
208[if test x$enableval = xyes; then
209 CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2 -fstack-protector-all"
210 CFLAGS="$CFLAGS -fwrapv -fPIE -Wstack-protector"
211 CFLAGS="$CFLAGS --param ssp-buffer-size=1"
212 LDFLAGS="$LDFLAGS -pie"
213fi])
214
215# Linker hardening options
216# Currently these options are ELF specific - you can't use this with MacOSX
217AC_ARG_ENABLE(linker-hardening,
218 AS_HELP_STRING(--enable-linker-hardening, enable linker security fixups),
219[if test x$enableval = xyes; then
220 LDFLAGS="$LDFLAGS -z relro -z now"
221fi])
222
223
204extra_logging=GNUNET_NO 224extra_logging=GNUNET_NO
205AC_ARG_ENABLE([logging], 225AC_ARG_ENABLE([logging],
206 AS_HELP_STRING([--enable-logging@<:@=value@:>@],[Enable logging calls. Possible values: yes,no,verbose,veryverbose ('yes' is the default)]), 226 AS_HELP_STRING([--enable-logging@<:@=value@:>@],[Enable logging calls. Possible values: yes,no,verbose,veryverbose ('yes' is the default)]),
diff --git a/src/dht/test_dht_2dtorus.conf b/src/dht/test_dht_2dtorus.conf
index 3bd6d3561..3b3f7ec91 100644
--- a/src/dht/test_dht_2dtorus.conf
+++ b/src/dht/test_dht_2dtorus.conf
@@ -49,7 +49,7 @@ AUTOSTART = YES
49PORT = 10004 49PORT = 10004
50 50
51[testing] 51[testing]
52NUM_PEERS = 16 52NUM_PEERS = 256
53WEAKRANDOM = YES 53WEAKRANDOM = YES
54TOPOLOGY = 2D_TORUS 54TOPOLOGY = 2D_TORUS
55CONNECT_TOPOLOGY = NONE 55CONNECT_TOPOLOGY = NONE