Re: Touble ospf md5 authentication

2010-03-19 Thread Ondrej Zajicek
On Fri, Mar 19, 2010 at 01:57:36PM +0200, Vitaliy Kolodinsky wrote:
 Dear, bird-us...@atrey.karlin.mff.cuni.cz.
 
 Who has a working BIRD 1.2.1 ospf md5 authentication and Cisco?
 
 
 ---Log File--
 Mar 16 17:34:52 vulture2 bird: MyOSPF: OSPF_auth: size mismatch (88 vs 124)
 Mar 16 17:34:52 vulture2 bird: Bad OSPF packet from 93.125.5.141 - 
 authentification failed

That is strange, could you send me an output of tcpdump on that packets? 
(tcpdump -s 0 -x)

-- 
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.


signature.asc
Description: Digital signature


Re: Touble ospf md5 authentication

2010-03-19 Thread Ondrej Zajicek
On Fri, Mar 19, 2010 at 04:15:27PM +0159, Vitaliy Kolodinsky wrote:
 Dear, Ondrej Zajicek.
 
 ?? ?? 19 ? 2010 ?., 16:05:04:
 
  On Fri, Mar 19, 2010 at 01:57:36PM +0200, Vitaliy Kolodinsky wrote:
  Dear, bird-us...@atrey.karlin.mff.cuni.cz.
  
  Who has a working BIRD 1.2.1 ospf md5 authentication and Cisco?
  
  
  ---Log File--
  Mar 16 17:34:52 vulture2 bird: MyOSPF: OSPF_auth: size mismatch (88 vs 124)
  Mar 16 17:34:52 vulture2 bird: Bad OSPF packet from 93.125.5.141 - 
  authentification failed
 
  That is strange, could you send me an output of tcpdump on that packets? 
  (tcpdump -s 0 -x)

Hmm, it seems that Cisco just sends some trash after the end of OSPF packet.
Perhaps it would suffice to remove the check in BIRD, but i personally
don't test this compatibility.

-- 
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.


signature.asc
Description: Digital signature


Re: Touble ospf md5 authentication

2010-03-19 Thread Ondrej Zajicek
On Fri, Mar 19, 2010 at 05:52:04PM +0159, Vitaliy Kolodinsky wrote:
  Hmm, it seems that Cisco just sends some trash after the end of OSPF packet.
  Perhaps it would suffice to remove the check in BIRD, but i personally
  don't test this compatibility.
 
 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.

Yes, LLS data blocks in OSPF packets is the cause of the problem. Thank
you for a note, i didn't know about RFC 4813. I will look at this
issue and send you the patch for BIRD to be able to handle LLS data
blocks.

-- 
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.


signature.asc
Description: Digital signature