Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transmission of traffic through one TCP connection or multiple TCP connections #20

Open
Alex220 opened this issue Jun 27, 2019 · 1 comment

Comments

@Alex220
Copy link

Alex220 commented Jun 27, 2019

Unlike other http-tunnels, Tunna generates a tcp connection for each request and response, And this is very good, Because it simulates a real http queries.

Most of http tunnels generate only one TCP connection, And all TCP-traffics are exchanged through it.

Is there any settings to choise traffics will be transmitted through one TCP-connection or multiple connections?! (however generating a tcp connection for each request and response is better solution, but maybe one TCP-connection faster than multiple connections)

@nvssks
Copy link
Contributor

nvssks commented Jul 2, 2019

If I understand this correctly, you mean why not use multiple connections to the server. Mainly this is because of design decisions, at the time of writing this tool (back in 2014), I wanted it to be as stealth as possible and not to rely on the webserver as much.
One of the reasons was the php webshell that stalls a thread to keep the connection alive, at the time I was thinking that overusing this could run the webserver out of resources.
The other reason was that this was made as a hacking tool, was not thinking of other uses (at the time). Point is, that now this is so deep embedded in the code base that it is almost impossible to change.
If I had to do it again I would have done it differently :)

Hope this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants