|
ipcfg 回復于:2005-05-13 15:24:53
|
開始的時候我也遇到了這個問題,安裝正常,就是不顯示,察看mysql數據庫,也沒有內容,說明snort就沒有記錄,診斷是現在shell下試一試,看有沒有問題,snort -c /etc/snort/snort.conf 看看報什么錯誤,照著錯誤修正就可以了,我的膽識報的事少一個文件,拷貝過去就可以了,有的文件可能要從低版本中找
|
haoyufu 回復于:2005-05-15 19:27:09
|
是呀我這個也缺少一個文件
樓主是哪個文件呀
snort-2.0.0 or snort-2.3.3它兩差哪個文件呀
snort: error while loading shared libraries: libmysqlclient.so.14: cannot open sh
ared object file: No such file or directory
|
haoyufu 回復于:2005-05-15 19:32:33
|
是把哪個文件拷貝到哪個位置呀
請給下指點
謝謝兄弟
|
ipcfg 回復于:2005-05-16 13:10:11
|
你的問題好像是mysql的問題,你看看你的snort.conf是不是指定的有問題
|
haoyufu 回復于:2005-05-16 22:43:49
|
沒有問題呀
樓主急死了
都快一周了
|
haoyufu 回復于:2005-05-17 10:09:53
|
我現在點sc這個文件夾顯示如下:
Error loading the DB Abstraction library: from
"/usr/local/apache/htodcs/adodb/adodb.inc.php"
Check the DB abstraction library variable $DBlib_path in acid_conf.php
The underlying database library currently used is ADODB, that can be downloaded at
http://php.weblogs.com/adodb
我點acid的話顯示的是正常頁面
不過用nmap 掃描的話什么反應也沒有....郁悶中........
等帶高手解決
|
yqzzcj 回復于:2005-05-18 09:39:26
|
樓主 我安您所寫安裝完成了入侵系統檢測 snort能獲得數據 log日志中有記錄, 但是snort 并沒有把數據寫入 mysql
真不知啥辦
請各位指教 !
|
haoyufu 回復于:2005-05-19 08:52:24
|
這個帖子高手呢
我問了好多問題
怎么沒人回答呀
這里有配置成功的嗎
haoyufu@ioz.ac.cn
|
yameng 回復于:2005-05-19 09:38:41
|
good!!
|
ipcfg 回復于:2005-05-24 13:31:05
|
我是在vmware上安裝的,參照文檔:
http://www.antpower.org/Folder_AntTopic/AntFolder_Network_Security/AntFolder_IDSIPS/Folder_TechArticle/AntFile.2004-08-14.1458/view
英文的很詳細,從linux 9.0 的安裝開始講起,
|
司令lovelinux 回復于:2005-05-25 16:03:34
|
我的snortcenter 配置完了,怎么顯示:
Error - Access denied for 192.168.10.99?
|
squall1 回復于:2005-05-26 16:58:32
|
刪除Mysql空帳號
# mysql -uroot -p123456
# use mysql;
# delete from user where user="";
# delete from db where user="";
# exit
|
zhulinping 回復于:2005-05-27 10:27:21
|
我使用這個規則的時候提示錯誤:
ERROR:unknown preprocessor "http_decode"
Fatal Error,Quitting..
snort -d -h 192.168.0.0/24 -l /var/log/snort -c /etc/snort/snort.conf -i eth0 -A full
|
蒙哥 回復于:2005-06-06 15:37:17
|
我這里的錯誤是這樣的:apache 啟動后,進入http://192.168.0.4/acid/acid_main.php
結果只顯示
Analysis Console for Intrusion Databases
這幾個字,其他一片空白,不知怎么回事,請指教。
|
haoyufu 回復于:2005-06-07 11:00:15
|
我的問題都n個月了
到現在還沒解決
就是nmap 10.0.2.30
打開http://10.0.2.30/acid/acid_main.php
里面什么反映也沒有
不象樓主說的那樣
|
我愛臭豆腐 回復于:2005-06-07 13:17:06
|
如果是記錄的訪問量大的話一般的機器就不行了.需要很長時間才能夠統計出來.而且snort的rules 也開始收費了.一好的ids的rules和速度也是很關鍵的.
|
oflyhigh 回復于:2005-06-09 14:52:00
|
在WINDOWS下試驗了一下
成功了
|
guitarbug 回復于:2005-06-17 17:45:29
|
在windows環境下,
zcat snortdb-extra.gz | /usr/local/mysql/bin/mysql -p123456 snort
這個怎么執行?
我用phpmyadmin導入,不成功? :?:
請指點~
|
wangf51 回復于:2005-07-28 22:47:08
|
我在win32模式下一直不行的阿,怎么辦,惱了~~~,又沒有相關的群阿,大家交流一下,也互相學習呢?
|
arrlon 回復于:2005-08-03 13:08:27
|
幫忙啊!幫忙啊!!!!!!
打開http://10.0.2.30/acid/acid_main.php
里面什么反映也沒有
不象樓主說的那樣,我的顯示為0%
|
haoyufu 回復于:2005-08-03 15:01:40
|
樓主幫下忙呀
|
fvane 回復于:2005-08-07 11:29:09
|
[quote:956c1f9eca="haoyufu"]我的問題都n個月了
到現在還沒解決
就是nmap 10.0.2.30
打開http://10.0.2.30/acid/acid_main.php
里面什么反映也沒有
不象樓主說的那樣[/quote:956c1f9eca]
樓主比較忙,不知你這個問題解決沒有.
你可以進入MySQL看看數據表里有沒有內容:
SQL>use snort;
SQL>select * from tcphdr;
如果為空的話說明沒有Snort數據寫入到數據庫.
你可以有X-scan掃描你的電腦
|
fvane 回復于:2005-08-07 11:32:44
|
[quote:ae665650f6="haoyufu"]是呀我這個也缺少一個文件
樓主是哪個文件呀
snort-2.0.0 or snort-2.3.3它兩差哪個文件呀
snort: error while loading shared libraries: libmysqlclient.so.14: cannot open sh
ared object file: No such fil..........[/quote:ae665650f6]
這個問題解決方法是從mysql的lib目錄下復制libmysqlclient.so.14到/usr/lib即可.
你可以鍵入ldconfig看看系統lib的目錄在哪里.
輸入updatedb
然后用locate libmysqlclient.so.14找到此文件位置,復制至系統lib目錄.因為snort無法從lib中找到這個文件.
|
haoyufu 回復于:2005-08-07 11:42:53
|
樓上謝謝。我實驗下
希望共同交流
|
fvane 回復于:2005-08-07 11:52:40
|
樓主可能比較忙,因為本人最近也在安裝測試Snort,所以就以上幾個問題逐一回答,樓主看看對不對.
1.如果在acid中看到不數據是因為Snort資料沒有寫入到mysql中.大家可以進入mysql中查詢有沒有數據.
和 mysql -uroot -p123456進入mysql
MYSQL>use snort;
MYSQL>select * from tcphdr;
MYSQL>select * from udphdr;
是否有顯示內容,如沒有表示snort未有數據寫入mysql,檢測配置,如有數據而acid顯示為0,則檢查acid的配置信息.
2.建議大家看一看mysql的正確安裝位置,樓主的mysql安裝是在/usr/local/mysql,如果大家使用 ./configure && make && make install 安裝mysql的話是沒有/usr/local/mysql目錄的,而是在 /usr/local下,所以在編譯 snort時用 --with-mysql=/usr/local
3.我是用snort_acid_rh9.pdf(Snort Install Manual)文件安裝成功的,這個好像是官方文檔,安裝方法說得很詳細(英文).大家可以去搜索此文件,如果沒有可以留下e-mail我傳給你們.
4.Snort數據無法定入mysql主要是因為創建資料庫時的操作問題.我是用以下方法:(我的mysql安裝在/opt/mysql下)
#/opt/apache/share/mysql/mysql.server start
#/opt/apache/bin/mysql -uroot -p123456
MYSQL>SET PASSWORD FOR root@localhost=PASSWORD('123456');
MYSQL>create database snort;
MYSQL>grant INSERT,SELECT on root.* to snort@localhost;
MYSQL>SET PASSWORD FOR snort@localhost=PASSWORD('123456');
MYSQL>grant CREATE,INSERT,SELECT,DELETE,UPDATE on snort.* to snort@localhost;
MYSQL>grant CREATE,INSERT,SELECT,DELETE,UPDATE on snort*. to snort;
MYSQL>exit
記得在安裝snort之前創建snort帳號:
#groupadd snort
#useradd -g snort snort
這樣的話,在樓主的例子里作如下更改:
# $alert_dbname = "snort_log";
$alert_host = "localhost";
$alert_port = "";
$alert_user = "snort"; //改成snort
$alert_password = "123456";
/* Archive DB connection parameters */
$archive_dbname = "snort";
$archive_host = "localhost";
$archive_port = "";
$archive_user = "snort"; //改成snort
$archive_password = "123456";”
呵呵....
|
haoyufu 回復于:2005-08-07 12:17:07
|
樓上寫的不錯
有時間交流
呵呵現在好多寫畢業論文的要這個snort的
我也是在給人家寫
不過得調試成功
|
squall1 回復于:2005-08-09 19:11:29
|
我文筆有些差,有些問題解釋不是很清楚,這里也有一篇SNORT安裝文檔。大家可參考這個。[url]http://www.linuxsir.org/bbs/showthread.php?t=212462[/url]
|
squall1 回復于:2005-08-09 19:33:23
|
[b:b6d08b847a]2005.8.9.使用Stunnel增加MYSQL隧道加密明文會話[/b:b6d08b847a]
SSL協議(安全套接字協議)是為了彌補一些已被廣泛應用的明文協議(如www)的安全缺陷而設計的加密通訊協議,它可以用服務器的安全證書對通訊內容進行加密,以防止黑客中途截聽通訊內容。
加密軟體:Stunnel
官方網站:www.stunnel.org
官方介紹:
Stunnel is a program that allows you to encrypt arbitrary TCP connections inside SSL (Secure Sockets Layer) available on both Unix and Windows. Stunnel can allow you to secure non-SSL aware daemons and protocols (like POP, IMAP, LDAP, etc) by having Stunnel provide the encryption, requiring no changes to the daemon's code. The Stunnel source code is not a complete product -- you still require a functioning SSL library such as OpenSSL or SSLeay in order to compile stunnel. This means that stunnel can support whatever (and only) that which your SSL library can, without making any changes in the Stunnel code.
譯:Stunnel是一個允許你對任意的TCP連接會話進行加密的自由軟體,可以用到Unix和Windows系統上。Stunnel可以允許你通過Stunnel提供的自帶加密功能保護POP, IMAP, LDAP等協議進程,并且不需要改變進程的編碼。Stunnel開源代碼是一個不完整的產品 ——你仍然需要一個類似OpenSSL or SSLeay加密功能的軟體,以便編譯stunnel。這就意味著在沒有改變Stunnel源碼的同時,Stunnel可以支持你能提供的任何SSL二進制軟體。
軟體:①stunnel-4.10.tar.gz
[url]http://www.stunnel.org/download/stunnel/src/stunnel-4.10.tar.gz[/url]
# cp stunnel*.* /usr/local/src/
# tar zxvf stunnel-4.10.tar.gz
# cd stunnel-4.10
# ./configure --prefix=/usr/local/stunnel
# make
# make install(這里會生成證書,具體如圖:)
# cd /usr/local/stunnel/etc/stunnel
# cp stunnel.conf-sample stunnel.conf
# vi stunnel.conf
[code:1:b6d08b847a]cert = /usr/local/stunnel/etc/stunnel/mail.pem [/code:1:b6d08b847a]
# 改成/usr/local/stunnel/etc/stunnel/stunnel.pem
[code:1:b6d08b847a]#client = yes[/code:1:b6d08b847a]
# 去掉前面的#號。
[code:1:b6d08b847a][mysql]
accept = 3307
connect = 127.0.0.1:3306 [/code:1:b6d08b847a]
# 保存退出。
# groupadd stunnel
# useradd stunnel -d /home/stunnel -g stunnel -s /bin/nologin
# chown stunnel:stunnel /usr/local/stunnel/etc/stunnel/stunnel.pem
# mkdir /var/tmp/stunnel
# chown stunnel:stunnel /var/tmp/stunnel
客戶機設置
[code:1:b6d08b847a][mysql]
accept = 127.0.0.1:3306
connect = 服務器IP:3307 [/code:1:b6d08b847a]
主輔機均啟動stunnel,客戶機連接3307端口會自動轉向服務器上的3306端口。
[/code]

|
| 小虎牙 回復于:2005-08-26 12:37:16
| 樓主我有一個問題想請教一下
按你的方法我的snort都有安裝成功所有的界面也都有了
基本上算成功了可是當我用X-can掃描的時候在/var/log/snort就有看到很
多以IP地址的文件夾我想可能這就是我們所要的
但是我用IE http://Ip/acid防問的時候里面還和當初安裝的時候一樣
跟本什么內容也沒有我不知道這是為什么?
我想這個界面是不是就是讀取log里面所記下的內容呢?
為什么我的就沒有顯示呢?
| fyf130 回復于:2005-09-01 10:09:32
| SNORT不一定非得配數據庫,直接記錄到文件中就可以;另外記錄的內容也不一定非用默認的規則,可以配置rules/目錄下的各文件,在文件中可以指定任意的規則,如:alert\log\pass\等;數據源與目的都是可選的!
| zaotingting 回復于:2005-09-12 08:40:27
| C:\mysql\bin>mysql -p < c:\snort\contrib\create_mysql;
Enter password: ******
ERROR 1045: Access denied for user: 'ODBC@localhost' (Using password: YES)
我輸入密碼后就出現錯誤,請問是什么原因啊
| 我愛臭豆腐 回復于:2005-09-12 08:45:58
| 你的用戶名和口令有問題.
| zaotingting 回復于:2005-09-12 09:08:53
| 我現在就是在windows下安裝snort,可是就是不能成功。怎么在mysql里建立snort表???
| zaotingting 回復于:2005-09-12 09:10:31
| 我也是這個問題,不知怎么導入snort表,請問你是否解決了?我的qq:215551479,可否交流一下。
|
|
|
原文轉自:http://www.kjueaiud.com
老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月
|