forban:forban.git
6 years agoForban 0.0.26 0.0.26
Alexandre Dulaunoy [Mon, 17 Jan 2011 20:32:19 +0000 (21:32 +0100)]
Forban 0.0.26

6 years agoforban.fid path lookup fixed
Alexandre Dulaunoy [Sun, 16 Jan 2011 10:36:59 +0000 (11:36 +0100)]
forban.fid path lookup fixed

6 years agoPath creation cleanup
Alexandre Dulaunoy [Thu, 6 Jan 2011 21:49:28 +0000 (22:49 +0100)]
Path creation cleanup

6 years agopath creation cleanup
Alexandre Dulaunoy [Thu, 6 Jan 2011 21:33:20 +0000 (22:33 +0100)]
path creation cleanup

6 years agoforbanctl: delay of 0.15sec added
Alexandre Dulaunoy [Thu, 6 Jan 2011 21:05:00 +0000 (22:05 +0100)]
forbanctl: delay of 0.15sec added

6 years agoProtocol information more readable
Alexandre Dulaunoy [Fri, 31 Dec 2010 16:32:30 +0000 (17:32 +0100)]
Protocol information more readable

6 years agoForban 0.0.25 0.0.25
Alexandre Dulaunoy [Fri, 31 Dec 2010 15:55:36 +0000 (16:55 +0100)]
Forban 0.0.25

6 years agoMissing links added
Alexandre Dulaunoy [Fri, 31 Dec 2010 15:49:13 +0000 (16:49 +0100)]
Missing links added

6 years agoREADME in markdown format + quick install guide
Alexandre Dulaunoy [Fri, 31 Dec 2010 15:43:56 +0000 (16:43 +0100)]
README in markdown format + quick install guide

6 years agoTypo fixed
Alexandre Dulaunoy [Fri, 31 Dec 2010 15:09:46 +0000 (16:09 +0100)]
Typo fixed

6 years agoMerge branch 'master' of git://gitorious.org/forban/forban
Alexandre Dulaunoy [Fri, 31 Dec 2010 15:03:06 +0000 (16:03 +0100)]
Merge branch 'master' of git://gitorious.org/forban/forban

6 years agoForban bash client: search function added
Alexandre Dulaunoy [Fri, 31 Dec 2010 15:00:11 +0000 (16:00 +0100)]
Forban bash client: search function added

Now you can use the forban bash client to
search for all the indexes dicovered. The
script requires only Bash, curl and tcpdump.

The script is used to show how easy is
to build a software using the Forban protocol.

A sample output:

sudo bash bforban.sh  search unix

Found Forban elliptic (5f916370-083f-4603-98ce-8051b70e71cb) http://192.168.1.5:12555/
-> Unix/Albing - Bash Cookbook [unix shell programming] (O'Reilly, 2007).pdf,1999734
-> Unix/Learning The vi And Vim Editors 7th Ed.pdf,7261405
-> Unix/awk.txt,29190
-> Unix/ProBash.pdf,1505268
-> Unix/Effective-AWK-Programming.pdf,3488653
-> Unix/OReilly Version Control with GIT.pdf,1901067
-> Unix/LinuxJournal/Linux Journal 183 - July 2009.pdf,20481947
-> Unix/LinuxJournal/Linux Journal 185 - September 2009.pdf,17966468
-> Unix/LinuxJournal/Linux Journal 182 - June 2009.pdf,22835700
-> Unix/LinuxJournal/Linux Journal 181 - May 2009.pdf,22174869
-> Unix/LinuxJournal/Linux Journal 174 - October 2008.pdf,14520275
-> Python/Gift - Python for Unix and Linux System Administration (O'Reilly, 2008).pdf,3585227
-> Python/Python for Unix and Linux System Administration; Jason Brittain, Ian F. Darwin (O'Reilly, 2008).pdf,3204317

6 years agoConfig file exception handling simplified
Alexandre Dulaunoy [Thu, 30 Dec 2010 22:23:15 +0000 (23:23 +0100)]
Config file exception handling simplified

As we want to have Forban running without
configuration files, we catch globally all
the errors generated by the ConfigParser.

6 years agoname and path are no more mandatory
Alexandre Dulaunoy [Mon, 27 Dec 2010 15:59:06 +0000 (16:59 +0100)]
name and path are no more mandatory

6 years agoguesspath now works for Win32 platforms
Alexandre Dulaunoy [Mon, 27 Dec 2010 10:46:50 +0000 (11:46 +0100)]
guesspath now works for Win32 platforms

6 years agoin default, there is no opportunistic global var
Alexandre Dulaunoy [Mon, 27 Dec 2010 10:10:54 +0000 (11:10 +0100)]
in default, there is no opportunistic global var

6 years agofallback to opportunistic mode in any case
Alexandre Dulaunoy [Mon, 27 Dec 2010 09:59:44 +0000 (10:59 +0100)]
fallback to opportunistic mode in any case

Even if the configuration file is missing or
the configuration is incorrect, the default mode
of operation is opportunistic. Useful for dedicated
forban USB stick.

6 years agoEven if the config file is missing, try to start
Alexandre Dulaunoy [Mon, 27 Dec 2010 09:52:52 +0000 (10:52 +0100)]
Even if the config file is missing, try to start

6 years agoForban standalone client in bash script
Alexandre Dulaunoy [Sun, 26 Dec 2010 12:39:59 +0000 (13:39 +0100)]
Forban standalone client in bash script

The current version of the script is able to discover
forban (using tcpdump) and display the URLs for each
discovered forban (monitor mode).

6 years agoGuess Forban name if not set in config
Alexandre Dulaunoy [Sat, 25 Dec 2010 12:25:56 +0000 (13:25 +0100)]
Guess Forban name if not set in config

The Forban name is not linked to the UUID and is there
to help users to name/search for a device. So you can
change the forban name when the user wants. This is
also useful for self-deployable Forban where there is
no name set by default and guessing Forban name is
usually enough to get a proper name. This should
work on Windows and Unix-like platform.

6 years agoForban 0.0.24 0.0.24
Alexandre Dulaunoy [Wed, 22 Dec 2010 21:30:17 +0000 (22:30 +0100)]
Forban 0.0.24

6 years agorestart function added
Alexandre Dulaunoy [Wed, 22 Dec 2010 21:27:41 +0000 (22:27 +0100)]
restart function added

6 years agoGuess a Forban root path even if not set
Alexandre Dulaunoy [Wed, 22 Dec 2010 20:39:53 +0000 (21:39 +0100)]
Guess a Forban root path even if not set

For the upcoming version self-deployable version,
the root path is guessed if not set by the config
file.

6 years agoGuessing realpath of Forban installation added
Alexandre Dulaunoy [Tue, 21 Dec 2010 20:42:19 +0000 (21:42 +0100)]
Guessing realpath of Forban installation added

As the Forban processes can be started from anywhere,
we guess the installation path. This allows to have
an absolute path to read the configuration without
additional ENV variables.

6 years agoRecursive caching directory creation
Alexandre Dulaunoy [Tue, 21 Dec 2010 20:40:27 +0000 (21:40 +0100)]
Recursive caching directory creation

This is fixing a bug when you are cleaning all the loot
cache and restart Forban services.

7 years agoForban 0.0.23 0.0.23
Alexandre Dulaunoy [Thu, 9 Dec 2010 20:30:54 +0000 (21:30 +0100)]
Forban 0.0.23

7 years agofetch: catching socket timeout.
Alexandre Dulaunoy [Thu, 9 Dec 2010 20:26:45 +0000 (21:26 +0100)]
fetch: catching socket timeout.

This is useful for forban_opportunistic forban_discover while
trying to fetch files from a lost Forban or a disconnected network.

7 years agoforban_opportunistic: cleanup exclusion list and logging
Alexandre Dulaunoy [Thu, 9 Dec 2010 20:08:11 +0000 (21:08 +0100)]
forban_opportunistic: cleanup exclusion list and logging

7 years agoforban_opportunistic: an exclusion filter added to exclude some
Alexandre Dulaunoy [Thu, 9 Dec 2010 19:41:10 +0000 (20:41 +0100)]
forban_opportunistic: an exclusion filter added to exclude some
files to be downloaded.

7 years agoExit gracefully when the forban config file is missing
Alexandre Dulaunoy [Tue, 7 Dec 2010 20:18:49 +0000 (21:18 +0100)]
Exit gracefully when the forban config file is missing

7 years agoForban 0.0.22 0.0.22
Alexandre Dulaunoy [Mon, 1 Nov 2010 14:05:13 +0000 (15:05 +0100)]
Forban 0.0.22

7 years agoreturn a default value for the lastseen
Alexandre Dulaunoy [Mon, 1 Nov 2010 13:58:15 +0000 (14:58 +0100)]
return a default value for the lastseen
of a specific loot. This is to avoid any
issue when the lastseen cannot be retrieved
due to some race condition as we are just
relying on the filesystem to store the value.

7 years agodon't try to get value when the loot is
Alexandre Dulaunoy [Mon, 1 Nov 2010 13:55:25 +0000 (14:55 +0100)]
don't try to get value when the loot is
currently not existing.

7 years agoremove query string output
Alexandre Dulaunoy [Mon, 1 Nov 2010 06:56:12 +0000 (07:56 +0100)]
remove query string output

7 years agoexclude .dotfile from search results
Alexandre Dulaunoy [Mon, 1 Nov 2010 06:54:49 +0000 (07:54 +0100)]
exclude .dotfile from search results

7 years agodon't show missing link on itself
Alexandre Dulaunoy [Sun, 31 Oct 2010 21:50:41 +0000 (22:50 +0100)]
don't show missing link on itself

7 years agoForban 0.0.21 0.0.21
Alexandre Dulaunoy [Sat, 28 Aug 2010 21:59:31 +0000 (23:59 +0200)]
Forban 0.0.21

7 years agoopportunistic: maximum size function added to stop
Alexandre Dulaunoy [Sat, 28 Aug 2010 21:54:50 +0000 (23:54 +0200)]
opportunistic: maximum size function added to stop
fetching if the limit is reached. This is to avoid
filling the disk with large loot.

7 years agofail safely if not filter is configured
Alexandre Dulaunoy [Sat, 28 Aug 2010 21:25:19 +0000 (23:25 +0200)]
fail safely if not filter is configured

7 years agoPython 2.7 tests ok
Alexandre Dulaunoy [Sat, 28 Aug 2010 21:11:33 +0000 (23:11 +0200)]
Python 2.7 tests ok

7 years agoCheck if only one instance of Forban processes is running
Alexandre Dulaunoy [Sat, 28 Aug 2010 21:06:06 +0000 (23:06 +0200)]
Check if only one instance of Forban processes is running
and don't start if more than one is already running

7 years agoremove import of unused time module
Alexandre Dulaunoy [Sat, 28 Aug 2010 20:56:24 +0000 (22:56 +0200)]
remove import of unused time module

7 years agoForban 0.0.20 0.0.20
Alexandre Dulaunoy [Sat, 10 Jul 2010 14:38:53 +0000 (16:38 +0200)]
Forban 0.0.20

7 years agologging : added a maximum file size.
Alexandre Dulaunoy [Sat, 3 Jul 2010 14:58:01 +0000 (16:58 +0200)]
logging : added a maximum file size.

7 years agoAdd size information while browsing a Forban
Alexandre Dulaunoy [Wed, 30 Jun 2010 22:21:19 +0000 (00:21 +0200)]
Add size information while browsing a Forban

7 years agoEscape the literal string when compiling regular expression
Alexandre Dulaunoy [Wed, 30 Jun 2010 22:19:15 +0000 (00:19 +0200)]
Escape the literal string when compiling regular expression

7 years agoMake actions more self explanatory
Alexandre Dulaunoy [Wed, 30 Jun 2010 22:03:27 +0000 (00:03 +0200)]
Make actions more self explanatory

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)