<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hi James,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 20.02.2024 16:06, James Seer wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAAALedoie=MGBGyuW=OGPBFRnb1cgiUruEKVKo2twB2RUB2pmg@mail.gmail.com"><br>
I am already running the last version of OpenSIPS. <br>
opensips -V<br>
version: opensips 3.4.3 (x86_64/linux)<br>
deb <a href="https://apt.opensips.org" moz-do-not-send="true"
class="moz-txt-link-freetext">https://apt.opensips.org</a>
bookworm 3.4-releases'<br>
</blockquote>
<p>Strange, so indeed you have the Date fix, so it should correctly
detect timestamps "in the future".</p>
<p>So, the only explanation for the check still passing seems to
revolve around us assuming a different <b>server time</b> than
what OpenSIPS actually reads.</p>
<p>Some ideas to gather more info on the problem:</p>
<p>* first of all, check for any "silly" reasons for the error such
as, but not limited to:<br>
- upgrading the OpenSIPS package to 3.4.2+, but forgetting to
restart the instance, which is still running 3.4.1<br>
- an extra line somewhere "lower" in the config file by mistake,
resembling modparam("stir_shaken", "verify_date_freshness", 7200)
or similar<br>
* double-check for any unwanted "TZ" environment variable being
set as OpenSIPS starts (ideally, this var is not set)<br>
* double-check the system's timezone is really CET, using:</p>
<p><font face="monospace">$ date +%s </font><font
face="monospace"># to match what UNIX timestamp OpenSIPS is
pulling from the OS as well</font><br>
<font face="monospace">$ cat /etc/timezone<br>
</font></p>
<p>Finally, if you still can't get it to reject that Date header,
please open up a bug report on GitHub with some examples on and
I'll take a closer look.</p>
<p>Best regards,<br>
</p>
<pre class="moz-signature" cols="72">Liviu Chircu
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/liviuchircu">www.twitter.com/liviuchircu</a> | <a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a>
OpenSIPS Summit 2024 Valencia, May 14-17 | <a class="moz-txt-link-abbreviated" href="http://www.opensips.org/events">www.opensips.org/events</a></pre>
</body>
</html>