]> 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, 18 Jun 2025 15:26:42 +0000 (15:26 +0000)
commit2346803cce5db72b9afac23155efc9871bc355d6
tree9ebec7c94bb32110221a07b599cc8cd87da85780
parent8ee49a67f52fb7e9606d4d68c4a46256f57294a3
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