forban:forban.git
7 years agoForban 0.0.19 0.0.19
Alexandre Dulaunoy [Sat, 5 Jun 2010 08:18:29 +0000 (10:18 +0200)]
Forban 0.0.19

7 years agoMerge branch 'master' of git://gitorious.org/forban/forban
Alexandre Dulaunoy [Sat, 5 Jun 2010 08:15:03 +0000 (10:15 +0200)]
Merge branch 'master' of git://gitorious.org/forban/forban

7 years agoForban protocol updated description
Alexandre Dulaunoy [Fri, 4 Jun 2010 23:34:55 +0000 (01:34 +0200)]
Forban protocol updated description

7 years agoCleanup and removal of python compiled files
Alexandre Dulaunoy [Fri, 4 Jun 2010 23:13:35 +0000 (01:13 +0200)]
Cleanup and removal of python compiled files

7 years agoAdded total size of each Forban discovered
Alexandre Dulaunoy [Fri, 4 Jun 2010 22:59:19 +0000 (00:59 +0200)]
Added total size of each Forban discovered

7 years agoindex : new function to get total size of a specific forban
Alexandre Dulaunoy [Wed, 2 Jun 2010 22:14:38 +0000 (00:14 +0200)]
index : new function to get total size of a specific forban

7 years agotools : added a function to make du-like bytes output
Alexandre Dulaunoy [Wed, 2 Jun 2010 22:14:00 +0000 (00:14 +0200)]
tools : added a function to make du-like bytes output

7 years agoNOTES : updates for [done] and [todo]
Alexandre Dulaunoy [Wed, 26 May 2010 22:02:09 +0000 (00:02 +0200)]
NOTES : updates for [done] and [todo]

7 years agoForban protocol Internet-Draft ongoing work...
Alexandre Dulaunoy [Mon, 24 May 2010 18:47:09 +0000 (20:47 +0200)]
Forban protocol Internet-Draft ongoing work...

7 years agoForban 0.0.18 0.0.18
Alexandre Dulaunoy [Fri, 14 May 2010 17:47:38 +0000 (19:47 +0200)]
Forban 0.0.18

7 years agoforbanctl : stopping Forban services on win32 added
Alexandre Dulaunoy [Fri, 14 May 2010 17:35:24 +0000 (19:35 +0200)]
forbanctl : stopping Forban services on win32 added

7 years agotools.rename used instead of os.rename (win32 support)
Alexandre Dulaunoy [Thu, 13 May 2010 20:00:12 +0000 (22:00 +0200)]
tools.rename used instead of os.rename (win32 support)

7 years agotmpname() : custom suffix added as a parameter
Alexandre Dulaunoy [Thu, 13 May 2010 19:56:35 +0000 (21:56 +0200)]
tmpname() : custom suffix added as a parameter

7 years agoforban_share: don't show temporary files when browsing the index
Alexandre Dulaunoy [Thu, 13 May 2010 15:02:34 +0000 (17:02 +0200)]
forban_share: don't show temporary files when browsing the index

7 years agotools.rename() added to support specific platform like Windows
Alexandre Dulaunoy [Thu, 13 May 2010 13:59:23 +0000 (15:59 +0200)]
tools.rename() added to support specific platform like Windows

7 years agoForban 0.0.17 0.0.17
Alexandre Dulaunoy [Sun, 2 May 2010 14:59:47 +0000 (16:59 +0200)]
Forban 0.0.17

7 years agoMerge branch 'master' of git://gitorious.org/forban/forban
Alexandre Dulaunoy [Sun, 2 May 2010 14:57:16 +0000 (16:57 +0200)]
Merge branch 'master' of git://gitorious.org/forban/forban

7 years agoFix bug if loot is not existing and trying to update
Alexandre Dulaunoy [Sun, 2 May 2010 14:56:58 +0000 (16:56 +0200)]
Fix bug if loot is not existing and trying to update
hmac value in the loot directory.

7 years agoForban 0.0.16 0.0.16
Alexandre Dulaunoy [Sun, 2 May 2010 14:43:27 +0000 (16:43 +0200)]
Forban 0.0.16

7 years agofixing index not existing
Alexandre Dulaunoy [Sun, 2 May 2010 14:22:01 +0000 (16:22 +0200)]
fixing index not existing

7 years agoavoid hmac announcing value if not calculated
Alexandre Dulaunoy [Sun, 2 May 2010 14:06:30 +0000 (16:06 +0200)]
avoid hmac announcing value if not calculated

7 years agoHMAC support cleanup
Alexandre Dulaunoy [Sun, 2 May 2010 13:57:07 +0000 (15:57 +0200)]
HMAC support cleanup

7 years agoif hmac path doesn't not exist, don't try to go further
Alexandre Dulaunoy [Sun, 2 May 2010 13:51:04 +0000 (15:51 +0200)]
if hmac path doesn't not exist, don't try to go further

7 years agohmac support added to fetch index only on update
Alexandre Dulaunoy [Sun, 2 May 2010 13:48:40 +0000 (15:48 +0200)]
hmac support added to fetch index only on update

7 years agouse luuid instead of the non-existing self.uuid
Alexandre Dulaunoy [Sun, 2 May 2010 13:31:52 +0000 (15:31 +0200)]
use luuid instead of the non-existing self.uuid

7 years agoloot: HMAC support added
Alexandre Dulaunoy [Sun, 2 May 2010 08:55:48 +0000 (10:55 +0200)]
loot: HMAC support added

7 years agoannounce protocol - name and uuid are REQUIRED while
Alexandre Dulaunoy [Sun, 2 May 2010 07:31:11 +0000 (09:31 +0200)]
announce protocol - name and uuid are REQUIRED while
hmac is RECOMMENDED in the announce message. order of
key-value is not required.

name and uuid are REQUIRED but the hmac is RECOMMENDED
as this helps to limit the fetching of the index.

7 years agoforban_opportunistic: logging for filter
Alexandre Dulaunoy [Sat, 1 May 2010 21:09:30 +0000 (23:09 +0200)]
forban_opportunistic: logging for filter

7 years agoforban_share: logging to file (instead of stdout)
Alexandre Dulaunoy [Sat, 1 May 2010 21:07:35 +0000 (23:07 +0200)]
forban_share: logging to file (instead of stdout)

7 years agoforban_opportunistic: logging added for info level
Alexandre Dulaunoy [Sat, 1 May 2010 20:59:01 +0000 (22:59 +0200)]
forban_opportunistic: logging added for info level

7 years agoforban_announce : create log directory if missing
Alexandre Dulaunoy [Sat, 1 May 2010 20:46:27 +0000 (22:46 +0200)]
forban_announce : create log directory if missing

7 years agoforban_announce : logging added in DEBUG or INFO level
Alexandre Dulaunoy [Thu, 29 Apr 2010 20:40:31 +0000 (22:40 +0200)]
forban_announce : logging added in DEBUG or INFO level

7 years agoFirst Forban build script with Pyinstaller
Alexandre Dulaunoy [Wed, 28 Apr 2010 23:33:08 +0000 (01:33 +0200)]
First Forban build script with Pyinstaller

The purpose is to build binary packages of Forban. Now we are able
to build Linux packages that won't need Python to run.

7 years agoForban 0.0.15 0.0.15
Alexandre Dulaunoy [Wed, 28 Apr 2010 20:10:08 +0000 (22:10 +0200)]
Forban 0.0.15

7 years agoForban Protocol : added the use of HMAC for index update notification
Alexandre Dulaunoy [Sat, 17 Apr 2010 21:06:06 +0000 (23:06 +0200)]
Forban Protocol : added the use of HMAC for index update notification

7 years agoREADME: remove CherryPy as requirements (as now included by default)
Alexandre Dulaunoy [Sat, 17 Apr 2010 20:56:16 +0000 (22:56 +0200)]
README: remove CherryPy as requirements (as now included by default)

7 years agoindex: option for index now used by all forban processes
Alexandre Dulaunoy [Sat, 17 Apr 2010 20:34:13 +0000 (22:34 +0200)]
index: option for index now used by all forban processes

7 years agoshare directory is now based on default path
Alexandre Dulaunoy [Sat, 17 Apr 2010 19:25:27 +0000 (21:25 +0200)]
share directory is now based on default path

the share directory was an option by default but
it seems to be confusing for users. Now the default
directory is built on the default forban global
directory : forbanglobalpath+"/var/share/"
An alternate share directory is still an option but
commented in the sample configuration file.

7 years agosome more directory creation cleanup
Alexandre Dulaunoy [Fri, 16 Apr 2010 19:18:45 +0000 (21:18 +0200)]
some more directory creation cleanup

7 years agomore path cleanup creation
Alexandre Dulaunoy [Fri, 16 Apr 2010 19:01:31 +0000 (21:01 +0200)]
more path cleanup creation

7 years agocleanup path creation
Alexandre Dulaunoy [Fri, 16 Apr 2010 18:48:42 +0000 (20:48 +0200)]
cleanup path creation

7 years agocleanup path lib building to allow directory
Alexandre Dulaunoy [Fri, 16 Apr 2010 18:36:58 +0000 (20:36 +0200)]
cleanup path lib building to allow directory
without a trailing slash.

(following test done during Breizh Entropy Congress)

7 years agoForban 0.0.14 0.0.14
Alexandre Dulaunoy [Sun, 11 Apr 2010 13:53:37 +0000 (15:53 +0200)]
Forban 0.0.14

7 years agoindex : exclude temporary/dot files
Alexandre Dulaunoy [Sun, 11 Apr 2010 13:30:04 +0000 (15:30 +0200)]
index : exclude temporary/dot files

7 years agoindex: exclude temporary files of diff index
Alexandre Dulaunoy [Sun, 11 Apr 2010 12:45:03 +0000 (14:45 +0200)]
index: exclude temporary files of diff index

7 years agofetch: don't try to rename unexisting files
Alexandre Dulaunoy [Sun, 11 Apr 2010 12:08:53 +0000 (14:08 +0200)]
fetch: don't try to rename unexisting files

7 years agosetlastseen is now atomic
Alexandre Dulaunoy [Sun, 11 Apr 2010 12:04:51 +0000 (14:04 +0200)]
setlastseen is now atomic

7 years agoMake add a discovered loot atomic
Alexandre Dulaunoy [Sun, 11 Apr 2010 11:56:18 +0000 (13:56 +0200)]
Make add a discovered loot atomic

7 years agoNOTES updated to reflect past changes + new open points/ideas
Alexandre Dulaunoy [Wed, 7 Apr 2010 06:19:11 +0000 (08:19 +0200)]
NOTES updated to reflect past changes + new open points/ideas

7 years agoForban 0.0.13 0.0.13
Alexandre Dulaunoy [Wed, 31 Mar 2010 15:47:52 +0000 (17:47 +0200)]
Forban 0.0.13

7 years agoforban_discover : IPv6/IPv4 detection improved (N900 test)
Alexandre Dulaunoy [Wed, 31 Mar 2010 12:14:21 +0000 (14:14 +0200)]
forban_discover : IPv6/IPv4 detection improved (N900 test)

7 years agoforban_discover : Improved IPv6 detection and IPv4 fallback.
Alexandre Dulaunoy [Wed, 31 Mar 2010 11:52:25 +0000 (13:52 +0200)]
forban_discover : Improved IPv6 detection and IPv4 fallback.

7 years agopython_share : before binding in IPv6, test effectively IPv6 socket. (N900 test)
Alexandre Dulaunoy [Wed, 31 Mar 2010 11:14:55 +0000 (13:14 +0200)]
python_share : before binding in IPv6, test effectively IPv6 socket. (N900 test)

7 years agoAdded IPv4 binding fallback (N900 test). Even if Python is compiled with IPv6,
Alexandre Dulaunoy [Wed, 31 Mar 2010 11:01:45 +0000 (13:01 +0200)]
Added IPv4 binding fallback (N900 test). Even if Python is compiled with IPv6,
it doesn't mean that the os is supporting IPv6. (like the Nokia N900)

7 years agoShow when an index is missing.
Alexandre Dulaunoy [Wed, 31 Mar 2010 10:41:10 +0000 (12:41 +0200)]
Show when an index is missing.

This often means that the announce is there but we are not able to
get the index from that announced Forban. This can be an issue with
the remote forban (forban_share is not started) or the impossibility
to fetch the index file (can be a firewall blocking to access port TCP
12555).

7 years agoForban 0.0.12 0.0.12
Alexandre Dulaunoy [Sun, 28 Mar 2010 12:04:55 +0000 (14:04 +0200)]
Forban 0.0.12

7 years agoUse system available CherryPy if available, if not use internal CherryPy.
Alexandre Dulaunoy [Sun, 28 Mar 2010 08:58:07 +0000 (10:58 +0200)]
Use system available CherryPy if available, if not use internal CherryPy.

7 years agoCherryPy 3.1.2 package is now part of Forban (to limit external dependencies).
Alexandre Dulaunoy [Sun, 28 Mar 2010 08:53:49 +0000 (10:53 +0200)]
CherryPy 3.1.2 package is now part of Forban (to limit external dependencies).

When testing out Forban on the OLPC XO-1,the missing part is always
CherryPy that is not installed by default. So I have imported the
package inside Forban libraries. The license are compatible : BSD-like
for CherryPy and AGPL for Forban itself.

7 years agoForban 0.0.11 0.0.11
Alexandre Dulaunoy [Thu, 25 Mar 2010 16:24:12 +0000 (17:24 +0100)]
Forban 0.0.11

7 years agoremoved HEAD support while caching index for remote Forban
Alexandre Dulaunoy [Thu, 25 Mar 2010 14:41:20 +0000 (15:41 +0100)]
removed HEAD support while caching index for remote Forban

The HEAD was introduced to permit the comparison between a cached
index and a remote index. The comparison was done only on the size
of the file. But this is a bad idea, as the size of a index could
give the impression that the index didn't change but some values
where inversed (especially the size value after each line). This
was introducing a bug where a large download is taking place and
files were growing in size. So the fetching of the files was based
on the wrong data in the index...

A new scheme for checking index change need to be done (especially
if the indexes are quite large among the Forban). Maybe the
HMAC value of the announce could be used to announce an updated
index...

7 years agomake HTTP GET atomic while writing files
Alexandre Dulaunoy [Thu, 25 Mar 2010 14:18:01 +0000 (15:18 +0100)]
make HTTP GET atomic while writing files

7 years agotemporary name function for files has been added
Alexandre Dulaunoy [Thu, 25 Mar 2010 14:10:04 +0000 (15:10 +0100)]
temporary name function for files has been added

7 years agotypo fixed
Alexandre Dulaunoy [Thu, 25 Mar 2010 13:52:48 +0000 (14:52 +0100)]
typo fixed

7 years agoFAQ updated to include operation question over wireless networks
Alexandre Dulaunoy [Thu, 25 Mar 2010 14:35:52 +0000 (15:35 +0100)]
FAQ updated to include operation question over wireless networks

7 years agoLicense header added
Alexandre Dulaunoy [Thu, 25 Mar 2010 11:35:39 +0000 (12:35 +0100)]
License header added

7 years agoLicense header added
Alexandre Dulaunoy [Thu, 25 Mar 2010 11:32:02 +0000 (12:32 +0100)]
License header added

7 years agoadd the full-text of GNU Affero General Public License version 3
Alexandre Dulaunoy [Thu, 25 Mar 2010 11:28:15 +0000 (12:28 +0100)]
add the full-text of GNU Affero General Public License version 3
in the default Forban package.

7 years agoForban 0.0.10 0.0.10
Alexandre Dulaunoy [Sun, 21 Mar 2010 19:29:18 +0000 (20:29 +0100)]
Forban 0.0.10

7 years agoEncoding of filename moved from Base64 to safe URL Base64 encoding.
Alexandre Dulaunoy [Sun, 21 Mar 2010 19:11:47 +0000 (20:11 +0100)]
Encoding of filename moved from Base64 to safe URL Base64 encoding.

Protocol description updated to include the information about the
replacement of +,/ and = character. A simple base64e library added.
This is introduced to avoid issue with non-Forban client getting
the HTTP files via the GET method.

7 years agoMerge branch 'master' of git://gitorious.org/forban/forban
Alexandre Dulaunoy [Sun, 21 Mar 2010 10:00:49 +0000 (11:00 +0100)]
Merge branch 'master' of git://gitorious.org/forban/forban

7 years agoFixing non matching index or where size cannot be get for local file
Alexandre Dulaunoy [Fri, 12 Mar 2010 13:18:51 +0000 (14:18 +0100)]
Fixing non matching index or where size cannot be get for local file

7 years agofixed a bug on web interface when the index can't be already built
Alexandre Dulaunoy [Thu, 11 Mar 2010 23:13:03 +0000 (00:13 +0100)]
fixed a bug on web interface when the index can't be already built

7 years agoMerge branch 'master' of git://gitorious.org/forban/forban
Alexandre Dulaunoy [Sun, 7 Mar 2010 15:29:18 +0000 (16:29 +0100)]
Merge branch 'master' of git://gitorious.org/forban/forban

7 years agoForban 0.0.9 0.0.9
Alexandre Dulaunoy [Sun, 7 Mar 2010 15:27:46 +0000 (16:27 +0100)]
Forban 0.0.9

7 years agourl fetch - default timeout set to 10 seconds
Alexandre Dulaunoy [Sun, 7 Mar 2010 15:25:05 +0000 (16:25 +0100)]
url fetch - default timeout set to 10 seconds

7 years agoopportunistic fetching bug fixed for unseen forban services.
Alexandre Dulaunoy [Sun, 7 Mar 2010 15:16:25 +0000 (16:16 +0100)]
opportunistic fetching bug fixed for unseen forban services.

opportunistic protocol is not trying to compare or fetch files
for not recently seen forban services.

7 years agoMerge branch 'master' of git://gitorious.org/forban/forban
Alexandre Dulaunoy [Sun, 7 Mar 2010 15:03:16 +0000 (16:03 +0100)]
Merge branch 'master' of git://gitorious.org/forban/forban

7 years agoopportunistic wake-up is now function of the announce time.
Alexandre Dulaunoy [Sun, 7 Mar 2010 14:54:33 +0000 (15:54 +0100)]
opportunistic wake-up is now function of the announce time.

As the speed of getting the files depends on the stability
or mobility of the link. It was more logical to use the
announce time as a basis for the wake-up of the opportunistic
function. The wake-up depends of the announce time multiply
by a small decreasing factor.

7 years agoannounce interval is now a configurable parameter and the default
Alexandre Dulaunoy [Sun, 7 Mar 2010 08:11:42 +0000 (09:11 +0100)]
announce interval is now a configurable parameter and the default
value is to 10 seconds.

The announce parameter defines the interval time between two announces
sent. The parameter is important if you have a high mobility or
instability in the connectivity. The announce interval recommended
is 10 seconds, based on current user experience.

7 years agoMerge branch 'master' of git://gitorious.org/forban/forban
Alexandre Dulaunoy [Tue, 2 Mar 2010 22:20:45 +0000 (23:20 +0100)]
Merge branch 'master' of git://gitorious.org/forban/forban

7 years agoNOTES added regarding open points and next dev. steps
Alexandre Dulaunoy [Tue, 2 Mar 2010 10:18:27 +0000 (11:18 +0100)]
NOTES added regarding open points and next dev. steps

7 years agoMerge branch 'master' of git://gitorious.org/forban/forban
Alexandre Dulaunoy [Fri, 19 Feb 2010 12:03:53 +0000 (13:03 +0100)]
Merge branch 'master' of git://gitorious.org/forban/forban

7 years agoadd old sha module support fallback if hashlib module is not present
Alexandre Dulaunoy [Fri, 19 Feb 2010 11:54:46 +0000 (12:54 +0100)]
add old sha module support fallback if hashlib module is not present

7 years agoMerge branch 'master' of git://gitorious.org/forban/forban
Alexandre Dulaunoy [Fri, 19 Feb 2010 11:52:35 +0000 (12:52 +0100)]
Merge branch 'master' of git://gitorious.org/forban/forban

7 years agoForban 0.0.8
Alexandre Dulaunoy [Sun, 14 Feb 2010 18:40:47 +0000 (19:40 +0100)]
Forban 0.0.8

7 years agoMerge branch 'master' of git://gitorious.org/forban/forban
Alexandre Dulaunoy [Sun, 14 Feb 2010 18:03:13 +0000 (19:03 +0100)]
Merge branch 'master' of git://gitorious.org/forban/forban

7 years agoShow mode in the user web interface 0.0.8
Alexandre Dulaunoy [Sun, 14 Feb 2010 18:02:29 +0000 (19:02 +0100)]
Show mode in the user web interface

7 years agocleanup pid files after stopping forban processes
Alexandre Dulaunoy [Sun, 14 Feb 2010 11:38:38 +0000 (12:38 +0100)]
cleanup pid files after stopping forban processes

7 years agoMerge branch 'master' of git://gitorious.org/forban/forban
Alexandre Dulaunoy [Sat, 30 Jan 2010 14:58:34 +0000 (15:58 +0100)]
Merge branch 'master' of git://gitorious.org/forban/forban

7 years agoForban 0.0.7 0.0.7
Alexandre Dulaunoy [Sat, 30 Jan 2010 14:57:32 +0000 (15:57 +0100)]
Forban 0.0.7

7 years agoFAQ added to answer questions around Forban and its protocol or
Alexandre Dulaunoy [Sat, 30 Jan 2010 14:49:13 +0000 (15:49 +0100)]
FAQ added to answer questions around Forban and its protocol or
mode of operation.

7 years agoFAQ added to answer questions around Forban and its protocol or
Alexandre Dulaunoy [Sat, 30 Jan 2010 14:49:13 +0000 (15:49 +0100)]
FAQ added to answer questions around Forban and its protocol or
mode of operationg.

7 years agoopportunistic : if local file in local loot is larger than the
Alexandre Dulaunoy [Sat, 30 Jan 2010 14:35:32 +0000 (15:35 +0100)]
opportunistic : if local file in local loot is larger than the
remote loot, we don't try to fetch it. Added a function in
the index to get file size locally or from the cached index.

7 years agolib url fetch : use shutil.copyfileobj instead of reading directly
Alexandre Dulaunoy [Sat, 30 Jan 2010 14:05:42 +0000 (15:05 +0100)]
lib url fetch : use shutil.copyfileobj instead of reading directly
from memory. Avoid high memory usage while fetching large files.

7 years agoopportunistic : rebuild local index after each HTTP fetch
Alexandre Dulaunoy [Sat, 30 Jan 2010 08:52:32 +0000 (09:52 +0100)]
opportunistic : rebuild local index after each HTTP fetch
Useful when the distance of a cache is far away and files
are quite large.

7 years agoForban 0.0.6 0.0.6
Alexandre Dulaunoy [Sat, 23 Jan 2010 22:20:41 +0000 (23:20 +0100)]
Forban 0.0.6

7 years agoforban-share : add url builder function and url get for search output
Alexandre Dulaunoy [Sat, 23 Jan 2010 22:14:30 +0000 (23:14 +0100)]
forban-share : add url builder function and url get for search output

7 years agoforban_share : search added to the main web interface.
Alexandre Dulaunoy [Sat, 23 Jan 2010 21:47:53 +0000 (22:47 +0100)]
forban_share : search added to the main web interface.

7 years agoForban protocols: modification of the search interface and added
Alexandre Dulaunoy [Sat, 23 Jan 2010 21:45:52 +0000 (22:45 +0100)]
Forban protocols: modification of the search interface and added
more information about the gossip protocol approach in the Forban
opportunistic mode.

7 years agoindex - missingfiles : return None if no files are missing between Forban
Alexandre Dulaunoy [Sat, 23 Jan 2010 18:23:01 +0000 (19:23 +0100)]
index - missingfiles : return None if no files are missing between Forban