On Fri, Mar 19, 2010 at 05:52:04PM +0159, Vitaliy Kolodinsky wrote:
> In area 0.0.0.2 works some Cisco routers, Quagga and experimental
> BIRD. Cisco and Quagga work perfectly together.
> Cisco at the end of OSPF Hello packet sent LLS Data Block.
> Quagga this unit is not sending.
> LLS Data Block is mentioned in the IETF RFC 4813
> May participate in the testing.

Hello

Could you try attached patch to BIRD 1.2.1? That should fix this issue.

-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santi...@crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
diff -uprN bird-1.2.1/proto/ospf/packet.c bird-1.2.1-/proto/ospf/packet.c
--- bird-1.2.1/proto/ospf/packet.c	2010-01-14 11:06:27.000000000 +0100
+++ bird-1.2.1-/proto/ospf/packet.c	2010-03-19 19:24:47.000000000 +0100
@@ -179,7 +179,7 @@ ospf_pkt_checkauth(struct ospf_neighbor 
         return 0;
       }
 
-      if (ntohs(pkt->length) + OSPF_AUTH_CRYPT_SIZE != size)
+      if (ntohs(pkt->length) + OSPF_AUTH_CRYPT_SIZE < size)
       {
         OSPF_TRACE(D_PACKETS, "OSPF_auth: size mismatch (%d vs %d)",
 	  ntohs(pkt->length) + OSPF_AUTH_CRYPT_SIZE, size);

Attachment: signature.asc
Description: Digital signature

Reply via email to