7.23.8 [long-term] is released!

In my case (E50UG, 3 x hAP ax²), error messages log at every boot... and twice :wink:

Good to see the stability and security fixes, especially the IPsec and Wi-Fi improvements. Worth backing up the configuration before updating, as recommended. Has anyone noticed any issues after installing 7.23.8?

Thank you all for the reports. The Dude "connecting" issue (login succeeds on the device, but Dude never leaves "Connecting") is a regression since 7.23.6 and is not fixed in 7.23.8.

We have acknowledged the issue. It is related to the brute-force protection feature, which adds extra delays on not so fast boards, and these delays cause the described behaviour. We expect it to be fixed shortly.
@eddieb @vivoras @glat @tdw @nmt1900 @eobukhov @sid5632

No, till you need that backup. It's up to you. What is the problem with that?

On 7.25rc1 it looked like connectivity sort of works (after very long waiting) but 7.25rc2 broke it again. It would be good if this protection feature had some sort of configurability to avoid this.

Can anyone confirm or replicate this?

I was able to reproduce the issue several times on my x86 router, but eventually threw in the towel. I'd never had this kind of problem with MikroTik before.

On top of that, the update broke DNS - NextDNS simply wouldn't work on one of my subnets. I couldn't afford downtime since I host external services, so I swapped in a spare hAP ac2 running the latest Long-term release, which worked flawlessly.

I've since switched the x86 box to Debian (nftables, CAKE QoS, dnsmasq as dhcp together with NextDNS CLI) - much more control and far fewer surprises.

CRS354-48G-4S+2Q+ unstable after 8 work days. Some traffic was undelivered. Working with SQL was a massacre. Ping sometimes doesn't work (34/3600 failed). All returned to nominal after reboot. Ping 100% for now.

7.23.8 DHCPv6-PD: /60 delegation creates a /68 pool (delegated length + 8), pool-prefix-length ignored

Running 7.23.8 long-term on an RB4011 with two upstreams doing DHCPv6-PD. One
ISP hands out a /56, the other a /60. The /60 one ended up with a /68 dynamic
pool, which breaks from-pool addressing on the LAN side.

Pools after bind:

NAME PREFIX PREFIX-LENGTH
ispa-pd 2001:db8:200:fa00::/56 64
ispb-pd 2001:db8:100:40::/60 68

Both pools are the delegated length + 8. The /56 one just happens to come out
at /64.

Client config (anonymized):

/ipv6 dhcp-client
add add-default-route=yes interface=ether4 pool-name=ispa-pd
prefix-hint=::/56 request=address,prefix use-peer-dns=no
add add-default-route=yes check-gateway=ping default-route-distance=10
default-route-tables=default:1 interface=ether2 pool-name=ispb-pd
pool-prefix-length=64 prefix-hint=::/60 request=address,prefix use-peer-dns=no

What I've found:

  • The pool was /68 with pool-prefix-length unset, and also /68 while export
    showed pool-prefix-length=64.
  • Changing pool-prefix-length doesn't touch the existing dynamic pool. After
    setting it to 64 again the pool was recreated and came up as /64.
  • A manual renew kept it at /64. I haven't confirmed yet whether a natural
    renew/rebind brings back the /68.
  • export lists pool-prefix-length=64, which suggests 64 is no longer the
    default. Did the default change to something relative in 7.x?

Workarounds if you hit this:

  • Set pool-prefix-length=64 explicitly, then release the client so the pool is
    rebuilt.
  • Or skip the pool and add the LAN /64 from the dhcp-client script using
    $"pd-prefix".

Has anyone else seen this on 7.23.x? I've opened a support ticket and will
post the reply here.

Can https://mikrotik.com/supportsec/cve-2026-84411/ please be updated?

The behavior with the prefix length of the pool set to PD length + 8 was there since very long and was even documented in the past.

You now see the problem because 7.23 enforces that the prefix length given out by a pool must be 64 if you want to assign it to an /ipv6 address entry to be advertised for SLAAC. Previous version had the wrong behavior that they happily took the /68 pool prefix length and use it for the entry that requires /64 without complaining. Now the /ipv6 address entry complains. See the discussion that came above the post I linked in the 7.23 release thread.

So to do it correctly you have to set pool-prefix-length to at least 64. At least, because the newer versions now also allows creating sub pools from bigger pools

Yes, I understand that it must be a /64 for SLAAC. My observation is that it should make the default behavior assumption of a /64 rather than randomly setting a /68 due to PD+8, which breaks SLAAC and is generally (although not as an IETF defined standard) recommended that all LAN segments are /64.

My suggestion is that default behavior of pool-prefix-length should be /64 unless manually set otherwise, which is not the case. In that post it says "If value is unset, then prefix will be added with the length as received from the server.". When left unset it should default to /64.

That behavior (received prefix length + 8) has always been there since I first used IPv6 with RouterOS. In the first version of the documentation that described the DHCPv6 client in 2022 it was already mentioned so:

DHCP - RouterOS - MikroTik Documentation

I have no idea why MikroTik make the wrong change to the old documentation that changed that description in January of this year:

Page Comparison - DHCP (v.94 vs v.95) - RouterOS - MikroTik Documentation

Because that modified description is wrong. The previous description is currently still correct as of 7.26beta3. Maybe Mārtiņš S. can tell why they made that edit.

In the current new manual site, the description in the CLI section is more correct:

dhcp-client | RouterOS Manual

and shows the + 8 behavior. If the default pool-prefix-length value is now changed to 64 as you ask, that would actually be breaking a many years long documented behavior. The pools are not only used for SLAAC, so a default prefix length of 64 should not be assumed. The default behavior allows the pool to gives out 256 entries, similar to when you add a IPv4 pool with a /24 range.

Again, you only notice that the prefix length is 68 now because of the stricter enforcement made to /ip address that requires the prefix length entered in the address field to match the length provided by the pool.

I think +8 is fine by default, but I also think that the automatic value should be clamped at 64, as the most common sensible value.

So if a /48 handed out then /56; if 56 -> 64; but 60 -> 64.

I agree, but the clamping must only be done when pool-prefix-length is unset. I have setup where the only /64 received from upstream DHCPv6 is assigned to a pool with prefix length 128, and only individual /128 are assigned to the router's interfaces, the rest are used for the DHCPv6 server giving out single addresses. pool-prefix-length=128 must be set-able in such configurations.

Yeah. Only the automatic value. RouterOS generally follows this principle pretty well: if the user knows what they want (or thinks they do), let them have it.

But defaulting to /68 in a common case is a bit nonsensical. To be fair, the implementation is pretty old, and the standard does suggest /56 at the minimum.

I don't suppose @strods you could let us know if any update is planned for the 7.23.8 LTS release? Is there a 7.23.9 planned? I need to update my network, and would like to update it to 7.23.x, but if you're going to be coming out with 7.23.9 next week, I'll wait... I have hundreds of MikroTik's in production, so I can't just update all the time.

Version 7.24.6 has been released: