超強的JavaScript
作者:cross 日期:2007-02-08 00:17
Windows Service應用 + BIND
作者:cross 日期:2007-02-03 12:45
參考使用 Service方式啟動撥接 ADSL
http://ssorc.tw/rewrite.php/read-79.html
也用來啟動 BIND-win32
但產生一問題,就是 BIND-win32竟比 ADSL還早啟動,此時對外 IP就沒有 Listen到 53 Port了
解決方式(想法)
- 增加net restart "NAMED_up"指令放在開始 -> 啟動裡。
sleep 30
net stop "NAMED_up"
net start "NAMED_up"
不太理想:(
系統會停住等這個指令跑完,放棄
我想直接用 "ISC BIND"服務名稱來啟動就好了,多此一舉 - -"
會有上面的想法,是因為一開始"ISC BIND"服務啟動一直失敗,以為這不能用,原來還是設定檔是沒設好才導致的,
後來搞清楚了,不過就算是用"ISC BIND"來啟動,還是會 bind啟動的比 ADSL快,
還是要在啟動地方放上上面的 CMD
END
apache 的 ab 指令作壓力測試
作者:cross 日期:2007-01-31 11:56
Apache HTTP server benchmarking tool
20個連線,3次同時連線
ab -n 20 -c 3 http://tw.yahoo.com/
結果
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 1997-2005 The Apache Software Foundation, http://www.apache.org/Benchmarking tw.yahoo.com (be patient).....done
Server Software:
Server Hostname: tw.yahoo.com
Server Port: 80Document Path: /
vmware-server
作者:cross 日期:2007-01-30 17:52
Linux平台
套件- VMware-server-1.0.1-29996.tar.gz
- VMware-mui-1.0.1-29996.tar.gz (管理介面 web management interface)
- VMware-server-linux-client-1.0.1-29996.zip中的 VMware-server-console-1.0.1-29996.tar.gz (管理 console)
到官網http://register.vmware.com/content/registration.html
註冊得到免費的 Key
messages訊息
作者:cross 日期:2007-01-25 22:17
ref: https://twiki.cern.ch/twiki/bin/view/FIOgroup/DiskPrbSmartsmartd[2689]: Device: /dev/hda, FAILED SMART self-check. BACK UP DATA NOW!
This message can appear if the self tests are aborted manually in order to clear out the error log. If this is true, run a series of short tests to clear the 20 error log history. If this is not the case, the disk is failing and should be immediately replaced through DiskWinVendorCall
NET: N messages suppressed
Quote: http://kano.cc163.net/wmps/consolemsg.htm
服務器忽略了 N 個數据包.和上一條提示類似.服務器收到的數据包被認為是無用的垃圾數据數据. 這類數据多是由攻擊類的程序產生的.
這條提示如果 N 比較小的時候可以忽略.但如果經常或是長時間出現3位數据以上的這類提示.就很有可能是服務器受到了垃圾數据類的帶寬攻擊了.
藍光DVD
作者:cross 日期:2007-01-25 21:29
DVD光碟片比較表:
分類 | 傳統DVD | Bluray Disk (BD) | HD DVD |
燒錄技術 | 紅光 | 藍光 | 藍光 |
雷射波長 | 650nm | 405nm | 405nm |
支援解析度 | 480p(NTS) / 576p(PAL) | 720p, 1080i, 1080p | 720p, 1080i ,1080p |
容量 | 4.7GB (單層) 8.5GB (雙層) | 25GB (單層) 50GB (雙層) 100GB(雙面雙層) | 15GB (單層) 30GB (雙層) 45GB (單面雙層) |
| 互動選單 | Java | iHD |
診斷電腦是否符合Blu-ray或HD DVD光碟格式播放的硬體需求
http://tw.cyberlink.com/twn/press_room/view_1169.html
Snort-Inline 更新
作者:cross 日期:2007-01-24 11:37
官網已更新到 snort_Inline-2.6.1.2-BETA1 (2007-01-22 19:17)
http://nchc.dl.sourceforge.net/sourceforge/snort-inline/snort_inline-2.6.1.2-BETA1.tar.gz
Q: Not Using PCAP_FRAMES
A: export PCAP_FRAMES=max
ref: http://www.snort.org/docs/snort_htmanuals/htmanual_2.4/rc1/node27.html




