The strongswan IPsec implementation with plugins/modifications to enable its use as ePDG for VoWiFi in the 3GPP EPC (Evolved Packet Core) https://osmocom.org/projects/osmo-epdg/wiki
Go to file
Oliver Smith c50b88d442 debian/rules: hardcode systemdsystemunitdir
Without this patch, the build fails for debian unstable and ubuntu
24.04:

Debian 12 and 11:
  checking for systemd system unit directory... /lib/systemd/system

Debian unstable:
  checking for systemd system unit directory... configure: error: not found (try --with-systemdsystemunitdir)
  => aborts in configure

Ubuntu 24.04:
  systemd system unit directory... /usr/lib/systemd/system
  => fails later on because /lib/systemd/system is hardcoded in
     strongswan-starter.links:
  dh_install: warning: Cannot find (any matches for) "lib/systemd/system/strongswan-starter.service" (tried in ., debian/tmp)

Set the dir to /lib/systemd/system so the build passes. Since /lib is a
symlink to /usr/lib, both work the same.
2024-07-18 09:51:07 +02:00
.github github: Make LGTM project ID configurable via environment variable 2021-05-05 18:09:44 +02:00
.lgtm/cpp-queries lgtm: Add query to detect problematic uses of chunk_from_chars() 2020-01-27 18:31:09 +01:00
conf openssl: Make fips_mode option work with OpenSSL 3 2024-07-04 20:31:49 +02:00
debian debian/rules: hardcode systemdsystemunitdir 2024-07-18 09:51:07 +02:00
doc/standards doc: Remove obsolete architecture description and empty known bugs list 2014-06-30 13:16:17 +02:00
fuzz fuzz: Add fuzzer for identification_t 2019-09-30 10:10:43 +02:00
init init: Remove obsolete StandardOutput setting from legacy systemd unit 2020-09-30 12:51:08 +02:00
m4 configure: Add an option to enable all optional features/plugins 2014-03-20 15:29:27 +01:00
man man: Correct typo in description of closeaction 2019-10-29 10:50:49 +01:00
osmo-epdg add documentation 2023-03-23 15:08:29 +01:00
scripts testing: Build wolfSSL from the Git repository 2021-06-22 17:54:15 +02:00
src openssl: Log loaded providers 2024-07-04 20:31:57 +02:00
testing Version bump to 5.9.3 2021-07-06 14:00:39 +02:00
.appveyor.yml appveyor: Set timezone on the build system 2021-02-11 16:40:58 +01:00
.cirrus.yml cirrus: Use FreeBSD 12.2 2021-02-16 08:56:43 +01:00
.codecov.yml travis: Create coverage report via codecov.io 2017-03-15 10:19:02 +01:00
.editorconfig Add an .editorconfig file 2019-08-22 15:18:06 +02:00
.gitignore fuzz: Added PA-TNC fuzzer 2018-06-12 21:47:39 +02:00
.lgtm.yml lgtm: Fix building dependencies (in particular tpm2-tss) 2020-09-22 12:24:44 +02:00
AUTHORS The AUTHORS file is required by automake 2012-06-25 10:59:27 +02:00
Android.common.mk.in android: Added function to include source files from plugin subdirectories 2013-07-08 18:49:25 +02:00
Android.mk Some whitespace fixes 2019-08-22 15:18:06 +02:00
CONTRIBUTING.md Use https:// for URLs in documents 2018-12-20 16:13:02 +01:00
COPYING COPYING updated to the most current version (address was incorrect). 2011-06-08 16:49:08 +02:00
ChangeLog Use https:// for URLs in documents 2018-12-20 16:13:02 +01:00
Doxyfile.in Doxyfile.in: Remove deprecated variables 2021-04-15 16:13:22 +02:00
HACKING Use https:// for URLs in documents 2018-12-20 16:13:02 +01:00
INSTALL Normalize whitespace in boilerplate files 2018-09-03 14:18:20 +02:00
LICENSE Added OpenSSL/GPL exception to LICENSE file 2012-06-29 16:51:29 +02:00
Makefile.am configure: Optionally use version information obtained from Git in executables 2020-07-20 14:10:52 +02:00
NEWS Fixed some typos, courtesy of codespell 2021-06-25 11:32:29 +02:00
README Move README to README.md so it gets evaluated as Markdown 2014-06-30 13:16:17 +02:00
README.md use NLnet suggested wording to reference funding 2024-07-16 09:23:55 +02:00
README_LEGACY.md Spelling fixes 2020-02-11 18:23:07 +01:00
SECURITY.md github: Add security policy 2021-02-15 09:44:44 +01:00
TODO Use https:// for URLs in documents 2018-12-20 16:13:02 +01:00
autogen.sh autoconf: replace autogen.sh custom script with a call to autoreconf -i 2013-07-18 14:59:19 +02:00
configure.ac configure: remove git version check 2024-07-04 20:22:01 +02:00
git-version-gen git-version-gen: end in osmo-epdg 2024-07-18 09:51:07 +02:00
sonar-project.properties Add project config for SonarCloud to ignore some files/rules 2020-09-09 13:25:30 +02:00

README.md

strongSwan osmo-epdg component

This repository contains a modified version of the strongswan code base to use it together with osmo-epdg in order to operate a 3GPP ePDG (evolved Packet Data Gateway), for example to provide VoWiFi services.

[UE] <-> [strongswan] <-> [osmo-ePDG] <> [HSS]
                                      <> [PGW]

example configuration

See ./osmo-epdg for a full example configuration (both UE and ePDG).

The ePDG must use the address 192.168.0.2

how to build

apt install libosmocore-dev
./autogen.sh
./configure \
	--enable-eap-aka \
	--enable-eap-aka-3gpp \
	--enable-eap-aka-3gpp2 \
	--enable-eap-simaka-reauth \
	--enable-systemd \
	--enable-save-keys \
	--enable-p-cscf \
	--enable-osmo-epdg

Funding

This project received funding through the User-operated Internet Fund, a fund established by NLnet. Learn more at the NLnet project page.

NLnet foundation logo