aboutsummaryrefslogtreecommitdiffstats
path: root/channels/iax2.h
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-01 18:16:24 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-01 18:16:24 +0000
commit6c9711840582fdc944e169560440cc2a51575914 (patch)
tree517386774bf6b37ad8eae1fa5f485c379d1f8e34 /channels/iax2.h
parentc60aab53f2e66b27926d1b3dfaf1559c0da4a507 (diff)
Merge changes from team/bbryant/keyrotation
This set of changes enhances IAX2 encryption support by adding key rotation to provide enhanced security. The key used for encryption is rotated right after the call gets set up, and then again every few minutes. This was discussed at the last AstriDevCon. For interoperability with older versions of Asterisk, there is an option that disables key rotation. (closes issue #13018) Reported by: bbryant Patches: 07072008__iax2_key_rotation.diff uploaded by bbryant (license 36) Tested by: russell, bbryant git-svn-id: http://svn.digium.com/svn/asterisk/trunk@135158 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/iax2.h')
-rw-r--r--channels/iax2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/iax2.h b/channels/iax2.h
index a945afee4..98e7480db 100644
--- a/channels/iax2.h
+++ b/channels/iax2.h
@@ -109,6 +109,8 @@ enum {
IAX_COMMAND_FWDATA = 37,
/*! Transfer media only */
IAX_COMMAND_TXMEDIA = 38,
+ /*! Command to rotate key */
+ IAX_COMMAND_RTKEY = 39,
};
/*! By default require re-registration once per minute */