summaryrefslogtreecommitdiff
path: root/isisd/isis_common.h
diff options
context:
space:
mode:
authorFritz Reichmann <fritz@reichmann.nl>2011-10-01 17:49:48 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2012-02-14 03:06:36 +0400
commite6b03b77766dce8009ad7b4a2392e14addf4ab0f (patch)
treea47466541c8f85e70b228ae4ab3da31af3391507 /isisd/isis_common.h
parentc25eaffdb2190149e768dc4ee4efc913c6d02992 (diff)
isisd: implement MD5 circuit authentication
* Replace command "isis passwd" with "isis passwd {clear|md5}" * Verify HMAC MD5 on ISIS Hello PDUs * Add HMAC MD5 authentication to md5.h/md5.c from RFC2104
Diffstat (limited to 'isisd/isis_common.h')
-rw-r--r--isisd/isis_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/isisd/isis_common.h b/isisd/isis_common.h
index 26338556..334d3394 100644
--- a/isisd/isis_common.h
+++ b/isisd/isis_common.h
@@ -35,6 +35,7 @@ struct isis_passwd
u_char len;
#define ISIS_PASSWD_TYPE_UNUSED 0
#define ISIS_PASSWD_TYPE_CLEARTXT 1
+#define ISIS_PASSWD_TYPE_HMAC_MD5 54
#define ISIS_PASSWD_TYPE_PRIVATE 255
u_char type;
/* Authenticate SNPs? */