這次的紀錄比較像是debug

 

就只是要重編舊的工具

 

snortalog 是一個很舊的snort分析工具
http://jeremy.chartier.free.fr/snortalog/requirements.html

 

但是他的載點都掛了(就知道多舊了)

 

新找到的載點:
http://125.160.17.21/speedyorari/index.php?dir=snort/gui-analyzer/snortalog

 

指令用法:
http://jeremy.chartier.free.fr/snortalog/usage.html
 
所以.........................很多困難="=



1. linux遠端登不進去的問題(這比較天外飛來一筆的錯誤)
ssh_exchange_identification: Connection closed by remote host

解決:

http://www.bestlong.idv.tw/thread-723-1-1.html 

a. 把 /var/log/secure 日誌檔中的認證失敗紀錄給清理掉

b. 在 /etc/hosts.allow 中加入IP


2. dos2unix 轉換(格式轉換)

用法:
http://solecjj.blogbus.com/logs/19425369.html


3. 解壓縮指令:P(哈哈  就會忘嘛)

鳥哥web:
http://linux.vbird.org/linux_basic/0240tarcompress.php#pack

a. .tar.gz 檔案
# tar -zxvf 檔案.tar.gz
-z for .gz檔用的 
-f 後加要解壓的檔案  

 
b. .rpm 檔案
# rpm -ivh 檔案.rpm


4.編譯問題
error: too few arguments to function 'exit'

解決:
http://bbs.chinaunix.net/thread-1264203-1-1.html
 
打開程式,把exit()改成exit(0) 就好


5. 編譯問題
cc1: error: unrecognized command line option "-fwritable-strings"

解決:
http://blog.sina.com.cn/s/blog_8eba0c2a010193kn.html

a. 換回舊版的gcc  或是

b. 把程式裡面的 fwritable-strings 刪除
指令先找出哪幾行
# find . -name "Makefile"|xargs grep -n "fwritable-strings"
然後再一個一個改囉


6. perl更新錯誤問題
米先生解決:
http://carywu.blog.51cto.com/13185/156197/
 



 

創作者介紹
創作者 daisuki's Box 的頭像
Hui

daisuki's Box

Hui 發表在 痞客邦 留言(0) 人氣( 58 )