通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
› DigitalOcean - SSD Cloud Servers
hopestar86
V2EX  ›  VPS

VPS被关了,服务商给出了接受,各位能帮我看看什么问题吗?

  •  
  •   hopestar86 · Sep 15, 2013 · 2051 views
    This topic created in 4820 days ago, the information mentioned may be changed or developed.
    Your VPS is causing huge connections on the server which is making our entire hardware node unstable and its affecting the other clients on the server. We have stopped your VPS temporarily to make the things stable. We need you to take necessary action towards this issue.

    [root@lanode5 ~]# cat /proc/net/nf_conntrack | grep -i 192.210.149.10 | wc -l
    10671
    [root@lanode5 ~]# cat /proc/net/nf_conntrack | grep -i 192.210.149.10 | head -20
    ipv4 2 tcp 6 425698 ESTABLISHED src=192.210.149.10 dst=82.80.234.140 sport=80 dport=29698 [UNREPLIED] src=82.80.234.140 dst=192.210.149.10 sport=29698 dport=80 mark=0 secmark=0 use=2
    ipv4 2 tcp 6 426358 ESTABLISHED src=192.210.149.10 dst=82.80.244.52 sport=80 dport=23313 [UNREPLIED] src=82.80.244.52 dst=192.210.149.10 sport=23313 dport=80 mark=0 secmark=0 use=2
    ipv4 2 tcp 6 426883 ESTABLISHED src=192.210.149.10 dst=82.80.244.53 sport=80 dport=58136 [UNREPLIED] src=82.80.244.53 dst=192.210.149.10 sport=58136 dport=80 mark=0 secmark=0 use=2
    ipv4 2 tcp 6 423472 ESTABLISHED src=192.210.149.10 dst=82.80.244.59 sport=80 dport=15321 [UNREPLIED] src=82.80.244.59 dst=192.210.149.10 sport=15321 dport=80 mark=0 secmark=0 use=2
    ipv4 2 tcp 6 424828 ESTABLISHED src=192.210.149.10 dst=82.80.244.54 sport=80 dport=18471 [UNREPLIED] src=82.80.244.54 dst=192.210.149.10 sport=18471 dport=80 mark=0 secmark=0 use=2

    这个vps我只是作为图片服务器,是不是82.80.244IP段在采集照成的
    11 replies  •  1970-01-01 08:00:00 +08:00
    wzzyj8
    wzzyj8
    Sep 15, 2013
    1
    看下web日志,看看到底在访问点什么,我之前遇到过类似的情况,结果看了日志发现是bing的蜘蛛在抓取图片。。
    hopestar86
    hopestar86
    OP
    Sep 15, 2013
    3
    @shierji 192.210.149.10是我vps的IP
    Kvm
    Kvm
    Sep 15, 2013
    4
    连接数过多。。。。。
    顺道说下为啥会给你关掉的原因,连接数一旦上限将会引起宿主服务器网络不稳定由而产生丢包高延迟状况,宿主内核是2.6.18下尤为明显。。。。。
    hopestar86
    hopestar86
    OP
    Sep 15, 2013
    5
    @Kvm 请教怎么限制或者解决吗。
    作为图片服务器用的,一天都没多少ip,这都能超?
    Kvm
    Kvm
    Sep 15, 2013
    6
    @hopestar86 用tcpdump抓包和netstat分下下吧
    hopestar86
    hopestar86
    OP
    Sep 15, 2013
    7
    @Kvm 客服给出了解释
    The attack is from the range 82.80.*.*

    请教iptables屏蔽
    iptables -I INPUT -s 82.80.0.0/8 -j DROP
    是这样吗,谢谢
    hadoop
    hadoop
    Sep 15, 2013
    8
    @hopestar86 ptables -I INPUT -p tcp -s 82.80.0.0/16 -j DROP
    donnior
    donnior
    Sep 15, 2013
    9
    会这么多么?我在vps上面跑KAD网络的爬虫程序都没有被停。。。
    loveminds
    loveminds
    Sep 16, 2013
    10
    @hopestar86 82.80.以色列的IP...
    Kvm
    Kvm
    Sep 16, 2013
    11
    @hopestar86 直接 82.0.0.0/8干净点吧,中东大牛太多了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   918 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 20:42 · PVG 04:42 · LAX 12:42 · JFK 15:42
    ♥ Do have faith in what you're doing.