-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: resdb
action: commit
revision:
path_from:
revision_from: 41f2cb1a2dfa1d2542593cff8fb1075849458564:
path_to:
revision_to:

git.thebackupbox.net

resdb

git://git.thebackupbox.net/resdb

commit 41f2cb1a2dfa1d2542593cff8fb1075849458564
Author: d3v11 <d3v11@d3v11.ano>
Date:   Mon Sep 19 20:16:17 2011 -0500

    added tor2dns to resdb in contrib

diff --git a/contrib/tor2dns/tor2dns/README b/contrib/tor2dns/tor2dns/README
new file mode 100644
index 0000000000000000000000000000000000000000..75a1ebe9d6fcae5dde8e4fe7f33c340eb6662ccf
--- /dev/null
+++ b/contrib/tor2dns/tor2dns/README
@@ -0,0 +1,34 @@
+DESCRIPTION:
+	tor2dns is a quick solution to non-free
+	and centralized dns.
+
+DEPENDS:
+	tor, daemontools, python
+
+INSTALL:
+
+mkdir /var/lib/tor/tor2dns
+echo 'HiddenServiceDir /var/lib/tor/tor2dns' >> /etc/tor/torrc
+echo 'HiddenServicePort 8053 127.0.0.1:8053' >> /etc/tor/torrc
+
+#See note below, you may need to use the commented line.
+#chown debian-tor /var/lib/tor/tor2dns
+
+/etc/init.d/tor restart
+mkdir /services/tor2dns
+tar -xvf tor2dns.tar.gz --directory='/services'
+cd /
+ln -s /services/tor2dns /service
+echo 'new dns link >>> http://'`cat /var/lib/tor/tor2dns/hostname`
+
+POST INSTALL:
+	You will want to make sure port fowarding is turned on, on
+	port 8053 of your router, you may also need to adjust your
+	firewall. you can test for success by opening your browser
+	with tor enabled and going to the link given @ the end of
+	your installation. :-) enjoy.
+
+NOTE:
+	On some systems /var/lib/tor/tor2dns will need a special owner
+	like "debian-tor". If tor2dns fails for you please troubleshoot
+	your logs, port fowarding, etc.
diff --git a/contrib/tor2dns/tor2dns/run b/contrib/tor2dns/tor2dns/run
new file mode 100755
index 0000000000000000000000000000000000000000..087f7aa51b8633563e5b397e2e76fa012b686ed5
--- /dev/null
+++ b/contrib/tor2dns/tor2dns/run
@@ -0,0 +1,13 @@
+#!/bin/bash
+GETIP() {
+        while true; do
+        wget `cat ../wimi.com` -O index.html
+        sleep 5m
+        done
+        }
+
+[ -e SHARE ] || mkdir SHARE
+cd SHARE
+../serve &
+GETIP
+
diff --git a/contrib/tor2dns/tor2dns/serve b/contrib/tor2dns/tor2dns/serve
new file mode 100755
index 0000000000000000000000000000000000000000..0274b74a423cd4e01a6a4cad0c596e4ef4c98ea2
--- /dev/null
+++ b/contrib/tor2dns/tor2dns/serve
@@ -0,0 +1,9 @@
+#!/usr/bin/python
+import SimpleHTTPServer
+import SocketServer
+
+PORT = 8053
+
+Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
+httpd = SocketServer.TCPServer(("", PORT), Handler)
+httpd.serve_forever()
diff --git a/contrib/tor2dns/tor2dns/wimi.com b/contrib/tor2dns/tor2dns/wimi.com
new file mode 100644
index 0000000000000000000000000000000000000000..5aae0b99439b67ef994fdd9c953a081ef83c12e2
--- /dev/null
+++ b/contrib/tor2dns/tor2dns/wimi.com
@@ -0,0 +1 @@
+http://automation.whatismyip.com/n09230945.asp

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 10:19:52 2024