The license of ocserv is GPLv2+. See COPYING for the license terms. Some individual code may be covered under other (compatible with GPLv2) licenses. For the CCAN components see src/ccan/licenses/ In gnulib (see gl/) only LGPLv2 components are used, and libopts is used under the simplified BSD license (libopts/COPYING.mbsd).