diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-03 13:19:52 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-03 13:19:52 +0000 |
commit | 29c724d2a7764f83fe846b418d09540348b86983 (patch) | |
tree | dafaff8e37ba51355b22b6f38d856ae49e145006 /src/dht | |
parent | b303961f38c9b578f30248ee364ed4e5ffdcd06c (diff) | |
download | gnunet-29c724d2a7764f83fe846b418d09540348b86983.tar.gz gnunet-29c724d2a7764f83fe846b418d09540348b86983.zip |
implementing #1747
Diffstat (limited to 'src/dht')
-rw-r--r-- | src/dht/Makefile.am | 5 | ||||
-rw-r--r-- | src/dht/dht.conf | 38 |
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 | ||
6 | plugindir = $(libdir)/gnunet | 6 | plugindir = $(libdir)/gnunet |
7 | 7 | ||
8 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
9 | |||
10 | dist_pkgcfg_DATA = \ | ||
11 | dht.conf | ||
12 | |||
8 | if HAVE_ZLIB | 13 | if HAVE_ZLIB |
9 | ZLIB_LNK = -lz | 14 | ZLIB_LNK = -lz |
10 | endif | 15 | endif |
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] | ||
2 | AUTOSTART = YES | ||
3 | PORT = 2095 | ||
4 | HOSTNAME = localhost | ||
5 | HOME = $SERVICEHOME | ||
6 | CONFIG = $DEFAULTCONFIG | ||
7 | BINARY = gnunet-service-dht | ||
8 | ACCEPT_FROM = 127.0.0.1; | ||
9 | ACCEPT_FROM6 = ::1; | ||
10 | BUCKET_SIZE = 4 | ||
11 | UNIXPATH = /tmp/gnunet-service-dht.sock | ||
12 | UNIX_MATCH_UID = YES | ||
13 | UNIX_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] | ||
36 | DATABASE = sqlite | ||
37 | QUOTA = 1024000 | ||
38 | |||