osmo-msc/openbsc
Jacob Erlbeck 31591142e9 gbproxy: Reset IMSI acquisition and free stored messages in tlli_info
Currently the stored messages are only removed, when IMSI acquisition
has succeeded. In addition, receiving two ATTACH_REQ messages in
sequence (e.g. due to loss of a Identity Req/Resp message) will not
restart the IMSI acquisition procedure.

This patch adds gbproxy_tlli_info_discard_messages() to clean up the
message list and calls it from gbproxy_delete_tlli() fixing a
potential memory leak. It is also called when an Attach Request
message has been received. In that case the imsi_acq_pending flag is
cleared, too. This would (re-)trigger the IMSI acquisition procedure
at each of these messages. If an Ident Response has been lost,
resending the Ident Request with the same N(U) will not work.
Therefore the N(U) gets incremented on each Ident Request generated
by the gbproxy. The first N(U) used is 256 which shouldn't collide
with the V(UT) used by the SGSN given that P-TMSI patching is enabled
(since a new random TLLI is used initially on every new (no
tlli_info) connection and V(U) starts with zero then).

Ticket: OW#1261
Sponsored-by: On-Waves ehf
2014-09-09 10:10:00 +02:00
..
contrib mgcp: Move the "codec" params to a struct 2014-09-02 08:25:49 +02:00
doc mgcp: Verify that the force-ptime is written back to the file 2014-07-07 19:24:34 +02:00
include gbproxy: Reset IMSI acquisition and free stored messages in tlli_info 2014-09-09 10:10:00 +02:00
src gbproxy: Reset IMSI acquisition and free stored messages in tlli_info 2014-09-09 10:10:00 +02:00
tests gbproxy: Reset IMSI acquisition and free stored messages in tlli_info 2014-09-09 10:10:00 +02:00
tools
.gitignore mgcp: Ignore the transcoding test 2014-07-07 19:24:43 +02:00
AUTHORS
COPYING
Makefile.am Introduced support for external python tests 2013-06-24 13:22:34 +02:00
README
configure.ac configure: fix unrecognized option --enable-external-tests 2014-09-01 18:35:15 +02:00
git-version-gen
openbsc.pc.in
osmoappdesc.py hsl: Remove the support for the HSL bts from OpenBSC 2013-07-03 16:19:41 +02:00

README

About OpenBSC
=============

OpenBSC is a minimalistic implementation of the GSM Network, with
particular emphasis on the functionality typically provided by the BSC,
MSC, HLR, VLR and SMSC.

Its currently supported interfaces towards the BTS are:

 * Classic A-bis over E1 using a mISDN based E1 interface. In other
   words, you can connect existing GSM Base Transceiver Station (BTS)
   through E1 to OpenBSC.  So far, we have only tested the Siemens BS-11
   Test reports with other BTS are much appreciated!

 * A-bis over IP as used by the ip.access nanoBTS product family

You can find the project documentation at http://openbsc.gnumonks.org/

This project is still in its early days, and there are lots of areas where it
doesn't behave as per GSM spec.

	Harald Welte <laforge@gnumonks.org>


libosmocore
===========

Please note that as of March 2010, OpenBSC has a dependency to a library
called "libosmocore".  You can obtain that library from

	git://git.osmocom.org/libosmocore.git