This software is by default licensed under modified BSD license, for details see file LICENSE.BSD. If there's any GPL module enabled, the license is changed to GPLv3. For license details see file LICENSE.GPL3.