Страница 1 из 3

ещё раз о торрентах...

Добавлено: 2008-09-12 20:37:55
FreeOwl
Добрый день!
Нужен совет.
Единственная просьба, высказываться только тех кто пользует:
1. Торрент-клиент
2. Консольный, но с Web-интерфейсом!!!
3. Возможность использования папки автозагрузки торрентов (типа как в utorrent-е или azureus-е, скинул в папочку файл.torrent, а клиент его сам и "подхватил")
Вот чего хочется. Подскажите плиз.
Может кто расскажет почему Вы выбрали именно "ваш" клиент.
Всем спасибо.

Re: ещё раз о торрентах...

Добавлено: 2008-09-12 21:49:38
FreeOwl
похоже, что моим потребностям соответствует только torrentflux.

Re: ещё раз о торрентах...

Добавлено: 2008-09-12 22:25:55
helloworld
Использую ctorrent + screen потому что rtorrent в одно время не собирался, да и привык уже к ctorrent
Веб интерфейса нет, да и не нужно.

Re: ещё раз о торрентах...

Добавлено: 2008-09-13 13:18:47
manefesto
aria2
вэб морду лепить по анологии wget4web

Re: ещё раз о торрентах...

Добавлено: 2008-09-13 16:15:15
gloom
К rtorrent существует штуки 4 вебморд))) одна точно есть в портах

Re: ещё раз о торрентах...

Добавлено: 2008-09-14 10:02:41
manefesto

Код: Выделить всё

Port:   rtgui-0.2.2_2
Path:   /usr/ports/net-p2p/rtgui
Info:   A web based front end for rTorrent
Maint:  jadawin@FreeBSD.org
B-deps: apache-1.3.41 curl-7.18.0 expat-2.0.1 mod_scgi-1.12 perl-5.8.8_1 xmlrpc-c-1.06.30
R-deps: apache-1.3.41 expat-2.0.1 libiconv-1.11_1 libxml2-2.6.32 perl-5.8.8_1 php5-5.2.6_2 php5-session-5.2.6_2 php5-xml-5.2.6_2 php5-xmlrpc-5.2.6_2 pkg-config-0.23_1
WWW:    http://code.google.com/p/rtgui/

Re: ещё раз о торрентах...

Добавлено: 2008-09-14 13:07:30
FreeOwl
ну с веб-мордами понятно, они практически у всех есть, а вот
3. Возможность использования папки автозагрузки торрентов (типа как в utorrent-е или azureus-е, скинул в папочку файл.torrent, а клиент его сам и "подхватил")

Re: ещё раз о торрентах...

Добавлено: 2008-09-14 14:03:49
f_andrey
FreeOwl писал(а):3. Возможность использования папки автозагрузки торрентов (типа как в utorrent-е или azureus-е, скинул в папочку файл.torrent, а клиент его сам и "подхватил")
Ну рторрент точно так умеет, у меня ФФ по дефолту туда файлы сохраняет, если это торрент, то сразуже начинается закачка.
А вот вебморда нафига нужна? у меня в отдельной консоли запушен и ничего вроде хватает возможностей, можно скрипты прикрутить но вроде как не понадобилось пока.

Re: ещё раз о торрентах...

Добавлено: 2008-09-14 14:53:51
FreeOwl
f_andrey писал(а):
FreeOwl писал(а):3. Возможность использования папки автозагрузки торрентов (типа как в utorrent-е или azureus-е, скинул в папочку файл.torrent, а клиент его сам и "подхватил")
Ну рторрент точно так умеет, у меня ФФ по дефолту туда файлы сохраняет, если это торрент, то сразуже начинается закачка.
А вот вебморда нафига нужна? у меня в отдельной консоли запушен и ничего вроде хватает возможностей, можно скрипты прикрутить но вроде как не понадобилось пока.
нужна морда. потому как пользователи привыкли... :) что бы не ставить на все компы торрент, он один, на фряхе. дальше каждый скидывает файл.torrent в папочку, а затем через вебморду смотрит, когда докачается - типа "не-в-терпёж" и всё такое... или скажем передумал качать...

Re: ещё раз о торрентах...

Добавлено: 2008-09-14 23:47:48
Гость
~mlnet/torrents/incoming для smb/nfs/ftp и скачка происходит от admin
http://user:password@server:4080/ и имеют шанс потвикать или даже отменить

но:
невозможность скачать определенный файл из batch-torrent'а
невозможность указать per torrent incoming/temp directory

Re: ещё раз о торрентах...

Добавлено: 2008-09-15 17:23:53
NoResponse
rtorrent сам клиент + wtorrent веб морда

Re: ещё раз о торрентах...

Добавлено: 2008-09-29 14:13:30
nosferaty
manefesto писал(а):

Код: Выделить всё

Port:   rtgui-0.2.2_2
[/quote]

подскажите тупому плиззз,
как выглядит httpd.conf апатча 2.2 для работы этой приблуды? а то не пойму никак :(
ЗЫ
rtGui v0.2.2 (Из портов)
rtorrent  rTorrent 0.7.9/0.11.9 (Из портов)
Apache 2.2 (Из портов)
FreeBSD 7.0

Re: ещё раз о торрентах...

Добавлено: 2008-09-29 14:20:00
zingel
httpd.conf апатча
Вы уверены, что хотите это знать? =)

Re: ещё раз о торрентах...

Добавлено: 2008-09-29 15:38:41
nosferaty
Уверен :)

Re: ещё раз о торрентах...

Добавлено: 2008-09-30 17:51:11
nosferaty
Люююди, ну покажите как оно должно выглядеть?

Re: ещё раз о торрентах...

Добавлено: 2008-12-10 16:06:59
nosferaty
народ, ну скажите где грабли то )))
на убунте все поднялось с полпинка, а на фряхе бьюсь головой о стену непонимая (

rTorrent 0.8.3/0.12.3

инклудится в конфиг апача:

Код: Выделить всё

cat rtgui.conf
LoadModule scgi_module libexec/apache22/mod_scgi.so

SCGIMount /RPC2 127.0.0.1:5000

Alias /rtgui/ "/usr/local/www/rtgui/"

<Directory "/usr/local/www/rtgui/">
    Options none
    AllowOverride Limit
    Order Deny,Allow
    Allow from all
</Directory>
конфиг rTorrent

Код: Выделить всё

cat .rtorrent.rc
# This is an example resource file for rTorrent. Copy to
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
# uncomment the options you wish to enable.
#
# Based on original .rtorrent.rc file from http://libtorrent.rakshasa.no/
# Modified by Lemonberry for rtGui http://rtgui.googlecode.com/
#
# This assumes the following directory structure:
#
# /Torrents/Downloading - temporaray location for torrents while downloading (see "directory")
# /Torrents/Complete - Torrents are moved here when complete (see "on_finished")
# /Torrents/TorrentFiles/Auto - The 'autoload' directory for rtorrent to use.  Place a file
#           in here, and rtorrent loads it #automatically.  (see "schedule = watch_directory")
# /Torrents/Downloading/rtorrent.session - for storing rtorrent session information
#

# Maximum and minimum number of peers to connect to per torrent.
#min_peers = 40
#max_peers = 100

# Same as above but for seeding completed torrents (-1 = same as downloading)
#min_peers_seed = 10
#max_peers_seed = 50

# Maximum number of simultanious uploads per torrent.
#max_uploads = 15

# Global upload and download rate in KiB. "0" for unlimited.
#download_rate = 0
upload_rate = 50

# Default directory to save the downloaded torrents.
directory = /share/Torrents/Downloading

# Default session directory. Make sure you don't run multiple instance
# of rtorrent using the same session directory. Perhaps using a
# relative path?
session = /share/Torrents/Downloading/rtorrent.session

# Watch a directory for new torrents, and stop those that have been
# deleted.
schedule = watch_directory,5,5,load_start=/share/Torrents/TorrentFiles/Auto/*.torrent
schedule = untied_directory,5,5,stop_untied=

# Close torrents when diskspace is low. */
#schedule = low_diskspace,5,60,close_low_diskspace=100M

# Stop torrents when reaching upload ratio in percent,
# when also reaching total upload in bytes, or when
# reaching final upload ratio in percent.
# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
#schedule = ratio,60,60,stop_on_ratio=200,200M,2000

#execute_log = /home/shs/rtorrent.log

# When the torrent finishes, it executes "mv -n <base_path> ~/Download/"
# and then sets the destination directory to "~/Download/". (0.7.7+)
on_finished = move_complete,"execute=mv,-u,$d.get_base_path=,/share/Torrents/Complete/ ;d.set_directory=/share/Torrents/Complete/"

# The ip address reported to the tracker.
#ip = 127.0.0.1
#ip = rakshasa.no

# The ip address the listening socket and outgoing connections is
# bound to.
#bind = 127.0.0.1
#bind = rakshasa.no

# Port range to use for listening.
port_range = 55556-55560

scgi_port = 127.0.0.1:5000

# Start opening ports at a random position within the port range.
#port_random = no

# Check hash for finished torrents. Might be usefull until the bug is
# fixed that causes lack of diskspace not to be properly reported.
#check_hash = no

# Set whetever the client should try to connect to UDP trackers.
use_udp_trackers = yes

# Alternative calls to bind and ip that should handle dynamic ip's.
#schedule = ip_tick,0,1800,ip=rakshasa
#schedule = bind_tick,0,1800,bind=rakshasa

# Encryption options, set to none (default) or any combination of the following:
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
#
# The example value allows incoming encrypted connections, starts unencrypted
# outgoing connections but retries with encryption if they fail, preferring
# plaintext to RC4 encryption after the encrypted handshake
#
encryption = allow_incoming,enable_retry,prefer_plaintext

#
# Do not modify the following parameters unless you know what you're doing.
#

# Hash read-ahead controls how many MB to request the kernel to read
# ahead. If the value is too low the disk may not be fully utilized,
# while if too high the kernel might not be able to keep the read
# pages in memory thus end up trashing.
#hash_read_ahead = 10

# Interval between attempts to check the hash, in milliseconds.
#hash_interval = 100

# Number of attempts to check the hash while using the mincore status,
# before forcing. Overworked systems might need lower values to get a
# decent hash checking rate.
#hash_max_tries = 10

# Max number of files to keep open simultaniously.
#max_open_files = 128

# Number of sockets to simultaneously keep open.
#max_open_sockets = <no default>


# Example of scheduling commands: Switch between two ip's every 5
# seconds.
#schedule = "ip_tick1,5,10,ip=torretta"
#schedule = "ip_tick2,10,10,ip=lampedusa"

# Remove a scheduled event.
#schedule_remove = "ip_tick1"

Re: ещё раз о торрентах...

Добавлено: 2008-12-11 9:11:55
zingel
что есть в error.log апача?

Re: ещё раз о торрентах...

Добавлено: 2008-12-11 9:47:23
nosferaty
После рестарта и попыток обратиться к rtgui добавилось

Код: Выделить всё

[Thu Dec 11 09:45:55 2008] [notice] caught SIGTERM, shutting down
[Thu Dec 11 09:45:57 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Dec 11 09:45:58 2008] [notice] Digest: generating secret for digest authentication ...
[Thu Dec 11 09:45:58 2008] [notice] Digest: done
[Thu Dec 11 09:45:59 2008] [notice] Apache/2.2.9 (FreeBSD) mod_ssl/2.2.9 OpenSSL/0.9.8e DAV/2 PHP/5.2.6 with Suhosin-Patch mod_scgi/1.12 configured -- resuming normal operations
Я так понимаю отношения к проблеме не имеет.

вот это мне показывают в браузере

Код: Выделить всё

Warning: file_get_contents(http://localhost/RPC2) [function.file-get-contents]: failed to open stream: Connection refused in /usr/local/www/rtgui/functions.php on line 11
Cannot connect to rtorrent :(
может чего еще подгрузить надо?

Re: ещё раз о торрентах...

Добавлено: 2008-12-11 13:09:34
zingel

Код: Выделить всё

file_get_contents()
Покажи вывод

Код: Выделить всё

echo '<?php phpinfo(); ?>' | php

Re: ещё раз о торрентах...

Добавлено: 2008-12-11 13:25:04
nosferaty
вотъ

Re: ещё раз о торрентах...

Добавлено: 2008-12-28 23:24:31
opt1k
сегодня столкнулся с этой ошибкой :(

Мои предположения то что порт xmlrpc-c-devel кривой, а именно он ставится по зависимости. Ща поппробую переделать на не devel.

Re: ещё раз о торрентах...

Добавлено: 2008-12-29 6:10:22
ProFTP
некотоыре торент клиенты не все торенты качают, ctorent все качает

Re: ещё раз о торрентах...

Добавлено: 2008-12-29 15:39:57
opt1k
удалось поставить rtorrent+wtorrent, всё радует и глаз и голову :)
Один косяк, нету ограничения скорости для отдельного торрента, но поразмыслив я решил что я этим некогда не пользовался и пользоваться не буду, ибо мне оно не нужно.

Re: ещё раз о торрентах...

Добавлено: 2009-01-14 13:08:53
aliet
Немного подниму тему...
Поставил связку rtorrent + rtgui - рторреент работает, веб-морда нет.

В логах апача:

Код: Выделить всё

[Wed Jan 14 10:43:55 2009] [debug] mod_scgi.c(506): [client 127.0.0.1] connecting to server
[Wed Jan 14 10:43:55 2009] [debug] mod_scgi.c(470): [client 127.0.0.1] (61)Connection refused: scgi: connection failed, retrying
[Wed Jan 14 10:43:56 2009] [debug] mod_scgi.c(470): [client 127.0.0.1] (61)Connection refused: scgi: connection failed, retrying
[Wed Jan 14 10:43:58 2009] [debug] mod_scgi.c(470): [client 127.0.0.1] (61)Connection refused: scgi: connection failed, retrying
[Wed Jan 14 10:44:02 2009] [debug] mod_scgi.c(470): [client 127.0.0.1] (61)Connection refused: scgi: connection failed, retrying
[Wed Jan 14 10:44:10 2009] [error] [client 127.0.0.1] (61)Connection refused: scgi: Connection refused: scgi: can't connect to server
в httpd.conf прописано:

Код: Выделить всё

LoadModule scgi_module libexec/apache22/mod_scgi.so
#SCGIMount /rpc2 10.0.0.11:5000
SCGIMount /RPC2 127.0.0.1:5000
в .rtorrent.rc естественно:

Код: Выделить всё

scgi_port = 127.0.0.1:5000
не пойму, кто с кем не коннектится... поиски решения в инете не удались. Жду советов!

Re: ещё раз о торрентах...

Добавлено: 2009-01-14 14:05:48
hizel

Код: Выделить всё

tcpdump -i lo0 port 5000