Commit Graph

31 Commits (467fc5728d638239b0257c0e9e60a0e516826e8c)

Author SHA1 Message Date
Harald Welte 467fc5728d switch sqlite3 to single-threaded mode 9 months ago
Neels Hofmeyr a252bcd089 sms db: when storing an SMS, retrieve the ID 3 years ago
Vadim Yanitskiy 570b4c8be2 libmsc/db.c: get rid of hard-coded SMS expiry threshold 4 years ago
Vadim Yanitskiy 0d13e8358e libmsc/db.c: warn user about SMS text truncation 4 years ago
Vadim Yanitskiy ea24bb50cc libmsc/db.c: introduce and use parse_sm_ud_from_result() 4 years ago
Vadim Yanitskiy ad585d8895 libmsc/db.c: fix potential integer overflow 4 years ago
Pau Espin 7f97d67108 db: Fix call to mempcy with NULL src ptr 4 years ago
Vadim Yanitskiy 9d61db7f06 libmsc/db.c: fix storing SMS with empty TP-User-Data 4 years ago
Vadim Yanitskiy e1e7247500 Introduce initial unit test for db_sms_* API 4 years ago
Alexander Couzens b10ec6a751 remove msc specific db counters 4 years ago
Vadim Yanitskiy baccf3a74b libmsc/db.c: print info about database name and libdbi version 4 years ago
Neels Hofmeyr 7c5346cd70 vlr_subscr: use osmo_use_count 4 years ago
Vadim Yanitskiy 0cd761c604 libmsc/db.c: cosmetic: mark missing breaks in switch as intended 4 years ago
Maxim Suraev 98f7467ac8 Wrap osmo_strlcpy() calls 5 years ago
Stefan Sperling 14e051776f Delete expired SMS automatically. 5 years ago
Stefan Sperling 87cba1f105 Add a VTY command which deletes all expired SMS. 5 years ago
Stefan Sperling 3b26f34950 Fix value of stored SMS validity time. 5 years ago
Stefan Sperling d494162c9c Store/retrieve SMS validity time in the SMS datebase 5 years ago
Stefan Sperling 6ba2d5a9f7 Delete SMS from the database once they were sent successfully 5 years ago
Stefan Sperling 832046d383 Improve an error message in db_init(). 5 years ago
Maxim Suraev 753c15de2f Migrate from OpenSSL to osmo_get_rand_id() 5 years ago
Pau Espin c22e54deab libmsc: db.c: Replace dbi APIs marked as deprecated 5 years ago
Neels Hofmeyr db8272921d sms.db: silence libdbi warnings on out-of-range index 5 years ago
Neels Hofmeyr 50d0900916 sms db: properly quote MSISDN in various SQL queries 5 years ago
Neels Hofmeyr f6704f1a50 sms db: don't attempt to query pending SMS for unset MSISDN 5 years ago
Neels Hofmeyr 9084396467 rename include/openbsc to include/osmocom/msc 5 years ago
Keith Whyte c601adcb89 libmsc: Use actual delivery time in delivery reports. 6 years ago
Pau Espin f113bcd671 libmsc: Remove comment not applying anymore 6 years ago
Pablo Neira Ayuso 9891dae131 libmsc: update database to accomodate SMS status-report fields 6 years ago
Harald Welte 2483f1b050 Use libvlr in libmsc (large refactoring) 6 years ago
Neels Hofmeyr 29b9206e80 move openbsc/* to repos root 6 years ago
Neels Hofmeyr 7590ff3fd6 fix subscriber random extension allocation range 6 years ago
Alexander Couzens f480b35893 libmsc/update_db_revision_3(): free memleaking db result 6 years ago
Neels Hofmeyr 93bafb611a cosmetic: use osmo_strlcpy() everywhere 6 years ago
Harald Welte 96df077083 libmsc/db: avoid subscr->name without terminating NULL char 6 years ago
Maxim Suraev e6052c4cc7 Make random MSISDN assignment optional 7 years ago
Maxim Suraev 0fcd2e2fec Make random extension range configurable 7 years ago
Neels Hofmeyr 307e40648e tweak db debug log: log TMSI as hex 7 years ago
Vadim Yanitskiy a8d8e93086 db.c: implemented incremental migration 7 years ago
Harald Welte d3fa84dbba use new libosmocore gsm_23_003.h for IMEI/IMSI length 7 years ago
Harald Welte 121e9a4164 Start to use struct osmo_auth_vector from gsm_auth_tuple 7 years ago
Holger Hans Peter Freyther adb86759da db: If creating a subscriber in the db fails, return NULL 7 years ago
Holger Hans Peter Freyther 2826df56b2 subscr: Make db_create_subscriber fail on duplicates 7 years ago
Harald Welte 3ad0346f00 Revert "move to hex TMSI representation" 7 years ago
Vadim Yanitskiy 044fbe6568 move to hex TMSI representation 7 years ago
Holger Hans Peter Freyther f9f44901a2 db: Avoid undefined behavior when copying cm2/cm3 from the db 7 years ago
Daniel Willmann 2aedfbdfe1 libmsc: Use RAND_bytes to generate a token 7 years ago
Daniel Willmann cdeb815c78 libmsc: Use RAND_bytes when choosing a tmsi 7 years ago
Max 5c06e4045a use non-vararg functions if possible 8 years ago
Jacob Erlbeck 7ffa7b095f nitb: Fix IMSI/IMEI buffer handling (Coverity) 8 years ago