aboutsummaryrefslogtreecommitdiff
path: root/src/dht
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-03 13:19:52 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-03 13:19:52 +0000
commit29c724d2a7764f83fe846b418d09540348b86983 (patch)
treedafaff8e37ba51355b22b6f38d856ae49e145006 /src/dht
parentb303961f38c9b578f30248ee364ed4e5ffdcd06c (diff)
downloadgnunet-29c724d2a7764f83fe846b418d09540348b86983.tar.gz
gnunet-29c724d2a7764f83fe846b418d09540348b86983.zip
implementing #1747
Diffstat (limited to 'src/dht')
-rw-r--r--src/dht/Makefile.am5
-rw-r--r--src/dht/dht.conf38
2 files changed, 43 insertions, 0 deletions
diff --git a/src/dht/Makefile.am b/src/dht/Makefile.am
index 952e828d3..ad1d05d25 100644
--- a/src/dht/Makefile.am
+++ b/src/dht/Makefile.am
@@ -5,6 +5,11 @@ endif
5 5
6plugindir = $(libdir)/gnunet 6plugindir = $(libdir)/gnunet
7 7
8pkgcfgdir= $(pkgdatadir)/config.d/
9
10dist_pkgcfg_DATA = \
11 dht.conf
12
8if HAVE_ZLIB 13if HAVE_ZLIB
9 ZLIB_LNK = -lz 14 ZLIB_LNK = -lz
10endif 15endif
diff --git a/src/dht/dht.conf b/src/dht/dht.conf
new file mode 100644
index 000000000..50c25daac
--- /dev/null
+++ b/src/dht/dht.conf
@@ -0,0 +1,38 @@
1[dht]
2AUTOSTART = YES
3PORT = 2095
4HOSTNAME = localhost
5HOME = $SERVICEHOME
6CONFIG = $DEFAULTCONFIG
7BINARY = gnunet-service-dht
8ACCEPT_FROM = 127.0.0.1;
9ACCEPT_FROM6 = ::1;
10BUCKET_SIZE = 4
11UNIXPATH = /tmp/gnunet-service-dht.sock
12UNIX_MATCH_UID = YES
13UNIX_MATCH_GID = YES
14# DISABLE_SOCKET_FORWARDING = NO
15# DEBUG = YES
16# USERNAME =
17# MAXBUF =
18# TIMEOUT =
19# DISABLEV6 =
20# BINDTO =
21# REJECT_FROM =
22# REJECT_FROM6 =
23# PREFIX =
24# DO_FIND_PEER =
25# STRICT_KADEMLIA =
26# USE_MAX_HOPS =
27# MAX_HOPS =
28# REPUBLISH = YES
29# REPLICATION_FREQUENCY = 60
30# STOP_ON_CLOSEST =
31# STOP_FOUND =
32# CONVERGE_MODIFIER =
33
34
35[dhtcache]
36DATABASE = sqlite
37QUOTA = 1024000
38