imsd/interfaces
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 146d4368d0
util: canonical IPv6 text (RFC 5952 §4) and an address-list parser
imsd compares addresses as text against `ip xfrm` output, which prints
RFC 5952 form, while PCSCF= and LOCAL= arrive in whatever spelling the
user typed. CanonicalIp6 produces the §4 form from an IPv6 literal
(brackets accepted; a zone, a port, a dotted-quad tail, a name or an IPv4
address are refused; an IPv4-mapped address spelled in hex comes back in
hex, where inet_ntop writes it dotted), CanonicalAddr applies it to IPv6 only, and
ParseAddressList turns a comma-separated list into canonical,
deduplicated IPv6 literals in order, keeping the entries CanonicalIp6
accepts and naming every entry it refuses — an IPv4 address, a name, an
IPv6 literal with a zone or a dotted-quad tail — to a caller who asks for
them (duplicates and blanks are dropped
silently). Pure std, so the partitions stay free of inet_pton; nothing calls them yet.

Tested: crafter-build test, 7 passed.
2026-10-13 22:28:02 +02:00
..
Imsd-Aka.cppm imsd 0.2.7 — initial public snapshot 2026-07-22 23:04:21 +02:00
Imsd-Engine.cppm engine, messages, util, imsd: the reregistration carries the last challenge answer and new SA parameters 2026-10-10 21:43:07 +02:00
Imsd-Ipsec.cppm imsd: a resumed registration echoes the 401's Security-Server list from the state file 2026-10-11 02:56:47 +02:00
Imsd-Messages.cppm imsd: a resumed registration echoes the 401's Security-Server list from the state file 2026-10-11 02:56:47 +02:00
Imsd-Sdp.cppm engine/sdp: CODECS override for the codecs we offer and accept 2026-09-08 17:53:26 +02:00
Imsd-Sip.cppm engine: keep the reg-event subscription alive and act on a terminated binding 2026-10-06 14:01:33 +02:00
Imsd-Util.cppm util: canonical IPv6 text (RFC 5952 §4) and an address-list parser 2026-10-13 22:28:02 +02:00
Imsd.cppm imsd 0.2.7 — initial public snapshot 2026-07-22 23:04:21 +02:00
ImsdBus.cppm imsd, imsd-ofonod: let polkit decide call control, not the account name 2026-10-06 14:01:33 +02:00