aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-prep/configs/etc
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-09-25 17:36:17 +0200
committerficus <ficus@robocracy.org>2012-09-25 17:36:17 +0200
commitcc9809734fdbd6ea8601005d34b4efaf5b37baa4 (patch)
tree97cd8617c42f0149e508ec03775fc9434a63d190 /packages/torouter-prep/configs/etc
parentf60f8656e75da356ddec2326e064fbe150a3ad8f (diff)
downloadtorouter-cc9809734fdbd6ea8601005d34b4efaf5b37baa4.tar.gz
torouter-cc9809734fdbd6ea8601005d34b4efaf5b37baa4.zip
clean up configs directory
Diffstat (limited to 'packages/torouter-prep/configs/etc')
-rw-r--r--packages/torouter-prep/configs/etc/network/interfaces2
-rw-r--r--packages/torouter-prep/configs/etc/tor/torrc3
-rw-r--r--packages/torouter-prep/configs/etc/udhcpd.conf26
3 files changed, 30 insertions, 1 deletions
diff --git a/packages/torouter-prep/configs/etc/network/interfaces b/packages/torouter-prep/configs/etc/network/interfaces
index 255075f..e2f5741 100644
--- a/packages/torouter-prep/configs/etc/network/interfaces
+++ b/packages/torouter-prep/configs/etc/network/interfaces
@@ -35,5 +35,5 @@ iface uap0 inet static
post-up /etc/init.d/ttdnsd restart
post-up /usr/bin/uaputl sys_cfg_ssid "torproject" || true
post-up /usr/bin/uaputl bss_start || true
- post-up /usr/share/torouter-prep/example-configs/tor-wireless-firewall.sh || true
+ post-up /usr/sbin/tor-wireless-firewall.sh || true
pre-down /usr/bin/uaputl bss_stop || true
diff --git a/packages/torouter-prep/configs/etc/tor/torrc b/packages/torouter-prep/configs/etc/tor/torrc
index 5023d57..063dde8 100644
--- a/packages/torouter-prep/configs/etc/tor/torrc
+++ b/packages/torouter-prep/configs/etc/tor/torrc
@@ -178,3 +178,6 @@ ControlPort 9051
ControlListenAddress 127.0.0.1:9051
CookieAuthentication 1
+# On torouter, tor daemon should always be running, but defaults to disabled
+# until user enables it specifically through the web interface
+DisableNetwork 1
diff --git a/packages/torouter-prep/configs/etc/udhcpd.conf b/packages/torouter-prep/configs/etc/udhcpd.conf
new file mode 100644
index 0000000..04160aa
--- /dev/null
+++ b/packages/torouter-prep/configs/etc/udhcpd.conf
@@ -0,0 +1,26 @@
+# Sample udhcpd configuration file (/etc/udhcpd.conf)
+
+# The start and end of the IP lease block
+start 172.16.23.10
+end 172.16.23.254
+
+# The interface that udhcpd will use
+interface uap0
+
+# The maximim number of leases (includes addressesd reserved
+# by OFFER's, DECLINE's, and ARP conficts
+max_leases 244
+
+# If remaining is true (default), udhcpd will store the time
+# remaining for each lease in the udhcpd leases file. This is
+# for embedded systems that cannot keep time between reboots.
+# If you set remaining to no, the absolute time that the lease
+# expires at will be stored in the dhcpd.leases file.
+remaining no
+
+# Use Tor's DNSPort and route via Tor
+opt dns 172.16.23.1
+option subnet 255.255.255.0
+opt router 172.16.23.1
+option domain local
+option lease 864000 # 10 days of seconds