home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / n / bind / bind-4.001 / bind-4~ / bind-4.9.3-BETA9 / conf / Info.SunSecurity < prev    next >
Internet Message Format  |  1993-10-12  |  2KB

  1. Return-Path: bryan@notorious.rs.itd.umich.edu
  2. Received: by gw.home.vix.com; id AA16267; Tue, 12 Oct 93 12:38:33 -0700
  3. Received: from notorious.rs.itd.umich.edu by notorious.rs.itd.umich.edu (5.67/2.25)
  4.     with SMTP id AA08439; Tue, 12 Oct 93 15:38:31 -0400
  5. Message-Id: <9310121938.AA08439@notorious.rs.itd.umich.edu>
  6. To: ken@uunet.uu.net (Ken Dahl)
  7. Cc: Paul A Vixie <paul>
  8. From: Bryan Beecher <bryan@umich.edu>
  9. Subject: bind 4.9.2 question 
  10. Date: Tue, 12 Oct 93 15:38:30 -0400
  11. Sender: bryan@notorious.rs.itd.umich.edu
  12.  
  13. >     I was rebuilding libc.so on our suns to include the bind 4.9.2
  14. > code, and wanted to disable the SUNSECURITY.  However, I noticed that in
  15. > conf/options.h where it forces SUNSECURITY to be defined on suns, it
  16. > claims that it is "mandatory on suns and rlogin etc. depend on this".
  17. > We've disabled this is previous versions of the bind code without
  18. > noticable problems.  What are the implications of disabling SUNSECURITY
  19. > on suns?
  20.  
  21. The C library shipped with SunOS 4.1.3 (and perhaps earlier and later
  22. versions) has some added "security code" inside of gethostbyaddr().  This
  23. code consists of doing a gethostbyname() on the result of a
  24. gethostbyaddr(), and then checking to see if one of the addresses returned
  25. by gethostbyname() matches the original argument to gethostbyaddr().  In
  26. other words, it checks to see that a host has both a PTR record, and a
  27. matching A record.
  28.  
  29. If you remove the Sun-supplied gethostbyaddr(), and replace it with the one
  30. provided by BIND 4.9.2, and you want the same behavior, then I believe the
  31. SUNSECURITY #ifdef is necessary.  If you want a less "fussy"
  32. gethostbyaddr(), then leaving it out is OK.
  33.                     -- bryan
  34.