Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 44 guests and 1 member online
 
Free Business and Tech Magazines and eBooks

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Network Pen Testingarrow TUNNEL DATA
EH-Net
May 24, 2013, 08:37:18 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: TUNNEL DATA  (Read 2796 times)
0 Members and 1 Guest are viewing this topic.
Joao
Newbie
*
Offline Offline

Posts: 1


View Profile
« on: April 23, 2010, 10:40:40 PM »

In this tutorial we will learn about data traveling through a tunnel.

First need to review a few things:
- To be a connection between two computers at the very least there must be a client and a server.
- The server is waiting for connections (listen mode "Listing")
- The customer makes the connection. (Mode "connect")

Example:



The web server is "waiting" your connection.

"Tunnel" data is to make these data to flow through a third computer, which will serve as a "connection" between client and server.



We can use a tunnel to studies of communication protocols, for through the tunnel you can view the commands between client and server.

CREATING A TUNNEL.

Let's use the software insecuritynet 3.X   to create our tunnel.

First let's define who will be the client, the tunnel and the server:

Client -> Our computer.
Tunnel -> Program insecuritynet
Server -> FTP server unicamp (Public Servant)

Let's create our tunnel.
1 -) Open the program and enter:
Start -> Protection -> Port Tunnel



We will choose how the tunnel will be connected:
Our tunnel should wait for a connection and connect to the server unicamp.
So we have to use the "Listing -> Connect"

Let us set up the tunnel to wait on port 21 and redirect the connection to the server "ftp.unicamp.br" on port 21.
 The port 21 is the default port for FTP servers.

 

  The tunnel will be open and will wait for connection.
 
 

Let's create the connection.
  Now our computer is "virtually" the FTP server unicamp

  Let's connect in our "SUPPOSED local FTP server"
 
 
 
    Note the TUNEL
 
   
 
You can view all communication between client and server.
     GREEN: data are input data (our client)
     BLUE: The data are  Output Server (Unicamp)

    When you create a tunnel of this kind your computer becomes a server too.
     If another computer connect to the tunnel, will be automatically connected to your redirection.
   
      In this example will redirect a service for receiving email (POP)

     
     
      ---
   

      Note the tunnel when a remote computer connects to "pop our service."

     

     The IP "192.168.0.1" connected to our port 110 and was redirected to the IP address 200.221.4.119 (server pop)
      The data in green are the computer "192.168.0.1". The data in blue are the POP server.
       As it showed me the tunnel is a great tool to study protocols and connections.

       In the next tutorial I'll post about using a tunnel as a VPN server connection between two computers with IP NAT (computers which can not "see").
Logged
j0rDy
Hero Member
*****
Offline Offline

Posts: 590


View Profile
« Reply #1 on: April 26, 2010, 03:28:00 AM »

wow, now thats a way to make your first post! i cant see the images (probably blocked here at work) but i'll take a look at it when i get home!

And welcome to EH.net!
Logged

ISC2 Associate, CEH, ECSA, OSCP, OSWP

earning my stripes appears to be a road i must travel alone...with a little help of EH.net
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.072 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.