From 1a229ce58496deb5336943bd53919b6b66bcbed2 Mon Sep 17 00:00:00 2001
From: Christopher Baines <cbaines8@gmail.com>
Date: Fri, 29 Nov 2013 21:56:54 +0000
Subject: Add some things

---
 torrc_templates/common.i            |  1 +
 torrc_templates/hidden-service.tmpl | 11 +++++++++++
 torrc_templates/intro.tmpl          | 11 +++++++++++
 3 files changed, 23 insertions(+)
 create mode 100644 torrc_templates/hidden-service.tmpl
 create mode 100644 torrc_templates/intro.tmpl

(limited to 'torrc_templates')

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
-- 
cgit v1.2.3