Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-04-07 | libabis: ipaccess: export ipaccess_idtag_name() | Pablo Neira Ayuso | 3 | -23/+4 | |
Now this is used by ipaccess-proxy, remove redundant implemention in it. | |||||
2011-04-07 | libabis: ipaccess: conclude new ipaccess_send_*() functions and use them | Pablo Neira Ayuso | 4 | -42/+60 | |
This patch finishes the new ipaccess_send_*() functions and use them in the ipaccess-proxy code. I have also cleanup the definition of the PONG, ID_ACK and ID_REQ messages (including some minor documentation about them). I had to rename ipaccess_recvmsg() in ipaccess-proxy to avoid clashing with the one defined in libabis. | |||||
2011-04-07 | ipaccess-proxy: get rid of make_listen_sock() and use make_sock() instead | Pablo Neira Ayuso | 1 | -47/+4 | |
This patch replaces make_listen_sock() by the generic make_sock() available in libcommon/socket. | |||||
2011-04-07 | bsc: Add the bsc-rf-socket command to master as well | Holger Hans Peter Freyther | 3 | -6/+27 | |
Make it possible to specify the rf-socket path via the vty configuration as well. The command line setting will override it though. | |||||
2011-04-07 | bsc: Include openbsc/ipaccess.h for the drop_oml command | Holger Hans Peter Freyther | 1 | -0/+1 | |
Fix a compiler warning about the drop_oml command. | |||||
2011-04-07 | nat: Fix the call to make_sock and pass a 0 priv_nr and the nat as data | Holger Hans Peter Freyther | 1 | -1/+1 | |
2011-04-06 | nat: Remember if the MSC accepted the connection on principle | Holger Hans Peter Freyther | 3 | -0/+37 | |
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-05 | ipaccess: proxy: get rid of internal make_sock() implementation | Pablo Neira Ayuso | 1 | -39/+3 | |
With this patch, we use the implementation available in libcommon. | |||||
2011-04-05 | libcommon: socket: extend make_sock() prototype | Pablo Neira Ayuso | 7 | -15/+18 | |
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-05 | ipaccess-config: exit if no network interface is specified | Pablo Neira Ayuso | 1 | -0/+1 | |
ipaccess-config has to exit if no network interface is specified, otherwise it uses argv[1] which has a uninitialized value. | |||||
2011-04-04 | nat: Bail out if the regexp fails to compile and avoid a crash | Holger Hans Peter Freyther | 4 | -13/+31 | |
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-04 | lapd: NULL pointer derefence possible here | Holger Hans Peter Freyther | 1 | -1/+1 | |
The idiom seems to be to allocate the lapd_tei if it does not exist and use it then. This was found by clang --analyze. | |||||
2011-04-01 | nat: Make the USSD number matching a regexp | Holger Hans Peter Freyther | 3 | -7/+8 | |
This allows to match multiple numbers and multiple patterns | |||||
2011-04-01 | nat: Fix the return to return CMD_SUCCESS; | Holger Hans Peter Freyther | 1 | -1/+1 | |
2011-03-29 | nat: Add commands to remove access-list from NAT and BSC config | Holger Hans Peter Freyther | 1 | -0/+30 | |
2011-03-29 | nat: Improve the error message for the failing bind call | Holger Hans Peter Freyther | 1 | -1/+2 | |
Print the IP and port that was used for the address to bind to. | |||||
2011-03-29 | bsc: Make the MSC node a child of CONFIG_NODE | Holger Hans Peter Freyther | 2 | -17/+17 | |
The VTY code calls the write function for nodes in the order of registration of the node and not in terms of hierachy of nodes. This means that the e1_input code is written before the MSC node that was the child of the network. Make the MSC_NODE a direct descendant of the CONFIG_NODE and avoid this issue. | |||||
2011-03-29 | bsc: Fix the generation of the config file, fix indention | Holger Hans Peter Freyther | 1 | -4/+4 | |
Fix the indention of codec-list, bsc-welcome-text, mid-call-text and the mid-call-timeout. Fix the name of the codec-list in the write method. | |||||
2011-03-28 | src: include new file osmocom/vty/misc.h for vty_out_rate_ctr_group() | Pablo Neira Ayuso | 4 | -0/+4 | |
This uses the new include file for vty_out_rate_ctr_group() which available in libosmocore. | |||||
2011-03-27 | ipaccess-proxy: fix segfault in handle_dead_socket | Pablo Neira Ayuso | 1 | -0/+5 | |
This patch fixes a segfault if we or one BTS start a TCP connection and close it before any IPAC_MSGT_ID_RESP message is sent. | |||||
2011-03-26 | tests: fix bsc-nat test | Pablo Neira Ayuso | 2 | -4/+4 | |
In 136f453dd2492b95004461a33c90b11732f33bd8, I forgot to update the new header path in the test/bsc-nat files (this happened to me because I forgot to configured openBSC without --enable-nat). | |||||
2011-03-23 | Fix build of bsc-nat and GPRS code after include path change | Harald Welte | 14 | -23/+23 | |
The last patch changed the osmocore include paths, this fixes some build problems caused by it | |||||
2011-03-23 | src: use new library libosmogsm and new path to headers in libosmocore | Pablo Neira Ayuso | 152 | -368/+369 | |
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-23 | src: fix use of logging_vty_add_cmds() without log_info parameter | Pablo Neira Ayuso | 2 | -2/+4 | |
This patch fixes: CC gb_proxy_main.o gb_proxy_main.c: In function ‘main’: gb_proxy_main.c:224: warning: implicit declaration of function ‘logging_vty_add_cmds’ And a similar problem in osmo-bsc_nat. This was introduced in by myself in patch: "bsc: change bsc_vty_init to take logging categories as parameter" Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org> | |||||
2011-03-20 | Depend on libosmocore 0.1.31 due to VTY / logging change | Harald Welte | 1 | -2/+2 | |
2011-03-20 | [RBS2000] Enable TRAU frame handling/muxing similar to BS11 | Harald Welte | 1 | -0/+3 | |
Based on original patch by Gus Bourg <gus@bourg.net> | |||||
2011-03-19 | bsc: change bsc_vty_init to take logging categories as parameter | Pablo Neira Ayuso | 7 | -8/+12 | |
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-08 | misc: check for libdbi, mandatory library dependency | Pablo Neira Ayuso | 1 | -0/+1 | |
Otherwise, openbsc fails to compile: CC db.o db.c:29:21: error: dbi/dbi.h: File does not exists | |||||
2011-03-08 | vty: fix segfault if rf_ctl is not set | Pablo Neira Ayuso | 1 | -1/+1 | |
This is the case of osmo-nitb, since it does not call osmo_bsc_rf_create(). term1: $ ./osmo-nitb -c ../openbsc.cfg.nanobts term2: $ telnet localhost 4242 term2: OpenBSC> show network term1: Segmentation fault | |||||
2011-03-08 | mgcp: Remove some duplicate header files from the list. | Holger Hans Peter Freyther | 3 | -7/+1 | |
2011-03-06 | RBS2000: Automatically connect/start/configure/enable most MOs | Harald Welte | 3 | -18/+48 | |
2011-03-06 | OM2000: Make sure we fill the nsd->bts member for NM state events | Harald Welte | 1 | -0/+2 | |
2011-03-06 | OM2000: First attempt in automatically configuring most MOs | Harald Welte | 2 | -1/+103 | |
TS objects are not part yet | |||||
2011-03-06 | OML: Include a pointer to the BTS in NM STATE CHANGE signals | Harald Welte | 3 | -0/+6 | |
... this allows the BTS driver to decide if it should handle the event at all | |||||
2011-03-06 | OM2000: Move IS conn group list generation out of VTY code | Harald Welte | 3 | -52/+40 | |
2011-03-06 | OM2000: Track the Operational Info and MO state | Harald Welte | 4 | -1/+169 | |
2011-03-06 | OM2000: Remove "is-conf-req" from VTY, use "configuration-request" | Harald Welte | 1 | -7/+5 | |
This unifies the syntax a bit | |||||
2011-03-06 | OM2000: Process MO STATE and ACCORDANCE INFO | Harald Welte | 1 | -1/+91 | |
2011-03-06 | OM2000: Fix configuration of TCH timeslots | Harald Welte | 1 | -4/+3 | |
2011-03-06 | OM2000: Fix configuration of Timing Function (missing timing src) | Harald Welte | 1 | -0/+3 | |
2011-03-05 | OM2000: More work on the TS configuration request | Harald Welte | 1 | -1/+27 | |
It seems the differences for the various channel combinations are big | |||||
2011-03-05 | OM2000: Route TS config requests to the right TRX | Harald Welte | 1 | -1/+10 | |
The TRX number is encoded in mo.assoc_so, whereas the TS number is in mo.inst! | |||||
2011-03-05 | OM2000: TLV parser definitions for more DEI's | Harald Welte | 1 | -0/+40 | |
2011-03-05 | OM2000: Consider OP_INFO_REJ and TEST_REQ_REJ as NACK | Harald Welte | 1 | -0/+2 | |
2011-03-05 | OM2000: Add channel combination specific DIEs for TS config request | Harald Welte | 1 | -16/+78 | |
... and in order to do this reasonably well, we have to get rid of the pre-computed message length field in the OML header. Instead, we now simply compute it at abis_om2k_sendmsg() time based on the msgb_l2len(). | |||||
2011-03-05 | OM2000: Handle (Dis)Connect Reject in NACK handler | Harald Welte | 1 | -1/+3 | |
2011-03-05 | OM2000: Print result/reason code when receiving a reject | Harald Welte | 1 | -1/+90 | |
2011-03-05 | OM2000: fix generation of frequency list DIE | Harald Welte | 1 | -10/+15 | |
2011-03-05 | HSL: Make sure not to send HSL specific OML init on non-HSL BTS | Harald Welte | 1 | -1/+2 | |
2011-03-05 | OM2000: Make sure to set the Associated SO to 255 in case of RX/TX | Harald Welte | 1 | -1/+1 | |