I'm not sure if this issue should be directed at mbedtls maintainer(s), BanIP maintainer @dibdot, or if it interests both.
I have a confirmed issue and workaround using two identical devices; both on 25.12.2 stable, but on different libmbedtls versions.
Device 1 (working with no issues): libmbedtls21 3.6.5-r1
Device 2 (curl download issues): libmbedtls21 3.6.6-r1
During BanIP startup, downloading the Countryv4 lists from ipdeny . com, this error:

From affected device 2, I use the command line to try and mimic download process and get more information.
![]()
Wondering if it is a TLS 1.2 / 1.3 conflict with the website, I try again from Device2 specifying to only use TLS 1.2. This time it succeeds.
I'm not a developer - so not sure if the actual fix would be to alter mbedtls package to do some type of additional TLS version check / 1.2 fallback logic, or if BanIP should be modified to use 'curl' with TLS 1.2 when downloading lists from ipdeny . com
If I should open a report on Github for this, please advise. Thank you.
BTW - I know ideally this is something that could / should / would be fixed by the website owner of ipdeny . com. This is however a situation that could potentially occur with numerous other sites out there.
