V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
DigitalOcean - SSD Cloud Servers
hopestar86
V2EX  ›  VPS

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

  •  
  •   hopestar86 · 2013-09-15 18:14:45 +08:00 · 1131 次点击
    这是一个创建于 3897 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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 条回复    1970-01-01 08:00:00 +08:00
    wzzyj8
        1
    wzzyj8  
       2013-09-15 18:48:27 +08:00
    看下web日志,看看到底在访问点什么,我之前遇到过类似的情况,结果看了日志发现是bing的蜘蛛在抓取图片。。
    shierji
        2
    shierji  
       2013-09-15 19:01:09 +08:00
    hopestar86
        3
    hopestar86  
    OP
       2013-09-15 19:02:53 +08:00
    @shierji 192.210.149.10是我vps的IP
    Kvm
        4
    Kvm  
       2013-09-15 19:14:06 +08:00
    连接数过多。。。。。
    顺道说下为啥会给你关掉的原因,连接数一旦上限将会引起宿主服务器网络不稳定由而产生丢包高延迟状况,宿主内核是2.6.18下尤为明显。。。。。
    hopestar86
        5
    hopestar86  
    OP
       2013-09-15 19:17:43 +08:00
    @Kvm 请教怎么限制或者解决吗。
    作为图片服务器用的,一天都没多少ip,这都能超?
    Kvm
        6
    Kvm  
       2013-09-15 19:20:23 +08:00
    @hopestar86 用tcpdump抓包和netstat分下下吧
    hopestar86
        7
    hopestar86  
    OP
       2013-09-15 19:35:16 +08:00
    @Kvm 客服给出了解释
    The attack is from the range 82.80.*.*

    请教iptables屏蔽
    iptables -I INPUT -s 82.80.0.0/8 -j DROP
    是这样吗,谢谢
    hadoop
        8
    hadoop  
       2013-09-15 19:49:37 +08:00
    @hopestar86 ptables -I INPUT -p tcp -s 82.80.0.0/16 -j DROP
    donnior
        9
    donnior  
       2013-09-15 21:59:25 +08:00
    会这么多么?我在vps上面跑KAD网络的爬虫程序都没有被停。。。
    loveminds
        10
    loveminds  
       2013-09-16 03:25:14 +08:00
    @hopestar86 82.80.以色列的IP...
    Kvm
        11
    Kvm  
       2013-09-16 06:51:21 +08:00
    @hopestar86 直接 82.0.0.0/8干净点吧,中东大牛太多了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1176 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 18:24 · PVG 02:24 · LAX 11:24 · JFK 14:24
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.