]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_stir_shaken: Add "ignore_sip_date_header" config option.
authorGeorge Joseph <gjoseph@sangoma.com>
Sun, 15 Jun 2025 20:43:13 +0000 (14:43 -0600)
committerGeorge Joseph <gjoseph@sangoma.com>
Wed, 17 Sep 2025 20:03:00 +0000 (14:03 -0600)
commit12337a55a4c2a7d10fe23552af1bf12738b78b99
tree893cc8fdc27042974ad241b2f9b5cfc49bca7c1c
parenteb6808e58052b2fd82ad39a3c3bbef8a03b84314
res_stir_shaken: Add "ignore_sip_date_header" config option.

UserNote: A new STIR/SHAKEN verification option "ignore_sip_date_header" has
been added that when set to true, will cause the verification process to
not consider a missing or invalid SIP "Date" header to be a failure.  This
will make the IAT the sole "truth" for Date in the verification process.
The option can be set in the "verification" and "profile" sections of
stir_shaken.conf.

Also fixed a bug in the port match logic.

Resolves: #1251
Resolves: #1271
configs/samples/stir_shaken.conf.sample
res/res_pjsip_stir_shaken.c
res/res_stir_shaken/common_config.c
res/res_stir_shaken/common_config.h
res/res_stir_shaken/profile_config.c
res/res_stir_shaken/stir_shaken_doc.xml
res/res_stir_shaken/verification.c
res/res_stir_shaken/verification_config.c