cs-p2p-next.git
13 years agoAdd test skeleton to test_access_sqlite.
Razvan Deaconescu [Tue, 16 Aug 2011 17:34:28 +0000 (20:34 +0300)]
Add test skeleton to test_access_sqlite.

13 years agoRename test_access to test_access_sqlite.
Razvan Deaconescu [Tue, 16 Aug 2011 17:02:14 +0000 (20:02 +0300)]
Rename test_access to test_access_sqlite.

13 years agoInitial working version for test_access.
Razvan Deaconescu [Tue, 16 Aug 2011 17:01:06 +0000 (20:01 +0300)]
Initial working version for test_access.

13 years agoMove main() in access.py to tests/test_acces.py.
Razvan Deaconescu [Tue, 16 Aug 2011 16:16:14 +0000 (19:16 +0300)]
Move main() in access.py to tests/test_acces.py.

13 years agoAdd tests/ folder for unit testing.
Razvan Deaconescu [Tue, 16 Aug 2011 16:09:46 +0000 (19:09 +0300)]
Add tests/ folder for unit testing.

13 years agoAdd __init__.py. Turn it into a package.
Razvan Deaconescu [Tue, 16 Aug 2011 16:09:36 +0000 (19:09 +0300)]
Add __init__.py. Turn it into a package.

13 years agoCreate base class and SQLite class.
Razvan Deaconescu [Tue, 16 Aug 2011 16:08:32 +0000 (19:08 +0300)]
Create base class and SQLite class.

13 years agoMove DatabaseAccess to access.
Razvan Deaconescu [Tue, 16 Aug 2011 15:43:31 +0000 (18:43 +0300)]
Move DatabaseAccess to access.

13 years agoReplace tabs with spaces. Remove trailing white spaces.
Razvan Deaconescu [Tue, 16 Aug 2011 15:42:27 +0000 (18:42 +0300)]
Replace tabs with spaces. Remove trailing white spaces.

13 years agoppf: Use configuration file received as argument.
Mariana Marasoiu [Tue, 16 Aug 2011 16:32:39 +0000 (19:32 +0300)]
ppf: Use configuration file received as argument.

13 years agoppf: Replace hardcoded database name in libtorrent/log_parser with
Mariana Marasoiu [Tue, 16 Aug 2011 16:16:36 +0000 (19:16 +0300)]
ppf: Replace hardcoded database name in libtorrent/log_parser with
configuration file received as argument.

13 years agoppf: Modify libtorrent/LogParser.py and libtorrent/StatusParser.py to
Mariana Marasoiu [Tue, 16 Aug 2011 15:50:31 +0000 (18:50 +0300)]
ppf: Modify libtorrent/LogParser.py and libtorrent/StatusParser.py to
use new SQL schema and configuration file.

13 years agoppf: Remove trailing whitespaces.
Razvan Deaconescu [Tue, 16 Aug 2011 12:57:06 +0000 (15:57 +0300)]
ppf: Remove trailing whitespaces.

13 years agoppf: Mention MySQL in README file in sql/ subfolder.
Razvan Deaconescu [Tue, 16 Aug 2011 12:56:24 +0000 (15:56 +0300)]
ppf: Mention MySQL in README file in sql/ subfolder.

13 years agoMove autorun/ to smf/. Update README files.
Razvan Deaconescu [Tue, 16 Aug 2011 12:02:34 +0000 (15:02 +0300)]
Move autorun/ to smf/. Update README files.

smf - Swarm Management Framework

13 years agoppf: Move GUI/ to gui/.
Razvan Deaconescu [Tue, 16 Aug 2011 11:59:46 +0000 (14:59 +0300)]
ppf: Move GUI/ to gui/.

13 years agoppf: Add Tribler sample peer status message log file.
Razvan Deaconescu [Sun, 14 Aug 2011 17:24:40 +0000 (20:24 +0300)]
ppf: Add Tribler sample peer status message log file.

13 years agoppf: Add sample peer status message log file.
Razvan Deaconescu [Sun, 14 Aug 2011 17:17:28 +0000 (20:17 +0300)]
ppf: Add sample peer status message log file.

13 years agoppf: Modify DatabaseWriter and DatabaseCommander to use new SQL shema.
Mariana Marasoiu [Fri, 12 Aug 2011 11:59:48 +0000 (14:59 +0300)]
ppf: Modify DatabaseWriter and DatabaseCommander to use new SQL shema.

13 years agoppf: DatabaseAccess.py gets as argument any configuration file.
Mariana Marasoiu [Thu, 11 Aug 2011 19:33:13 +0000 (22:33 +0300)]
ppf: DatabaseAccess.py gets as argument any configuration file.

13 years agoppf: Modify DatabaseAccess.py to use new SQL schema.
Mariana Marasoiu [Thu, 11 Aug 2011 17:48:41 +0000 (20:48 +0300)]
ppf: Modify DatabaseAccess.py to use new SQL schema.

13 years agolog-id-mapping: Mention use of KB/s for speed limitation.
Razvan Deaconescu [Thu, 11 Aug 2011 13:22:54 +0000 (16:22 +0300)]
log-id-mapping: Mention use of KB/s for speed limitation.

13 years agolog-id-mapping: Add README.
Razvan Deaconescu [Thu, 11 Aug 2011 13:16:16 +0000 (16:16 +0300)]
log-id-mapping: Add README.

13 years agoAdd sample file for logfile to client session ID mapping.
Razvan Deaconescu [Thu, 11 Aug 2011 13:01:27 +0000 (16:01 +0300)]
Add sample file for logfile to client session ID mapping.

13 years agoAdd sample swarm description INI file.
Razvan Deaconescu [Thu, 11 Aug 2011 12:56:12 +0000 (15:56 +0300)]
Add sample swarm description INI file.

13 years agoAdd Dia log parsing workflow image.
Razvan Deaconescu [Thu, 11 Aug 2011 12:55:50 +0000 (15:55 +0300)]
Add Dia log parsing workflow image.

13 years agoppf: Add configuration file for database connection. Modify
Mariana Marasoiu [Tue, 9 Aug 2011 10:17:13 +0000 (13:17 +0300)]
ppf: Add configuration file for database connection. Modify
DatabaseAccess.py to use config file.

13 years agoppf: Add index support to MySQL tables.
Mariana Marasoiu [Mon, 8 Aug 2011 12:58:13 +0000 (15:58 +0300)]
ppf: Add index support to MySQL tables.

13 years agoppf: Fix SQL script. Works in real world.
root p2p-next-02 [Sun, 7 Aug 2011 18:48:06 +0000 (21:48 +0300)]
ppf: Fix SQL script. Works in real world.

Correct MySQL syntax is INTEGER UNSIGNED instead of UNSIGNED INTEGER.
index is a reserver keyword in MySQL also. Use _index for column name.
Create p2p_logs_test database for testing.

13 years agoppf: Change column name from direction_id to transfer_direction_id.
root p2p-next-02 [Sun, 7 Aug 2011 18:33:16 +0000 (21:33 +0300)]
ppf: Change column name from direction_id to transfer_direction_id.

13 years agoppf: (fix) Remove incorrent extra line in SQL file.
root p2p-next-02 [Sun, 7 Aug 2011 18:29:03 +0000 (21:29 +0300)]
ppf: (fix) Remove incorrent extra line in SQL file.

13 years agoppf: Fix when inserting data in btclients table.
root p2p-next-02 [Sun, 7 Aug 2011 18:15:29 +0000 (21:15 +0300)]
ppf: Fix when inserting data in btclients table.

13 years agoppf: Update insert rules in SQL files for message_types table.
root p2p-next-02 [Sun, 7 Aug 2011 18:14:11 +0000 (21:14 +0300)]
ppf: Update insert rules in SQL files for message_types table.

13 years agoppf: Update insert rules in SQL files for tranfer_directions table.
root p2p-next-02 [Sun, 7 Aug 2011 18:06:19 +0000 (21:06 +0300)]
ppf: Update insert rules in SQL files for tranfer_directions table.

13 years agoppf: Update insert rules in SQL files for btclients table.
root p2p-next-02 [Sun, 7 Aug 2011 18:01:03 +0000 (21:01 +0300)]
ppf: Update insert rules in SQL files for btclients table.

13 years agoppf: Add NOT NULL and DEFAULT constraints to MySQL SQL file.
Razvan Deaconescu [Sun, 7 Aug 2011 17:20:36 +0000 (20:20 +0300)]
ppf: Add NOT NULL and DEFAULT constraints to MySQL SQL file.

13 years agoppf: Move new SQL file to initial file.
Razvan Deaconescu [Sun, 7 Aug 2011 17:12:35 +0000 (20:12 +0300)]
ppf: Move new SQL file to initial file.

13 years agoppf: Describe MySQL-parser files.
Mariana Marasoiu [Sun, 7 Aug 2011 14:32:53 +0000 (17:32 +0300)]
ppf: Describe MySQL-parser files.

13 years agoAdd new SQL file for MySQL database.
Razvan Deaconescu [Sun, 7 Aug 2011 14:28:26 +0000 (17:28 +0300)]
Add new SQL file for MySQL database.

Add new tables, update database columns, add foreign keys, use InnoDB.

13 years agoMerge branch 'master' of koala.cs.pub.ro:cs-p2p-next
root p2p-next-02 [Sun, 7 Aug 2011 10:37:12 +0000 (13:37 +0300)]
Merge branch 'master' of koala.cs.pub.ro:cs-p2p-next

13 years agodelete database initialization lines from log_parser
Mariana Marasoiu [Sun, 7 Aug 2011 10:32:10 +0000 (13:32 +0300)]
delete database initialization lines from log_parser

13 years agoppf: Test sample queries against existing database.
Razvan Deaconescu [Sun, 7 Aug 2011 09:43:44 +0000 (12:43 +0300)]
ppf: Test sample queries against existing database.

13 years agoppf: Add MySQL sample queries.
Razvan Deaconescu [Sun, 7 Aug 2011 09:36:02 +0000 (12:36 +0300)]
ppf: Add MySQL sample queries.

Useful for determining the proper indexes that should be added.

13 years agoAdd non-interactive player to next-share.
Razvan Deaconescu [Sat, 6 Aug 2011 12:49:12 +0000 (15:49 +0300)]
Add non-interactive player to next-share.

13 years agominor changes in functionality for parsing scripts
Mariana Marasoiu [Fri, 5 Aug 2011 17:26:10 +0000 (20:26 +0300)]
minor changes in functionality for parsing scripts

13 years agoMerge branch 'master' of koala.cs.pub.ro:cs-p2p-next
root p2p-next-02 [Fri, 17 Jun 2011 21:48:46 +0000 (00:48 +0300)]
Merge branch 'master' of koala.cs.pub.ro:cs-p2p-next

13 years agoupdated log parser
Mariana Marasoiu [Fri, 17 Jun 2011 21:39:53 +0000 (00:39 +0300)]
updated log parser

13 years agoupdated log parser
root p2p-next-02 [Fri, 17 Jun 2011 21:39:53 +0000 (00:39 +0300)]
updated log parser

13 years agoadded swarm parser script - parses all archives from a session/swarm
Mariana Marasoiu [Fri, 17 Jun 2011 21:36:36 +0000 (00:36 +0300)]
added swarm parser script - parses all archives from a session/swarm

13 years agoadded archive parser script - parses an archive from a session
Mariana Marasoiu [Fri, 17 Jun 2011 21:32:57 +0000 (00:32 +0300)]
added archive parser script - parses an archive from a session

13 years agoadded db-mysql/ and log-parser-mysql/ folders and mysql schema file
Mariana Marasoiu [Fri, 10 Jun 2011 13:23:25 +0000 (16:23 +0300)]
added db-mysql/ and log-parser-mysql/ folders and mysql schema file

13 years agoscripts: add dumb script to clean SSH tunnels
Razvan Deaconescu [Thu, 21 Apr 2011 20:32:19 +0000 (23:32 +0300)]
scripts: add dumb script to clean SSH tunnels

13 years agoscripts: add script for testing bandwidth limitation through iperf
Razvan Deaconescu [Thu, 21 Apr 2011 20:31:58 +0000 (23:31 +0300)]
scripts: add script for testing bandwidth limitation through iperf

13 years agoscripts: add scripts for starting/stopping bandwidth limitation
Razvan Deaconescu [Thu, 21 Apr 2011 20:09:26 +0000 (23:09 +0300)]
scripts: add scripts for starting/stopping bandwidth limitation

13 years agoscripts: add kvm scripts folder
Razvan Deaconescu [Thu, 21 Apr 2011 19:49:25 +0000 (22:49 +0300)]
scripts: add kvm scripts folder

Scripts for interacting with KVM virtual machines in NCIT cluster.

13 years agotrial-site/living-lab-admin: get_videos_info.sh parameter update
P2P-Next [Tue, 19 Apr 2011 11:04:00 +0000 (14:04 +0300)]
trial-site/living-lab-admin: get_videos_info.sh parameter update

13 years agotrial-site: update
P2P-Next [Fri, 15 Apr 2011 15:18:50 +0000 (18:18 +0300)]
trial-site: update

13 years agoppf/log-parser: script to parse an archive
p2p p2p-next-02 [Wed, 13 Apr 2011 14:40:38 +0000 (17:40 +0300)]
ppf/log-parser: script to parse an archive

13 years agoppf: remove genfkey from SQlite script
Mariana Marasoiu [Thu, 24 Mar 2011 19:14:13 +0000 (12:14 -0700)]
ppf: remove genfkey from SQlite script

13 years agoAdded support for loading multiple .torrent files using the cmd-line version
George Milescu [Fri, 25 Mar 2011 13:39:39 +0000 (14:39 +0100)]
Added support for loading multiple .torrent files using the cmd-line version

Signed-off-by: George Milescu <george.milescu@gmail.com>
13 years agoliving-lab-admin added
P2P-Next [Mon, 21 Mar 2011 11:54:18 +0000 (13:54 +0200)]
living-lab-admin added

13 years agoNextSharePC-interface bug fix
p2p [Fri, 18 Mar 2011 10:27:00 +0000 (12:27 +0200)]
NextSharePC-interface bug fix

13 years agonew dir added, trial-site, which contains an interface for NextSharePC VLC plugin
P2P-Next User [Tue, 8 Mar 2011 15:27:21 +0000 (17:27 +0200)]
new dir added, trial-site, which contains an interface for NextSharePC VLC plugin

13 years agonext-share: use quotes for proper escaping in start scripts
P2P-Next User [Sun, 28 Nov 2010 16:27:49 +0000 (18:27 +0200)]
next-share: use quotes for proper escaping in start scripts

13 years agoscripts/video: ffmpeg-* updated
Calin Burloiu [Fri, 10 Dec 2010 09:16:57 +0000 (11:16 +0200)]
scripts/video: ffmpeg-* updated

13 years agoscripts/video: ffmpeg-* scrips updated
Calin Burloiu [Fri, 10 Dec 2010 08:17:45 +0000 (10:17 +0200)]
scripts/video: ffmpeg-* scrips updated

13 years agoscripts/video: ffmpeg-mts2avi script added
Calin Burloiu [Wed, 8 Dec 2010 13:32:11 +0000 (15:32 +0200)]
scripts/video: ffmpeg-mts2avi script added

13 years agoadd handbrake conversion script
Razvan Deaconescu [Mon, 6 Dec 2010 09:50:36 +0000 (11:50 +0200)]
add handbrake conversion script

13 years agoserver: added GET_OUTPUT msg
P2P-Next [Sat, 16 Oct 2010 19:21:00 +0000 (22:21 +0300)]
server: added GET_OUTPUT msg

14 years agoautorun: server can control NextShare
Adriana Draghici [Fri, 24 Sep 2010 17:30:51 +0000 (20:30 +0300)]
autorun: server can control NextShare

14 years agoautorun: added class for starting NextShare
Adriana Draghici [Fri, 24 Sep 2010 15:42:36 +0000 (18:42 +0300)]
autorun: added class for starting NextShare

14 years agonext-share: rename start-swarm-plugin to start-swarm-player
Razvan Deaconescu [Tue, 21 Sep 2010 16:40:03 +0000 (18:40 +0200)]
next-share: rename start-swarm-plugin to start-swarm-player

14 years agoadd new next-share downloader log sample
Razvan Deaconescu [Tue, 21 Sep 2010 09:19:41 +0000 (11:19 +0200)]
add new next-share downloader log sample

14 years agonext-share: fix peer logging speed print
Razvan Deaconescu [Tue, 21 Sep 2010 09:18:03 +0000 (11:18 +0200)]
next-share: fix peer logging speed print

Print double decimal speed. Replace 1000 (int) with 1000.0 (float).

14 years agonext-share: add peer connection limit
Razvan Deaconescu [Tue, 21 Sep 2010 08:39:14 +0000 (10:39 +0200)]
next-share: add peer connection limit

Add -n (--max-connections) option to cmdlinedl.py to limit number of
connecting peers. I've tested it as a downloader client and it works.

14 years agoadd next-share downloader log sample
Razvan Deaconescu [Tue, 21 Sep 2010 08:38:27 +0000 (10:38 +0200)]
add next-share downloader log sample

14 years agoadd next-share leecher log sample
P2P-Next [Tue, 21 Sep 2010 07:39:27 +0000 (10:39 +0300)]
add next-share leecher log sample

14 years agoadd next-share seeder log sample
P2P-Next [Tue, 21 Sep 2010 07:38:20 +0000 (10:38 +0300)]
add next-share seeder log sample

14 years agonext-share: print time-based peer information
P2P-Next [Tue, 21 Sep 2010 06:32:52 +0000 (09:32 +0300)]
next-share: print time-based peer information

When peer logging is enabled print information each
PEERLIST_OUTPUT_INTERVAL seconds starting from the epoch in order to
ensure common time around test systems.

14 years agonext-share: complete support for peer logging
P2P-Next [Mon, 20 Sep 2010 17:43:21 +0000 (20:43 +0300)]
next-share: complete support for peer logging

Update cmdlinedl.py to print out periodic information (upload speed,
download speed) about connected peers.

14 years agonext-share: add peer logging support
P2P-Next [Mon, 20 Sep 2010 13:39:50 +0000 (16:39 +0300)]
next-share: add peer logging support

Peer logging is printing peer specific information such as local
download speed, upload speed, etc. Peer logging is enabled through the
use of the -l (or --peer-logging) option to the cmdlinedl.py script.
Currently printing in state_callback function is quite spartan. Needs to
be taken care of.

14 years agonext-share: add no-hash-checking option
P2P-Next [Mon, 20 Sep 2010 11:38:11 +0000 (14:38 +0300)]
next-share: add no-hash-checking option

14 years agonext-share: fix help message for -d and -u options
P2P-Next [Mon, 20 Sep 2010 11:36:10 +0000 (14:36 +0300)]
next-share: fix help message for -d and -u options

14 years agonext-share: fix download/upload limit enable code
P2P-Next [Mon, 20 Sep 2010 09:44:09 +0000 (12:44 +0300)]
next-share: fix download/upload limit enable code

14 years agonext-share: add sample run case using download limit
P2P-Next [Mon, 20 Sep 2010 09:42:03 +0000 (12:42 +0300)]
next-share: add sample run case using download limit

14 years agonext-share: beautfication, support for speed limit
Razvan Deaconescu [Mon, 20 Sep 2010 09:13:41 +0000 (11:13 +0200)]
next-share: beautfication, support for speed limit

update BaseLib/Tools/cmdlinedl.py with upload and download speed
limit support arguments

14 years agoautorun/server: add server pre-implementation (v0)
p2p [Sun, 19 Sep 2010 09:49:58 +0000 (12:49 +0300)]
autorun/server: add server pre-implementation (v0)

14 years agoinstrumentation/next-share: add starting scripts
Razvan Deaconescu [Sun, 19 Sep 2010 09:10:53 +0000 (12:10 +0300)]
instrumentation/next-share: add starting scripts

start script for next-share (basic BitTorrent) and start script
for swarm plugin (video-on-demand); sample run cases are displayed
as comments in script files

14 years agoadd testing/ folder and torrent-files/ subfolder
Razvan Deaconescu [Sun, 19 Sep 2010 09:09:21 +0000 (12:09 +0300)]
add testing/ folder and torrent-files/ subfolder

add fedora-13 torrent file and a video torrent file; fedora-13
is to be used with basic next-share and the video torrent file
(Madonna - Material Girl karaoke sample) is to be used with
swarm-player

14 years agoinstrumentation: add next-share/
Razvan Deaconescu [Sun, 19 Sep 2010 08:28:53 +0000 (11:28 +0300)]
instrumentation: add next-share/

Next-Share M32 release (also currently - 19.09.2010 - in trunk/)

14 years agoautorun: updated server, 2 new message types.
P2P-Next [Fri, 17 Sep 2010 14:13:03 +0000 (17:13 +0300)]
autorun: updated server, 2 new message types.

14 years agoautorun: changes for tests, currently unstable
P2P-Next [Wed, 1 Sep 2010 12:10:00 +0000 (15:10 +0300)]
autorun: changes for tests, currently unstable

14 years agoinstrumentation/hrktorrent: add missing "nohashcheck" long option
P2P-Next [Fri, 20 Aug 2010 13:25:37 +0000 (16:25 +0300)]
instrumentation/hrktorrent: add missing "nohashcheck" long option

14 years agoinstrumentation/hrktorrent: fix hrktorrent settings configuration from "nodht" to...
P2P-Next [Fri, 20 Aug 2010 13:20:27 +0000 (16:20 +0300)]
instrumentation/hrktorrent: fix hrktorrent settings configuration from "nodht" to "dht" and from "noupnp" to "upnp"

14 years agoinstrumentation/hrktorrent: add nohashcheck option
P2P-Next [Fri, 20 Aug 2010 13:18:41 +0000 (16:18 +0300)]
instrumentation/hrktorrent: add nohashcheck option

14 years agoinstrumentation/hrktorrent: rename hrktorrent setting from "noseed" to "seed"
P2P-Next [Fri, 20 Aug 2010 13:06:37 +0000 (16:06 +0300)]
instrumentation/hrktorrent: rename hrktorrent setting from "noseed" to "seed"

14 years agoserver: modified *Run for bandwidth limiting
P2P-Next [Thu, 19 Aug 2010 07:15:26 +0000 (10:15 +0300)]
server: modified *Run for bandwidth limiting

14 years agoinstrumentation/hrktorrent: add support for maximum connections
P2P-Next [Wed, 18 Aug 2010 10:12:27 +0000 (13:12 +0300)]
instrumentation/hrktorrent: add support for maximum connections

14 years agoppf: LibtorrentStatusParser parses timestamp from status file
P2P-Next [Tue, 17 Aug 2010 12:32:23 +0000 (15:32 +0300)]
ppf: LibtorrentStatusParser parses timestamp from status file

14 years agoinstrumentation/hrktorrent: correct ipfilter parser
P2P-Next [Sat, 14 Aug 2010 14:00:04 +0000 (17:00 +0300)]
instrumentation/hrktorrent: correct ipfilter parser