aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2019-07-30src/db.c: integrate SQLite3 with talloc allocatorVadim Yanitskiy1-0/+15
This change introduces an optional feature that allows to make SQLite3 use talloc for all internal allocations. This would facilitate finding memleaks. OsmoHLR needs to be configured with '--enable-sqlite-talloc'. full talloc report on 'OsmoHLR' (total 292168 bytes in 449 blocks) struct osmo_gsup_server contains 162 bytes in 3 blocks (ref 0) ... struct db_context contains 288407 bytes in 420 blocks (ref 0) hlr.db contains 7 bytes in 1 blocks (ref 0) SQLite3 contains 288192 bytes in 418 blocks (ref 0) db.c:95 contains 48 bytes in 1 blocks (ref 0) db.c:95 contains 2 bytes in 1 blocks (ref 0) ... Unfortunately, old SQLite3 versions (such as 3.8.2) run out of memory when trying to initialize a new database: DDB ERROR db.c:88 (7) statement aborts at 3: [] DDB ERROR db.c:420 Unable to set Write-Ahead Logging: out of memory DDB ERROR db.c:88 (7) statement aborts at 3: [] DDB ERROR db.c:238 Unable to prepare SQL statement 'SELECT name FROM sqlite_master WHERE type='table' AND name=?' ... I've noticed a huge difference in heap usage footprint compared to generic malloc. At the same time, the recent versions (at least 3.24.0), work just fine. Change-Id: Icfe67ed0f063b63e6794f9516da3003d01cf20a7
2019-01-20Bump version: 0.2.1.55-607c-dirty → 1.0.01.0.0Harald Welte1-5/+5
Change-Id: I696beb6f0b82dfaf664f62066cffbcc94e31b700
2018-11-27build manuals moved here from osmo-gsm-manuals.gitOliver Smith1-0/+43
Moved to doc/manuals/, with full commit history, in preceding merge commit. Now incorporate in the build system. Build with: $ autoreconf -fi $ ./configure --enable-manuals $ make Shared files from osmo-gsm-manuals.git are found automatically if - the repository is checked out in ../osmo-gsm-manuals; or - if it osmo-gsm-manuals was installed with "make install"; or - OSMO_GSM_MANUALS_DIR is set. Related: OS#3385 Change-Id: I52b7b06fddd77c6dc272004f434e9e7651f6b349
2018-09-12Move doc/Makefile.am to doc/examples/Makefile.amPau Espin Pedrol1-0/+1
Change-Id: I89ef3abe86e7ceb7b389ac1cb227ea065bfbce37
2018-09-10Install systemd services with autotoolsPau Espin Pedrol1-0/+18
Change-Id: Id81ae8e2d8a2c9456ac0dac2c30c0d24dab3b694
2018-07-30import gsup_client.c as new libosmo-gsup-clientHarald Welte1-0/+3
This imports the code from osmo-msc 6afef893e17bce67e4d4119acd34d480ed03ba77 with minimal changes to make it compile. Symbol renaming ot osmo_ prefix is done separately in a follow-up patch to have a as-clean-as-possible import first. Requires: libosmocore.git Change-Id Ie36729996abd30b84d1c30a09f62ebc6a9794950 Change-Id: Ief50054ad135551625b684ed8a0486f7af0b2940
2018-05-04add gsup_test to catch OS#3231Neels Hofmeyr1-0/+1
Encode an Insert Subscr Data with is_ps == true to trigger the encoding bug described in OS#3231, i.e. show that it is fixed. Move osmo_gsup_addr_send() to a separate .c file, so that it can be overridden in the regression test to just dump the msgb instead. I used this test to reproduce issue OS#3231, and now that it's here we might as well keep it, and possibly expand on it in the future. Related: OS#3231 Change-Id: Id1453351758f3e1a9ff03bd99fefaf51886e77da
2018-05-03Bump version: 0.1.0.39-1cb4-dirty → 0.2.00.2.0Pau Espin Pedrol1-5/+5
Change-Id: I2a9fdd140d68053bc7c8354bf2b3a0293c514516
2018-03-05configure: add --enable-werrorNeels Hofmeyr1-0/+21
Provide a sane means of adding the -Werror compiler flag. Currently, some of our jenkins.sh add -Werror by passing 'CFLAGS="-Werror"', but that actually *overwrites* all the other CFLAGS we might want to have set. Maintain these exceptions from -Werror: a) deprecation (allow upstream to mark deprecation without breaking builds); b) "#warning" pragmas (allow to remind ourselves of errors without breaking builds) As a last configure step before generating the output files, print the complete CFLAGS and CPPFLAGS by means of AC_MSG_RESULT. Change-Id: Id5c0740a37067cbe8986d52d63c6134769c71c47
2017-11-18add --enable-sanitize config optionNeels Hofmeyr1-0/+12
Change-Id: I12b7b0e751f274a05e88c79299fd8388667cc542
2017-11-17doc: install example .cfg files to $(docdir)/examples/Alexander Couzens1-0/+1
Change-Id: I8671ce33b9bf28c89f767dd1b4a1463aeb275158
2017-10-11add initial db_test: creating and deleting subscribersNeels Hofmeyr1-0/+1
Change-Id: I2a0d277f55162bf5ceb0fc7d50390f2994daed71
2017-09-28add basic CTRL interface testsNeels Hofmeyr1-0/+15
Prepare for adding tests of enable-/disable-/status-ps CTRL commands. Change-Id: Ie195169c574716b514da7e04a3ce9727ef70a55e
2017-08-25Use release helper from libosmocoreMax1-0/+4
Change-Id: I06b9ceff1e1ecfccc1b1a52ffe6b9d3f6dcaa34d Related: OS#1861
2017-03-16UMTS AKA: implement SQN increment according to SEQ and INDNeels Hofmeyr1-0/+1
Add ind_bitlen column to auc_3g to record each USIM's IND size according to 3GPP TS 33.102 -- default is 5 bits, as suggested by the spec. Introduce auc_3g_ind to each connecting GSUP client to use as IND index for generating auth tuples sent to this client. With osmo_gsup_server_add_conn(), implement a scheme where clients receive fixed auc_3g_ind indexes based on the order in which they connect; each new connection takes the lowest unused auc_3g_ind, so in case one of the clients restarts, it will most likely receive the same auc_3g_ind, and if one client disconnects, no other clients' auc_3g_ind are affected. Add gsup_server_test.c to test the auc_3g_ind index distribution scheme. Depends: libosmocore I4eac5be0c0b2cede04464c4c3a0873102d952453 for llist_first Related: OS#1969 Change-Id: If4501ed4ff8e923fa6fe8b80c44c5ad647a8ed60
2017-03-06Add CTRL interfaceMax1-0/+1
* add command to query Packet Services (GPRS etc.) for particular IMSI. * add vty command to configure ctrl bind address * add missing vty copyright notice Change-Id: Id787ef4aa88473c3bbde6ee25117b1fd99dc8fcb Related: OS#1645
2017-02-01auth: verify test sets from 3GPP TS 55.205Neels Hofmeyr1-0/+1
Put to-text conversion of the 3GPP TS 55.205 PDF's section defining the test vectors in tests/auc/gen_ts_55_205_test_sets/ts55_205_test_sets.txt and add python script to generate auc_ts_55_205_test_sets.c from that at build time. The generated auc_ts_55_205_test_sets.c runs through all 19 test sets, verifying that our gsm_milenage() matches the reference data. Change-Id: Idff9d757ab956179aa41ada2a223fd9f439aafbd
2017-02-01Add test suite skeleton with empty test (auc_3g_test)Neels Hofmeyr1-0/+4
Change-Id: I6359b0809ce8578850fd65887a568714fb35dbd8
2016-12-15bump required libosmocore version to 0.9.5Neels Hofmeyr1-1/+1
0.9.5 tags the version from which on DLGSUP is properly handled in libosmocore's internal logging. This bump follows up on previous osmo-hlr change I74ab1a031d1ed144468b016294d2965eba5e7d1d. Change-Id: I2af7a9eff3f116bd3bd02edd42e6e0a64f8280cd
2016-12-13build: actually make sqlite mandatoryNeels Hofmeyr1-4/+1
Change-Id: I9f7183c6a1e1b3a4bc887a67faf2a1c4dfb44762
2016-12-11build with autoconf/automake, add jenkins.sh scriptNeels Hofmeyr1-0/+50
Add configure.ac and Makefile.ams to build with autoreconf && ./configure && make like most other Osmocom projects. Add jenkins.sh for a gerrit build job to verify patches. Change-Id: I6b4419dd519f3d0a75235d0c22bf899f075347a3