cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
358
Views
3
Helpful
5
Replies

RIPv2 authentication data calculation

rudolf.grezo
Level 1
Level 1

Hi,

i have a question about computing MD5 hash in RIPv2 authenticated packet. I am implementing RIPv2 software router and I need to find combination of input data to compute MD5 hash wich has to be checked when packet is recieved or appended when packet is send as update to another Cisco router.

I know that hash is computed minimum from key ID, sequence number, password and some things that I am looking for. Any advices greatly appreciated.

Best regards

RG

5 Replies 5

InayathUlla Sharieff
Cisco Employee
Cisco Employee

Hi Rudolf,

Note 1: When using plain text authentication mode, make sure that the following parameters are matching on neighboring routers for successful authentication.

  • Key-string
  • Authentication mode

Note 2: When using MD5 authentication mode, for successful authentication make sure that the following parameters are matching on neighboring routers.

  • Key-string
  • Key number
  • Authentication mode

Some good ref on this:

http://evilrouters.net/2009/07/04/rip-authentication/

HTH

Regards

Inayath

*Plz rate all usefull posts.

Thank you, but question is not about configuration. Configuration is clear and easy to me.

cadet alain
VIP Alumni
VIP Alumni

Hi,

Maybe you could take a look  here and  find some more info:http://tools.ietf.org/html/draft-ietf-ripv2-md5-03

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

Thank you, I have read this but still can't figure out the solution.

rudolf.grezo
Level 1
Level 1

Hi all,

I found the solution. It was my mistake that I deleted the FFFF0001 and authentication data and replaced with password padded to 16 bytes. The FFFF0001 have to stay, only authentication data have to be replaced by padded password.

Thanks all for help.

Review Cisco Networking for a $25 gift card