<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[pfSense IPv6 RA RDNSS lifetime is too short (not compliant with RFC8106)]]></title><description><![CDATA[<p dir="auto">Is there a way to configure the lifetime for IPv6 RA RDNSS fields (type 25 and 31) in the pfSense IPv6 RA server? It appears that the default behaviour with pfSense is too short, and does not comply with RFC8106.</p>
<p dir="auto">pfSense only offers three configurable values in the "Router Advertisement" UI - the "Minimum RA interval" (default 5 seconds), "Maximum RA interval" (default 20 seconds), and "Router lifetime" (default 3 * maximum RA interval).</p>
<p dir="auto">Using these defaults, RA packets it sends have a router lifetime of 60 seconds as expected. However, the RDNSS fields have a lifetime of only 20 seconds! This causes them to occasionally expire if an RA packet is lost or if there is any jitter on the network.</p>
<p dir="auto">RFC6106 specified that the lifetime SHOULD be bounded as:                  MaxRtrAdvInterval &lt;= Lifetime &lt;= 2*MaxRtrAdvInterval</p>
<p dir="auto">RFC8106 superceded this specifically to address this problem, and specifies that the value of Lifetime SHOULD by default be at least:<br />
3 * MaxRtrAdvInterval</p>
<p dir="auto">The pfSense behaviour (as tested with 2.4.5-RELEASE-p1) barely meets the RFC6106 recommendation, and is way below what RFC8106 considers the minimum for reliable operation.</p>
<p dir="auto">Altering the MaxRtrAdvInterval in the pfSense UI doesn't help - pfSense appears to always set the lifetime of the RDNSS fields equal to MaxRtrAdvInterval.</p>
]]></description><link>https://forum.netgate.com/topic/158615/pfsense-ipv6-ra-rdnss-lifetime-is-too-short-not-compliant-with-rfc8106</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Mar 2026 02:58:53 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/158615.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Nov 2020 18:40:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to pfSense IPv6 RA RDNSS lifetime is too short (not compliant with RFC8106) on Fri, 02 Apr 2021 23:49:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fabrizior">@<bdi>fabrizior</bdi></a> I didn’t know it was a thing :) Thanks for the information.</p>
]]></description><link>https://forum.netgate.com/post/975948</link><guid isPermaLink="true">https://forum.netgate.com/post/975948</guid><dc:creator><![CDATA[yaleman]]></dc:creator><pubDate>Fri, 02 Apr 2021 23:49:05 GMT</pubDate></item><item><title><![CDATA[Reply to pfSense IPv6 RA RDNSS lifetime is too short (not compliant with RFC8106) on Fri, 02 Apr 2021 14:52:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yaleman">@<bdi>yaleman</bdi></a></p>
<p dir="auto">Thanks for the details!</p>
<p dir="auto">A question though:  is there a reason not to use the System_Patches package to make these kinds of enhancements in releases prior to those containing the new code revisions/commits?</p>
<p dir="auto">Seems a lot easier than managing this stuff manually to me.</p>
<p dir="auto">e.g</p>
<ol>
<li>Make a backup of /etc/inc/services.inc</li>
<li>Review the <a href="https://redmine.pfsense.org/projects/pfsense/repository/revisions/54b3109f0b1978e22866117b6d93715eb8d78c29/diff/src/etc/inc/services.inc" target="_blank" rel="noopener noreferrer nofollow ugc">diff for the actual source commit</a> and copy the URL for the "unified diff" link at the bottom of the page</li>
<li>Install the System_Patches package</li>
<li>Add a Patch (System &gt; Patches; Add New Patch)<br />
Description: RADVD set AdvRDNSSLifetime. Fixes #11105<br />
URL/Commit ID: https://redmine.pfsense.org/projects/pfsense/repository/revisions/54b3109f0b1978e22866117b6d93715eb8d78c29/diff?format=diff</li>
<li>Click Save</li>
<li>Click "Fetch" for the newly added patch entry and wait for it to update.</li>
<li>Click "Test" and review output</li>
<li>Click "Apply"</li>
<li>Restart the RADVD service</li>
<li>Verify with a grep for "AdvRDNSSLifetime" in /var/etc/radvd.conf - one entry per interface</li>
</ol>
]]></description><link>https://forum.netgate.com/post/975863</link><guid isPermaLink="true">https://forum.netgate.com/post/975863</guid><dc:creator><![CDATA[fabrizior]]></dc:creator><pubDate>Fri, 02 Apr 2021 14:52:23 GMT</pubDate></item><item><title><![CDATA[Reply to pfSense IPv6 RA RDNSS lifetime is too short (not compliant with RFC8106) on Tue, 30 Mar 2021 13:31:22 GMT]]></title><description><![CDATA[<p dir="auto">I posted a hacky fix for this <a href="https://yaleman.org/post/2021/2021-03-30-ipv6-address-keeps-changing-on-macos-with-pfsense/" target="_blank" rel="noopener noreferrer nofollow ugc">here on my blog</a>, looks like the fix might be in production in 2.5.1? You can edit the PHP that generates <code>radvd.conf</code> so normal service restarts won't break the file - PHP's running as root so you can't stop it writing over it.</p>
]]></description><link>https://forum.netgate.com/post/975320</link><guid isPermaLink="true">https://forum.netgate.com/post/975320</guid><dc:creator><![CDATA[yaleman]]></dc:creator><pubDate>Tue, 30 Mar 2021 13:31:22 GMT</pubDate></item><item><title><![CDATA[Reply to pfSense IPv6 RA RDNSS lifetime is too short (not compliant with RFC8106) on Thu, 03 Dec 2020 14:53:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jknott">@<bdi>JKnott</bdi></a> It still seems to be overwritten - I did a "chmod 444 /var/etc/radvd.conf", and the permissions seem to have stuck ("-r--r--r--"), but the contents of the file have reverted to the defaults after restarting the service.</p>
]]></description><link>https://forum.netgate.com/post/949251</link><guid isPermaLink="true">https://forum.netgate.com/post/949251</guid><dc:creator><![CDATA[csmith]]></dc:creator><pubDate>Thu, 03 Dec 2020 14:53:09 GMT</pubDate></item><item><title><![CDATA[Reply to pfSense IPv6 RA RDNSS lifetime is too short (not compliant with RFC8106) on Thu, 03 Dec 2020 13:40:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/csmith">@<bdi>csmith</bdi></a></p>
<p dir="auto">What happens if you make it read only, after you make the change?</p>
]]></description><link>https://forum.netgate.com/post/949230</link><guid isPermaLink="true">https://forum.netgate.com/post/949230</guid><dc:creator><![CDATA[JKnott]]></dc:creator><pubDate>Thu, 03 Dec 2020 13:40:13 GMT</pubDate></item><item><title><![CDATA[Reply to pfSense IPv6 RA RDNSS lifetime is too short (not compliant with RFC8106) on Thu, 03 Dec 2020 12:41:09 GMT]]></title><description><![CDATA[<p dir="auto">How can I make changes to the "radvd.conf" to work around this?</p>
<p dir="auto">I've tried editing the file, but it appears that every time the service is restarted via the pfSense GUI, the file is regenerated and my changes are lost.</p>
<p dir="auto">I've tried searching for a way to restart the service via the CLI but to no avail.</p>
]]></description><link>https://forum.netgate.com/post/949222</link><guid isPermaLink="true">https://forum.netgate.com/post/949222</guid><dc:creator><![CDATA[csmith]]></dc:creator><pubDate>Thu, 03 Dec 2020 12:41:09 GMT</pubDate></item><item><title><![CDATA[Reply to pfSense IPv6 RA RDNSS lifetime is too short (not compliant with RFC8106) on Thu, 26 Nov 2020 11:47:24 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for confirming, and opening the bug!</p>
]]></description><link>https://forum.netgate.com/post/947772</link><guid isPermaLink="true">https://forum.netgate.com/post/947772</guid><dc:creator><![CDATA[csmith]]></dc:creator><pubDate>Thu, 26 Nov 2020 11:47:24 GMT</pubDate></item><item><title><![CDATA[Reply to pfSense IPv6 RA RDNSS lifetime is too short (not compliant with RFC8106) on Thu, 26 Nov 2020 06:11:24 GMT]]></title><description><![CDATA[<p dir="auto">https://redmine.pfsense.org/issues/11105</p>
]]></description><link>https://forum.netgate.com/post/947733</link><guid isPermaLink="true">https://forum.netgate.com/post/947733</guid><dc:creator><![CDATA[viktor_g]]></dc:creator><pubDate>Thu, 26 Nov 2020 06:11:24 GMT</pubDate></item><item><title><![CDATA[Reply to pfSense IPv6 RA RDNSS lifetime is too short (not compliant with RFC8106) on Thu, 26 Nov 2020 00:48:02 GMT]]></title><description><![CDATA[<p dir="auto">I am seeing this as well.</p>
<p dir="auto">The radvd.conf is getting generated without AdvRDNSSLifetime defined, which from what I can find SHOULD default to 2*MaxRtrAdvInterval from what I am reading but it seems it is using just the MaxRtrAdvInterval.</p>
<p dir="auto">Adding AdvRDNSSLifetime {3*MaxRtrAdvInterval} to the config should fix it, and not require waiting for radvd to be fixed.</p>
<p dir="auto">Making this,</p>
<pre><code>	RDNSS 2001:470:****:1::3 2001:470:****:2::8 { };

</code></pre>
<p dir="auto">into this.</p>
<pre><code>	RDNSS 2001:470:****:1::3 2001:470:****:2::8 {
	AdvRDNSSLifetime 3060 
	};
</code></pre>
]]></description><link>https://forum.netgate.com/post/947690</link><guid isPermaLink="true">https://forum.netgate.com/post/947690</guid><dc:creator><![CDATA[Napsterbater]]></dc:creator><pubDate>Thu, 26 Nov 2020 00:48:02 GMT</pubDate></item></channel></rss>