diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | configure.ac | 20 | ||||
-rw-r--r-- | src/dht/test_dht_2dtorus.conf | 2 |
3 files changed, 22 insertions, 1 deletions
@@ -38,6 +38,7 @@ Heikki Lindholm <holin@iki.fi> | |||
38 | Igor Wronsky <iwronsky@users.sourceforge.net> | 38 | Igor Wronsky <iwronsky@users.sourceforge.net> |
39 | Ioana Patrascu <ioanapatrascu@yahoo.com> | 39 | Ioana Patrascu <ioanapatrascu@yahoo.com> |
40 | <january@hushmail.com> | 40 | <january@hushmail.com> |
41 | Jacob Appelbaum <jacob@appelbaum.net> | ||
41 | Jake Dust <jakedust@gmail.com> | 42 | Jake Dust <jakedust@gmail.com> |
42 | James Blackwell <jblack@linuxguru.net> | 43 | James Blackwell <jblack@linuxguru.net> |
43 | Jean-Luc Cooke <jlcooke@certainkey.com> [ SHA-512] | 44 | Jean-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]) |
202 | fi | 202 | fi |
203 | 203 | ||
204 | # Adam shostack suggests the following for Windows: | ||
205 | # -D_FORTIFY_SOURCE=2 -fstack-protector-all | ||
206 | AC_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" | ||
213 | fi]) | ||
214 | |||
215 | # Linker hardening options | ||
216 | # Currently these options are ELF specific - you can't use this with MacOSX | ||
217 | AC_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" | ||
221 | fi]) | ||
222 | |||
223 | |||
204 | extra_logging=GNUNET_NO | 224 | extra_logging=GNUNET_NO |
205 | AC_ARG_ENABLE([logging], | 225 | AC_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 | |||
49 | PORT = 10004 | 49 | PORT = 10004 |
50 | 50 | ||
51 | [testing] | 51 | [testing] |
52 | NUM_PEERS = 16 | 52 | NUM_PEERS = 256 |
53 | WEAKRANDOM = YES | 53 | WEAKRANDOM = YES |
54 | TOPOLOGY = 2D_TORUS | 54 | TOPOLOGY = 2D_TORUS |
55 | CONNECT_TOPOLOGY = NONE | 55 | CONNECT_TOPOLOGY = NONE |