COSCUP 2008 Day1
Published by Yuan-Chung Hsiao on Aug 24th, 2008 in tags Computer, Google, Network, OpenSource, security
大概兩年沒參加OpenSource社群的活動了。今年因為某些情況只能去COSCUP 2008第一天,第二天沒去就不能拜大神啊啊啊。(只拜到肥睡睡Orz)
Continue Reading »
Yuan-Chung Hsiao’s technical note and murmuring
Published by Yuan-Chung Hsiao on Aug 24th, 2008 in tags Computer, Google, Network, OpenSource, security
大概兩年沒參加OpenSource社群的活動了。今年因為某些情況只能去COSCUP 2008第一天,第二天沒去就不能拜大神啊啊啊。(只拜到肥睡睡Orz)
Continue Reading »
昨天昇級完骨幹後忘記把VPN接回去。沒有意外早上就收到某人的信件說VPN不能用。
實在很想吐槽啊,以前宿網晚上或六日斷線,還不是隔天才會處理。不知道你在急什麼,還是在幫我記錄服務中斷長度,或是服務態度不好呢?…
我實在很想說我是故意測試的。不過當然不能這樣說啦XDDD(校長沒講不能用之前,應該都算好的吧:P)
記錄一下,早上還要上台北。
1.切記要幹掉匪區(*.cn)來的Search spider,最好不用一個小時來個兩三千次啦。
2.做法有.htaccess跟ipfw,星期一有空來加到Router上面直接幹掉好了。
Published by Yuan-Chung Hsiao on Jul 13th, 2007 in tags blog, Network, security
在這邊提到了這篇Almost Perfect htaccess File for WordPress Blogs的文章,主要利用.htaccess來做一些保護:p
1. Protects itself (security)
2. Turns the digital signature off (security)
3. Limits upload size (security)
4. Protects wp-config.php (security)
5. Gives access permission to all visitors with exceptions (security, usability)
6. Specifies custom error documents (usability)
7. Disables directory browsing (security)
8. Redirect old pages to new (optional)
9. Disables image hotlinking (bandwidth)
10. Enables PHP compression (bandwidth)
11. Sets the canonical or “standard” url for your site (seo, usability)
我自已的設定是這樣的,請參考:
# protect the htaccess file
<files .htaccess>
order allow,deny
deny from all
</files>
# protect wpconfig.php
<files wp-config.php>
order allow,deny
deny from all
</files>
# disable directory browsing
Options All -Indexes
Published by Yuan-Chung Hsiao on Jul 13th, 2007 in tags Computer, FreeBSD, Network, OpenSource, security
才剛把FreeBSD 7-CURRENT搞定,又來一發SA。
記得要更新啊:)
FreeBSD-SA-07:05.libarchive