Commit Graph

5 Commits

Author SHA1 Message Date
Baptiste Jonglez
1fc130d880 Fix commit 833425ab: babel uses 1/100th of seconds, not 1/10th
Also update affected testcases.
2014-03-05 13:19:58 +01:00
Denis Ovsienko
833425ab80 Babel: improve printing of time intervals
All Babel intervals are encoded in centiseconds and must not be 0. In an
Update TLV the interval value 0xFFFF means infinity (RFC6126 Section
4.4.9). Update the test cases.
2013-10-18 09:24:37 +04:00
Denis Ovsienko
91830ddd6c update for current Babel auth spec
This change updates Babel decoder output format to match terminology of
draft-ovsienko-babel-hmac-authentication-00 and reverts recent addition
of DLen field to TLV type 12.
2012-08-21 18:36:56 +04:00
Denis Ovsienko
13223554b8 update Babel decoder for DLen in HD TLV
This change reflects a new Digest Length field added to Hash Digest TLV
in the current draft of Babel authentication spec. babel_print_v2() is
updated to fetch and validate the new field. Test files too.
2012-06-29 22:29:04 +04:00
Denis Ovsienko
78a8be4700 add decoding of Babel authentication TLVs
This change extends existing Babel protocol decoder to recognise
experimental authentication TLVs (types 11 and 12) and includes
a respective test case for the new code.
2012-06-06 17:57:20 +04:00