Interfering with the GTP-u Kernel module

Thomas Boros tomas.boros92 at gmail.com
Thu Feb 15 10:06:12 UTC 2018


Hello,

I found, that there are tools available for this purpose, however they are not compiled on build. By adding the bin_PROGRAMS to the makefile the tools are built. I was too lazy to set up the whole gerrit thing, so I’m sending the patch.

diff --git a/tools/Makefile.am b/tools/Makefile.am
index 95aef86..3db095e 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,5 +1,8 @@
 include $(top_srcdir)/Make_global.am

+bin_PROGRAMS = gtp-link                        \
+               gtp-tunnel
+
 check_PROGRAMS = gtp-link              \
                 gtp-tunnel


Tomas

> On 15 Feb 2018, at 00:11, Thomas Boros <tomas.boros92 at gmail.com> wrote:
> 
> Hello,
> 
> I would like to implement a command line tool, which will be able to open / close , read / write to gtp tunnels. I was able to install the libgtpnl library, but due to lack of documentation I have no idea where to start. 
> 
> Is there some sort of documentation available for this library? 
> 
> I need to be able to create and delete tunnels without the GTP-C communication, so just basic command line tool like create-gtp-tunnel + arguments like IPs, version and teid. The GTP-U tunnels must be kernel based. I have the latest kernel with the gtp kernel module loaded. 
> 
> Any help is appreciated. 
> Thank you,
> Tomas



More information about the osmocom-net-gprs mailing list