Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24487 - A more secure dhcp server.
Summary: A more secure dhcp server.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Max Kalika (RETIRED)
URL: http://68.6.36.243:81/chora/cvs.php/p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-14 16:11 UTC by Max Kalika (RETIRED)
Modified: 2003-08-06 16:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Kalika (RETIRED) gentoo-dev 2003-07-14 16:11:18 UTC
Using the dhcp paranoia patch, 
 
(http://www.episec.com/people/edelkind/patches/dhcp/dhcp-3.0+paranoia.patch) 
 
the dhcp server can be made much more secure by chrooting and dropping root priveleges.  These 
restrictions are optional and only take effect when activated on the command line.  The chroot 
environment is similart to that of bind.  Please take a look at the ebuild on the posted URL (and also 
the modified startup script and its config counterpart). 
 
Other fixes include a cleaned up src_install() procedure, a define for the location of user man 
directory, and other misc things.
Comment 1 solar (RETIRED) gentoo-dev 2003-07-23 16:20:14 UTC
Max,
Very cool addition. We have been kicking around the idea of adding a "chroot" use flag in the hardened herd. This seems like a good candidate to take advantage of the potential flag.. 
perhaps something like "use chroot && pkg_config" could be put in the 
pkg_postinst()
Comment 2 Max Kalika (RETIRED) gentoo-dev 2003-08-04 14:21:48 UTC
(taking this on) 
 
Hi Ned!  Is this something bind currently does?  (use chroot && pkg_config).  
Also I don't see chroot in /usr/portage/use{.local,}.desc.  Is this a planned 
addition? 
Comment 3 solar (RETIRED) gentoo-dev 2003-08-04 15:20:46 UTC
Max, 
No at this point gentoo has no "chroot" use flag. Also bind requires us to post configure it if we wish to have it running in a chrooted enviroment. If this package can make use of one then by all means please be the first to add it. I know if one exists, people will be more motivated to include support for chrooting apps. Another such app that can be chrooted rather easy would be "snmpd"
Comment 4 Max Kalika (RETIRED) gentoo-dev 2003-08-06 16:37:38 UTC
This is in portage now.