<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.kitz.co.uk/index.php?action=history&amp;feed=atom&amp;title=Servicecyclev6_patch281</id>
		<title>Servicecyclev6 patch281 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.kitz.co.uk/index.php?action=history&amp;feed=atom&amp;title=Servicecyclev6_patch281"/>
		<link rel="alternate" type="text/html" href="https://wiki.kitz.co.uk/index.php?title=Servicecyclev6_patch281&amp;action=history"/>
		<updated>2026-06-15T21:33:28Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.0</generator>

	<entry>
		<id>https://wiki.kitz.co.uk/index.php?title=Servicecyclev6_patch281&amp;diff=902&amp;oldid=prev</id>
		<title>Chrysalis: Created page with &quot;Default behaviour on pfSense is to cycle all services if any configured gateways go offline, this can include VPN's and tunnels not just broadband connectivity.  This can caus...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.kitz.co.uk/index.php?title=Servicecyclev6_patch281&amp;diff=902&amp;oldid=prev"/>
				<updated>2025-09-21T21:06:35Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Default behaviour on pfSense is to cycle all services if any configured gateways go offline, this can include VPN&amp;#039;s and tunnels not just broadband connectivity.  This can caus...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Default behaviour on pfSense is to cycle all services if any configured gateways go offline, this can include VPN's and tunnels not just broadband connectivity.&lt;br /&gt;
&lt;br /&gt;
This can cause problems e.g. if your pfSense is hosting LAN services such as a NTP server or UPS daemon.  Consider a scenario e.g. if you have a power cut, your WAN goes offline, pfSense then puts services into a cycle loop, which in turn drops connectivity to the UPS daemon so client machines are unaware of power status and battery level which might prevent automated safe shutdown/hibernation.&lt;br /&gt;
&lt;br /&gt;
This patch changes the behaviour so services will only get cycled if a external non OpenVPN interface comes back online with a different IP address, if its a cycle keeping the existing IP, then it will not cycle all services.&lt;br /&gt;
&lt;br /&gt;
This is the IPv6 version of the patch, there is also a IPv4 version.&lt;br /&gt;
&lt;br /&gt;
This patch also reduces log noise from dhcp6 client renewals on the WAN connection that was added in recent builds of pfSense.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Paste the below code into the ''Patch Contents'' box.&lt;br /&gt;
&lt;br /&gt;
Add a description such as 'Better diagnostics limiters layout' in the ''Description'' box.&lt;br /&gt;
&lt;br /&gt;
Set ''Path Strip Count'' to '0'.&lt;br /&gt;
&lt;br /&gt;
''Base Directory'' to '/'.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;--- /etc/rc.newwanipv6  2022-01-31 19:53:42.000000000 +0000&lt;br /&gt;
+++ /etc/rc.newwanipv6     2023-04-18 03:15:33.061352000 +0100&lt;br /&gt;
@@ -62,7 +62,5 @@&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 if (!empty($reason) &amp;amp;&amp;amp; ($reason != 'RENEW')) {&lt;br /&gt;
         log_error(&amp;quot;rc.newwanipv6: Info: starting on {$argument} due to {$reason}.&amp;quot;);&lt;br /&gt;
-} else {&lt;br /&gt;
-        log_error(&amp;quot;rc.newwanipv6: Info: starting on {$argument}.&amp;quot;);&lt;br /&gt;
 }&lt;br /&gt;
@@ -255,11 +253,6 @@&lt;br /&gt;
 /* reconfigure IPsec tunnels */&lt;br /&gt;
 ipsec_force_reload($interface, 'inet6');&lt;br /&gt;
 &lt;br /&gt;
-/* start OpenVPN server &amp;amp; clients */&lt;br /&gt;
-if (substr($interface_real, 0, 4) != &amp;quot;ovpn&amp;quot;) {&lt;br /&gt;
-       openvpn_resync_all($interface, 'inet6');&lt;br /&gt;
-}&lt;br /&gt;
-&lt;br /&gt;
 /* reconfigure GRE/GIF tunnels */&lt;br /&gt;
 $gre = link_interface_to_tunnelif($interface, 'gre', 'inet6');&lt;br /&gt;
 array_walk($gre, 'interface_gre_configure');&lt;br /&gt;
@@ -286,7 +279,6 @@&lt;br /&gt;
        /* reload graphing functions */&lt;br /&gt;
        enable_rrd_graphing();&lt;br /&gt;
 &lt;br /&gt;
-       restart_packages();&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 unlink_if_exists(&amp;quot;{$g['tmp_path']}/{$interface}_upstart6&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Pfsense Patches]]&lt;/div&gt;</summary>
		<author><name>Chrysalis</name></author>	</entry>

	</feed>