This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, zecke/features/sgsn-ggsn-resolve has been created
at f5000170235863f419faf1aebacbc44d4253b96b (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=f5000170235863f419faf1aebacbc44d…
commit f5000170235863f419faf1aebacbc44d4253b96b
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon May 25 15:20:27 2015 +0800
sgsn: Allow to specify the DNS servers that should be used
If no server is specified the default list will be used. This
allows to separate the servers for the local network and GRX
from each other.
http://cgit.osmocom.org/openbsc/commit/?id=2118e63692bc335880ed6a011f16eb3a…
commit 2118e63692bc335880ed6a011f16eb3a539106ba
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon May 25 12:26:49 2015 +0800
sgsn: Allow to resolve the IPv4 address of a GGSN through DNS
For real networks we need to check if the requested APN string
is allowed and then resolve the GGSN address through DNS. There
are countries with two or three digit MNCs and one could either
try to keep a list of countries that have two/three digits or
just try both of them. I have opted for the later for the ease
of the implementation.
C-Ares doesn't allow to cancel a request so we will need to
have the MMCTX and the Lookup have different lifetimes. We simply
set ->mmctx to NULL in case the MMCTX dies more early.
The selected and verified apn_str will be copied into the out
parameter. In case no static APN/GGSN config is present and the
dynamic mode is enabled a request will be made.
http://cgit.osmocom.org/openbsc/commit/?id=66e7106d393368b2dd0d04c08f31781e…
commit 66e7106d393368b2dd0d04c08f31781ed997380b
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon May 25 01:21:50 2015 +0800
sgsn: Integrate c-ares with the osmocom event loop
c-ares is an asynchronous DNS resolver and we need it to
resolve the GGSN address. This is integrating the library
into our infrastructure. We will create and maintain a list
of registered FDs (c-ares is currently only using one of
them) and (re-)schedule the timer after events occurred.
http://cgit.osmocom.org/openbsc/commit/?id=ccd2312d10e14747e8a4d26d8f72b052…
commit ccd2312d10e14747e8a4d26d8f72b052ffcfc282
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Sun May 24 16:48:22 2015 +0800
sgsn: Create a copy of the msgb for later usage
When needing to do an asynchronous DNS query we need
to keep the TLV data around. So create a wrapper that
takes a copy of it and frees it after the call. I can
change the code to add an out parameter to decide if
the msgb should be freed or not.
Pick network failure in case the msgb could not be
cloned in the hope the MS will retry then.
http://cgit.osmocom.org/openbsc/commit/?id=7605bdc02c011d9d7f5d24458c65948a…
commit 7605bdc02c011d9d7f5d24458c65948ac7bf501a
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Sun May 24 12:42:26 2015 +0800
sgsn: Re-factor the activate PDP code for future changes
A real SGSN will dynamically resolve the APN name into the
GGSN IP Address. This means that after we have collected all
information we need to start to resolve the GGSN and then
can continue.
http://cgit.osmocom.org/openbsc/commit/?id=08bb84b04e15c97739b9c11b2f26407e…
commit 08bb84b04e15c97739b9c11b2f26407ee663bc24
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon May 25 14:35:10 2015 +0800
sgsn: Deal with no static ggsn being configured at all
In case no static ggsn is configured the code would crash
with the assumption that there is always such a GGSN.
http://cgit.osmocom.org/openbsc/commit/?id=9270d99f3db58e70d50ad45644b039b3…
commit 9270d99f3db58e70d50ad45644b039b3fa314574
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Sun May 24 20:51:17 2015 +0800
sgsn: If there is a subscr don't allow an empty list
This is a left-over from the initial system where no PDP
was provided by the system. For now if there is a subscr
attached and no PDP context provisioned. He is not allowed
to have a data connection.
Update the testcase to create the pdp list entry more
early with a wildcard and then change it to a specific
match.
-----------------------------------------------------------------------
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)