zoukankan      html  css  js  c++  java
  • bash实例-参数/函数/统计IP

    1、写一个脚本getinterface.sh,脚本可以接受参数(i,I,a),完成以下任务:
       (1)使用以下形式:getinterface.sh [-i interface|-I IP|-a]
       (2)当用户使用-i选项时,显示其指定网卡的IP地址;
       (3)当用户使用-I选项时,显示其后面的IP地址所属的网络接口;(如 192.168.199.183:eth0)   (4)当用户单独使用-a选项时,显示所有网络接口及其IP地址(lo除外)

    Getinterface.sh脚本代码如下:

    #!/bin/bash
    #echo $1
    #echo $2'
    
    arg2=`echo $2 | sed 's/]//'`
    #echo $arg2
    
    if [ "$1" == '[-i' ];then
    	if `ifconfig | grep $arg2 &> /dev/null`; then
    		echo "Ip for $arg2 is:"`ifconfig $arg2 | grep "inet addr" | awk '{print $2}' | awk -F: '{print $2}'`
    	else
    		echo "No this interface, please input again."
    	fi
    elif [ "$1" == '[-I' ];then
    	if `ifconfig | grep $arg2 &> /dev/null`; then
    		echo $arg2:`ip addr show | grep $arg2 | awk '{print $7}'`
    	else
    		echo "No this ip address, please input again."
    	fi
    elif [ "$1" == '[-a]' ];then
    	jiekou=`ifconfig | grep "Link encap" | awk '{print $1}' | grep -v "lo"`
    	echo $jiekou:`ifconfig $jiekou | grep "inet addr" | awk '{print $2}' | awk -F: '{print $2}'`
    
    else
    	echo "you input error command. Please input as getinterface.sh [-i interface|-I IP|-a]"
    fi
    

    2、写一个脚本analyzelog.sh,完成日志分析:(使用函数)(日志文件在课件中)
    说明:此脚本可以接受选项(i,d,t,a),使用格式:analyzelog.sh <-i IP|-d DATE|-t TYPE|-a> 日志文件名 :
    先判断是访问日志文件还是错误日志文件
    访问日志文件如下:
       (1)当用户使用选项-i时,统计出访问日志文件中指定IP地址的访问次数(通常每一行为一次);
       (2)当用户使用选项-d时,统计出访问日志文件中指定日期(某一天,如:04/May/2015)内每个IP地址访问的次数;如:
        192.168.0.1:33
        192.168.0.195:17
        ...
       (3)当用户使用选项-t时,统计出访问日志文件中以后缀后指定类型的文件(如.png表示png格式的图片)被访问的次数;
       (4)当用户使用选项-a时,统计出访问日志文件中每个IP地址访问的次数;

    错误日志文件日下:
       (1)当用户使用选项-i时,统计出错误日志文件中指定IP地址的访问次数(通常每一行为一次);
       (2)当用户使用选项-d时,统计出错误日志文件中指定日期(某一天,如:2015/05/04)内每个IP地址访问的次数;如:
        192.168.0.1:33
        192.168.0.195:17
        ...
       (3)当用户使用选项-t时,统计出错误日志文件中GET获取失败的次数(就是一行错误信息中包含GET);
       (4)当用户使用选项-a时,统计出错误日志文件中每个IP地址访问的次数;

    analyzelog.sh代码如下:

    #!/bin/bash
    #echo "1: $1"
    #echo "2: $2"
    #echo "3: $3"
    #echo "Count for args is: $#"
    
    arg2=`echo $2 | sed 's/]//'`
    #echo $arg2
    
    getIp()
    {
    	#echo "Count for args in getIp is: $#"
    	#awk '{ip[$1]++}END{for(i in ip){print i}}' access.log > ip
    	if [ $# -eq 2 ];then
    		if [ "$2" == "access.log" ];then
    			grep "$1" $2 | awk '/^[0-9]/{print $1}' | sort -u > ip
    		elif [ "$2" == "error.log" ];then
    			awk '{print $16}' $2 | sed 's/,//' | sort -u > ip
    		else
    			echo "Can.t find the log file, please check again."		
    		fi
    	else
    		if [ "$1" == "access.log" ];then
    			awk '/^[0-9]/{print $1}' $1 | sort -u > ip
    		elif [ "$1" == "error.log" ];then
    			awk '{print $16}' $1 | sed 's/,//' | sort -u > ip
    		else
    			echo "Can.t find the log file, please check again."		
    		fi
    	fi
    	ip_count=`cat ip | wc -l`
    
    
    	#把每个ip的记录提取出来
    	for((i=1;i<=$ip_count;i++));
    	do
    		#逐一取出各个ip
    		one_ip=`sed -n "$i"p ip`
    
    		#根据ip筛选出属于此ip的报告记录,并统计报告次数
    		list_count=`grep "$one_ip" access.log | wc -l`
    
    
    		#将每个ip的报告总次数写入行首
    		sed -i "$i{s/^/ $list_count /}" ip &> /dev/null
    
    	done
    }
    
    choice()
    {
    	#echo "The file is $3"		
    
    	if [ "$1" == '[-i' ]; then
    		#echo "[-i $2"
    		echo "Access count for $arg2 is: "`grep $2 $3 | wc -l`
    	elif [ "$1" == '[-d' ]; then
    		#echo "[-d $2"
    		getIp $2 $3;
    		#echo `awk '{printf "%20s:%-20s
    
    ",$2,$1}' ip
    		awk '{print $2,$1}' ip | sed 's/ /:/' 
    
    	elif [ "$1" == '[-t' ]; then
    		#echo "[-t $2"
    		echo "Access count for $2 is: "`grep $2 $3 | wc -l`
    	else
    		echo "Error command, please check."
    	fi
    }
    
    choice_2()
    {
    	#echo "The file is $1"
    	getIp $1;
    	awk '{print $2,$1}' ip | sed 's/ /:/'
    }
    
    if [ $# -eq 3 ];then
    	choice $1 $arg2 $3;
    elif [ $# -eq 2 ]; then
    	choice_2 $2;
    else
    	echo "Error args, please check again."	
    fi
    

     其中的access.log文件内容如下:

    192.168.199.244 - - [04/May/2015:11:04:49 -0400] "GET / HTTP/1.1" 200 3698 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36" "-"
    192.168.199.244 - - [04/May/2015:11:04:49 -0400] "GET /nginx-logo.png HTTP/1.1" 200 370 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36" "-"
    192.168.199.244 - - [04/May/2015:11:04:49 -0400] "GET /poweredby.png HTTP/1.1" 200 3034 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36" "-"
    192.168.199.244 - - [04/May/2015:11:04:49 -0400] "GET /favicon.ico HTTP/1.1" 404 3652 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36" "-"
    192.168.199.244 - - [04/May/2015:11:04:52 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36" "-"
    192.168.199.244 - - [04/May/2015:11:04:54 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36" "-"
    192.168.199.244 - - [04/May/2015:11:04:56 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36" "-"
    192.168.199.244 - - [04/May/2015:11:04:57 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36" "-"
    192.168.199.244 - - [04/May/2015:11:04:57 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36" "-"
    192.168.199.244 - - [04/May/2015:11:04:58 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36" "-"
    192.168.199.244 - - [04/May/2015:11:04:59 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36" "-"
    192.168.199.244 - - [04/May/2015:11:05:00 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36" "-"
    192.168.199.244 - - [04/May/2015:11:05:01 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36" "-"
    192.168.199.244 - - [04/May/2015:11:05:02 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36" "-"
    192.168.199.244 - - [04/May/2015:11:05:09 -0400] "-" 400 0 "-" "-" "-"
    192.168.199.244 - - [04/May/2015:11:05:09 -0400] "-" 400 0 "-" "-" "-"
    192.168.199.244 - - [04/May/2015:11:06:12 -0400] "GET / HTTP/1.1" 200 3698 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko" "-"
    192.168.199.244 - - [04/May/2015:11:06:12 -0400] "GET /nginx-logo.png HTTP/1.1" 200 370 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko" "-"
    192.168.199.244 - - [04/May/2015:11:06:12 -0400] "GET /poweredby.png HTTP/1.1" 200 3034 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko" "-"
    192.168.199.244 - - [04/May/2015:11:06:12 -0400] "GET /favicon.ico HTTP/1.1" 404 3652 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko" "-"
    192.168.199.244 - - [04/May/2015:11:06:22 -0400] "-" 400 0 "-" "-" "-"
    192.168.199.244 - - [04/May/2015:11:06:22 -0400] "-" 400 0 "-" "-" "-"
    192.168.199.183 - - [04/May/2015:11:06:33 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.180 - - [04/May/2015:11:07:12 -0400] "GET / HTTP/1.1" 200 3698 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0" "-"
    192.168.199.180 - - [04/May/2015:11:07:12 -0400] "GET /nginx-logo.png HTTP/1.1" 200 370 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0" "-"
    192.168.199.180 - - [04/May/2015:11:07:12 -0400] "GET /poweredby.png HTTP/1.1" 200 3034 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0" "-"
    192.168.199.180 - - [04/May/2015:11:07:12 -0400] "GET /favicon.ico HTTP/1.1" 404 3652 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0" "-"
    192.168.199.180 - - [04/May/2015:11:07:12 -0400] "GET /favicon.ico HTTP/1.1" 404 3652 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0" "-"
    192.168.199.180 - - [04/May/2015:11:07:17 -0400] "-" 400 0 "-" "-" "-"
    192.168.199.155 - - [04/May/2015:11:07:18 -0400] "GET / HTTP/1.1" 200 3698 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:18 -0400] "GET /nginx-logo.png HTTP/1.1" 200 370 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:18 -0400] "GET /poweredby.png HTTP/1.1" 200 3034 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:20 -0400] "GET /favicon.ico HTTP/1.1" 404 3652 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:20 -0400] "GET /favicon.ico HTTP/1.1" 404 3652 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:30 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:30 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:30 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:35 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:35 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:35 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:37 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:37 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:37 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:38 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:38 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:38 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:38 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:38 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:38 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:38 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:38 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:38 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:38 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:38 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:38 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:39 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:39 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:39 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:39 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:39 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:39 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:39 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:39 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:39 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:39 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:39 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:39 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:39 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:39 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:39 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:39 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:39 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:39 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:40 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:40 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:40 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:40 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:40 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:40 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:40 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:40 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:40 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:40 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:40 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:40 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:40 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:40 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:40 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:41 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:41 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:41 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:41 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:41 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:41 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:41 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:41 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:41 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:41 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:41 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:41 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:41 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:41 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:41 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:42 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:42 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:42 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:42 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:42 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:42 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:42 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:42 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:42 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:42 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:42 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:42 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:42 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:42 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:42 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:42 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:42 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:42 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:43 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:43 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:43 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:48 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:48 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:48 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:48 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:48 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:48 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:48 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:48 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:48 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:48 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:48 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:48 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:49 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:49 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:49 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:49 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:49 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:49 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:49 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:49 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:49 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:49 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:49 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:49 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:49 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:49 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:49 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:49 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:49 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:49 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:50 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:50 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:50 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:50 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:50 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:50 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:50 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:50 -0400] "GET /nginx-logo.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.155 - - [04/May/2015:11:07:50 -0400] "GET /poweredby.png HTTP/1.1" 304 0 "http://192.168.199.183/" "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; QQBrowser/8.0.1080.400) like Gecko" "-"
    192.168.199.116 - - [04/May/2015:11:08:27 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.116 - - [04/May/2015:11:08:40 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.116 - - [04/May/2015:11:08:41 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.174 - - [04/May/2015:11:08:46 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.116 - - [04/May/2015:11:08:47 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.116 - - [04/May/2015:11:08:48 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.116 - - [04/May/2015:11:08:50 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.116 - - [04/May/2015:11:08:52 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.116 - - [04/May/2015:11:08:52 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.116 - - [04/May/2015:11:08:53 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.116 - - [04/May/2015:11:08:53 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.116 - - [04/May/2015:11:08:53 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.116 - - [04/May/2015:11:08:55 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.174 - - [04/May/2015:11:08:59 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.174 - - [04/May/2015:11:09:01 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.174 - - [04/May/2015:11:09:02 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.174 - - [04/May/2015:11:09:04 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.174 - - [04/May/2015:11:09:05 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.174 - - [04/May/2015:11:09:07 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.178 - - [04/May/2015:11:09:08 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.174 - - [04/May/2015:11:09:08 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.178 - - [04/May/2015:11:09:09 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.178 - - [04/May/2015:11:09:10 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.178 - - [04/May/2015:11:09:10 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.178 - - [04/May/2015:11:09:10 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.178 - - [04/May/2015:11:09:11 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.178 - - [04/May/2015:11:09:11 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.178 - - [04/May/2015:11:09:11 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.178 - - [04/May/2015:11:09:12 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.178 - - [04/May/2015:11:09:12 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.178 - - [04/May/2015:11:09:13 -0400] "GET / HTTP/1.1" 200 3698 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"
    192.168.199.244 - - [04/May/2015:11:09:26 -0400] "GET /favicon.ico HTTP/1.1" 404 3652 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36" "-"
    192.168.199.244 - - [04/May/2015:11:09:30 -0400] "GET /bb HTTP/1.1" 404 3652 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko" "-"
    192.168.199.244 - - [04/May/2015:11:09:30 -0400] "GET /favicon.ico HTTP/1.1" 404 3652 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko" "-"
    192.168.199.244 - - [04/May/2015:11:09:34 -0400] "GET /cc HTTP/1.1" 404 3652 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko" "-"
    192.168.199.244 - - [04/May/2015:11:09:34 -0400] "GET /favicon.ico HTTP/1.1" 404 3652 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko" "-"
    192.168.199.244 - - [04/May/2015:11:09:44 -0400] "-" 400 0 "-" "-" "-"
    

     error.log文件:

    2015/05/04 11:04:49 [error] 2145#0: *2 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 192.168.199.244, server: _, request: "GET /favicon.ico HTTP/1.1", host: "192.168.199.183"
    2015/05/04 11:06:12 [error] 2145#0: *7 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 192.168.199.244, server: _, request: "GET /favicon.ico HTTP/1.1", host: "192.168.199.183"
    2015/05/04 11:07:12 [error] 2145#0: *10 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 192.168.199.180, server: _, request: "GET /favicon.ico HTTP/1.1", host: "192.168.199.183"
    2015/05/04 11:07:12 [error] 2145#0: *10 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 192.168.199.180, server: _, request: "GET /favicon.ico HTTP/1.1", host: "192.168.199.183"
    2015/05/04 11:07:20 [error] 2145#0: *14 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 192.168.199.155, server: _, request: "GET /favicon.ico HTTP/1.1", host: "192.168.199.183"
    2015/05/04 11:07:20 [error] 2145#0: *15 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 192.168.199.155, server: _, request: "GET /favicon.ico HTTP/1.1", host: "192.168.199.183"
    2015/05/04 11:09:26 [error] 2145#0: *47 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 192.168.199.244, server: _, request: "GET /favicon.ico HTTP/1.1", host: "192.168.199.183"
    2015/05/04 11:09:30 [error] 2145#0: *49 open() "/usr/share/nginx/html/bb" failed (2: No such file or directory), client: 192.168.199.244, server: _, request: "GET /bb HTTP/1.1", host: "192.168.199.183"
    2015/05/04 11:09:30 [error] 2145#0: *49 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 192.168.199.244, server: _, request: "GET /favicon.ico HTTP/1.1", host: "192.168.199.183"
    2015/05/04 11:09:34 [error] 2145#0: *50 open() "/usr/share/nginx/html/cc" failed (2: No such file or directory), client: 192.168.199.244, server: _, request: "GET /cc HTTP/1.1", host: "192.168.199.183"
    2015/05/04 11:09:34 [error] 2145#0: *50 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 192.168.199.244, server: _, request: "GET /favicon.ico HTTP/1.1", host: "192.168.199.183"
    
  • 相关阅读:
    HDU 2159 FATE
    POJ 3384 Feng Shui 凸包直径 + 半平面交
    Irrlicht学习之光照的研究
    正襟危坐说--操作系统(伍):进程间通信
    网站建设--团队的重要性
    好累啊,你感觉到了吗?
    android 4.2 root
    OpenSSL命令---rand
    STL中deque
    正襟危坐说--操作系统(陆):进程同步
  • 原文地址:https://www.cnblogs.com/yajing-zh/p/4910751.html
Copyright © 2011-2022 走看看