FreeBSD‎ > ‎

FreeBSD DHCP Server

Internet Systems Consortium (ISC) DHCP Server
http://www.isc.org/software/dhcp

cd /usr/ports/net/isc-dhcp41-server
make install

Dialog box appears:
options for isc-dhcp41-server 4.1.1.p1,1
[X] DHCP_PARANOIA Enable support for chroot

Configuration: /usr/local/etc/dhcpd.conf

****  This port installs dhcp daemon, but doesn't invoke dhcpd by default. If
      you want to invoke dhcpd at startup, put these lines into /etc/rc.conf.

            dhcpd_enable="YES"                          # dhcpd enabled?
            dhcpd_flags="-q"                            # command option(s)
            dhcpd_conf="/usr/local/etc/dhcpd.conf"      # configuration file
            dhcpd_ifaces=""                             # ethernet interface(s)
            dhcpd_withumask="022"                       # file creation mask

****  If compiled with paranoia support (the default), the following lines
      are also supported:

            dhcpd_chuser_enable="YES"           # runs w/o privileges?
            dhcpd_withuser="dhcpd"              # user name to run as
            dhcpd_withgroup="dhcpd"             # group name to run as
            dhcpd_chroot_enable="YES"           # runs chrooted?
            dhcpd_devfs_enable="YES"            # use devfs if available?
            dhcpd_rootdir="/var/db/dhcpd"       # directory to run in
            dhcpd_includedir="<some_dir>"       # directory with config-
                                                  files to include

****  WARNING: never edit the chrooted or jailed dhcpd.conf file but
      /usr/local/etc/dhcpd.conf instead which is always copied where
      needed upon startup.

****  WARNING: /usr/local/etc/rc.isc-dhcpd.conf is obsolete. rc.conf like
      variables are no longer read from there. Also, the dhcpd_options
      variable is obsolete. Use dhcpd_flags instead.

===> Installing rc.d startup script(s)
===>   Compressing manual pages for isc-dhcp41-server-4.1.1.p1,1
===>   Registering installation for isc-dhcp41-server-4.1.1.p1,1
===> SECURITY REPORT:
      This port has installed the following files which may act as network
      servers and may therefore pose a remote security risk to the system.
/usr/local/sbin/dhcpd
/usr/local/bin/omshell

      This port has installed the following startup scripts which may cause
      these network services to be started at boot time.
/usr/local/etc/rc.d/isc-dhcpd

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage:
http://www.isc.org/products/DHCP/

Comments