aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc_nat
AgeCommit message (Collapse)AuthorFilesLines
2011-04-07nat: Fix the call to make_sock and pass a 0 priv_nr and the nat as dataHolger Hans Peter Freyther1-1/+1
2011-04-06nat: Remember if the MSC accepted the connection on principleHolger Hans Peter Freyther2-0/+36
For the USSD module we only want to handle requests that are legitimate. This is achieved by looking for the CM Service Accept or the BSSAP CIPHER MODE COMMAND.
2011-04-05libcommon: socket: extend make_sock() prototypePablo Neira Ayuso1-1/+1
This patch extends the make_sock() prototype so you can fully set the fields priv_nr and data of the bsc_fd structure. This is the first step to get rid of the internal make_sock() implementation that ipaccess-proxy uses. This patch includes a minor cleanup to pass INADDR_ANY instead of zero, if you do not want to bind the socket to one specific address.
2011-04-04nat: Bail out if the regexp fails to compile and avoid a crashHolger Hans Peter Freyther2-6/+21
If the regexp fails to compile the internal dfa is NULL and a regexec will crash nicely. Fail and free the string if the regexp fails to compile.
2011-04-01nat: Make the USSD number matching a regexpHolger Hans Peter Freyther2-7/+7
This allows to match multiple numbers and multiple patterns
2011-04-01nat: Fix the return to return CMD_SUCCESS;Holger Hans Peter Freyther1-1/+1
2011-03-29nat: Add commands to remove access-list from NAT and BSC configHolger Hans Peter Freyther1-0/+30
2011-03-29nat: Improve the error message for the failing bind callHolger Hans Peter Freyther1-1/+2
Print the IP and port that was used for the address to bind to.
2011-03-28src: include new file osmocom/vty/misc.h for vty_out_rate_ctr_group()Pablo Neira Ayuso1-0/+1
This uses the new include file for vty_out_rate_ctr_group() which available in libosmocore.
2011-03-23Fix build of bsc-nat and GPRS code after include path changeHarald Welte5-10/+10
The last patch changed the osmocore include paths, this fixes some build problems caused by it
2011-03-23src: use new library libosmogsm and new path to headers in libosmocorePablo Neira Ayuso8-23/+23
libosmogsm is a new library that is distributed in the libosmocore. Now, openbsc depends on it. This patch gets openbsc with this change. This patch also rewrites all include path to the new osmocom/[gsm|core] Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2011-03-19bsc: change bsc_vty_init to take logging categories as parameterPablo Neira Ayuso2-2/+5
This change is required to finish the integration of the VTY and the per-application logging categories that provides: "vty: integration with logging framework" in libosmocore. It has been tested with osmo-nitb. The other just compiled tested.
2011-03-04prefix sub-directories containing libraries with 'lib'Harald Welte1-3/+5
... and make sure tests work again after restructuring
2011-03-03Rename bsc_nat -> osmo-bsc_nat and bsc_mgcp -> osmo-bsc_mgcpHarald Welte8-0/+4673
This now enforces a unique structure: All of our main daemon programs start with an "osmo-" prefix.