Interesting Question

The State is a condition, a certain relationship between human beings, a mode of behavior; we destroy it by contracting other relationships, by behaving differently toward one another....We are the state, and we shall continue to be the state until we have created the institutions that form a real community and society of men.

- Gustav Landauer, Schwache Stattsmanner, Schwacheres Volk!, June, 1910



Selected Correspondence:



24 December 2006

IP over PPP over DNS over IP

In a world with radio waves flowing all around, it should be possible for people's thoughts to be as anonymous as the ether that caresses their skin.

I wrote the following (using ruby and the mDNS library). It's amusing and pleasing for wireless travel or anonymity provided one has a domain name server somewhere. There are many situations where DNS is available but not other types of routing (e.g Starbucks). Works under Unix and OS X.

You can get the code here: http://iq.org/crafty.rb

An example:

proffs-computer:~/crafty/src root# ls -l crafty.rb
-rw-r--r-- 1 proff proff 9106 Sep 20 18:00 crafty.rb
proffs-computer:~/crafty/src root# ruby crafty.rb
^Z
[1]+ Stopped ruby crafty.rb
proffs-computer:~/crafty/src root# bg
[1]+ ruby crafty.rb &
proffs-computer:~/crafty/src root# ifconfig ppp0
ppp0: flags=8051 mtu 1500
inet 10.0.0.1 --> 10.0.0.2 netmask 0xff000000
proffs-computer:~/crafty/src root# ifconfig ppp1
ppp1: flags=8051 mtu 1500
inet 10.0.0.2 --> 10.0.0.1 netmask 0xff000000
proffs-computer:~/crafty/src root# tail /var/log/system.log
Sep 20 18:12:40 proffs-computer pppd[3434]: pppd 2.4.2 (Apple version
233-10) started by proff, uid 0
Sep 20 18:12:40 proffs-computer pppd[3435]: pppd 2.4.2 (Apple version
233-10) started by proff, uid 0
Sep 20 18:12:40 proffs-computer pppd[3434]: Connect: ppp0 <--> /dev/
ttype
Sep 20 18:12:40 proffs-computer pppd[3435]: Connect: ppp1 <--> /dev/
ttypf
Sep 20 18:12:46 proffs-computer pppd[3435]: local IP address 10.0.0.2
Sep 20 18:12:46 proffs-computer pppd[3435]: remote IP address 10.0.0.1
Sep 20 18:12:46 proffs-computer pppd[3434]: local IP address 10.0.0.1
Sep 20 18:12:46 proffs-computer pppd[3434]: remote IP address 10.0.0.2
proffs-computer:~/crafty/src root# ssh -l proff 10.0.0.1
Password:
Last login: Wed Sep 20 17:58:52 2006 from 10.0.0.2
Welcome to Intelligent-Design!
proffs-computer:~ proff$ w proff
18:14 up 2 days, 15:13, 6 users, load averages: 0.58 0.28 0.30
USER TTY FROM LOGIN@ IDLE WHAT
proff console - Mon03 2days -
proff q0 - 17:56 13 bash
proff q2 10.0.0.2 18:14 - w proff
proffs-computer:~ proff$

It is not documented, optimized, or made user friendly, or multi- user, but the code should be readable and if people with ruby or DNS knowledge are interested and wish to optimize it or otherwise make it smile then I will assist.

crafty.rb uses my http://iq.org/rhetoric logic suite, which I have prepended for ease of use.