mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-hlr.git
				synced 2025-11-03 21:53:30 +00:00 
			
		
		
		
	Compare commits
	
		
			5 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					a6e983b985 | ||
| 
						 | 
					559f4e8024 | ||
| 
						 | 
					c9b80363f4 | ||
| 
						 | 
					42f82975f2 | ||
| 
						 | 
					4af47bb3d8 | 
@@ -1,6 +1,8 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=Osmocom Home Location Register (OsmoHLR)
 | 
			
		||||
Documentation=https://osmocom.org/projects/osmo-hlr/wiki/OsmoHLR
 | 
			
		||||
After=network-online.target
 | 
			
		||||
Wants=network-online.target
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
Type=simple
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										13
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							@@ -1,3 +1,16 @@
 | 
			
		||||
osmo-hlr (1.6.2) unstable; urgency=medium
 | 
			
		||||
 | 
			
		||||
  * systemd: depend on networking-online.target
 | 
			
		||||
 | 
			
		||||
 -- Oliver Smith <osmith@sysmocom.de>  Fri, 26 May 2023 14:54:12 +0200
 | 
			
		||||
 | 
			
		||||
osmo-hlr (1.6.1) unstable; urgency=medium
 | 
			
		||||
 | 
			
		||||
  * Run struct_endianness.py
 | 
			
		||||
  * tests: adjust to XOR-3G rename in libosmocore
 | 
			
		||||
 | 
			
		||||
 -- Oliver Smith <osmith@sysmocom.de>  Thu, 23 Feb 2023 10:23:04 +0100
 | 
			
		||||
 | 
			
		||||
osmo-hlr (1.6.0) unstable; urgency=medium
 | 
			
		||||
 | 
			
		||||
  [ Vadim Yanitskiy ]
 | 
			
		||||
 
 | 
			
		||||
@@ -71,7 +71,7 @@ struct osmo_mdns_rfc_header {
 | 
			
		||||
	uint16_t nscount; /* Number of authority records */
 | 
			
		||||
	uint16_t arcount; /* Number of additional records */
 | 
			
		||||
#elif OSMO_IS_BIG_ENDIAN
 | 
			
		||||
/* auto-generated from the little endian part above (libosmocore/contrib/struct_endianess.py) */
 | 
			
		||||
/* auto-generated from the little endian part above (libosmocore/contrib/struct_endianness.py) */
 | 
			
		||||
	uint16_t id;
 | 
			
		||||
	uint8_t qr:1, opcode:4, aa:1, tc:1, rd:1;
 | 
			
		||||
	uint8_t ra:1, z:3, rcode:4;
 | 
			
		||||
 
 | 
			
		||||
@@ -677,9 +677,6 @@ GET_REPLY 112 subscriber.by-imsi-901991234567891.aud2g none
 | 
			
		||||
SET 113 subscriber.by-imsi-901991234567891.aud2g xor,c01ffedc1cadaeac1d1f1edacac1ab0a
 | 
			
		||||
SET_REPLY 113 subscriber.by-imsi-901991234567891.aud2g OK
 | 
			
		||||
 | 
			
		||||
GET 114 subscriber.by-imsi-901991234567891.aud2g
 | 
			
		||||
GET_REPLY 114 subscriber.by-imsi-901991234567891.aud2g XOR,c01ffedc1cadaeac1d1f1edacac1ab0a
 | 
			
		||||
 | 
			
		||||
SET 115 subscriber.by-imsi-901991234567891.aud2g none
 | 
			
		||||
SET_REPLY 115 subscriber.by-imsi-901991234567891.aud2g OK
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -160,7 +160,7 @@ OsmoHLR# subscriber imsi 123456789023000 show
 | 
			
		||||
    ID: 101
 | 
			
		||||
    IMSI: 123456789023000
 | 
			
		||||
    MSISDN: 423
 | 
			
		||||
    2G auth: XOR
 | 
			
		||||
...
 | 
			
		||||
             KI=deaf0ff1ced0d0dabbedd1ced1cef00d
 | 
			
		||||
 | 
			
		||||
OsmoHLR# subscriber imsi 123456789023000 update aud2g comp128v1 ki BeefedCafeFaceAcedAddedDecadeFee
 | 
			
		||||
 
 | 
			
		||||
@@ -27,7 +27,12 @@ AT_KEYWORDS([db])
 | 
			
		||||
cat $abs_srcdir/db/db_test.ok > expout
 | 
			
		||||
cat $abs_srcdir/db/db_test.err > experr
 | 
			
		||||
sqlite3 db_test.db < $abs_top_srcdir/sql/hlr.sql
 | 
			
		||||
AT_CHECK([$abs_top_builddir/tests/db/db_test], [], [expout], [experr])
 | 
			
		||||
 | 
			
		||||
# Compatibility with libosmocore I446e54d0ddf4a18c46ee022b1249af73552e3ce1
 | 
			
		||||
$abs_top_builddir/tests/db/db_test >out 2>err
 | 
			
		||||
sed -i "s/XOR-3G,/XOR,/g" err
 | 
			
		||||
 | 
			
		||||
AT_CHECK([cat out; cat err >&2], [], [expout], [experr])
 | 
			
		||||
AT_CLEANUP
 | 
			
		||||
 | 
			
		||||
# AT_SKIP_IF: disable for old sqlite versions, because the way we dump tables in the test doesn't work with it.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user