Page 1 of 5 123 ... LastLast
Results 1 to 15 of 65

Thread: CTorrent Control Server (SCTCS)

  1. #1

    CTorrent Control Server (SCTCS)

    Hi CTorrent users,

    I've made a CTorrent Control Server based on the popular enhanced-CTorrent, called SCTCS. At this time, this is in testing phase but beta version is available on my web page.

    Tested on:
    - WL500gP / Oleg
    - enhanced-ctorrent dnh2.6

    Features (available in beta version):
    - CTorrent control server (CTCS) fully implemented in C languagge.
    - HTTP server using busybox_httpd
    - CGI page generation written in awk. Using page template.
    - Upload torrent file thru web page
    - Start/Stop/Remove torrents
    - View logs of enhanced-ctorrent
    - Display detailed torrent metainfo, name and size etc
    - Display download informations
    - Display DL/UL speed
    - Display used seeders/leechers
    - Display estimated time to download
    - Display available free space at target directory
    - Protecting page by password
    - Check free space before start CT
    - Global upload/download speed limit (simple bandwidth management)
    - Automatic reloading torrents after restart
    - Fast torrent rechecking

    (available in 1.0, soon)
    - set seed ratio or seed time
    - partial file downloading
    - download priority
    - FTP module
    - HTTP module
    - etc...

    If you would like to see your favorite things in this web-client, or if you have a good idea to improve this package, or if you can help me with anything, please contact me here or on my forum at http://sctcs.seaky.hu/forum

    Beta version available at (currently forum/General section):
    http://sctcs.seaky.hu

    Bug reports at:
    http://sctcs.seaky.hu/forum

    Screenshots available in documentation:
    http://sctcs.seaky.hu/download/click.php?id=2

    Good torrenting,
    seaky

  2. #2
    Congratulation to spammers who are spamming my forum! I dont know what is the business in it. This is a little opensource-developer forum!
    Last edited by seaky; 25-02-2007 at 20:12.

  3. #3
    Ehm whatever dude...

    Nice to see some alternatives.
    Im good with transmission script by oleo atm.
    Maybe I try this after a while its around so I can see others comments on it.


    PS. Having trouble opening tutorial pages. "error not a pdf extension" or something like this.

  4. #4
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    Is there source code for this somewhere? Under what licence?

    Does this controller spawn new ctorrent process for each torrent? How does communicate?

    Web page looks nice. How does global speed limiter balances between jobs?

  5. #5
    Quote Originally Posted by oleo View Post
    Is there source code for this somewhere?
    Yepp, currently in my computer

    Quote Originally Posted by oleo View Post
    Does this controller spawn new ctorrent process for each torrent?
    Because of CTorrent/CTCS architecture, yes. My CTCS implementation spawn new enh-ctorrent processes for each torrent. With default 4MB cachesize. (Of course, it can configureable, users usually use 4-8MB cachesize) Hereby it has advantages and disadvantages unfortunately.
    [+]You can control processes easily just a ps command and if anything goes wrong, just you can kill required processes.
    [-]But use little more memory than the Transmission which use threads.
    [+]You can start enhanced-ctorrent by manually with your favourite options and SCTCS can controll it also.
    [-]Every ctorrent processes has own port to the communication that means if you use 10 torrent you must open 10 ports.
    [+]But the seeding is very effective.
    [+]A simple bandwith management has been implemented.
    and so on...

    Quote Originally Posted by oleo View Post
    How does communicate?
    Communication is TCP/IP. Each ctorrent process can communicate with sctcsd and vica versa.

    Quote Originally Posted by oleo View Post
    Web page looks nice
    thanks. It use awk cgi. I'm supresied it is very fast in wl500gp.

    Quote Originally Posted by oleo View Post
    How does global speed limiter balances between jobs?
    Currently it balances speed by very simple method. Static bandwith management means when you add a new torrent, the system recalculate the bw, and set new speed limit for all processes.
    I'm working on dynamic bandwith management that can use idle capacity of bandwith and respawn to processes that require it.

    thx,
    seaky
    http://sctcs.seaky.hu

  6. #6
    yeah some bw cap would be really cool.
    Thats pretty much the only thing Im lacking in transmission.
    I mean its not a problem when i got QoS running so everything on my PC works fine but Id like to manage upload speed for public torrents and the ones from private sites. Its kinda annoying when you upload 99% o a torrent from which you get 1kb/sec down speed and other torrents get wasted.

  7. #7
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    Transmission library now has global limiter. Library also has provisions for per torrent speed settings. It's just that I do not have time or will to do this. Patches welcome.

  8. #8
    This looks very nice indeed...

    the webif looks pretty organized and functional. I want to try this out, no matter what, but as matter of performance only, does this outperforms transmission?

    Can it be installed in simultaneous with transmission (since it was kinda time consuming and a pain in the lowers to make it work first time)? And, can it be used at the same time with transmission (sctcs dl some and transmition dl others)?

    The new features are very cool - do you have a time schedule for the next version (1.0?), featuring those features?

    Thanks,
    Lourenco

  9. #9
    Join Date
    Feb 2007
    Location
    Bangkok Thailand
    Posts
    22
    Hi
    Thank you for great program.
    It's work almost perfect.
    I'll wait for the 1.0 version.

    Thank you agian.


  10. #10
    Quote Originally Posted by lourenco View Post
    This looks very nice indeed...
    Quote Originally Posted by charming View Post
    Hi
    Thank you for great program.
    It's work almost perfect.
    I'll wait for the 1.0 version.

    Thank you agian.
    Thanks guys I'm working on version 0.9. Available soon (I hope, but I have to write my diploma till Jun too)



    good torrenting,
    seaky

  11. #11

    thank you

    I like SCTCS. I never managed to get the other web gui's working, but this one worked immediately. It also seems quite efficient.

    I know it is not finished yet, so please keep up the good work. Some feature requests:

    - bandwidth management per torrent;
    - selectable seed amount per torrent;
    - automatic update of web gui.

    Herman

  12. Installed it and works really good. Even has a nice and intuïtive GUI.

    Just couple of things;
    - Mass torrent upload (just put the torrent in a folder and the programs adds it to the queue by Cron)
    - Remove torrents in Checking state. Somethimes trackers refuse and then it's impossible to remove. Maybe check for Tracker Error text in the log file and automatically kick the torrent out?

    [Edit a few hours later]
    Torrent stays at checking while the log of the torrent says this:
    \ 2/0/0 [14/2804/2804] 3MB,2MB | 0,0K/s | 0,0K E:0,1
    | 2/0/0 [14/2804/2804] 3MB,2MB | 0,0K/s | 0,0K E:0,1
    / 2/0/0 [14/2804/2804] 3MB,2MB | 0,0K/s | 0,0K E:0,1
    Doesn't that mean that it works? Very nice work though!

    [Edit 2]
    It downloads allight, but it just doesn't get updated? Any clues?
    Last edited by Elect; 20-03-2007 at 13:33.

  13. #13
    Quote Originally Posted by Elect View Post
    - Remove torrents in Checking state. Somethimes trackers refuse and then it's impossible to remove. Maybe check for Tracker Error text in the log file and automatically kick the torrent out?
    I'll add this feature to next version. Till then try to remove your torrent from
    Code:
    /opt/var/sctcs.db
    Important:
    - stop sctcs before update sctcs.db
    sctcs.db structure:
    line 1: sctcs configuration
    line n: Torrent state
    line n+1: Download path
    line n+2: Torrent path

    You must to remove n, n+1, n+2 lines.

    bye,
    seaky

  14. Thnx for that one.

    I have another question that's more important. It's downloading 3 movies, with 2 of them in Checking state and one in Running. Still, all movies are done if you check the log? How does de website comunnicate to check if this is true?

    It should be set to Seeding by now?
    - 0/53/0 [1428/1428/1428] 714MB,742MB | 0,14K/s | 0,0K E:0,11
    In the main log a lot of 'Something's Wrong' is happening. although you said somewhere that it doesn't matter? Isn't this eating resources for nothing then?

    2007.03.21-08:28:27 [handleCT][debug]:got command: CTBW
    2007.03.21-08:28:27 [main][debug]:something wrong socket: 9
    2007.03.21-08:28:27 [RECV][debug]:socket: 7 size:17
    2007.03.21-08:28:27 [RECV][debug]:socket: 7 size:-1
    2007.03.21-08:28:27 [handle][debug]:socket: 7 size:17 data:CTBW 0,22118 0,0

    2007.03.21-08:28:27 [handleCT][debug]:got command: CTBW
    2007.03.21-08:28:27 [handleCTCONFIG][debug]:Processed socket:7 CTBW (0,22118 0,0)

    2007.03.21-08:28:27 [main][debug]:something wrong socket: 7
    2007.03.21-08:28:27 [RECV][debug]:socket: 8 size:17
    2007.03.21-08:28:27 [RECV][debug]:socket: 8 size:-1
    2007.03.21-08:28:27 [handle][debug]:socket: 8 size:17 data:CTBW 0,31948 0,0
    Last edited by Elect; 21-03-2007 at 08:04.

  15. #15
    Quote Originally Posted by Elect View Post
    Thnx for that one.

    I have another question that's more important. It's downloading 3 movies, with 2 of them in Checking state and one in Running. Still, all movies are done if you check the log? How does de website comunnicate to check if this is true?

    It should be set to Seeding by now?


    In the main log a lot of 'Something's Wrong' is happening. although you said somewhere that it doesn't matter? Isn't this eating resources for nothing then?
    please send me screenshots and sctcs.log and sctcs.log.old to my email and I'll check it.

    bye,
    seaky

Page 1 of 5 123 ... LastLast

Similar Threads

  1. HowTo install a lightweight blog server
    By Tamadite in forum WL-500g/WL-500gx Tutorials
    Replies: 0
    Last Post: 03-12-2006, 01:46
  2. Gameserver
    By blingbling in forum WL-500gP Q&A
    Replies: 2
    Last Post: 17-07-2006, 15:37
  3. twonky media server, network drive with oleg firmware
    By black_bottom in forum WL-HDD Q&A
    Replies: 3
    Last Post: 22-03-2006, 07:15
  4. FTP server op wl500g-dlx niet bereikbaar vanaf internet
    By Sawilla in forum Dutch Discussion - Nederlands
    Replies: 16
    Last Post: 19-12-2005, 09:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •