SA-FreeBSD bind9 漏洞 - BBS
By Kelly
at 2010-01-08T15:54
at 2010-01-08T15:54
Table of Contents
: : 我在上patch 時............在SA 提到步驟
: : 1# cd /usr/src
: : 2# patch < /path/to/patch
: : 3# cd /usr/src/lib/bind
: : 4# make obj && make depend && make && make install
: : 5# cd /usr/src/usr.sbin/named
: : 6# make obj && make depend && make && make install
: : 7# /etc/rc.d/named restart
: : 而我在執行 步驟6 時, 在make 時出現以下錯誤, 我才回過頭去檢查 XD
: : cc -O2 -fno-strict-aliasing -pipe -DVERSION='"9.3.6-P1"' -DHAVE_CONFIG_H -DWANT_IPV6 -DOPENSSL -DUSE_MD5 -DNS_LOCALSTATEDIR='"/var"' -DNS_SYSCONFDIR='"/etc/namedb"' -DNAMED_CONFFILE='"/etc/namedb/named.conf"' -DRNDC_CONFFILE='"/etc/namedb/rndc.conf"' -DRNDC_KEYFILE='"/etc/namedb/rndc.key"' -I/usr/src/usr.sbin/named/../../lib/bind -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/bind9/include -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/dns/include/dst
: : -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/dns/include -I/usr/src/usr.sbin/named/../../lib/bind/dns -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/isccc/include -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/isccfg/include -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/isc/unix/include -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/isc/nothreads/include -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/isc/include -I/usr/src/usr.sbin/named/../../lib/bind/isc
: : -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/lwres/unix/include -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/lwres/include -I/usr/src/usr.sbin/named/../../lib/bind/lwres -I/usr/src/usr.sbin/named/../../contrib/bind9/bin/named/unix/include -I/usr/src/usr.sbin/named/../../contrib/bind9/bin/named/include -I/usr/src/usr.sbin/named/../../lib/bind -U__DATE__ -c /usr/src/usr.sbin/named/../../contrib/bind9/bin/named/query.c
: : <command line>:12:1: warning: undefining "__DATE__"
: : /usr/src/usr.sbin/named/../../contrib/bind9/bin/named/query.c: In function `query_find':
: : /usr/src/usr.sbin/named/../../contrib/bind9/bin/named/query.c:2582: error: `dboptions' undeclared (first use in this function)
: : /usr/src/usr.sbin/named/../../contrib/bind9/bin/named/query.c:2582: error: (Each undeclared identifier is reported only once
: : /usr/src/usr.sbin/named/../../contrib/bind9/bin/named/query.c:2582: error: for each function it appears in.)
: : /usr/src/usr.sbin/named/../../contrib/bind9/bin/named/query.c:2589: error: `tmprdataset' undeclared (first use in this function)
: 你可以試試底下這個方面,我也有相同問題,用下列方式解決了:
1 # cd /usr/src && make update
2 # cd /usr/src/lib/bind && make obj && make depend && make && make install
3 # cd /usr/src/usr.sbin/named && make obj && make depend && make && make install
4 # /etc/rc.d/named restart
不好意思,eric兄,
我透過你的方法, 在您的動作 2 時出現了問題
我猜想是不是因為我的動作 3 & 4 造成 , 那麼...how can i rollback XD
我試了在/usr/src/lib/bind/make clean 再執行您的動作 2
依然產生錯誤
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c: In function 'create_socket':
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:1189: error: too few arguments to function 'isc_socket_bind'
*** Error code 1
Stop in /usr/src/lib/bind/dns.
*** Error code 1
Stop in /usr/src/lib/bind.
請前輩幫忙XD
--
大地 陽光 狗大便
--
: : 1# cd /usr/src
: : 2# patch < /path/to/patch
: : 3# cd /usr/src/lib/bind
: : 4# make obj && make depend && make && make install
: : 5# cd /usr/src/usr.sbin/named
: : 6# make obj && make depend && make && make install
: : 7# /etc/rc.d/named restart
: : 而我在執行 步驟6 時, 在make 時出現以下錯誤, 我才回過頭去檢查 XD
: : cc -O2 -fno-strict-aliasing -pipe -DVERSION='"9.3.6-P1"' -DHAVE_CONFIG_H -DWANT_IPV6 -DOPENSSL -DUSE_MD5 -DNS_LOCALSTATEDIR='"/var"' -DNS_SYSCONFDIR='"/etc/namedb"' -DNAMED_CONFFILE='"/etc/namedb/named.conf"' -DRNDC_CONFFILE='"/etc/namedb/rndc.conf"' -DRNDC_KEYFILE='"/etc/namedb/rndc.key"' -I/usr/src/usr.sbin/named/../../lib/bind -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/bind9/include -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/dns/include/dst
: : -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/dns/include -I/usr/src/usr.sbin/named/../../lib/bind/dns -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/isccc/include -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/isccfg/include -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/isc/unix/include -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/isc/nothreads/include -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/isc/include -I/usr/src/usr.sbin/named/../../lib/bind/isc
: : -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/lwres/unix/include -I/usr/src/usr.sbin/named/../../contrib/bind9/lib/lwres/include -I/usr/src/usr.sbin/named/../../lib/bind/lwres -I/usr/src/usr.sbin/named/../../contrib/bind9/bin/named/unix/include -I/usr/src/usr.sbin/named/../../contrib/bind9/bin/named/include -I/usr/src/usr.sbin/named/../../lib/bind -U__DATE__ -c /usr/src/usr.sbin/named/../../contrib/bind9/bin/named/query.c
: : <command line>:12:1: warning: undefining "__DATE__"
: : /usr/src/usr.sbin/named/../../contrib/bind9/bin/named/query.c: In function `query_find':
: : /usr/src/usr.sbin/named/../../contrib/bind9/bin/named/query.c:2582: error: `dboptions' undeclared (first use in this function)
: : /usr/src/usr.sbin/named/../../contrib/bind9/bin/named/query.c:2582: error: (Each undeclared identifier is reported only once
: : /usr/src/usr.sbin/named/../../contrib/bind9/bin/named/query.c:2582: error: for each function it appears in.)
: : /usr/src/usr.sbin/named/../../contrib/bind9/bin/named/query.c:2589: error: `tmprdataset' undeclared (first use in this function)
: 你可以試試底下這個方面,我也有相同問題,用下列方式解決了:
1 # cd /usr/src && make update
2 # cd /usr/src/lib/bind && make obj && make depend && make && make install
3 # cd /usr/src/usr.sbin/named && make obj && make depend && make && make install
4 # /etc/rc.d/named restart
不好意思,eric兄,
我透過你的方法, 在您的動作 2 時出現了問題
我猜想是不是因為我的動作 3 & 4 造成 , 那麼...how can i rollback XD
我試了在/usr/src/lib/bind/make clean 再執行您的動作 2
依然產生錯誤
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c: In function 'create_socket':
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:1189: error: too few arguments to function 'isc_socket_bind'
*** Error code 1
Stop in /usr/src/lib/bind/dns.
*** Error code 1
Stop in /usr/src/lib/bind.
請前輩幫忙XD
--
大地 陽光 狗大便
--
Tags:
BBS
All Comments
Related Posts
SA-FreeBSD bind9 漏洞
By Zora
at 2010-01-08T08:50
at 2010-01-08T08:50
關於zpool的問題
By Michael
at 2010-01-08T01:00
at 2010-01-08T01:00
SA-FreeBSD bind9 漏洞
By Hedy
at 2010-01-07T18:52
at 2010-01-07T18:52
SA-FreeBSD bind9 漏洞
By Lucy
at 2010-01-07T09:11
at 2010-01-07T09:11
新增磁碟分割
By Andrew
at 2010-01-06T19:12
at 2010-01-06T19:12