Gitiles
Code Review
Sign In
gerrit.osmocom.org
/
osmo-mgw
/
2f44693fad8505255293d3ed37dbd4e7cabebd37
/
openbsc
/
src
/
libmsc
/
db.c
e6052c4
Make random MSISDN assignment optional
by Max
· 8 years ago
0fcd2e2
Make random extension range configurable
by Max
· 8 years ago
307e406
tweak db debug log: log TMSI as hex
by Neels Hofmeyr
· 8 years ago
a8d8e93
db.c: implemented incremental migration
by Vadim Yanitskiy
· 8 years ago
d3fa84d
use new libosmocore gsm_23_003.h for IMEI/IMSI length
by Harald Welte
· 8 years ago
121e9a4
Start to use struct osmo_auth_vector from gsm_auth_tuple
by Harald Welte
· 8 years ago
adb8675
db: If creating a subscriber in the db fails, return NULL
by Holger Hans Peter Freyther
· 8 years ago
2826df5
subscr: Make db_create_subscriber fail on duplicates
by Holger Hans Peter Freyther
· 8 years ago
3ad0346
Revert "move to hex TMSI representation"
by Harald Welte
· 8 years ago
044fbe6
move to hex TMSI representation
by Vadim Yanitskiy
· 8 years ago
f9f4490
db: Avoid undefined behavior when copying cm2/cm3 from the db
by Holger Hans Peter Freyther
· 9 years ago
2aedfbd
libmsc: Use RAND_bytes to generate a token
by Daniel Willmann
· 9 years ago
cdeb815
libmsc: Use RAND_bytes when choosing a tmsi
by Daniel Willmann
· 9 years ago
5c06e40
use non-vararg functions if possible
by Max
· 9 years ago
7ffa7b0
nitb: Fix IMSI/IMEI buffer handling (Coverity)
by Jacob Erlbeck
· 9 years ago
1e30a28
msc: Add and use gsm_subscriber_group
by Jacob Erlbeck
· 10 years ago
c7548a1
DB: produce a backtrace in case of a DB error
by Harald Welte
· 10 years ago
b115cb6
db: Use ulonglong to access the database for sqlite3
by Holger Hans Peter Freyther
· 10 years ago
f242e7a
db: Fix fall-out with the subscriber removal in the subscriber deletion code
by Holger Hans Peter Freyther
· 10 years ago
6114401
db: Add testcase for the db migration.
by Holger Hans Peter Freyther
· 10 years ago
e7cc9aa
sms: Add code to migrate the database to the new schema
by Holger Hans Peter Freyther
· 10 years ago
ca7ed2d
sms: Do not store received id in the SMS database.
by Alexander Chemeris
· 11 years ago
ca3c256
sms: Kill the sms->sender and use addr/ton/npi throughout the code
by Holger Hans Peter Freyther
· 11 years ago
d883db0
nitb/ctrl: Implement a command to list all active subscribers
by Holger Hans Peter Freyther
· 10 years ago
2d99eeb
nitb/ctrl: Implement creating and deleting subscribers
by Holger Hans Peter Freyther
· 10 years ago
1e77e3d
db,sms: Rename db_sms_mark_sent() to db_sms_mark_delivered()
by Alexander Chemeris
· 10 years ago
7e20f64
db: Remove the german from the log message
by Alexander Chemeris
· 10 years ago
900394a
db: Avoid crash we have seen with the dbi code when reading a SMS
by Holger Hans Peter Freyther
· 11 years ago
c9763a3
db: Fetch the authorized key using ulonglong
by Kevin Redon
· 11 years ago
7634ec1
db: Remove the struct gsm_network from the database layer
by Holger Hans Peter Freyther
· 11 years ago
8c16928
Fix typo ',' -> ';' at the end of a line.
by Alexander Chemeris
· 11 years ago
c63f6f1
expiration: Allow to disable the periodic location updating procedure
by Holger Hans Peter Freyther
· 11 years ago
5ecbc93
misc: Fix compilation warnings
by Holger Hans Peter Freyther
· 11 years ago
e885951
db: Fix an issue with the memset
by Holger Hans Peter Freyther
· 11 years ago
bfbdeec
libmsc: Track and update the location update expiry
by Jan Luebbe
· 12 years ago
c0de14d
SMPP: add small utility program 'smpp_mirror'
by Harald Welte
· 12 years ago
5e80cc4
libmsc/db: Fix max value of ainfo->a3a8_ki_len in db_get_authinfo_for_subscr
by Sylvain Munaut
· 12 years ago
d1476bc
db: use ANSI (void) function declarations
by Harald Welte
· 13 years ago
2c5f4c6
db: fix Smatch warnings
by Harald Welte
· 13 years ago
c0d17f2
src: use namespace prefix osmo_* for misc utils
by Pablo Neira Ayuso
· 13 years ago
dfb342c
src: use namespace prefix osmo_counter*
by Pablo Neira Ayuso
· 13 years ago
c42ad8b
misc: Move from u_int to uint types of stdint.h
by Holger Hans Peter Freyther
· 13 years ago
136f453
src: use new library libosmogsm and new path to headers in libosmocore
by Pablo Neira Ayuso
· 13 years ago
89579b4
prefix sub-directories containing libraries with 'lib'
by Harald Welte
· 13 years ago
[Renamed from openbsc/src/msc/db.c]
31c00f7
re-structure the OpenBSC directory layout
by Harald Welte
· 13 years ago
[Renamed from openbsc/src/db.c]
f4152d1
misc: Remove unused variable from the db.
by Holger Hans Peter Freyther
· 14 years ago
624e89d
[db] Fix double-quoting in libdbi backend
by Harald Welte
· 14 years ago
9af6ddf
License change: We are now AGPLv3+ instead of GPLv2+
by Harald Welte
· 14 years ago
f64a20f
db: Quote the IMEI string before passing it into the database.
by Holger Hans Peter Freyther
· 14 years ago
019d016
[db] Properly quote name and extension for SQL access
by Harald Welte
· 14 years ago
73b878a
db: Introduce a limit in delivery attempts for the SMS search
by Holger Hans Peter Freyther
· 14 years ago
812dad0
db: Add method to load a SMS by id.
by Holger Hans Peter Freyther
· 14 years ago
abd0cac
subscr: Add a VTY command to update the subscriber from the database.
by Holger Hans Peter Freyther
· 14 years ago
28dcbc5
misc: Remove gsm_subscriber.h from the db.h file
by Holger Hans Peter Freyther
· 14 years ago
c5faf66
misc: Reorder includes, move osmocore to the end
by Holger Hans Peter Freyther
· 14 years ago
adb6e1c
janitor: Move the * to the variable name
by Holger Hans Peter Freyther
· 14 years ago
7a7d364
db.c: Fix some SQL queries for ambiguous column names
by Sylvain Munaut
· 14 years ago
adea4f1
db: Use proper %llu for subscriber ID in format string.
by Sylvain Munaut
· 14 years ago
31ac307
db: Fix typo in sync_lastauthtuples SQL UPDATE stmt
by Sylvain Munaut
· 14 years ago
92b2ff5
db: Change naming convention for auth info functions
by Sylvain Munaut
· 14 years ago
10bf812
db: Use subscriber_id as primary key for AuthKeys/AuthLastTuples
by Sylvain Munaut
· 14 years ago
c614a6a
db: Rename AuthTuples to AuthLastTuples
by Sylvain Munaut
· 14 years ago
d94d6a0
DB: don't use reserved "index" word in SQL table field name
by Harald Welte
· 14 years ago
c191986
[GPRS] NS: more rate counters for BLOCK / DEAD count
by Harald Welte
· 14 years ago
f2b4cd7
[GPRS] NS: Start to use rate_ctr_group code from libosmocore
by Harald Welte
· 14 years ago
ceb072d
db: Fix aliasing warning by casting the signed char to a struct
by Holger Hans Peter Freyther
· 14 years ago
acf8a0c
[misc] Remove whitespace from the end of the line.
by Holger Hans Peter Freyther
· 14 years ago
b464fb4
db: Fix a bug where no pending SMS were found
by Holger Hans Peter Freyther
· 14 years ago
dfe6c7d
split 'libosmocore' from openbsc codebase
by Harald Welte
· 15 years ago
062d5ef
db: Add methods to set auth{info,tuple} for a subscriber
by Sylvain Munaut
· 15 years ago
e1cb4de
db: Fix bad size comparison when retrieving Ki
by Sylvain Munaut
· 15 years ago
70881b7
db: Add issued/use_count/key_seq fields to AuthTuples
by Sylvain Munaut
· 15 years ago
77d334a
db: Fix type of algorithm_id (NUMERIC -> INTEGER)
by Sylvain Munaut
· 15 years ago
deebb11
db: Fix missing commas in AuthTuples table creation
by Sylvain Munaut
· 15 years ago
441e483
[db] A new subscriber is an INFO event, not NOTICE
by Harald Welte (local)
· 15 years ago
1f3ecd4
'classmark1' is not an integer field in the database
by Harald Welte (local)
· 15 years ago
ae1f159
Converrt the database later to use DEBUGP/LOGP instead of stderr
by Harald Welte
· 15 years ago
0b906d0
db: coding style cleanup
by Harald Welte
· 15 years ago
09f7ad0
fix merge artefact from db.c
by Harald Welte
· 15 years ago
3606cc5
[authentication] Code for retrieving authentication data from SQL DB
by Harald Welte
· 15 years ago
f9a43c4
fix sql table creation for 'Counters' table
by Harald Welte
· 15 years ago
ffa55a4
statistics: Introduce 'struct counter' instead of using unsigned long
by Harald Welte
· 15 years ago
ff1f19e
Implement a better sending of pending SMS
by Sylvain Munaut
· 15 years ago
d5778fc
[db] Fix queries for unsent SMS
by Sylvain Munaut
· 15 years ago
4669f3d
fix compile warning in db.c
by Harald Welte
· 15 years ago
d409be7
change some identifiers from u_int64_t to unsigned long long
by Harald Welte
· 15 years ago
2657abf
[db] Fix compile warnings in db.c
by Holger Hans Peter Freyther
· 15 years ago
2223025
[tmsi] Make the tmsi a 4 octet number
by Holger Hans Peter Freyther
· 15 years ago
55726d7
Use correct capitalization on SQL statements
by Harald Welte
· 15 years ago
ee4410a
actual code running at end of har2009
by Harald Welte (local)
· 15 years ago
026531e
store all APDU's received from the MS in the database
by Harald Welte (local)
· 15 years ago
db552c5
don't try to deliver sms to a subscriber that's not registered
by Harald Welte (local)
· 15 years ago
3feef25
fix token allocation sql strings
by Harald Welte (local)
· 15 years ago
f0b4cef
fix random extension generation
by Jan Luebbe
· 15 years ago
9eca37f
fix problems with tmsi uniqueness in the subscriber table
by Jan Luebbe
· 15 years ago
1da59ed
fix a wrong format specifier
by Jan Luebbe
· 15 years ago
ebcce2a
allocate an extension when creating the subscriber
by Jan Luebbe
· 15 years ago
31bef49
token support in the DB
by Jan Luebbe
· 15 years ago
b0dfc31
flag new subscriber structs in memory and send a signal
by Jan Luebbe
· 15 years ago
850326e
db.c: Move the schema revision check after creating the tables
by Holger Hans Peter Freyther
· 15 years ago
Next »