quix0rs-apt-p2p.git
15 years agoFinal version of presentation
Cameron Dale [Wed, 22 Apr 2009 19:53:46 +0000 (12:53 -0700)]
Final version of presentation

15 years agoWIP on INFOCOM presentation
Cameron Dale [Fri, 17 Apr 2009 16:12:00 +0000 (09:12 -0700)]
WIP on INFOCOM presentation

15 years agoFinal version of INFOCOM paper.
Cameron Dale [Wed, 21 Jan 2009 07:00:19 +0000 (23:00 -0800)]
Final version of INFOCOM paper.

15 years agoWIP on final version of accepted INFOCOM paper.
Cameron Dale [Mon, 19 Jan 2009 06:37:21 +0000 (22:37 -0800)]
WIP on final version of accepted INFOCOM paper.

15 years agoFinal version of paper.
Cameron Dale [Sun, 28 Sep 2008 18:13:18 +0000 (11:13 -0700)]
Final version of paper.

15 years agoMore work on the paper, almost done now.
Cameron Dale [Fri, 29 Aug 2008 21:51:08 +0000 (14:51 -0700)]
More work on the paper, almost done now.

15 years agoRemove the wrong figure, add the right one.
Cameron Dale [Fri, 29 Aug 2008 18:57:59 +0000 (11:57 -0700)]
Remove the wrong figure, add the right one.

15 years agoJC's updated changes to the INFOCOM paper.
Cameron Dale [Fri, 29 Aug 2008 18:53:08 +0000 (11:53 -0700)]
JC's updated changes to the INFOCOM paper.

15 years agoAdded a new figure and lots of work on the paper.
Cameron Dale [Thu, 28 Aug 2008 23:40:35 +0000 (16:40 -0700)]
Added a new figure and lots of work on the paper.

15 years agoMore work on the paper, including adding a new response time improvement figure.
Cameron Dale [Tue, 26 Aug 2008 23:27:35 +0000 (16:27 -0700)]
More work on the paper, including adding a new response time improvement figure.

15 years agoAdded JC's changes to the paper.
Cameron Dale [Tue, 26 Aug 2008 16:39:37 +0000 (09:39 -0700)]
Added JC's changes to the paper.

15 years agoAdded the new paper targetting INFOCOM to the docs.
Cameron Dale [Sat, 16 Aug 2008 23:08:30 +0000 (16:08 -0700)]
Added the new paper targetting INFOCOM to the docs.

15 years agoFinalize poster?
Cameron Dale [Tue, 12 Aug 2008 00:22:23 +0000 (17:22 -0700)]
Finalize poster?

15 years agoSecond submission of debaday article.
Cameron Dale [Tue, 15 Jul 2008 18:34:45 +0000 (11:34 -0700)]
Second submission of debaday article.

15 years agoFirst submission of debaday article.
Cameron Dale [Tue, 15 Jul 2008 18:34:12 +0000 (11:34 -0700)]
First submission of debaday article.

15 years agoFinal version of abstract.
Cameron Dale [Mon, 30 Jun 2008 20:33:21 +0000 (13:33 -0700)]
Final version of abstract.

15 years agoUpdated the abstract to the ACM class.
Cameron Dale [Tue, 24 Jun 2008 20:21:48 +0000 (13:21 -0700)]
Updated the abstract to the ACM class.

15 years agoMore WIP on the poster.
Cameron Dale [Mon, 23 Jun 2008 22:43:20 +0000 (15:43 -0700)]
More WIP on the poster.

15 years agoWork in progress before changing to landscape.
Cameron Dale [Mon, 23 Jun 2008 19:39:01 +0000 (12:39 -0700)]
Work in progress before changing to landscape.

15 years agoAdded work on poster for SIGCOMM '08.
Cameron Dale [Mon, 23 Jun 2008 16:28:15 +0000 (09:28 -0700)]
Added work on poster for SIGCOMM '08.

15 years agoMake sure bad nodes don't get added to the routing table.
Cameron Dale [Sun, 22 Jun 2008 06:55:36 +0000 (23:55 -0700)]
Make sure bad nodes don't get added to the routing table.

15 years agoNew changelog entry and version update for relase.
Cameron Dale [Sun, 22 Jun 2008 06:31:48 +0000 (23:31 -0700)]
New changelog entry and version update for relase.

15 years agoAdd a logrotate file that should work with the twistd log rotation.
Cameron Dale [Sun, 22 Jun 2008 06:25:06 +0000 (23:25 -0700)]
Add a logrotate file that should work with the twistd log rotation.

15 years agoPrevent BitTorrent nodes from infiltrating the DHT.
Cameron Dale [Sat, 21 Jun 2008 19:59:43 +0000 (12:59 -0700)]
Prevent BitTorrent nodes from infiltrating the DHT.

15 years agoConsume ping errors so they aren't printed in the log.
Cameron Dale [Sat, 21 Jun 2008 19:59:21 +0000 (12:59 -0700)]
Consume ping errors so they aren't printed in the log.

15 years agoFinal version of SigCom travel grant application.
Cameron Dale [Mon, 16 Jun 2008 21:08:48 +0000 (14:08 -0700)]
Final version of SigCom travel grant application.

15 years agoNew changelog entry and version update for release.
Cameron Dale [Mon, 16 Jun 2008 06:23:48 +0000 (23:23 -0700)]
New changelog entry and version update for release.

15 years agoUse the version number in the Khashmir node ID.
Cameron Dale [Sun, 15 Jun 2008 01:12:26 +0000 (18:12 -0700)]
Use the version number in the Khashmir node ID.

15 years agoAllow the setting of khashmir ID's suffix.
Cameron Dale [Sat, 14 Jun 2008 23:24:21 +0000 (16:24 -0700)]
Allow the setting of khashmir ID's suffix.

15 years agoAdd $remote_fs dependency in init.d LSB header (Closes: #480645)
Cameron Dale [Sat, 14 Jun 2008 22:27:22 +0000 (15:27 -0700)]
Add $remote_fs dependency in init.d LSB header (Closes: #480645)

15 years agoAdd the travel grant submission.
Cameron Dale [Tue, 20 May 2008 00:03:04 +0000 (17:03 -0700)]
Add the travel grant submission.

15 years agoRemove the unneeded misc depends variable.
Cameron Dale [Sat, 10 May 2008 07:00:20 +0000 (00:00 -0700)]
Remove the unneeded misc depends variable.

15 years agoAlways return the result at the end of a callback function.
Cameron Dale [Sat, 10 May 2008 06:58:32 +0000 (23:58 -0700)]
Always return the result at the end of a callback function.

15 years agoNew changelog entry and versions for next release.
Cameron Dale [Sat, 10 May 2008 06:53:05 +0000 (23:53 -0700)]
New changelog entry and versions for next release.

15 years agoSchedule a re-ping message after adding a new node.
Cameron Dale [Sat, 10 May 2008 05:19:42 +0000 (22:19 -0700)]
Schedule a re-ping message after adding a new node.

Also fixed a typo in the new nodeFailed function.

15 years agoMake nodes hashable so they can be used in dictionaries.
Cameron Dale [Sat, 10 May 2008 04:06:37 +0000 (21:06 -0700)]
Make nodes hashable so they can be used in dictionaries.

15 years agoAdd a NEWS entry for port forwarding.
Cameron Dale [Sat, 10 May 2008 01:48:18 +0000 (18:48 -0700)]
Add a NEWS entry for port forwarding.

15 years agoRevert "Add debconf to inform the user of the necessity of port forwarding."
Cameron Dale [Sat, 10 May 2008 01:37:01 +0000 (18:37 -0700)]
Revert "Add debconf to inform the user of the necessity of port forwarding."

This reverts commit 61fd574b4497f00fc69cc4523f5bf478fb3ca9c5.

Conflicts:

debian/control

15 years agoFix a typo bug in the Krpc error messages.
Cameron Dale [Sat, 10 May 2008 01:33:24 +0000 (18:33 -0700)]
Fix a typo bug in the Krpc error messages.

15 years agoRevert "Fix a postrm bug due to debconf generating errors if the apt-p2p user is...
Cameron Dale [Sat, 10 May 2008 01:32:21 +0000 (18:32 -0700)]
Revert "Fix a postrm bug due to debconf generating errors if the apt-p2p user is missing."

This reverts commit 6573b9d12bf656557a584c6c1a469ba2e66ca2b9.

15 years agoWhen a node fails, schedule a future ping to check again.
Cameron Dale [Sat, 10 May 2008 00:18:20 +0000 (17:18 -0700)]
When a node fails, schedule a future ping to check again.

Should help to eliminate bad nodes faster.
To facilitate, added a sendPing() to Khashmir.
insertNode now uses sendPing() rather than it's own routines.
Pinging is now stateful, so that multiple pings are not sent simultaneously.

15 years agoOnly touch a bucket if a find request targets it.
Cameron Dale [Fri, 9 May 2008 22:56:20 +0000 (15:56 -0700)]
Only touch a bucket if a find request targets it.

Should prevent quiet nodes from keeping old contacts in the buckets.

15 years agoIncrease the stored value redundancy to 6.
Cameron Dale [Fri, 9 May 2008 22:19:51 +0000 (15:19 -0700)]
Increase the stored value redundancy to 6.

15 years agoIncrease the concurrency of DHT requests to 8.
Cameron Dale [Fri, 9 May 2008 22:16:46 +0000 (15:16 -0700)]
Increase the concurrency of DHT requests to 8.

15 years agoSet a new peer's ranking values so they don't get an unfair advantage.
Cameron Dale [Fri, 9 May 2008 21:51:09 +0000 (14:51 -0700)]
Set a new peer's ranking values so they don't get an unfair advantage.

15 years agoTests for some more HTTP connection errors.
Cameron Dale [Fri, 9 May 2008 21:41:36 +0000 (14:41 -0700)]
Tests for some more HTTP connection errors.

15 years agoSet the HTTP connection timeout to 10s, and add a test for it.
Cameron Dale [Fri, 9 May 2008 21:35:43 +0000 (14:35 -0700)]
Set the HTTP connection timeout to 10s, and add a test for it.

15 years agoBetter error logging for store_value token errors.
Cameron Dale [Fri, 9 May 2008 02:34:31 +0000 (19:34 -0700)]
Better error logging for store_value token errors.

15 years agoNew TODO for better total number of nodes calculation.
Cameron Dale [Fri, 9 May 2008 02:18:17 +0000 (19:18 -0700)]
New TODO for better total number of nodes calculation.

15 years agoTolerate a limited number of errors from peers before dropping them.
Cameron Dale [Fri, 9 May 2008 02:02:38 +0000 (19:02 -0700)]
Tolerate a limited number of errors from peers before dropping them.

15 years agoPeerManager keeps a list of site names, peers are kept in a dictionary.
Cameron Dale [Fri, 9 May 2008 00:28:07 +0000 (17:28 -0700)]
PeerManager keeps a list of site names, peers are kept in a dictionary.

15 years agoSpeed up the recursive DHT actions when timeouts occur.
Cameron Dale [Thu, 8 May 2008 22:24:34 +0000 (15:24 -0700)]
Speed up the recursive DHT actions when timeouts occur.

If the action proceeds too far beyond a node, ignore it and move on.
If the closest K nodes have all responded, abort early.

15 years agoMove the bucket manipulation into the KBucket class.
Cameron Dale [Thu, 8 May 2008 21:04:57 +0000 (14:04 -0700)]
Move the bucket manipulation into the KBucket class.

15 years agoFix a traceback generating bug in the refreshing of DHT entries.
Cameron Dale [Wed, 7 May 2008 07:10:38 +0000 (00:10 -0700)]
Fix a traceback generating bug in the refreshing of DHT entries.

Also change the DB's expiredHashes to return a sorted list.

15 years agoNew TODO item for rotating DNS entries.
Cameron Dale [Mon, 5 May 2008 06:43:18 +0000 (23:43 -0700)]
New TODO item for rotating DNS entries.

15 years agoUpdate versions and changelog for new release.
Cameron Dale [Mon, 5 May 2008 06:18:40 +0000 (23:18 -0700)]
Update versions and changelog for new release.

15 years agoFixed a bug in the HTTP downloader that caused errors with some mirrors that always...
Cameron Dale [Sun, 4 May 2008 21:16:25 +0000 (14:16 -0700)]
Fixed a bug in the HTTP downloader that caused errors with some mirrors that always close the connections.

15 years agoMake sure full timeouts occur even if a resend timeout has not.
Cameron Dale [Sat, 3 May 2008 18:14:57 +0000 (11:14 -0700)]
Make sure full timeouts occur even if a resend timeout has not.

15 years agoUpdate the version numbers and changelog for new release.
Cameron Dale [Sat, 3 May 2008 17:27:35 +0000 (10:27 -0700)]
Update the version numbers and changelog for new release.

15 years agoLower the timeout to 9 sec to reduce delays.
Cameron Dale [Sat, 3 May 2008 17:21:38 +0000 (10:21 -0700)]
Lower the timeout to 9 sec to reduce delays.

15 years agoFinal abstract for submission.
Cameron Dale [Fri, 2 May 2008 21:15:18 +0000 (14:15 -0700)]
Final abstract for submission.

15 years agoFix the broken local IP regexes.
Cameron Dale [Thu, 1 May 2008 20:04:46 +0000 (13:04 -0700)]
Fix the broken local IP regexes.

15 years agoMassive update to most of the abstract.
Cameron Dale [Thu, 1 May 2008 02:31:53 +0000 (19:31 -0700)]
Massive update to most of the abstract.

15 years agoDon't log KRPC errors for receiving an invalid store_value token.
Cameron Dale [Tue, 29 Apr 2008 17:16:50 +0000 (10:16 -0700)]
Don't log KRPC errors for receiving an invalid store_value token.

15 years agoCreate the Kile project for the SIGCOMM poster abstract.
Cameron Dale [Tue, 29 Apr 2008 00:46:22 +0000 (17:46 -0700)]
Create the Kile project for the SIGCOMM poster abstract.

15 years agoOnly add nodes to the routing table that have responded to a request.
Cameron Dale [Tue, 29 Apr 2008 00:44:45 +0000 (17:44 -0700)]
Only add nodes to the routing table that have responded to a request.

If they haven't, ping them before adding them.
Still ping the old node first to see if it's stale.
Move the temporary functions for ping/join to be module functions.

15 years agoDon't try and add ourself to the routing table during an action.
Cameron Dale [Tue, 29 Apr 2008 00:36:30 +0000 (17:36 -0700)]
Don't try and add ourself to the routing table during an action.

15 years agoDon't add local IP addresses to the routing table (with config option to override).
Cameron Dale [Mon, 28 Apr 2008 23:28:06 +0000 (16:28 -0700)]
Don't add local IP addresses to the routing table (with config option to override).

15 years agoNew TODO for hashing files with detached GPG signatures.
Cameron Dale [Mon, 28 Apr 2008 22:08:35 +0000 (15:08 -0700)]
New TODO for hashing files with detached GPG signatures.

15 years agoFix: no files were added to the DHT due to missing hashing results.
Cameron Dale [Sat, 26 Apr 2008 17:01:08 +0000 (10:01 -0700)]
Fix: no files were added to the DHT due to missing hashing results.

15 years agoFix a postrm bug due to debconf generating errors if the apt-p2p user is missing.
Cameron Dale [Sat, 26 Apr 2008 03:10:23 +0000 (20:10 -0700)]
Fix a postrm bug due to debconf generating errors if the apt-p2p user is missing.

15 years agoClean up the copyrights mentioned in the code.
Cameron Dale [Sat, 26 Apr 2008 02:38:39 +0000 (19:38 -0700)]
Clean up the copyrights mentioned in the code.

15 years agoRemove the changelog parsing from setup.py and just hardcode the version.
Cameron Dale [Sat, 26 Apr 2008 01:57:05 +0000 (18:57 -0700)]
Remove the changelog parsing from setup.py and just hardcode the version.

15 years agoFix some documentation errors.
Cameron Dale [Sat, 26 Apr 2008 01:50:42 +0000 (18:50 -0700)]
Fix some documentation errors.

15 years agoUpdate the version number and changelog for the initial release.
Cameron Dale [Sat, 26 Apr 2008 01:25:19 +0000 (18:25 -0700)]
Update the version number and changelog for the initial release.

15 years agoClean up the language in the description and man pages.
Cameron Dale [Sat, 26 Apr 2008 01:24:50 +0000 (18:24 -0700)]
Clean up the language in the description and man pages.

Also tightened the dependency on Twisted to 8.0.

15 years agoUpdate the config file for the change in default key expiry length.
Cameron Dale [Sat, 26 Apr 2008 01:23:12 +0000 (18:23 -0700)]
Update the config file for the change in default key expiry length.

15 years agoAdd an optimization to the HTTP client protocol so that pieplining begins sooner.
Cameron Dale [Fri, 25 Apr 2008 21:43:14 +0000 (14:43 -0700)]
Add an optimization to the HTTP client protocol so that pieplining begins sooner.

Specifically, it begins after the first requests headers are sent, instead of the whole response.

15 years agoDon't use the fallback mirror retry download.
Cameron Dale [Fri, 25 Apr 2008 05:20:43 +0000 (22:20 -0700)]
Don't use the fallback mirror retry download.

Until we can distinuish real errors from apt-get closing the
connection, this is not a good idea. See the connectionLost()
function of the web2.http.Request object for a possible solution.

15 years agoMore fixes for the broken twisted HTTP client.
Cameron Dale [Fri, 25 Apr 2008 05:18:58 +0000 (22:18 -0700)]
More fixes for the broken twisted HTTP client.

15 years agoMove all streams to new Streams module and replace ProxyFileStream with GrowingFileSt...
Cameron Dale [Fri, 25 Apr 2008 05:18:29 +0000 (22:18 -0700)]
Move all streams to new Streams module and replace ProxyFileStream with GrowingFileStream.

Instead of ProxyFileStream, now use a combination of GrowingFileStream
and StreamToFile like the PeerManager does to download and upload. It's
mostly working, only some errors when aborting apt-get in test 'a'.

Also added a new test 'c' for downloading out of order, which is why
ProxyFileStream can not be used.

15 years agoAdd a final retry of all errback mirror downloads.
Cameron Dale [Thu, 24 Apr 2008 23:19:09 +0000 (16:19 -0700)]
Add a final retry of all errback mirror downloads.

15 years agoFix some errors in the new twisted HTTP client's connectionLost() methods.
Cameron Dale [Thu, 24 Apr 2008 23:17:54 +0000 (16:17 -0700)]
Fix some errors in the new twisted HTTP client's connectionLost() methods.

See http://twistedmatrix.com/trac/ticket/3207 for more info.

15 years agoAdd debconf to inform the user of the necessity of port forwarding.
Cameron Dale [Thu, 24 Apr 2008 19:05:03 +0000 (12:05 -0700)]
Add debconf to inform the user of the necessity of port forwarding.

15 years agoMove the DHT stuff out of the main program and into the new DHTManager module.
Cameron Dale [Thu, 24 Apr 2008 18:15:58 +0000 (11:15 -0700)]
Move the DHT stuff out of the main program and into the new DHTManager module.

15 years agoBetter handling and logging for intermittent HTTP client submission errors.
Cameron Dale [Thu, 24 Apr 2008 16:54:31 +0000 (09:54 -0700)]
Better handling and logging for intermittent HTTP client submission errors.

15 years agoDon't add attributes to HTTP requests, store them separately.
Cameron Dale [Thu, 24 Apr 2008 16:33:34 +0000 (09:33 -0700)]
Don't add attributes to HTTP requests, store them separately.

15 years agoHTTP client no longer keeps a response queue of requests.
Cameron Dale [Thu, 24 Apr 2008 05:02:43 +0000 (22:02 -0700)]
HTTP client no longer keeps a response queue of requests.

Instead the requests are added as variables to the call/errbacks.
There is a new variable keeping track of how many responses are outstanding.
clientGone no longer remove/errback responses, as the errbacks will be
called by the client protocol instead.

15 years agoFix a typo in commit 80399176ed66d.
Cameron Dale [Thu, 24 Apr 2008 04:41:38 +0000 (21:41 -0700)]
Fix a typo in commit 80399176ed66d.

15 years agoFixed an error in downloading source packages from peers.
Cameron Dale [Thu, 24 Apr 2008 03:52:11 +0000 (20:52 -0700)]
Fixed an error in downloading source packages from peers.

Source packages with no pieces were hash checked with sha1, which would fail.
Also added a test for source packages.
Also removed some unneeded logging in the peer downloader.

15 years agoFix a typo in commit e82e704e27.
Cameron Dale [Thu, 24 Apr 2008 03:50:06 +0000 (20:50 -0700)]
Fix a typo in commit e82e704e27.

15 years agoSet the Last-Modified header when downloading from peers.
Cameron Dale [Wed, 23 Apr 2008 23:12:29 +0000 (16:12 -0700)]
Set the Last-Modified header when downloading from peers.

15 years agoRemove temporary files from the peer's download cache.
Cameron Dale [Wed, 23 Apr 2008 22:50:14 +0000 (15:50 -0700)]
Remove temporary files from the peer's download cache.

15 years agoRefresh expired DHT hashes concurrently instead of sequentially.
Cameron Dale [Wed, 23 Apr 2008 22:30:39 +0000 (15:30 -0700)]
Refresh expired DHT hashes concurrently instead of sequentially.

15 years agoDon't check file when listing expired hashes, instead check files at startup.
Cameron Dale [Wed, 23 Apr 2008 21:31:03 +0000 (14:31 -0700)]
Don't check file when listing expired hashes, instead check files at startup.

16 years agoTrap KRPC errors in writing to the transport and wait for timeout instead.
Cameron Dale [Wed, 23 Apr 2008 03:16:21 +0000 (20:16 -0700)]
Trap KRPC errors in writing to the transport and wait for timeout instead.

16 years agoDisconnect the insertNode calls from the callers so errors don't affect them.
Cameron Dale [Wed, 23 Apr 2008 02:10:21 +0000 (19:10 -0700)]
Disconnect the insertNode calls from the callers so errors don't affect them.

16 years agoRemove some unnecessary calls to log.err and just print the error message instead.
Cameron Dale [Mon, 21 Apr 2008 21:15:14 +0000 (14:15 -0700)]
Remove some unnecessary calls to log.err and just print the error message instead.

16 years agoFix a bug in loading the new KRPC timeout config params.
Cameron Dale [Mon, 21 Apr 2008 20:08:13 +0000 (13:08 -0700)]
Fix a bug in loading the new KRPC timeout config params.

16 years agoMake the DHT timeouts configuration parameters.
Cameron Dale [Mon, 21 Apr 2008 19:41:24 +0000 (12:41 -0700)]
Make the DHT timeouts configuration parameters.