LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-23-2015, 04:07 PM   #1
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Rep: Reputation: 57
Use multiple TOR connections simultaneously for redundancy and performance


TOR is often too slow, this happens when one of the nodes chosen at a time is too slow.

Instead we could imagine using several TOR connections simultaneously and redundantly, ignoring the packets that take too long to be acknowledged so only the fastest connection takes the full load.

How can this be done?

Maybe with virtual machines acting as TOR clients and presenting a network interface each to the host so the host thinks it has 10 network interfaces and is duplicating its packets across them?

Last edited by Ulysses_; 06-23-2015 at 04:20 PM.
 
Old 06-23-2015, 04:12 PM   #2
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Original Poster
Rep: Reputation: 57
Maybe something similar to EOP Xtream, but for linux and open-source and with the connections to different network interfaces gatewayed to TOR clients?

Quote:
there is a theory that opening multiple TCP streams can increase performance in environments where latency is an issue. The advantage comes from the "reliable" nature of TCP, and the fact and senders have to wait for acknowledgement packets, and since TCP window sizes can't be too huge across real world WANs, you can get better performance if you take your TCP stream and slice it into a bunch of parallel streams.
http://www.brianmadden.com/blogs/vid...-goodness.aspx

Last edited by Ulysses_; 06-23-2015 at 04:21 PM.
 
Old 06-23-2015, 04:18 PM   #3
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
I'm not certain you wouldn't achieve the same efficiency by bonding a pair of NICs and running multi-path.
You're looking for the shortest route between two points, let's hope re-inventing the compass is optional.
 
Old 06-23-2015, 04:23 PM   #4
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Original Poster
Rep: Reputation: 57
Any good places to read about and get started with multi-path?
 
Old 06-23-2015, 04:27 PM   #5
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Here's a place to start

Red Hat has DM Multi-path capability, but that's specifically for storage, not server client arrangements.
 
Old 06-23-2015, 04:45 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
i do think that would make you VERY identifiably in the tor network
and rather easily tracked back to YOU

negating the use for TOR

just use a normal network for SPEED
 
Old 06-23-2015, 05:04 PM   #7
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Original Poster
Rep: Reputation: 57
What would visited sites see? Wouldn't they see 10 visitors all downloading the same page?
 
Old 06-23-2015, 05:13 PM   #8
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Multiple mostly useless requests for the same page in a short time from the same site, across multiple paths of a finite network (TOR)...

That could be construed as a form of DDOS attack in my book!

At best it is wasteful of the target site and TOR network resources, very selfish and inconsiderate! At worst, with multiple clients it would become an anonymized DDOS delivery network in its own right! At worst, if it became the defacto way to use TOR it would leverage the traffic levels by the number of request paths - 10X in your example! A 10X level of traffic on an already slow resource limited network... you see where that goes...

Last edited by astrogeek; 06-23-2015 at 05:16 PM.
 
Old 06-23-2015, 05:16 PM   #9
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Original Poster
Rep: Reputation: 57
What if multipath only uses one of the paths, the one with the fastest acknowledgements?
 
1 members found this post helpful.
Old 06-23-2015, 05:26 PM   #10
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Original Poster
Rep: Reputation: 57
Just found it does something close to that. Here is a demo video (see under "Linux Kernel MultiPath TCP in action"):

http://www.multipath-tcp.org/
 
Old 06-23-2015, 09:41 PM   #11
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
I don't think IP multi-path sends identical requests over multiple paths, it polls for a faster path than it currently routes over and when it locates one, it uses it.
So concerns about it creating accidental ddos attacks are probably misplaced.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
handling mass simultaneously connections dorian33 Linux - Software 2 04-14-2010 10:54 AM
Multiple Blade servers booting from multiple disk drives simultaneously NGC_cheryl Linux - Enterprise 0 11-26-2007 08:38 AM
use simultaneously two network connections nima0102 Linux - Networking 4 10-28-2007 05:47 PM
Is RAID 5 worth it (performance wise vs redundancy)? c4onastick Linux - Server 2 06-04-2007 08:30 AM
2 broadband connections for redundancy msound Linux - Networking 1 07-05-2005 12:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration