1 頁 (共 1 頁)

[分享]APACHE的安全性及黑名單設定

發表於 : 2002-03-24 22:46
akimasa

查看你的logs檔,如有像這些記錄

代碼: 選擇全部

[Sun Mar 24 09:59:46 2002] [error] [client 61.222.150.198] File does not exist:
d:/apache/html/scripts/root.exe
[Sun Mar 24 09:59:47 2002] [error] [client 61.222.150.198] File does not exist:
d:/apache/html/c/winnt/system32/cmd.exe
[Sun Mar 24 09:59:48 2002] [error] [client 61.222.150.198] File does not exist:
d:/apache/html/_mem_bin/..%5c/..%5c/..%5c/winnt/system32/cmd.exe
可能有人想入侵你的機器,不論成功與否,可在APACGE裡設定不受歡迎的黑名單,設定方式請見:
http://os2er.org/phpBB/viewtopic.php?to ... forum=10&0
你也可以把一些想對你機器做不法、不當存取的人,隔離開來。

發表於 : 2002-03-24 22:52
輕狂
AKIMASA﹐
這樣很費力喔.....而且有些其實只是給當跳板的冤大頭...

發表於 : 2002-03-24 23:16
akimasa
不過,至少可以擋下一些人,今天早上我發現來自SEEDNET的某個IP,對我的APACHE像是要做癱瘓的動作,還是在測試我機器的能耐,用了幾十個連結進來,像是在做MIRROR的動作,把整個頻寬都占掉了,如發現這種行為,可以馬上將這使用者排除在外。

發表於 : 2002-03-24 23:20
HeartIcy
hoho 真的夠可怕的 =)

發表於 : 2002-03-25 02:49
hello111
akimasa大大~
我查看我的apache的logs時,發現我有上千行這段錯誤訊息,是不是我哪的設定錯了呢?
請問要如何修正??

代碼: 選擇全部

Character set '#1' is not a compiled character set and is not specified in the 'c:\mysql\\\share\charsets\Index' file
File 'c:\mysql\\\share\charsets\?.conf' not found (Errcode: 2)

Character set '#1' is not a compiled character set and is not specified in the 'c:\mysql\\\share\charsets\Index' file
File 'c:\mysql\\\share\charsets\?.conf' not found (Errcode: 2)

Character set '#1' is not a compiled character set and is not specified in the 'c:\mysql\\\share\charsets\Index' file
File 'c:\mysql\\\share\charsets\?.conf' not found (Errcode: 2)

Character set '#1' is not a compiled character set and is not specified in the 'c:\mysql\\\share\charsets\Index' file
File 'c:\mysql\\\share\charsets\?.conf' not found (Errcode: 2)
 

發表於 : 2002-03-25 20:15
akimasa
charsets?會不會你的APACHE的httpd.conf檔裡,沒有BIG-5這個charsets設定?
AddLanguage zh-tw .tw
AddLanguage tw .tw
AddCharset Big5 .Big5 .big5
LanguagePriority en da ....... tw
你這幾行加上去再試試吧!

發表於 : 2002-03-25 23:01
輕狂
這個Apache 關於big-5原本的httpd.conf 裡面不就已經有加了嗎?
還是不同平台就不一樣??

發表於 : 2002-03-26 12:08
hello111

代碼: 選擇全部

File 'c:\mysql\\\share\charsets\?.conf' not found (Errcode: 2) 
最主要的原因是'c:\mysql\\\share\charsets...多了2條 .

我不知要去哪改..傷腦筋ㄚ...

發表於 : 2002-03-26 12:30
akimasa
這win平台的與我用的不太相同,我也不知要改那裡,就像我遇到的,在admin管理畫面,會多出個\admin這目錄一樣。 :(

發表於 : 2002-03-26 18:22
hello111
真的好頭痛唷....一直找不出問題所在...@@"

發表於 : 2002-03-26 22:34
ming0407
是網頁嗎???
在Windows下,使用搜尋的功能試著找網頁原始資料看看有沒有上述的字串。我想應該是網頁之中的筆誤吧

發表於 : 2002-03-27 02:55
akimasa
輕狂 寫:AKIMASA﹐
這樣很費力喔.....而且有些其實只是給當跳板的冤大頭...
http://twnic.net.tw 用IP去查尋WHOIS,可找出誰是這IP的主人,如果是固定IP的,都可找到主人是誰,姓名、電話、地址都有,再來就看要如何跟這位仁兄問候一下了。
另外我覺得這些對web server所做的不當存取,有可能是電腦中毒,自動發出的命令,因為頻率太高了,找到這些ip所有者,有些還是公司、行號申請,應不會這麼白目。

發表於 : 2002-03-28 01:03
akimasa
這些錯誤訊息的產生是因為病毒引起的,用windows系統的人,可得注意一下了,請看這裡的詳細說明及解決之道:
http://phorum.study-area.org/viewtopic. ... forum=13&2

發表於 : 2002-04-01 00:23
ericfang
多謝提供資訊擋掉不歡迎的人物

發表於 : 2002-04-01 00:33
edwardz
相當實用的教學!推~~~