ipsec: the default offer names the null cipher beside aes-cbc
The UE is to announce the IPsec algorithms it supports (TS 24.229 5.1.1.2.2 d), and TS 33.203 7.2 has its first REGISTER carry "a list of identifiers for the integrity and encryption algorithms, which the UE supports". The null cipher is one a UE must support (7.1 by TS 33.210 5.3.3 and RFC 8221; GSMA IR.92 5.3), and imsd can install it, but its default offer named aes-cbc alone. Ice Norway has answered imsd's first REGISTER 403 (2026-11-01, -02), where the phone's own modem had carried a call with the CS domain detached (2026-09-02). On Odido it drew an answer that the imsd of that day did not log, and the Python stack's REGISTER minutes later a 403 (2026-09-16), with a SIM that another Fairphone 6's own IMS client had registered with (2026-07-15). That client's four mechanisms were answered with one naming ealg=null, as the Python stack's offer of the null cipher was (2026-07-13). Whether the offer is the reason for either answer is not measured. The default offer is aes-cbc, then null. A P-CSCF that selects the null cipher from it gets SAs that protect the signalling's integrity and do not encrypt it; EALG=aes-cbc gives 1.2.1's offer. Tested: the suites; the daemon of this commit against a stand-in P-CSCF on the workstation that refuses an offer without the null cipher (imsd 1.2.1 is answered 403 there, this commit's is challenged and selects the null mechanism); on the FP6 on KPN, in an earlier build of this change, on 1.2.0, a reregistration and a fresh registration with the default offer: KPN named aes-cbc, and answered the reregistration, the fresh registration's protected REGISTER and the reg-event SUBSCRIBEs 200.
This commit is contained in:
parent
ed2a009425
commit
d3c1ba4a29
6 changed files with 53 additions and 13 deletions
|
|
@ -9,7 +9,8 @@ context and the per-request variables (tags, branches, CSeq) so the builders
|
|||
are pure functions with no hidden state: the engine owns the dialog bookkeeping
|
||||
and the transport owns the socket, this module only formats bytes. That makes
|
||||
each message byte-pinnable — tests/Messages compares a REGISTER pair and an INVITE
|
||||
with strings cross-generated from the Python reference stack, header for header.
|
||||
with strings cross-generated from the Python reference stack, header for header
|
||||
but for the divergences that suite's header names.
|
||||
|
||||
Covers: the unprotected + protected REGISTER and the refresh re-REGISTER
|
||||
(sec-agree, Security-Client/Verify, AKAv1-MD5 Authorization); the INVITE with
|
||||
|
|
|
|||
Loading…
Reference in a new issue