]> 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>
Thu, 26 Jun 2025 18:25:13 +0000 (12:25 -0600)
commite6d0d376a2d03eb871adbcadf8dcb651deb1741a
tree3bec692f97843d0b4d9c2d6f025c8d7e7f82953e
parentbeac79f0922fc929613aafa5e1199eca5137fb4b
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
(cherry picked from commit 6b107e90f33fe168055f5a7a38f5237ddacfa599)
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