当前位置: 首页 > 2010年1月发布的所有日志
  • device lo left promiscuous mode

    dmesg发现有一些这样的信息:

    device lo left promiscuous mode
    audit(1264387352.387:24): dev=lo prom=0 old_prom=256 auid=4294967295 ses=4294967295

    发现是tcpdump 抓包导致,对系统并无大碍!

    阅读全文
    作者:2hei | 分类:linux | 阅读:3,739 views | 标签:
    device lo left promiscuous mode已关闭评论
  • 《网瘾战争》–看你妹

    一口气看完了60多分钟的《网瘾战争》,真是有些感动。。。 我和其他热爱这个游戏的人一样认真地挤着公交车上班认真地消费着各式各样的食品不管里面有没有不认识的化学成分我们没有因为工资微薄而抱怨过没有因为你们拿着从我微薄工资里扣的税住着联体排屋而心理失衡过在这一年里,我和其他热爱这个游戏的人一样为水灾, ...

    阅读全文
    作者:2hei | 分类:other | 阅读:5,428 views
    《网瘾战争》–看你妹已关闭评论
  • linux下支持https的压力测试工具

    测试了linux下的几种压力测试工具,发现有些不支持https,先简单总结如下: 一、apache的ab工具 /home/webadm/bin/ab -c 50 -n 10000 https://2hei.net/mt/index.htmlSSL not compiled in; no https support看样子是说SSL没有编译进来,所以不支持https 二、apache的flood工具 http://httpd.apache.org/test/flood/ wge ...

    阅读全文
    作者:2hei | 分类:linux, OpenSource | 阅读:20,902 views | 标签:, , ,
  • nginx authentication

    今天配置nginx的basic authentication折腾了好半天,开始error_log一直报错:no user/password was provided for basic authentication 我是按照nginx的wiki配置的:location  /  {  auth_basic            “Restricted”;  au ...

    阅读全文
    作者:2hei | 分类:OpenSource | 阅读:4,344 views | 标签:
    nginx authentication已关闭评论
  • [notice] child pid 19818 exit signal Bus error (7)

    apache logs:[Thu Dec 31 12:27:41 2009] [notice] child pid 19818 exit signal Bus error (7) The first error “Bus Error” is caused by someones (possibly CGI) program crashing. A bus error happens when someone wrote a C program for Intel and re-compiled it for another processor like PPC ...

    阅读全文
    作者:2hei | 分类:OpenSource | 阅读:8,169 views | 标签:
  • 使用apache的mod_rewrite模块进行端口重写且保留特殊接口

    需求如下:网站的apache开通80和443端口,整站强制使用https,把所有80端口的访问转到443,新增需求为要针对某个接口单独开放80端口(80、443均可访问),剩下其他接口保持原有规则。 配置一、RewriteRule !^/TestServlet http://%{SERVER_NAME}/$1 [L,R=301] 是有问题的,$1并没取得匹配的部分。 根据apache文档,使用 ...

    阅读全文
    作者:2hei | 分类:OpenSource | 阅读:4,281 views
    使用apache的mod_rewrite模块进行端口重写且保留特殊接口已关闭评论