Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-08-11 | IPv6: Implement IPv6 prefix assignment via ICMPv6 router advertisement | Harald Welte | 1 | -1/+1 | |
The 3GPP specs are quite strange when it comes to how an IPv6 address or rather prefix is assigned to an IPv6 PDP context. The designated method for allocating the IPv6 address via the PDP EUA (End User Address) Information Element in the GTP signalling plane is *not* used to allocate the address/prefix. Instead, the EUA is used to allocate an "interface identifier" to the MS, which it the uses to derive its link-local source address to send a router solicitation. The GGSN subsequently answers witha router advertisement, advertising a single/64 prefix, whihcthe MS then uses to generate it's real IPv6 source address for subsequent communication. Change-Id: Icddf7d30e01d76a4784bcef5787b36f52f703a9f | |||||
2016-10-12 | Add control interface | Max | 1 | -3/+3 | |
Only generation of TRAP messages over Control Interface is supported so far. Note: requires corresponding version of libosmoctrl. Change-Id: Ia76f841d2c9cd14394e9316fcd39f4060e23c898 Related: OS#1646 | |||||
2015-12-21 | ggsn: add support for GTP kernel data encapsulation | Pablo Neira Ayuso | 1 | -1/+10 | |
This patch adds the -g, --gtpnl=device option that allows you to enable the GTP kernel tunneling mode in openggsn. You have to specify the real downlink device that will be used to tunnel traffic, eg. -g=eth0 This means that the gtp0 device will be created and it will use eth0 as the real device to encapsulate packet coming from the Internet that are addressed to the MS (so the tunnel devuce encapsulates these IP packets in GTP packets when traveling to the SGSN). Alternatively, you can also add this to the ggsn.conf configuration file: gtpnl eth0 The device has to be the real device that can route packets to the SGSN, if you select the wrong device, the kernel routing code may not find a way to reach the SSGN, you've been warned. Therefore, if this option is set, the operational becomes the following: 1) A gtp0 device is created via rtnetlink and configure the socket encapsulation infrastructure in the kernel. 2) Whenever a PDP context is created, this adds the necessary tunnel configuration via genetlink GTP interface. 3) Whenever a PDP context is destroyed, this deletes the tunnel via genetlink GTP interface. 4) Destroy the gtp0 device if ggsn is stopped, including all of the existing tunnels. You require the osmo-ggsn.git tree, which contains the kernel module gtp.ko and the libgtpnl library that you have to compile and install. Make sure you have loaded the gtp.ko kernel module before launching the ggsn daemon using the kernel driver mode, otherwise you will get a nice "operation not supported" error message ;-). This patch also adds supports for "ipup" configuration option to invoke an external script after the gtp0 device has been brought up. Typical command to add the route to reach the MS behind the GGSN is required, eg. ip route add 10.0.0.0/8 dev gtp0. The (horrible) ggsn parser has been manually extended to support the new configuration option. That code doesn't look nice, but it just mimics what we already have there for consistency, please don't blame me for that. If you want to run in debugging mode, I suggest you to use: sudo ggsn -c ggsn.conf -f -d Note that you do have to run openggsn as root to bring up the gtp0 device. You have to see this message that announce that the GTP kernel mode is enabled. openggsn[1106]: ggsn.c: 656: Using the GTP kernel mode (genl ID is 25) This patch also automagically sets up route to reach MS from Internet just like tun mode does. This is fundamental to get this working, better don't leave to the admin, he may forget to add this route. In this patch, I tried to encapsulate this new feature as much as possible as Harald initially suggested. To compile this feature, you have to pass --enable-gtp-kernel, ie. ./configire --enable-gtp-kernel Otherwise, the code to interact with the gtp kernel part is not compiled. Signed-off-by: Andreas Schultz <aschultz@tpip.net> | |||||
2014-12-04 | logging: Switch to using libosmocore logging for all the code | Holger Hans Peter Freyther | 1 | -2/+2 | |
2012-11-06 | build: Remove subdir-objects as it breaks make distclean | Holger Hans Peter Freyther | 1 | -3/+1 | |
We are not using this option in any of our projects and it is breaking make distclean. Remove the option for now. make[2]: Entering directory `/openggsn-0.91/_build/ggsn' Makefile:307: ../lib/.deps/getopt.Po: No such file or directory Makefile:308: ../lib/.deps/getopt1.Po: No such file or directory make[2]: *** No rule to make target `../lib/.deps/getopt1.Po'. Stop. | |||||
2011-05-10 | properly build a library for the content of the lib directory | Harald Welte | 1 | -6/+3 | |
2010-10-20 | Move common sgsnemu/ggsn files to directory "lib" | Emmanuel Bretelle | 1 | -1/+4 | |
Some files like in sgsnemu and ggsn directory where exactly the same. They are now moved to the same directory for easier maintenance Signed-off-by: Emmanuel Bretelle <chantra@debuntu.org> | |||||
2010-05-24 | fix 'make distcheck': add lookup.h to Makefile.am | Harald Welte | 1 | -1/+1 | |
2005-03-14 | Added new version of autotools | jjako | 1 | -2/+2 | |
2004-12-30 | 0.84 release | jjako | 1 | -2/+2 | |
2004-12-30 | 0.84 | jjako | 1 | -2/+4 | |
2004-12-30 | QA on ippool | jjako | 1 | -1/+1 | |
2004-09-10 | Improved configure script under Solaris | jjako | 1 | -5/+2 | |
2004-01-16 | Improved solaris compatibility | jjako | 1 | -0/+2 | |
2004-01-09 | Changes to allow compilation under Solaris | jjako | 1 | -1/+1 | |
2003-07-06 | Improved option checking in ggsn | jjako | 1 | -1/+1 | |
2003-04-11 | added ippool.h and ippool.c | jjako | 1 | -2/+2 | |
2003-01-28 | Make without first installing gtplib | jjako | 1 | -1/+1 | |
2003-01-05 | Absolute path to gtp library in ggsn/Makefile.am and ggsn/Makefile.am | jjako | 1 | -3/+3 | |
2002-12-16 | Initial revision | jjako | 1 | -0/+11 | |