Commit Graph

48 Commits

Author SHA1 Message Date
Sukchan Lee 1cc6736fa8 Squashed commit of the following:
commit 5070c19a5469269d036bf243ebdb2740aefc7b8d
Author: Sukchan Lee <acetcom@gmail.com>
Date:   Fri Nov 4 15:46:35 2022 +0900

    updte it

commit e49107f46152ff6dce5658b48cfb2c31df61724a
Author: Sukchan Lee <acetcom@gmail.com>
Date:   Fri Nov 4 11:03:37 2022 +0900

    update it

commit a55b977e044b1d74ccc8a19f1dbf8194c3cd7daa
Author: Sukchan Lee <acetcom@gmail.com>
Date:   Fri Nov 4 10:50:41 2022 +0900

    update it

commit 0ff0930d99bfeb91134271dae0941b4c454d1a3d
Author: Sukchan Lee <acetcom@gmail.com>
Date:   Fri Nov 4 10:09:35 2022 +0900

    update it

commit 8cb5038b66d4a605446c6fc200b77f645f7ad328
Author: Sukchan Lee <acetcom@gmail.com>
Date:   Fri Nov 4 09:39:08 2022 +0900

    update it

commit 0a6829dfb6470f3d9b786363d49387fdc688e33b
Author: Sukchan Lee <acetcom@gmail.com>
Date:   Fri Nov 4 09:06:22 2022 +0900

    update it

commit ea85035300d9a42cc5f8f7ee300d28cd055f0f1c
Author: Sukchan Lee <acetcom@gmail.com>
Date:   Thu Nov 3 21:36:17 2022 +0900

    update it

commit e86ba621de332d3f712569cf0580fc8a5321adbd
Author: Sukchan Lee <acetcom@gmail.com>
Date:   Thu Nov 3 17:39:27 2022 +0900

    update it

commit 2c05df84eabeba7c277c622e5d810768b2895961
Author: Sukchan Lee <acetcom@gmail.com>
Date:   Thu Nov 3 16:20:47 2022 +0900

    update it

commit 43c88aed3f2001fdbc28ce0f11cc21dfcdc5906f
Author: Sukchan Lee <acetcom@gmail.com>
Date:   Wed Nov 2 22:17:37 2022 +0900

    update it

commit b374db4e02e7dd153944f5a6fdc2a50c434dfa09
Author: Sukchan Lee <acetcom@gmail.com>
Date:   Wed Nov 2 22:05:53 2022 +0900

    update it
2022-11-04 17:39:29 +09:00
Sukchan Lee f1c0b6d239 Fixed a bug WebUI for production build (#1824) 2022-10-28 14:44:06 +09:00
Sukchan Lee e81265f015 Fixed the WebUI to Support MongoDB 6.0(#1824) 2022-10-25 21:15:44 +09:00
Sukchan Lee 5520cb65a5 Follow-up on #1744 2022-09-13 17:03:18 +09:00
jmasterfunk84 775520d7a8
Introduce Cancel Location and Insert Subscriber Data features to HSS. (#1744)
* Introduce Cancel Location and Insert Subscriber Data features to HSS.
* HSS database will keep track of last known MME and Update Time
* Purged UE flag is established in HSS for future PUR handling
* HSS Thread will connect to database and watch change stream
  mongoDB must be configured with a Replica Set to use this
* HSS will send IDR if subscription data changes
* HSS will send CLR to old MME if MME host or realm changes
* Function created to allow ULA and IDR to generate Subscription-Data AVP
* MME Hostname and Realm shown in WebUI

* Resolve freeDiameter errors

During a ULR, if database does not contain a last known MME, a CLR is being sent to a Null destination.  This will ensure that a destination is available in the database before sending the CLR.

* Removed change streams.  Added PUR handling.

* newline needed at end of file.

* Removed temp variable.

* * Change WebUI to 2x2 display
* Including UE Purged indicator
* Using pointers in ogs_subscription_data_t
* better memory mangement with pointers
* Tweak to Destination used by hss_s6a_send_idr to use last known MME

* Check for null mme_host and mme_realms

Do this before trying to compare the strings.
2022-09-13 16:48:20 +09:00
Sukchan Lee 3121d183f0 [HSS/PCF] Store IMEISV instead of IMEI (#1464) 2022-04-02 00:46:05 +09:00
Sukchan Lee 8f603e2049 [WebUI] Added IMEI in View (#1464) 2022-04-01 20:08:20 +09:00
Sukchan Lee 79239d8eff [IMPORTANT] changed network_access_mode: 0 (#1323)
The network access mode of HSS has been changed to 0 (Packet and Circuit).

Versions of MME prior to v2.4.2 did not use this value. Open5GS set
the attach result of Attach Complete message as it is by looking
at the attach type of the Attach Request message.

Now, if the network access mode of HSS is set to 2 (Only Packet),
this value is affected by MME from v2.4.3. Regardless of the attach type
of the Attach Request, the MME will set EPS Only to the attach result
of Attach Complete.
2022-01-16 12:35:55 +09:00
Sukchan Lee 608c08373d WebUI uses `localhost` by default (#764, #587) 2021-10-23 23:05:39 +09:00
Sukchan Lee 26f14ee7ca [WebUI] fix the security flaw in account (#764)
- In developement mode, if there is no default admin account,
  Node.js server WILL create admin/1423 account.
- In production mode, even though there is no default admin account,
  Node.js server WILL NOT create admin/1423 account.

1. WebUI installation script will create default admin account
   if there is no account.

   $ curl -fsSL https://open5gs.org/open5gs/assets/webui/install | sudo -E bash -

2. Installation script will automatically uninstall WebUI
   if WebUI has already been installed.
2021-05-08 23:11:27 +09:00
Sukchan Lee 41c6bb4681 new: HSS Cx interface is added 2021-04-05 17:09:39 +09:00
Ryan 7848b6c966
Add API tokens (#838)
* protects db endpoints with auth data, but will require ui updates to function properly

* adds an Authorization header with bearer token to all api/db/* request endpoints

* force login if token doesn't exist

* remove debug code
2021-03-12 09:13:38 +09:00
Sukchan Lee 9af4268bab arch: DB schema Changes (#796)
- New function : NSSF
- New feature : SMF selection
2021-03-08 21:25:09 +09:00
Sukchan Lee f294a5f55c Add Environment Variable for WebUI [#587]
e.g)
$ HOSTNAME=localhost npm run dev
$ PORT=4000 npm run dev
2020-10-13 12:39:45 -04:00
Björn e2d682d142
make webui listen on 0.0.0.0 (#587) 2020-09-26 09:13:46 -04:00
Sukchan Lee 835b3c9851 [#306] Refine static IP addresses 2019-11-17 17:43:36 +09:00
Sukchan Lee 142763c280 Rename Project to Open5GS
- Change BuildTool to Meson
 - Many BUGS Fixed
2019-10-27 17:41:14 +09:00
Sukchan Lee dac2bd2e4f [#240] WebUI changes to apply default value 2019-07-30 20:51:50 +09:00
Sukchan Lee cc762f3c00 WebUI PGW IP setting is added 2017-12-15 13:47:57 +09:00
Sukchan Lee c4b4a6850d default APN profile is changed from IPv4 only to IPv4 and IPv6 2017-12-14 17:14:33 +09:00
Sukchan Lee 588a6ba012 add OPc field to Subscriber and Profile Document 2017-10-25 12:17:52 +09:00
Sukchan Lee 49e6034ff9 upgrade next.js v3 2017-09-24 12:25:32 +09:00
Sukchan Lee c7fb169cb3 fix the bug from minjun' testing 2017-09-22 21:38:38 +09:00
Sukchan Lee ec3530524a add Initial Account DB and REST API 2017-09-22 09:57:52 +09:00
Sukchan Lee bf4c17a481 In Database, profile id is a key. As such, 'Title' is able to be duplcated. 2017-09-20 17:18:15 +09:00
Sukchan Lee 783afd00d9 Profile DB and REST API is added 2017-09-20 14:58:53 +09:00
Sukchan Lee a9026cb816 Profile DB is added 2017-09-20 14:47:34 +09:00
Sukchan Lee beca6af7ff WebUI: PGW IPv4 Address is added in APN configuration 2017-08-28 16:56:20 +09:00
Sukchan Lee 6b9ec5c5d7 ambr, mbr, gbr downlink/uplink DB attribute changed from 32bit to 64bit 2017-08-24 19:51:16 +09:00
Sukchan Lee 486f0b5725 add flow-direction in webui 2017-08-23 11:47:12 +09:00
Sukchan Lee 3c8dc911bd PCC Rule, Flow is added in Web User Interface 2017-08-22 13:09:28 +09:00
Sukchan Lee 5d433a13ec update it 2017-07-22 01:01:54 +09:00
Sukchan Lee 43ad929062 session code updated using axios 2017-07-07 20:18:18 +09:00
Sukchan Lee d220f9de0a update it 2017-06-25 14:45:49 +09:00
Sukchan Lee 0f15061a23 CSS work 2017-06-21 00:09:55 +09:00
Sukchan Lee c13081c55a minor update 2017-06-17 11:45:16 +09:00
Sukchan Lee f9390b5240 missing 2017-06-17 11:35:51 +09:00
Sukchan Lee 68486ac643 subscriber REST API is done 2017-06-17 11:35:12 +09:00
Sukchan Lee 5b49df0d54 backend REST API is added for MongoDB 2017-06-16 23:49:52 +09:00
Sukchan Lee 8696c35cd3 rename file 2017-06-11 00:05:12 +09:00
Sukchan Lee 798ec79bac move SQLite to MongoDB 2017-06-11 00:01:40 +09:00
Sukchan Lee 6531fd4761 update it 2017-06-10 15:59:06 +09:00
Sukchan Lee 5a24db2a44 add MongoDB 2017-06-10 15:46:06 +09:00
Sukchan Lee 001138dc7a update it 2017-05-31 09:47:03 +09:00
Sukchan Lee b99312663c add login error page 2017-05-29 17:16:36 +09:00
Sukchan Lee d25b45bf1c DB table name change from User to Account 2017-05-22 00:02:25 +09:00
Sukchan Lee 8b41158cc8 move passport 2017-05-21 23:54:44 +09:00
Sukchan Lee 16f6147295 change folder structure 2017-05-21 23:02:16 +09:00