I tried the bind patch (http://security.freebsd.org/advisories/FreeBSD-SA-09:12.bind.asc) but it gives errors.
What should i do?
Thanks.
Code:
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:301: error: expected ')' before '*' token
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:311: error: expected ')' before '*' token
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:327: error: expected ')' before '*' token
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:341: error: expected ')' before '*' token
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c: In function 'dispatch_arc4stir':
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:370: error: 'dns_dispatchmgr_t' has no member named 'arc4ctx'
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:377: error: 'dns_dispatchmgr_t' has no member named 'arc4ctx'
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:384: error: 'dns_dispatchmgr_t' has no member named 'arc4ctx'
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c: In function 'dispatch_arc4random':
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:391: error: 'dns_dispatchmgr_t' has no member named 'arc4_lock'
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:392: error: 'dns_dispatchmgr_t' has no member named 'arc4ctx'
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:393: error: 'dns_dispatchmgr_t' has no member named 'arc4ctx'
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:395: error: 'dns_dispatchmgr_t' has no member named 'arc4ctx'
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:396: error: 'dns_dispatchmgr_t' has no member named 'arc4_lock'
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c: At top level:
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:439: error: conflicting types for 'dns_hash'
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:173: error: previous declaration of 'dns_hash' was here
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c: In function 'udp_recv':
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:776: error: too few arguments to function 'dns_hash'
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c: In function 'tcp_recv':
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:1014: error: too few arguments to function 'dns_hash'
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c: In function 'dispatch_createudp':
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:1912: error: 'localaddr_bound' undeclared (first use in this function)
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:1912: error: (Each undeclared identifier is reported only once
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:1912: error: for each function it appears in.)
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:1914: error: 'DNS_DISPATCHATTR_RANDOMPORT' undeclared (first use in this function)
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:1920: error: too many arguments to function 'blacklisted'
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:1921: error: 'k' undeclared (first use in this function)
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:1931: error: 'localport' undeclared (first use in this function)
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:1939: error: too many arguments to function 'blacklisted'
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c: In function 'dns_dispatch_addresponse':
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:2096: error: too few arguments to function 'dns_hash'
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/dispatch.c:2105: error: too few arguments to function 'dns_hash'
*** Error code 1
Stop in /usr/src/lib/bind/dns.
*** Error code 1
Stop in /usr/src/lib/bind.
What should i do?
Thanks.