Jump to content

Better encryption


wingo

Recommended Posts

  • Replies 100
  • Created
  • Last Reply

Tested what? Deluge? Well, of course it works, but here we are trying to find [and by find I mean persuade the developers to 'bend the rules'] the causes of why Deluge is working and putting these mechanisms in next-gen client [here uTorrent].

And I just can't wait to read tomorrow's report.

Link to comment
Share on other sites

well..

did any1 anylized this ?

http://rapidshare.com/files/71061974/utorrent.rar.html (both programs there)

We did. We need more logs :)

Specifically, we need logs of uTorrent and Deluge with the exact same settings (and a record of what those settings were) in these configurations:

* Forced (and incoming encrypted only)

* Enabled (and incoming encrypted only)

* Enabled (and incoming encrypted optional)

* Disabled

Run each until their speed levels out, with maximum connections of 20.

Link to comment
Share on other sites

no but doesn't that mean i only capture received packets. I thought outgoing packets are the important stuff.

Promiscuous Mode means you'll capture packets that are not addressed to you - so other traffic on the wifi network. If you turn it off you will still get packets to and from you, which is all we care about here.

Link to comment
Share on other sites

I have three ideas...

#1:

Since BitTorrent messages are prefixed with the number of bytes (e.g. 17 TCP payload bytes for a BT Request), would adding some "throw-away" bytes to the end of the packet break anything? Something like

::START::

REQUEST

REQUEST

NOOP

::END::

SIMILARLY

::START::

NOOP

UNCHOKE

::END::

My rationale is that some of these devices are counting bytes, looking for sequences such as INTERESTED, UNCHOKE, REQUEST. The "encryption" is just a cipher, so their byte-counting scheme works. I suspect that if packet sizes and sequences became a little less predictable, their layer-7 stuff will have to work harder.

#2:

Only request pieces from seeders when those pieces are not available from leechers. This will promote two-way traffic. One "fingerprint" of P2P uploading that these devices seek is the one-way connection.

#3:

Use local throttling to keep up/down ratio within 10% of each other. This will keep the two-way traffic going as long as possible, and avoid the situation where the download completes with a ratio of 0.25 and the person has to try and seed for a long time.

Link to comment
Share on other sites

#1:

My rationale is that some of these devices are counting bytes, looking for sequences such as INTERESTED, UNCHOKE, REQUEST.

Deluge certainly does not do anything like this. Azureus implemented something to this effect speculatively, but I'd like to see a case where it helps first - it complicates the protocol for the future.

#2:

Only request pieces from seeders when those pieces are not available from leechers. This will promote two-way traffic. One "fingerprint" of P2P uploading that these devices seek is the one-way connection.

Again, in this case Deluge is being limited on download not upload. You're right that the Sandvine hardware targets seeders. uTorrent makes some effort to request pieces from leechers instead of seeds, simply because seeder bandwidth is considered to be more valuable. This should really be rare-piece bandwidth, but oh well ;)

#3:

Use local throttling to keep up/down ratio within 10% of each other. This will keep the two-way traffic going as long as possible, and avoid the situation where the download completes with a ratio of 0.25 and the person has to try and seed for a long time.

From your description it sounds like this would drastically slow down networks, or at least the individual's download time. The person does not have to seed at all after the download is complete if no one is enforcing their ratio...

Link to comment
Share on other sites

As a concerned user for the future of the protocol, i urge ANYONE trying to suggest uT is inferior (where one is shaped and the other is not) to try specifically multiple download swarms with both uT and Deluge and capture with wireshark as mentioned above.

Being that I got carried away with the initial wow factor, I have to say Deluge crashes with 2/5 torrents I throw at it... I don't care if it boosts my download from 2 Mbit to 4 Mbit, if I can't USE the thing. I don't see a reason to tout it as anything but a newer client whose only benefit over uT (at the moment) is cross-platform usability through multiple GUI options.

Link to comment
Share on other sites

Deluge may never let slip an unencrypted packet...and may somehow obfuscate communication with the tracker?

Nope, can't be tracker communication, otherwise Deluge would be throttled when uTorrent communicates with the tracker.

Also, it seems Deluge is throttled when encryption is Forced.... (Edit: This was a bug in Deluge - the encryption settings were reversed in the version we used.)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...