Skip to content

Commit

Permalink
Tunna version 1.1a
Browse files Browse the repository at this point in the history
  • Loading branch information
nvssks committed Nov 24, 2014
1 parent 7241dcc commit 03dc8bf
Show file tree
Hide file tree
Showing 29 changed files with 2,789 additions and 2,056 deletions.
76 changes: 76 additions & 0 deletions Diagram
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
v1.1 Alpha version

_____
|_ _| _ _ __ _ __ __ _
| || | | | '_ \| '_ \ / _` |
| || |_| | | | | | | | (_| |
|_| \__,_|_| |_|_| |_|\__,_|


Tunna 1.1a, for HTTP tunneling TCP connections by Nikos Vassakis
http://www.secforce.co.uk / nikos.vassakis <at> secforce.com


################################################################################################################

High level Diagram:

+-------------------------------------------+ +-------------------------------------------+
| Local Host | | Remote Host |
|-------------------------------------------| |-------------------------------------------|
| +----------+ +------------+ | +-------------+ | +------------+ +----------+ |
| |Client App|+----->|Tunna Client|<==========| Firewall |======>| Webshell |+------>|Server App| |
| +----------+ +------------+ | +-------------+ | +------------+ +----------+ |
+-------------------------------------------+ +------------------------------------------ +


Technical Diagram:

+-------------------------------------------+ +-------------------------------------------+
| Local Host | | Remote Host |
|-------------------------------------------| |-------------------------------------------|
| | | |
| +-----------------+ | | +-----------------+ |
| | Tunna Client | | | | Web Shell (URL) | |
| |-----------------| | | |-----------------| |
| | +-------------+ | | | | | |
| | |HTTP encap. | | | HTTP Traffic | | +-----------+ | |
| | +------^------+ <=================================> |HTTP>Unwrap| | |
| | | | | | | +-----+-----+ | |
| | +-------------+ | | | | | | |
| | | SOCKS 4a | | | | | +-----v-----+ | |
| | +------^------+ | | | | | SOCKS 4a | | |
| | | | | | | +-----+-----+ | |
| | +------+------+ | | | | | | |
| +-| Local Port |-+ | | +--------v--------+ |
| +------^------+ | | | |
| | | | | |
| +----------------+ | | | | +----------------+ |
| |Local Client | | | | +--------> Remote Service | |
| |----------------| | | | |----------------| |
| |Connect to local| | | | |Connection | |
| |Socket | | | | |received from | |
| | +--------+ | | |localhost | |
| | | | | | | |
| | | | | | | |
| +----------------+ | | +----------------+ |
+-------------------------------------------+ +-------------------------------------------+


SOCKS 4a Diagram:

Incoming Connections Remote Services
+--------+ +--------+
|L Port +----+ +------> R Port |
+--------+ | | +--------+
| |
+--------+ | +------------+ +------------| | +--------+
|L Port +----+------>| SOCKS 4a L |-------------------------->| SOCKS 4a R |---+------> R Port |
+--------+ | +------------+ +------------| | +--------+
| |
+--------+ | | +--------+
|L Port +----+ +------> R Port |
+--------+ +--------+

Every "L Port" is mapped to a "R Port" in the remote server

Loading

0 comments on commit 03dc8bf

Please sign in to comment.