<div dir="ltr">Hello,<br>
<br>
I face a problem when configuring RIP with MD5 authentication in
bird. <br>
I find no examples in configuring bird this way, so maybe this could
be added to the documentation.<br>
<br>
This is the bird configuration I use:<br>
<br>
<blockquote>
<pre><font face="Courier New, Courier, monospace" color="#000099">protocol kernel {</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> scan time 20; # Scan kernel routing table every 20 seconds</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> export all; # Default is export none</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> learn;</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> device routes;</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099">}</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099">
protocol device {</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> scan time 10; # Scan interfaces every 10 seconds</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099">}</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099">
protocol direct {</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> interface "eth0";</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099">}</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099">
filter rip_export {</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> # redistribute connected</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> if ( source = RTS_DEVICE ) then {</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> print "net accepted:", net;</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> accept;</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> }</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099">
reject;</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099">}</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099">
protocol rip RIP {</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> debug all;</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> honor neighbor;</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> authentication md5;</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> passwords {</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> password "secret";</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> };</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099">
</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> port 520;</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099">
interface "eth0" {</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> mode multicast;</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> };</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099">
import all;</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099"> export filter rip_export;</font></pre>
<pre><font face="Courier New, Courier, monospace" color="#000099">}</font></pre>
</blockquote>
<br>
<font color="#990000"><font color="#000000">I tried to configure
bird with the configuration above to connect to quagga
(v0.99.23.1) and also to another instance of bird </font></font><font color="#990000"><font color="#000000"><font color="#990000"><font color="#000000">(v1.4.4 and v1.5.0)</font></font>. In both
cases I get an error message in the logs that the authentication
has failed:</font><br>
</font>
<blockquote>
<pre><font color="#990000">Nov 11 15:39:12 AVILA err bird: MD5 tail signature is not there</font></pre>
<pre><font color="#990000">Nov 11 15:39:12 AVILA err bird: RIP: Authentication failed
</font></pre>
</blockquote>
In case I use plain configuration (authentication plaintext) instead
of MD5 then the boxes connect successfully and routes are exchanged.<br>
Do I use a wrong RIP configuration or is this a bug in bird ?<br>
<br>
Best regards,<br>
Alexander Velkov</div>