Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Security-Basics
[Top] [All Lists]

Re: Tunnel DNS queries

Subject: Re: Tunnel DNS queries
Date: Fri, 18 Apr 2008 22:39:21 +0500
On Thu, Apr 17, 2008 at 8:31 AM, secrookie@gmail.com
<secrookie@gmail.com> wrote:
I am researching on how to tunnel udp DNS queries.

 There are lots of information on how to do this for secure web
 browsing (ssh/squid, enable remote dns proxy in config: firefox
 etc..).

 I would like to tunnel all DNS queries from a Linux box via ssh to a
 remote DNS server.  I looked into port forwarding 53 but was not
 sucessfull.  As DNS queries are UDP I am not sure if it will work with
 openssh.  My understanding is openssh tunnel only works with TCP.

 Any input would be appreciated.

Using socat, I have in the past easily managed to serve DNS requests
coming on port 53 by forwarding them to external DNS servers.  I have
not tried routing them enveloped in an SSH tunnel.  Though, for
something as trivial as DNS queries, I don't know why one would want
to do that.

-- 
Ayaz Ahmed Khan

"I'm returning this note to you, instead of your paper, because it
(your paper) presently occupies the bottom of my bird cage."
 -- English Professor, Providence College

<Prev in Thread] Current Thread [Next in Thread>