LinuxSecurity.com
Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Welcome!
Sign up!
EnGarde Community
Login
Polls
What is the most important Linux security technology?
 
Advisories
Community
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
SELinux
White Papers
Featured Blogs
All About Linux
DanWalsh LiveJournal
Securitydistro
Latest Newsletters
Linux Security Week: April 21st, 2014
Linux Security Week: April 7th, 2014
Subscribe
LinuxSecurity Newsletters
E-mail:
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

  
NetBSD: BIND Followup on negative cache poisoning vulernability Print E-mail
User Rating:      How can I rate this item?
Posted by LinuxSecurity.com Team   
NetBSD The following excerpts show that include/arpa/inet.h must beupdated from rev 1.12 that ships with 1.6.1 to rev 1.12.2.1 which is thecurrent candidate for 1.6.2.

Hi all,

	A few days ago I performed the update described in SA 2003-018 for
upgrading from source. I run 1.6.1 on an i386. My system is stock 1.6.1, I
do not use -current.

	I ran into trouble and found a solution and I want to share this
with the community so the advisory or myself can be corrected, as
appropriate.

	The following excerpts show that include/arpa/inet.h must be
updated from rev 1.12 that ships with 1.6.1 to rev 1.12.2.1 which is the
current candidate for 1.6.2.

	Thanks all,
- John
netbsd3@frear.com>

$ # I've already performed the "cd" and "cvs update" commands from the SA.
$ # I've also already done "make USETOOLS=no cleandir dependall" which failed
$ cd usr.sbin/bind
$ pwd
/usr/src/usr.sbin/bind
$ make USETOOLS=no dependall
dependall ===> named-bootconf
dependall ===> reload
dependall ===> restart
dependall ===> lib
cc -O2   -Werror  -I/usr/src/sys/src/usr.sbin/bind/lib/obj -I/usr/src/sys/src/usr.sbin/bind/lib/obj -I/usr/src/sys/src/usr.sbin/bind/lib/../../../dist/bind/include -I/usr/src/sys/src/usr.sbin/bind/lib/../../../dist/bind/lib/dst -DHMAC_MD5 -DUSE_MD5   -c /usr/src/sys/src/usr.sbin/bind/lib/../../../dist/bind/lib/inet/inet_lnaof.c
/usr/src/sys/src/usr.sbin/bind/lib/../../../dist/bind/lib/inet/inet_lnaof.c:55: conflicting types for `inet_lnaof' /usr/include/arpa/inet.h:85: previous declaration of `inet_lnaof'
*** Error code 1
Stop.

$ head -2 /usr/include/arpa/inet.h
/*      $NetBSD: inet.h,v 1.12 2002/05/14 18:57:31 kleink Exp $ */

$ cd /usr/src
$ export CVS_RSH=ssh
$ cvs update -d -P -r netbsd-1-6 include/arpa/inet.h
P include/arpa/inet.h

$ su
# # The next two lines are installing this thing incorrectly due to laziness.
# cp include/arpa/inet.h /usr/include/arpa/
# chmod 444 /usr/include/arpa/inet.h

# exit
$ pwd
/usr/src/usr.sbin/bind
$ make USETOOLS=no cleandir dependall > /dev/null 2>&1 ; echo Return code was $?
Return code was 0
$ # At this point a "make USETOOLS=no install" works just fine.

 
< Prev   Next >
    
Partner

 

Latest Features
Peter Smith Releases Linux Network Security Online
Securing a Linux Web Server
Password guessing with Medusa 2.0
Password guessing as an attack vector
Squid and Digest Authentication
Squid and Basic Authentication
Demystifying the Chinese Hacking Industry: Earning 6 Million a Night
Free Online security course (LearnSIA) - A Call for Help
What You Need to Know About Linux Rootkits
Review: A Practical Guide to Fedora and Red Hat Enterprise Linux - Fifth Edition
Yesterday's Edition
Partner Sponsor

Community | HOWTOs | Blogs | Features | Book Reviews | Networking
 Security Projects |  Latest News |  Newsletters |  SELinux |  Privacy |  Home
 Hardening |   About Us |   Advertise |   Legal Notice |   RSS |   Guardian Digital
(c)Copyright 2014 Guardian Digital, Inc. All rights reserved.