Question about MD5/auth warnings.

Leo Vandewoestijne bird at unicycle.net
Mon Nov 10 13:29:35 CET 2025


Hello,



On a router with several sessions I use "cascading" templates.
Not all sessions have authentication, but those that do all default to MD5.

When leaving the authentication option unset, you get warnings like:

bird: /usr/local/etc/bird.conf:57:18: Missing authentication option, assuming MD5



But when setting 'authentication md5;' in my main template, then sessions without password will complain:

bird: /usr/local/etc/bird.conf:56:28 MD5 authentication and password option should be used together
/usr/local/etc/rc.d/bird: WARNING: failed to start bird



In the past using a useless 'password "";' helped to simply surpress warnings, but not anymore.


So now I have to add multiple templates to add 'authentication md5;' to sessions with authentication.




Long story short, my question is:
why can't you affirm 'authentication md5;' as main default, regardless wether sessions do or don't have a password?




-- 

With kind regards,
Met vriendelijke groet,
Mit freundlichen Grüß,


Leo Vandewoestijne
<***@dns.company>
<www.dns.company>


More information about the Bird-users mailing list