aboutsummaryrefslogtreecommitdiff
path: root/torrc_templates
diff options
context:
space:
mode:
authorChristopher Baines <cbaines8@gmail.com>2013-11-29 21:56:54 +0000
committerChristopher Baines <cbaines8@gmail.com>2013-11-29 21:56:54 +0000
commit1a229ce58496deb5336943bd53919b6b66bcbed2 (patch)
treeef9f496839d719cb60706838d31c9a96ff5472fd /torrc_templates
parentfad78679d34e4f345b13942e9bbdc0ddbbb52e13 (diff)
downloadchutney-1a229ce58496deb5336943bd53919b6b66bcbed2.tar
chutney-1a229ce58496deb5336943bd53919b6b66bcbed2.tar.gz
Add some things
Diffstat (limited to 'torrc_templates')
-rw-r--r--torrc_templates/common.i1
-rw-r--r--torrc_templates/hidden-service.tmpl11
-rw-r--r--torrc_templates/intro.tmpl11
3 files changed, 23 insertions, 0 deletions
diff --git a/torrc_templates/common.i b/torrc_templates/common.i
index 2b5e4fa..ff1cf76 100644
--- a/torrc_templates/common.i
+++ b/torrc_templates/common.i
@@ -11,3 +11,4 @@ ProtocolWarnings 1
SafeLogging 0
${authorities}
+IntroPointAcceptMutipleConnections 1
diff --git a/torrc_templates/hidden-service.tmpl b/torrc_templates/hidden-service.tmpl
new file mode 100644
index 0000000..866070e
--- /dev/null
+++ b/torrc_templates/hidden-service.tmpl
@@ -0,0 +1,11 @@
+${include:common.i}
+SocksPort 0
+#NOTE: Setting TestingClientConsensusDownloadSchedule doesn't
+# help -- dl_stats.schedule is not DL_SCHED_CONSENSUS
+# at boostrap time.
+TestingClientDownloadSchedule 10, 2, 2, 4, 4, 8, 13, 18, 25, 40, 60
+
+HiddenServiceDir ${dir}/hidden_service/
+HiddenServicePort ${hiddenserviceport} ${hiddenservicetarget}
+
+Log [rend]debug file ${dir}/rend.log
diff --git a/torrc_templates/intro.tmpl b/torrc_templates/intro.tmpl
new file mode 100644
index 0000000..f2d7d08
--- /dev/null
+++ b/torrc_templates/intro.tmpl
@@ -0,0 +1,11 @@
+${include:common.i}
+SocksPort 0
+OrPort $orport
+Address $ip
+DirPort $dirport
+#NOTE: Setting TestingServerConsensusDownloadSchedule doesn't
+# help -- dl_stats.schedule is not DL_SCHED_CONSENSUS
+# at boostrap time.
+TestingServerDownloadSchedule 10, 2, 2, 4, 4, 8, 13, 18, 25, 40, 60
+
+Log [rend]debug file ${dir}/intro.log