Bug #6289
Updated by lynxis 3 months ago
The strongswan/osmo-epdg need to track the state of all ipsec tunnel.
I've created the skeleton class src/libcharon/plugins/osmo_epdg/osmo_epdg_db.c.
Use strongswan hashtables and refcounting to implement the following state:
- ref to ike_sa_t state
- IMSI
- APN
- assigned IP address
- [ ] implement set/get for unique_id
- [ ] implement get_subscriber_by_unique_id() using a simple enumerate() based on the hashtable
- [ ] set APN on UE_create()