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/nse | |
parent | b303961f38c9b578f30248ee364ed4e5ffdcd06c (diff) | |
download | gnunet-29c724d2a7764f83fe846b418d09540348b86983.tar.gz gnunet-29c724d2a7764f83fe846b418d09540348b86983.zip |
implementing #1747
Diffstat (limited to 'src/nse')
-rw-r--r-- | src/nse/Makefile.am | 5 | ||||
-rw-r--r-- | src/nse/nse.conf | 24 |
2 files changed, 29 insertions, 0 deletions
diff --git a/src/nse/Makefile.am b/src/nse/Makefile.am index af16a420d..48844bfc0 100644 --- a/src/nse/Makefile.am +++ b/src/nse/Makefile.am | |||
@@ -9,6 +9,11 @@ if USE_COVERAGE | |||
9 | XLIB = -lgcov | 9 | XLIB = -lgcov |
10 | endif | 10 | endif |
11 | 11 | ||
12 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
13 | |||
14 | dist_pkgcfg_DATA = \ | ||
15 | nse.conf | ||
16 | |||
12 | 17 | ||
13 | lib_LTLIBRARIES = libgnunetnse.la | 18 | lib_LTLIBRARIES = libgnunetnse.la |
14 | 19 | ||
diff --git a/src/nse/nse.conf b/src/nse/nse.conf new file mode 100644 index 000000000..318fd15fd --- /dev/null +++ b/src/nse/nse.conf | |||
@@ -0,0 +1,24 @@ | |||
1 | [nse] | ||
2 | AUTOSTART = YES | ||
3 | PORT = 2097 | ||
4 | HOSTNAME = localhost | ||
5 | HOME = $SERVICEHOME | ||
6 | CONFIG = $DEFAULTCONFIG | ||
7 | BINARY = gnunet-service-nse | ||
8 | ACCEPT_FROM = 127.0.0.1; | ||
9 | ACCEPT_FROM6 = ::1; | ||
10 | UNIXPATH = /tmp/test-nse-service-nse.unix | ||
11 | UNIX_MATCH_UID = YES | ||
12 | UNIX_MATCH_GID = YES | ||
13 | PROOFFILE = $SERVICEHOME/.nse-proof | ||
14 | HISTOGRAM = $SERVICEHOME/nse-history.log | ||
15 | |||
16 | # How 'slowly' should the proof-of-work be constructed (delay | ||
17 | # between rounds in ms); sane values between 0 and ~1000. | ||
18 | WORKDELAY = 5 | ||
19 | |||
20 | # Note: changing any of the values below will make this peer | ||
21 | # completely incompatible with other peers! | ||
22 | INTERVAL = 3600000 | ||
23 | WORKBITS = 20 | ||
24 | |||