| 190 | * Next, the UE "database" needs to be configured. Amarisoft allows users to either set up a persistent database, or simply use a dictionary like-structure within mme.cfg to specify allowable UEs. The GENI LTE EPC will use the |
| 191 | standard structure, wherein a UE entry contains the following fields, all located in the mme.cfg file: |
| 192 | {{{ |
| 193 | { |
| 194 | sim_algo: XXX, |
| 195 | imsi: XXX, |
| 196 | amf: XXX, |
| 197 | sqn: XXX, |
| 198 | k: XXX, |
| 199 | opc: XXX |
| 200 | } |
| 201 | }}} |
| 202 | |
| 203 | The default configuration file will obviously have no UEs configured in this |
| 204 | structure. Any time a new SIM card is created, or a new UE needs to be added |
| 205 | it must be appended to this list: |
| 206 | |
| 207 | __Before (default config file):__ |
| 208 | {{{ |
| 209 | /* user data base */ |
| 210 | ue_db: [ |
| 211 | { |
| 212 | sim_algo: "xor", /* USIM authentication algorithm: xor, milenage or tuak */ |
| 213 | imsi: "001010123456789", /* Anritsu Test USIM */ |
| 214 | // imsi: "001012345678901", /* Agilent or R&S Test USIM */ |
| 215 | amf: 0x9001, /* Authentication Management Field */ |
| 216 | sqn: "000000000000", /* Sequence Number */ |
| 217 | K: "00112233445566778899aabbccddeeff", /* Anritsu Test USIM */ |
| 218 | // K: "4147494C454E5420544543484E4F0000", /* Agilent Test USIM */ |
| 219 | // K: "000102030405060708090A0B0C0D0E0F", /* R&S Test USIM */ |
| 220 | /* if true, allow several UEs to have the same IMSI (useful |
| 221 | with test SIM cards). They are distinguished with their |
| 222 | IMEI. default = false. */ |
| 223 | multi_sim: true, |
| 224 | }, |
| 225 | /* Add new entries for each IMSI/K */ |
| 226 | ], |
| 227 | }}} |
| 228 | __An example of an addition to the UE list::__ |
| 229 | {{{ |
| 230 | ue_db: [ |
| 231 | { |
| 232 | sim_algo: "xor", /* USIM authentication algorithm: xor, milenage or tuak */ |
| 233 | imsi: "001010123456789", /* Anritsu Test USIM */ |
| 234 | // imsi: "001012345678901", /* Agilent or R&S Test USIM */ |
| 235 | amf: 0x9001, /* Authentication Management Field */ |
| 236 | sqn: "000000000000", /* Sequence Number */ |
| 237 | K: "00112233445566778899aabbccddeeff", /* Anritsu Test USIM */ |
| 238 | // K: "4147494C454E5420544543484E4F0000", /* Agilent Test USIM */ |
| 239 | // K: "000102030405060708090A0B0C0D0E0F", /* R&S Test USIM */ |
| 240 | /* if true, allow several UEs to have the same IMSI (useful |
| 241 | with test SIM cards). They are distinguished with their |
| 242 | IMEI. default = false. */ |
| 243 | multi_sim: true, |
| 244 | }, |
| 245 | { |
| 246 | sim_algo: "milenage", /* OAI uses milenage */ |
| 247 | imsi: "0000000000000", /* OAI card 1 */ |
| 248 | amf: 0x000, /* Authentication Management Field */ |
| 249 | sqn: "000000000000", /* Sequence Number */ |
| 250 | K: "h3iu24kj34bkj234k34", /* OAI K key */ |
| 251 | opc: "2b4kh2b42hb34jh234", /* OAI opc */ |
| 252 | }, |
| 253 | }}} |