OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Security and Networking => Topic started by: speculatrix on April 06, 2005, 04:10:16 pm

Title: Tunnelling Over Dns (nstx Etc)
Post by: speculatrix on April 06, 2005, 04:10:16 pm
There are a number of wireless providers who, naturally, stop you accessing the internet  without subscription, however, they do allow some DNS lookups to work.

Using DNS tunnelling, you can get a working connection IF you know the IP address of an appropriately set up machine.

Such software includes NSTX:
http://nstx.dereference.de/nstx/ (http://nstx.dereference.de/nstx/)

and there's a neat hack with SSH:
http://www.boingboing.net/2004/06/21/tunne...ssh_over_d.html (http://www.boingboing.net/2004/06/21/tunneling_ssh_over_d.html)

Has anyone gotten NSTX working on the Zaurus reliably?

Paul
Title: Tunnelling Over Dns (nstx Etc)
Post by: aki on April 07, 2005, 06:22:49 pm
Have you actually tried this using the sw on a linux laptop?
I would think hotspot operators could prevent this by configuring their proxy to send you to the sign on page no matter what address you type.
Title: Tunnelling Over Dns (nstx Etc)
Post by: speculatrix on April 16, 2005, 03:57:55 am
Quote
Have you actually tried this using the sw on a linux laptop?
I would think hotspot operators could prevent this by configuring their proxy to send you to the sign on page no matter what address you type.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=74134\"][{POST_SNAPBACK}][/a][/div]

Hi Aki,
what happens is that your zaurus ends up with a new network interface, e.g. nstx0, which you make your default route. This takes your data and hides it inside DNS in such a way that it gets to a server of your choice (you need to be able to control your own dns, and run a server on an ADSL line or something) where the server has a network program pretending to be a DNS server but is in fact running the tunelling protocol.

Most hotspots don't block much DNS, they just force TCP traffic to their proxy or home page.

Paul
Title: Tunnelling Over Dns (nstx Etc)
Post by: cowcow on May 30, 2005, 02:19:24 am
Hi

anyone got nstx to work with zaurus?

or have anyone tried the perl version of ssh over dns (ozymandns) ?
Title: Tunnelling Over Dns (nstx Etc)
Post by: speculatrix on May 30, 2005, 06:01:27 pm
Quote
Hi

anyone got nstx to work with zaurus?

or have anyone tried the perl version of ssh over dns (ozymandns) ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82098\"][{POST_SNAPBACK}][/a][/div]

I decided to try it using a three machines I have at work, and it highlighted an important component missing from the Z's kernel - the "universal tun/tap interface" (whatever that is).

When I next get a try to make nstx work, I will then know what magic kernel modules I need.

But your ssh over DNS sounds very promising. I shall go take a look!

Paul
Title: Tunnelling Over Dns (nstx Etc)
Post by: cowcow on May 30, 2005, 10:47:01 pm
Quote
I decided to try it using a three machines I have at work, and it highlighted an important component missing from the Z's kernel - the "universal tun/tap interface" (whatever that is).

When I next get a try to make nstx work, I will then know what magic kernel modules I need.

But your ssh over DNS sounds very promising. I shall go take a look!

Paul
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=82190\")
u can get tun here [a href=\"http://www.liebchen-online.de/kmodc7x0.tgz]http://www.liebchen-online.de/kmodc7x0.tgz[/url] for zaurus/sharp rom.

for ozymandns, i realized u need perl with threads cability, anyone know which perl  has threads enabled for zaurus? you can test using :
Code: [Select]
perl -e "use threads"
if it does not have threads, it will show something like this:
Code: [Select]
perl -e "use threads"
-e line 1:

This Perl hasn't been configured and built properly for the threads
module to work.  (The 'useithreads' configuration option hasn't been used.)

Having threads support requires all of Perl and all of the XS modules in
the Perl installation to be rebuilt, it is not just a question of adding
the threads module.  (In other words, threaded and non-threaded Perls
are binary incompatible.)

If you want to the use the threads module, please contact the people
who built your Perl.

Cannot continue, aborting.

if it returns nothing, then perl has threads compiled in. u also need a few other perl modules like Net::DNS, Disgest::SHA1, etc