话说有人可以发下修改版bbr效果图么
kurokitomoko
话题数:36会员
最近穷,手头上只有ovz的sgp,没法测试
最好发原bbr,锐速,修改版bbr三图效果图
最好发原bbr,锐速,修改版bbr三图效果图
评论
昨天实力一下没效果。。。不知哪里出错了
没效果,几乎和没上任何加速一样,原作者说需要改,可小白只会一键包
修改版名字是tsunami,看看挂载对没
对啊,各种包都装过了
看来要自己买kvm机子呢
lkl版 增强版bbr
https://drive.google.com/open?id=0B0D0hDHteoksbXY1SmNJSm9KUlk
lkl版 普通bbr
https://drive.google.com/open?id=0B0D0hDHteoksZWlQQmp3enBqbTg
lkl版 PCC协议
https://drive.google.com/open?id=0B0D0hDHteoksdW53VjNYZmFFVzg
用法可参考:
https://github.com/mixool/rinetd
https://www.v2ex.com/t/353778#r_4311799
https://gist.github.com/codexss/1d5a834c479bb1532b9f82b23ee2f3fa
@ssh
可以
kvm开启无网
@linhua 容器开启 ssr 连接没有问题 ,樱花
依赖 iptables, grep, cut, xargs, 请确保 有这些工具
kvm 要 改 venet0:0 为 kvm 的公网ip对应的网卡设备,一般是 eth0
容器的话,需要有 root / privilege 权限
@ssh
可能是 安卓版SSR的问题
https://github.com/shadowsocksr/shadowsocksr-android/issues/185
v2ex链接失效
需要登录
一般linux默认都含有这些工具
可用 which命令查看
~ which xargs
@ssh
请用 ifconfig 命令 查看 kvm公网ip对应的 网卡名称。 如果是 eth0
./rinetd -f -c ./rinetd.conf raw eth0
root@default5:~# rinetd -f -c /etc/rinetd.conf raw eth0 PACKET_QDISC_BYPASS, ignoring: Protocol not available[ 0.000000] Linux version 4.10.0+ ([email protected]) (gcc version 6.3.1 20170306 (GCC) ) #26 Sat May 6 13:37:48 CST 2017
[ 0.000000] bootmem address range: 0x7f0eec000000 - 0x7f0eeffff000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16159
[ 0.000000] Kernel command line: virtio_mmio.device=268@0x1000000:1
[ 0.000000] PID hash table entries: 256 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Memory available: 64492k/0k RAM
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:4096
[ 0.000000] lkl: irqs initialized
[ 0.000000] clocksource: lkl: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.000001] lkl: time and timers initialized (irq2)
[ 0.000006] pid_max: default: 4096 minimum: 301
[ 0.000025] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.000027] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.008901] console [lkl_console0] enabled
[ 0.008957] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.009133] NET: Registered protocol family 16
[ 0.009522] clocksource: Switched to clocksource lkl
[ 0.009689] NET: Registered protocol family 2
[ 0.009913] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.009985] TCP bind hash table entries: 512 (order: 0, 4096 bytes)
[ 0.010107] TCP: Hash tables configured (established 512 bind 512)
[ 0.010236] UDP hash table entries: 128 (order: 0, 4096 bytes)
[ 0.010325] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
[ 0.010511] virtio-mmio: Registering device virtio-mmio.0 at 0x1000000-0x100010b, IRQ 1.
[ 0.010808] workingset: timestamp_bits=62 max_order=14 bucket_order=0
[ 0.011477] virtio-mmio virtio-mmio.0: Failed to enable 64-bit or 32-bit DMA. Trying to continue, but this might not work.
[ 0.011785] NET: Registered protocol family 10
[ 0.012122] Segment Routing with IPv6
[ 0.012208] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 0.012500] Warning: unable to open an initial console.
[ 0.012584] This architecture does not have kernel memory protection.
[ 2.479591] random: fast init done
[ 133.079606] random: crng init done
这是 普通班的 有进程,但是开启后ssr 无网,关闭有网,加强版的进程没有。
@ssh
看一下你的SSR配置文件,服务器一栏 不能填 服务器公网ip地址,只能填 0.0.0.0
@ssh
你看一下SSR的日志,应该是 SSR将 127.0.0.1 屏蔽了,导致内部端口转发不成功
像这样子的 https://www.91yunbbs.com/discussion/87/黑科技-不用換-kernel-不用uml-也可以bbr-linux-kernel-library-還有可能-bbr-lotserver/p2#Comment_1828
然后 在打开的前提下 检查iptables规则
~iptables -L -n -v
root@default5:~# iptables -L -n -v
Chain INPUT (policy ACCEPT 5771 packets, 700K bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:8080
997 59768 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:8080
65 20580 ACCEPT tcp -- lo * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8080 /* LKL_RAW */
1248 269K DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8080 /* LKL_RAW */
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 7393 packets, 1201K bytes)
pkts bytes target prot opt in out source destination
大神看下,我不懂
你需要将 以下这条规则去掉,不然会冲突
997 59768 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:8080
可以用这条命令来清理:
~ iptables -F
已经解压
@ssh
不能执行的话,那就加上可执行权限
chmod +x rinetd
wget "https://drive.google.com/uc?id=0B13JhsdK3UubU0g0QW9jeHZiMUk" -O /usr/bin/rinetd
chmod +x /usr/bin/rinetd
echo "0.0.0.0 8080 0.0.0.0 8080" > /etc/rinetd.conf
rinetd -f -c /etc/rinetd.conf raw eth0 &>/dev/null &
这是我的执行脚本 ,在容器中,rinetd换成您提供的 (已经解压) 就不能执行,容器中我一直没问题的,用上边地址的rinetd。我说的执行是 top中没有进程
@ssh
在我这里可以执行,已经在自己的 ovz vps上运行了 修改bbr版lkl。
要不然,我给你操作一下?
telegram 帐号 https://t.me/linhua
@ssh
修改版BBR
wget "https://drive.google.com/uc?id=0B0D0hDHteoksVW5CemJKZVcyN1E" -O /usr/bin/rinetd
原BBR
wget “https://drive.google.com/uc?id=0B0D0hDHteokscTg3aEtqemJGQUE” -O /usr/bin/rinetd
PCC
wget “https://drive.google.com/uc?id=0B0D0hDHteoksdkZPcEE2Vzc0YWc” -O /usr/bin/rinetd
有haproxy的版本吗?
可以直接替换这个https://www.91yun.org/archives/6281
有没有ppc内核的liblkl-hijack.so文件?
想不到会有那么dalao来到这里,有点激动。。。
话说好像偏离了话题。。。算了不要紧。。
我登陆了,但还是打不开。
这个怎么用,先安装好lkl+bbr ,然后在安装这个吗
@huohuohuo
直接用它就行,它本身就是 lkl+bbr/PCC/...+rinetd, 只是将 lkl+bbr/PCC/...集成到了rinetd里。
大佬,用rinetd的BBR,会有“断开”现象:即一会连不上(修改版和PCC版一样情况,试过换端口和加密方式,SS使用libev版),然后一段时间又可以了,是什么问题?BWG 5.99上测试,看内存和CPU的占用也不高。同样配置跑 liblkl-hijack.so 版倒不会有这个问题
多谢大佬,128小鸡已经用上,效果不错。
兄弟你有没“断流”问题?
~# wget "https://drive.google.com/uc?id=0B0D0hDHteoksVW5CemJKZVcyN1E" -O /usr/bin/rinetd
converted 'https://drive.google.com/uc?id=0B0D0hDHteoksVW5CemJKZVcyN1E' (ANSI_X3.4-1968) -> 'https://drive.google.com/uc?id=0B0D0hDHteoksVW5CemJKZVcyN1E' (UTF-8)
--2017-06-26 09:22:06-- https://drive.google.com/uc?id=0B0D0hDHteoksVW5CemJKZVcyN1E
Resolving drive.google.com (drive.google.com)... 2607:f8b0:4007:800::200e, 172.217.5.206
Connecting to drive.google.com (drive.google.com)|2607:f8b0:4007:800::200e|:443... connected.
ERROR: The certificate of 'drive.google.com' is not trusted.
ERROR: The certificate of 'drive.google.com' hasn't got a known issuer.
这是什么原因 看了用法参考那里也不行
wget --no-check-certificate
怎么验证成功了呢
测试了下3个版本,没有明显区别。德国小鸡。
PCC版本 会打印出 额外的日志,说明是生效的
修改版BBR的 达到最大带宽的速度 比原版BBR 快一点
樱花docker+rinted修改版bbr+ssr跑fast
效果不错
@kurokitomoko
你确定rinetd运行了吗? @ssh 确认了一下,樱花docker还不能运行rinetd,还是没有加速的速度,误以为被加速了。
ps aux|grep -i rinetd 看看rinetd是否运行
有哦
@kurokitomoko
测试了一下,你的这个连不上呀
我的已经关闭了。。。
能运行也没用吧,没有privileged权限,iptables不会生效。iptables -L看下就知道了
速度不错是因为樱花本来就挺快,误以为加速有效。/。/
https://github.com/linhua55/lkl_study
有毒啊,居然有1k浏览数
大佬能说下rinetd版本怎么调参数吗?
那个魔改bbr对各种线路效果不同的,得自己调参数
目前只有loc论坛有修改教程,91yun没有转载
loc那个也不能叫教程,只说修改了哪些参数,对于不会c的如同天书
dalao,tele跟你说话了,没搭理我呢?