1
notgod 2016-08-06 15:18:15 +08:00 1
其实你应该问 Linux 系统下
哪个 BT 下载软件 对中文标题的支持最好 我使用过的 有 2 个 都有 WEB 界面操作 第一个 rtorrent.net 需要安装 rtorrent 和 libtorrent 然后加上 https://github.com/Novik/ruTorrent 的 Web 界面 就可以了 Web ui 是 html+PHP+ RPC 协议通信 这个怎么说勒 功能强大 自动化很好 速度也比较 NB 但是对一些下载的特殊字符文件名 会导致崩溃 这个问题无解 因为我经常下韩文的资源 然后就出奇葩问题 经常无故崩溃 所以就放弃了 下载英文资源 不带特殊符号的 一般不会有问题 也贴个安装吧 For Centos7 的 yum install -y cppunit cppunit-devel unrar xmlrpc-c-devel screen ncurses ncurses-devel rpm -Uvh http://pkgs.repoforge.org/unrar/unrar-5.0.3-1.el7.rf.x86_64.rpm cd /opt wget http://rtorrent.net/downloads/libtorrent-0.13.6.tar.gz tar xvf libtorrent-0.13.6.tar.gz cd libtorrent-0.13.6 ./autogen.sh ./configure make && make install cd /opt wget http://rtorrent.net/downloads/rtorrent-0.9.6.tar.gz tar xvf rtorrent-0.9.6.tar.gz cd rtorrent-0.9.6 PKG_CONFIG_PATH=/usr/local/lib/pkgconfig export PKG_CONFIG_PATH ./autogen.sh ./configure --with-xmlrpc-c make && make install ldconfig cat >/home/admin/.rtorrent.rc <<EOF #min_peers = 25 max_peers = 100 min_peers_seed = -1 max_peers_seed = -1 max_uploads = 100 download_rate = 0 upload_rate = 0 directory = ~/bt/files session = ~/bt/.session schedule = watch_directory,5,5,load_start=~/bt/watch/*.torrent schedule = untied_directory,5,5,stop_untied= schedule = low_diskspace,5,60,close_low_diskspace=10240M # The ip address reported to the tracker. #ip = 127.0.0.1 #ip = rakshasa.no #bind = 127.0.0.1 #bind = rakshasa.no port_range = 6890-6999 #port_random = no #check_hash = no #use_udp_trackers = yes #schedule = ip_tick,0,1800,ip=rakshasa #schedule = bind_tick,0,1800,bind=rakshasa #allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext encryption = allow_incoming,enable_retry,prefer_plaintext dht = on dht_port = 6881 peer_exchange = no #hash_read_ahead = 10 #hash_interval = 100 #hash_max_tries = 10 scgi_port = 127.0.0.1:5000 EOF su admin mkdir -p ~/bt/{files,watch,tmp,.session} chown -R admin:admin /home/admin/bt screen screen -S rtorrent -d -m su admin -c "rtorrent" echo 'screen -S rtorrent -d -m su admin -c "rtorrent"'>>/etc/rc.local mkdir /home/admin/public_html/tools cd /home/admin/public_html/tools git clone https://github.com/Novik/ruTorrent chown -R admin:admin /home/admin/public_html/tools 修改 /home/admin/public_html/conf/config.php $tempDirectory = null; $tempDirectory = '/home/admin/bt/tmp'; ps aux|grep torrent 第二个 https://www.transmissionbt.com/ 自带 Web UI 的 我使用体验没 Rtorrent 好 而且不知道为什么 速度也不如前者 但是能用 顺便贴个安装吧 For Centos 的 yum install -y epel-release yum install -y transmission transmission-daemon systemctl start transmission-daemon systemctl stop transmission-daemon systemctl enable transmission-daemon.service mkdir -p /home/transmission/{download,waiting} chown -R transmission:transmission /home/transmission chmod g+w -R /home/transmission vi /var/lib/transmission/.config/transmission-daemon/settings.json "download-dir": "/home/transmission/download", #下载完成后的储存目录 "incomplete-dir": "/home/transmission/download", #下载中的储存目录 "rpc-authentication-required": true, #默认是 false, 改为 true 即可 "rpc-password": "登陆密码", #默认是"一长串加密的密码" "rpc-username": "登陆用户名", #默认是"空的" "rpc-whitelist-enabled": false, #默认是 true, 改为 false 即可 systemctl start transmission-daemon cat >/var/lib/transmission/.config/transmission-daemon/settings.json <<EOF { "alt-speed-down": 50, "alt-speed-enabled": false, "alt-speed-time-begin": 540, "alt-speed-time-day": 127, "alt-speed-time-enabled": false, "alt-speed-time-end": 1020, "alt-speed-up": 50, "bind-address-ipv4": "0.0.0.0", "bind-address-ipv6": "::", "blocklist-enabled": false, "blocklist-url": "http://www.example.com/blocklist", "cache-size-mb": 4, "dht-enabled": true, "download-dir": "/home/transmission/download", "download-queue-enabled": true, "download-queue-size": 100, "encryption": 1, "idle-seeding-limit": 30, "idle-seeding-limit-enabled": false, "incomplete-dir": "/home/transmission/waiting", "incomplete-dir-enabled": true, "lpd-enabled": false, "message-level": 1, "peer-congestion-algorithm": "", "peer-id-ttl-hours": 6, "peer-limit-global": 200, "peer-limit-per-torrent": 50, "peer-port": 51413, "peer-port-random-high": 65535, "peer-port-random-low": 49152, "peer-port-random-on-start": false, "peer-socket-tos": "default", "pex-enabled": true, "port-forwarding-enabled": true, "preallocation": 1, "prefetch-enabled": 1, "queue-stalled-enabled": true, "queue-stalled-minutes": 30, "ratio-limit": 2, "ratio-limit-enabled": false, "rename-partial-files": true, "rpc-authentication-required": true, "rpc-bind-address": "0.0.0.0", "rpc-enabled": true, "rpc-password": "000000", "rpc-port": 9091, "rpc-url": "/transmission/", "rpc-username": "admin", "rpc-whitelist": "127.0.0.1", "rpc-whitelist-enabled": false, "scrape-paused-torrents-enabled": true, "script-torrent-done-enabled": false, "script-torrent-done-filename": "", "seed-queue-enabled": true, "seed-queue-size": 1, "speed-limit-down": 100, "speed-limit-down-enabled": false, "speed-limit-up": 100, "speed-limit-up-enabled": false, "start-added-torrents": true, "trash-original-torrent-files": false, "umask": 18, "upload-slots-per-torrent": 14, "utp-enabled": true } EOF iptables -t filter -A INPUT -p tcp --dport 9091 -j ACCEPT iptables -t filter -A INPUT -p udp --dport 9091 -j ACCEPT This is a permission issue based on the user ID that is running Transmission. Transmission sets up a default user that you might not expect on first install. The user name is transmission. You can it: Stop the Transmission daemon service transmission-daemon stop Open the Transmission config file for editing: nano /etc/init.d/transmission-daemon Find the line that says USER=transmission and change it to the user that owns the folder in question. If you are not concerned about security issues, you can also use USER=root in this file. (Not advised, but good for troubleshooting). Start the Transmission daemon service transmission-daemon start |
2
imn1 2016-08-06 15:31:18 +08:00
无论什么,带翻是需要的,因为几个主要的 DHT 服务器都墙了
而且还需要选择性翻,不然 peers 也走梯子,这梯子也架不住重量会塌 |
3
chocotan 2016-08-06 15:33:11 +08:00
qbittorrent
|
4
Todd_Leo 2016-08-06 16:07:43 +08:00
aria2c 可以哒
|
5
xia0chun 2016-08-06 16:22:26 +08:00
qbittorrent + 1
|
6
ferran 2016-08-06 16:25:34 +08:00 via Android
Qtorrent
|
7
klesh 2016-08-06 16:34:35 +08:00
Transmission ,一直用它挂 pt ,没崩溃过。
|
8
chih 2016-08-06 16:40:30 +08:00
qbittorrent
|
10
chintj 2016-08-06 17:08:14 +08:00
transmission 很稳定啊,就算 arm 也可以跑的不错。
aria2c 默认不带 bt ,有点烦 |
11
cncaihua 2016-08-06 17:12:39 +08:00 via Android
Transmission, 可以安装 web interface
|
12
chhx 2016-08-06 17:17:53 +08:00
vuze 缺点是占用内存高点
|
13
imswing 2016-08-06 17:30:07 +08:00 via Android
马克,回去试试
|
14
Suddoo 2016-08-06 17:33:13 +08:00 via Android
deluge
|
15
strwei 2016-08-06 18:09:22 +08:00
居然没人说µTorrent
|
16
chunchu 2016-08-06 18:35:08 +08:00
µTorrent 支持 x86 ,不支持树莓派,所以还是 Transmission 比较稳定一点
|
17
xzpjerry731 2016-08-06 19:00:09 +08:00
没人说 uget+aria2
|
18
hosiet 2016-08-06 19:09:24 +08:00 via Android
transmission 稳定,该有的功能都有
|
19
Bardon 2016-08-06 19:31:36 +08:00
挂 pt 就两个, transmission 与 rtorrent 。
一般情况下 rtorrent 比较牛,配置项灵活,只不过有一个比较不爽,下完后要校验一遍,对于经常蓝光 pt 的人来说,这个校验太吃资源了。 所以最后一只用 transmission 。 |
20
KCheshireCat 2016-08-06 20:26:27 +08:00
qbittorrent +2
|
21
luo362722353 2016-08-07 07:55:37 +08:00 via iPhone
deluge 也不错, rutorrent , transmission 用的最多的还是 deluge 和 rutorrent
|
22
Peanut666 2016-08-07 12:45:50 +08:00
@KCheshireCat 想请教一下你如何用 Wireshark 来观察 tcp 连接被劫持的情况 ,我这里四川移动劫持很严重,
我把你之前写过的 iptables -A FORWARD -p tcp -m tcp --sport 80 -m u32 --u32 "0>>22&60@10&25=25&&0>>22&60@9>>2&60@0=0x48545450&&0>>22&60@9>>2&60@8=0x20333032" -j DROP 放进 openwrt 路由器的防火墙,还是没用呢 |
23
KCheshireCat 2016-08-07 13:59:43 +08:00 1
@Peanut666
这条规则主要是匹配针对网站主页面 302 跳转的劫持方式, 不过最近使用更多的应该是对 js 脚本的进行注入,或者抢答正文使网页被 iframe 嵌套,从而对网站页面改写显示广告. 用 Wireshark 对 tcp 劫持的观察,你还需要 chrome 的 f12 的开发者工具,并且对 html 各个节点的作用和 js 语言有初步的了解 然后你要挑一个劫持高发的页面和时段,然后打开 Wireshark,开发者工具之后刷新页面等劫持包到来. 出现劫持之后,开发者工具里面 Sources 页会显示页面对那些域名发送了请求,在这里应该能发现劫持之后对广告资源的请求 然后到 Network 查找到底是哪个请求回复的被动了手脚,确认之后,再到 Wireshark 里寻找这条请求的 TCP 连接是怎么通信的,观察连接那些包是反常的,畸形的.这样最终能确定运营商是怎么抢答的. |
24
Peanut666 2016-08-07 14:32:33 +08:00
@KCheshireCat 谢谢解答!!我现在已经对一次 jd.com 的劫持过程抓包完了,四川移动访问 jd.com 直接 302 跳转到自己的链接。但是我不是很懂,我能否把抓包保存下来传百度云盘,你有空帮我看分析一下?
|