OpenGGSN was developed in 2002 to 2004 by Mondru AB and was abandoned for some years before adopted by the Osmocom project around 2010.
Source Code / git repository¶
The source code is maintained in the osmcoom git at http://git.osmocom.org/openggsn/
OpenGGSN packages are created as part of the Osmocom nightly debian builds, see NightlyBuilds
Support / mailing lists¶
Please direct any questions regarding use, configuration or development of OpenGGSN to the email@example.com mailing list, to which you can subscribe at https://lists.osmocom.org/mailman/listinfo/osmocom-net-gprs
Building OpenGGSN with kernel-gtp¶
It is expected that complete openbsc project and dependencies are pre-installed. Please check if package
libc-ares-dev is installed.
Ubuntu 16.10, kernel 4.8.0-30-generic is used.
- Installing dependencies and build library
You can install those packages with:
sudo apt install libtalloc-dev libpcsclite libmnl-dev
Please follow instructions provided at Build from source in order to install following library and projects :
Information about dependencies between Osmocom projects is given at the above link:
sudo make install sudo ldconfig
./configure --enable-gtp-linux make sudo make install sudo ldconfig
Following message is shown at end of the command
./configure --enable-gtp-linux response:
openggsn Configuration: GTP Linux kernel support: yes
This means that appropriate header files are available.
Using OpenGGSN with kernel-gtp¶
In order to find out whether gtp.ko module is available we can enter following command:
find /lib/modules/`uname -r` -name gtp.ko
Output below shows that gtp.ko module is present
We are loading module gtp from kernel by entering command
sudo modprobe gtp
lsmod | grep gtp
give us information about gtp and related udp tunnel:
gtp 28672 0 udp_tunnel 16384 1 gtp
Furthermore we can use:
strace ggsn -c ggsn.conf -fto determine if Ubuntu 16.10, kernel 4.8.0-30 is in use.
Note: OpenGGSN is started by:
sudo ggsn --gtp-linux -c ggsn.conf -f
related output is:
gtp.c:701 GTP: gtp_newgsn() started gtp-kernel.c:156 GTP kernel configured