Author Topic: Tunnelling Over Dns (nstx Etc)  (Read 4415 times)

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Tunnelling Over Dns (nstx Etc)
« 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/

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

Has anyone gotten NSTX working on the Zaurus reliably?

Paul
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

aki

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
    • http://www.akiaki.org
Tunnelling Over Dns (nstx Etc)
« Reply #1 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.

sl-5500 Sharp 2.38 ROM + sl-6000L w/ expansion adapter
Trendnet CF Ethernet + Micro Innovations IR Keyboard
------
sip: 544187@fwd.pulver.com

My Zaurus Page

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Tunnelling Over Dns (nstx Etc)
« Reply #2 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
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

cowcow

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Tunnelling Over Dns (nstx Etc)
« Reply #3 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) ?
SL-C860
Original Japanese ROM
D-Link 660W CF WiFi Card
1G Transend CF Card

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Tunnelling Over Dns (nstx Etc)
« Reply #4 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
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

cowcow

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Tunnelling Over Dns (nstx Etc)
« Reply #5 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]
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
SL-C860
Original Japanese ROM
D-Link 660W CF WiFi Card
1G Transend CF Card