小樱 发表于 2018/2/14 15:42

kangle 启动日志server.log查看进程启动日志运行的方法、打开文件大小限制、监听端口、flush、block、unblock ip黑名单运行cmd

Wed Feb 14 15:25:00|kgl_aio_align_size=
Wed Feb 14 15:25:00|now create process ["/sbin/iptables" "-F" "INPUT"]
Wed Feb 14 15:25:00|listen success
Wed Feb 14 15:25:00|listen [:::3311] success
Wed Feb 14 15:25:00|max open file limit
Wed Feb 14 15:25:00|Start success .
Wed Feb 14 15:25:00|listen success
Wed Feb 14 15:25:00|listen success
Wed Feb 14 15:25:00|listen [:::80] success
Wed Feb 14 15:25:00|listen [:::443] success

搜索进程启动日志
cat /vhs/kangle/var/server.log | grep Start

搜索打开文件大小限制
cat /vhs/kangle/var/server.log | grep limit

搜索监听端口日志
cat /vhs/kangle/var/server.log | grep listen

搜索flush、block、unblock运行cmd日志
cat /vhs/kangle/var/server.log | grep create

小樱 发表于 2018/2/14 15:55

flush、block、unblock用于对接防火墙
Wed Feb 14 00:12:21|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "111.2.209.150" "-j" "DROP"]
Wed Feb 14 00:14:26|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "122.226.185.67" "-j" "DROP"]
Wed Feb 14 00:30:23|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "117.136.40.18" "-j" "DROP"]
Wed Feb 14 00:40:26|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "117.136.40.18" "-j" "DROP"]
Wed Feb 14 00:44:57|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "59.44.129.69" "-j" "DROP"]
Wed Feb 14 00:55:01|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "59.44.129.69" "-j" "DROP"]
Wed Feb 14 01:04:04|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "113.25.8.41" "-j" "DROP"]
Wed Feb 14 01:14:06|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "113.25.8.41" "-j" "DROP"]
Wed Feb 14 01:37:14|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "36.228.172.44" "-j" "DROP"]
Wed Feb 14 01:47:16|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "36.228.172.44" "-j" "DROP"]
Wed Feb 14 02:00:54|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "36.228.172.44" "-j" "DROP"]
Wed Feb 14 02:04:57|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "223.146.33.40" "-j" "DROP"]
Wed Feb 14 02:10:56|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "36.228.172.44" "-j" "DROP"]
Wed Feb 14 02:11:06|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "36.228.172.44" "-j" "DROP"]
Wed Feb 14 02:15:01|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "223.146.33.40" "-j" "DROP"]
Wed Feb 14 02:21:11|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "36.228.172.44" "-j" "DROP"]
Wed Feb 14 02:21:29|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "36.228.172.44" "-j" "DROP"]
Wed Feb 14 02:31:31|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "36.228.172.44" "-j" "DROP"]
Wed Feb 14 02:42:54|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "114.88.60.149" "-j" "DROP"]
Wed Feb 14 02:52:56|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "114.88.60.149" "-j" "DROP"]
Wed Feb 14 03:01:45|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "60.171.224.227" "-j" "DROP"]
Wed Feb 14 03:11:46|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "60.171.224.227" "-j" "DROP"]
Wed Feb 14 03:15:56|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "117.81.245.81" "-j" "DROP"]
Wed Feb 14 03:26:01|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "117.81.245.81" "-j" "DROP"]
Wed Feb 14 04:20:26|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "114.245.202.229" "-j" "DROP"]
Wed Feb 14 04:30:31|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "114.245.202.229" "-j" "DROP"]
Wed Feb 14 05:49:43|now create process ["/sbin/iptables" "-F" "INPUT"]
Wed Feb 14 06:14:20|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "112.87.58.85" "-j" "DROP"]
Wed Feb 14 06:24:23|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "112.87.58.85" "-j" "DROP"]
Wed Feb 14 06:36:34|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "180.100.242.74" "-j" "DROP"]
Wed Feb 14 06:46:38|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "180.100.242.74" "-j" "DROP"]
Wed Feb 14 07:09:48|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "180.100.242.74" "-j" "DROP"]
Wed Feb 14 07:15:08|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "110.72.54.247" "-j" "DROP"]
Wed Feb 14 07:19:53|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "180.100.242.74" "-j" "DROP"]
Wed Feb 14 07:21:50|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "180.100.242.74" "-j" "DROP"]
Wed Feb 14 07:25:13|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "110.72.54.247" "-j" "DROP"]
Wed Feb 14 07:31:53|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "180.100.242.74" "-j" "DROP"]
Wed Feb 14 07:45:03|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "180.100.242.74" "-j" "DROP"]
Wed Feb 14 07:55:03|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "180.100.242.74" "-j" "DROP"]
Wed Feb 14 08:07:54|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "223.79.28.240" "-j" "DROP"]
Wed Feb 14 08:17:58|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "223.79.28.240" "-j" "DROP"]
Wed Feb 14 10:20:35|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "60.169.191.203" "-j" "DROP"]
Wed Feb 14 10:24:44|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "36.5.230.75" "-j" "DROP"]
Wed Feb 14 10:29:28|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "106.121.63.153" "-j" "DROP"]
Wed Feb 14 10:30:38|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "60.169.191.203" "-j" "DROP"]
Wed Feb 14 10:34:48|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "36.5.230.75" "-j" "DROP"]
Wed Feb 14 10:39:33|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "106.121.63.153" "-j" "DROP"]
Wed Feb 14 11:19:48|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "117.136.66.215" "-j" "DROP"]
Wed Feb 14 11:29:53|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "117.136.66.215" "-j" "DROP"]
Wed Feb 14 12:09:03|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "221.205.180.32" "-j" "DROP"]
Wed Feb 14 12:19:08|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "221.205.180.32" "-j" "DROP"]
Wed Feb 14 12:55:26|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "14.155.239.171" "-j" "DROP"]
Wed Feb 14 13:00:51|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "123.117.217.28" "-j" "DROP"]
Wed Feb 14 13:05:28|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "14.155.239.171" "-j" "DROP"]
Wed Feb 14 13:10:53|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "123.117.217.28" "-j" "DROP"]
Wed Feb 14 13:17:05|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "180.212.124.6" "-j" "DROP"]
Wed Feb 14 13:27:08|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "180.212.124.6" "-j" "DROP"]
Wed Feb 14 14:37:36|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "223.104.65.19" "-j" "DROP"]
Wed Feb 14 14:47:38|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "223.104.65.19" "-j" "DROP"]
Wed Feb 14 14:52:29|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "220.248.183.238" "-j" "DROP"]
Wed Feb 14 15:02:33|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "220.248.183.238" "-j" "DROP"]
Wed Feb 14 15:09:49|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "117.136.2.138" "-j" "DROP"]
Wed Feb 14 15:19:53|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "117.136.2.138" "-j" "DROP"]
Wed Feb 14 15:29:38|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "202.170.60.244" "-j" "DROP"]
Wed Feb 14 15:39:43|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "202.170.60.244" "-j" "DROP"]
Wed Feb 14 15:39:58|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "202.170.60.244" "-j" "DROP"]
Wed Feb 14 15:50:03|now create process ["/sbin/iptables" "-D" "INPUT" "-s" "202.170.60.244" "-j" "DROP"]
Wed Feb 14 15:50:23|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "202.170.60.244" "-j" "DROP"]
Wed Feb 14 15:53:40|now create process ["/sbin/iptables" "-I" "INPUT" "-s" "183.198.29.117" "-j" "DROP"]
页: [1]
查看完整版本: kangle 启动日志server.log查看进程启动日志运行的方法、打开文件大小限制、监听端口、flush、block、unblock ip黑名单运行cmd