aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-prep/src
diff options
context:
space:
mode:
authorArturo FilastoĢ€ <hellais@torproject.org>2011-08-19 17:27:47 +0200
committerArturo FilastoĢ€ <hellais@torproject.org>2011-08-19 17:27:47 +0200
commit73b830c7244046c4d1a9b32004a6ec18afd99d92 (patch)
tree0043c68350d876cca0362a756d13d44752b2f7f5 /packages/torouter-prep/src
parent0fb54f161f5344f5a7e764801e202337b6d0e451 (diff)
parent5e40918ade723becb9b3e9e388f05442fd62a4e5 (diff)
downloadtorouter-73b830c7244046c4d1a9b32004a6ec18afd99d92.tar.gz
torouter-73b830c7244046c4d1a9b32004a6ec18afd99d92.zip
Merge branch 'master' of ssh://git-rw.torproject.org/torouter
Diffstat (limited to 'packages/torouter-prep/src')
-rw-r--r--packages/torouter-prep/src/torouter_config.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/torouter-prep/src/torouter_config.sh b/packages/torouter-prep/src/torouter_config.sh
index e27c81e..12f7ab3 100644
--- a/packages/torouter-prep/src/torouter_config.sh
+++ b/packages/torouter-prep/src/torouter_config.sh
@@ -52,6 +52,9 @@ apt-get -y -t squeeze-backports install openntpd
# Install Tor and deps:
apt-get -y install tor tor-geoipdb
+# To build a 0.2.3.x Tor:
+# apt-get source tor=0.2.3.1-alpha-1~~squeeze+1
+# Debuild here...
# To build with natpmp support
apt-get -y -t experimental install libnatpmp-dev
@@ -95,6 +98,9 @@ cp $config_dir/dnsmasq.conf /etc/dnsmasq.conf
cp $config_dir/ntp.conf /etc/ntp.conf
cp $config_dir/openntpd-default /etc/default/openntpd
+# Configure ssh
+cp $config_dir/sshd_config /etc/ssh/sshd_config
+
# XXX We should configure ufw here
# XXX We should configure denyhosts