lin243838534 最近的时间轴更新
lin243838534

lin243838534

V2EX 第 216484 号会员,加入于 2017-02-21 17:35:00 +08:00
lin243838534 最近回复了
2017-07-03 18:30:28 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@linhua 十分感谢
2017-07-03 17:35:09 +08:00
回复了 jianghu52 创建的主题 VPS 求一个最适合用来 BT 的 vps--大家绝对绝对不要选移动宽带!!!
一般伺服器用 https 连接可破限速,或者用 paw 修改 head
2017-07-03 16:12:55 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@linhua 你好,实在不想麻烦你,但看了你所有相关的帖子也没发现问题出在哪

centos7 64

[root@UselessRight-VM ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:21
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:20
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:3306
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 /* LKL_RAW */
DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 /* LKL_RAW */
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 /* LKL_RAW */
DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 /* LKL_RAW */

Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
--------------------------------------------------------------------------------------------------------------------------

[root@UselessRight-VM ~]# /root/rinetd -f -c /root/rinetd.conf raw venet0:0
PACKET_QDISC_BYPASS, ignoring: Protocol not available
[ 0.000000] Linux version 4.10.0+ ([email protected]) (gcc version 7.1.1 20170516 (GCC) ) #56 Sun Jun 25 18:59:40 CST 2017
[ 0.000000] bootmem address range: 0x7f4094000000 - 0x7f4097fff000
[ 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.000030] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.000033] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.008477] console [lkl_console0] enabled
[ 0.008484] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.008643] NET: Registered protocol family 16
[ 0.008950] clocksource: Switched to clocksource lkl
[ 0.009069] NET: Registered protocol family 2
[ 0.009245] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.009254] TCP bind hash table entries: 512 (order: 0, 4096 bytes)
[ 0.009262] TCP: Hash tables configured (established 512 bind 512)
[ 0.009340] UDP hash table entries: 128 (order: 0, 4096 bytes)
[ 0.009347] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
[ 0.009471] virtio-mmio: Registering device virtio-mmio.0 at 0x1000000-0x100010b, IRQ 1.
[ 0.009672] workingset: timestamp_bits=62 max_order=14 bucket_order=0
[ 0.009698] virtio-mmio virtio-mmio.0: Failed to enable 64-bit or 32-bit DMA. Trying to continue, but this might not work.
[ 0.009963] NET: Registered protocol family 10
[ 0.010330] Segment Routing with IPv6
[ 0.010349] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 0.010576] Warning: unable to open an initial console.
[ 0.010598] This architecture does not have kernel memory protection.
[ 2.498973] random: fast init done

-------------------------------------------------------------------------------------------------------
[root@UselessRight-VM ~]# ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
^C
--- 10.0.0.2 ping statistics ---
9 packets transmitted, 0 received, 100% packet loss, time 8004ms
2017-07-03 01:58:34 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@linhua #280 前几天用了你的方法明明成功了,ping 通了,这几天重装 vps,top 有显示进程,死活 ping 不通,virmach
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1230 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 10ms · UTC 23:12 · PVG 07:12 · LAX 15:12 · JFK 18:12
Developed with CodeLauncher
♥ Do have faith in what you're doing.