Fetching Kea Sources
  • 13 Aug 2021
  • 3 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Fetching Kea Sources

  • Dark
    Light
  • PDF

Article Summary

The Kea DHCP server is available in source format from the ISC FTP site and via git.

Retrieving and building Kea from Source Code

Using FTP

The ISC FTP site has tar files in the directory /pub/kea. Note that the FTP site is also available over https at the same address for access via a web browser:

$ ftp ftp.isc.org
Trying 149.20.1.49:21 ...
Connected to ftp.isc.org.
220 Welcome to ftp.isc.org.
Name (ftp.isc.org:aclegg): anonymous
331 Please specify the password.
Password: 
230-
230-You have reached ISC's FTP SERVER (ftp.isc.org)
[...]
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd isc/kea
250 Directory successfully changed.
ftp> dir
229 Entering Extended Passive Mode (|||43587|)
150 Here comes the directory listing.
drwxr-xr-x    4 ftp      ftp           512 Jan 28  2015 0.9
drwxr-xr-x    3 ftp      ftp           512 Aug 13  2014 0.9-beta1
drwxr-xr-x    3 ftp      ftp           512 Mar 31  2015 0.9.1
drwxr-xr-x    2 ftp      ftp           512 Feb 18  2015 0.9.1-beta
drwxr-xr-x    3 ftp      ftp           512 Jul 28  2015 0.9.2
drwxr-xr-x    3 ftp      ftp           512 Dec 22  2015 0.9.2-P1
drwxr-xr-x    3 ftp      ftp           512 Jun 30  2015 0.9.2-beta
drwxr-xr-x    3 ftp      ftp           512 Dec 29  2015 1.0.0
drwxr-xr-x    3 ftp      ftp           512 Dec 08  2015 1.0.0-beta
drwxr-xr-x    3 ftp      ftp           512 Dec 22  2015 1.0.0-beta2
drwxr-xr-x    3 ftp      ftp           512 Sep 30  2016 1.1.0
drwxr-xr-x    3 ftp      ftp           512 Aug 31  2016 1.1.0-beta
drwxr-xr-x    3 ftp      ftp           512 May 09  2017 1.2.0
drwxr-xr-x    3 ftp      ftp           512 Apr 07  2017 1.2.0-beta
drwxr-xr-x    3 ftp      ftp           512 Oct 27  2017 1.3.0
drwxr-xr-x    3 ftp      ftp           512 Sep 29  2017 1.3.0-beta
drwxr-xr-x    3 ftp      ftp           512 Jun 15 15:04 1.4.0
drwxr-xr-x    2 ftp      ftp           512 Jul 11 21:47 1.4.0-P1
drwxr-xr-x    3 ftp      ftp           512 May 18 15:58 1.4.0-beta
drwxr-xr-x    3 ftp      ftp           512 Dec 19  2014 20141219
drwxr-xr-x    3 ftp      ftp           512 Dec 24  2014 20141223
drwxr-xr-x    3 ftp      ftp           512 Jan 31  2017 20170131
drwxrwx--x   21 ftp      ftp          1024 Jul 03 23:12 private
226 Directory send OK.
ftp>  cd 1.4.0-P1
250 Directory successfully changed.
ftp> dir
229 Entering Extended Passive Mode (|||54139|)
150 Here comes the directory listing.
-rw-r--r--    1 ftp      ftp          1436 Jul 11 21:47 Kea140P1ReleaseNotes.txt
-rw-r--r--    1 ftp      ftp       6645111 Jul 11 21:47 kea-1.4.0-P1.tar.gz
-rw-r--r--    1 ftp      ftp           873 Jul 11 21:47 kea-1.4.0-P1.tar.gz.asc
-rw-r--r--    1 ftp      ftp           873 Jul 11 21:47 kea-1.4.0-P1.tar.gz.sha1.asc
-rw-r--r--    1 ftp      ftp           873 Jul 11 21:47 kea-1.4.0-P1.tar.gz.sha256.asc
-rw-r--r--    1 ftp      ftp           873 Jul 11 21:47 kea-1.4.0-P1.tar.gz.sha512.asc
-rw-r--r--    1 ftp      ftp           896 Jul 11 21:47 kea-guide.css
-rw-r--r--    1 ftp      ftp       1087372 Jul 11 21:47 kea-guide.html
-rw-r--r--    1 ftp      ftp       1146571 Jul 11 21:47 kea-guide.pdf
-rw-r--r--    1 ftp      ftp        888993 Jul 11 21:47 kea-guide.txt
-rw-r--r--    1 ftp      ftp          9978 Jul 11 21:47 kea-logo-100x70.png
-rw-r--r--    1 ftp      ftp        385974 Jul 11 21:47 kea-messages.html
-rw-r--r--    1 ftp      ftp        285967 Jul 11 21:47 kea-messages.pdf
226 Directory send OK.
ftp> type image
200 Switching to Binary mode.
ftp> get kea-1.4.0-P1.tar.gz
local: kea-1.4.0-P1.tar.gz remote: kea-1.4.0-P1.tar.gz
229 Entering Extended Passive Mode (|||5026|)
150 Opening BINARY mode data connection for kea-1.4.0-P1.tar.gz (6645111 bytes).
100% |*******...******|  6489 KiB  974.83 KiB/s    00:00 ETA
226 Transfer complete.
6645111 bytes received in 00:06 (961.51 KiB/s)
ftp> quit
221 Goodbye.
$ tar xfz kea-1.4.0-P1.tar.gz 
$ cd kea-1.4.0-P1
$ ls
AUTHORS		Makefile.am	compatcheck	config.h.in	depcomp		install-sh	py-compile
COPYING		Makefile.in	compile		config.sub	dns++.pc.in	ltmain.sh	src
ChangeLog	README		config.guess	configure	doc		m4macros	tools
INSTALL		aclocal.m4	config.h	configure.ac	ext		missing		ylwrap
$ 

Using git

$ git clone https://gitlab.isc.org/isc-projects/kea.git
Cloning into 'kea'...
remote: Enumerating objects: 239988, done.
remote: Counting objects: 100% (239988/239988), done.
remote: Compressing objects: 100% (41779/41779), done.
remote: Total 239988 (delta 197756), reused 239728 (delta 197559)
Receiving objects: 100% (239988/239988), 49.97 MiB | 4.56 MiB/s, done.
Resolving deltas: 100% (197756/197756), done.
$ ls
kea
$ cd kea
$ ls
AUTHORS			INSTALL			compatcheck		doc			kea_version.h.in	tools
COPYING			Makefile.am		configure.ac		examples		m4macros
ChangeLog		README			dns++.pc.in		ext			src

At this point, you will have retrieved either the release (ftp/https) or the most recent (git) version of Kea.

Building Kea

Building Kea from source code is documented in the Kea Administrator Reference Manual, Chapter 3.

Notes on building Kea on specific platforms can be found here:

Debian
Ubuntu