summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2015-05-20 14:01:44 +0200
committerSimo Sorce <idra@samba.org>2015-05-29 22:38:50 +0200
commit461c69bd7c52c8b980cf56be2abf9ce7accb6048 (patch)
treefdd4d84211cbbd413c4797f27136d02f750ea53f /source3/librpc
parent477ecfbdaf73a8a2b7af31938c14b84242336460 (diff)
downloadsamba-461c69bd7c52c8b980cf56be2abf9ce7accb6048.tar.gz
s3:smb2_server: In CCM and GCM mode we can't reuse nonces
Reuse of nonces with AES-CCM and AES-GCM leads to catastrophic failure, so make sure the server drops the connection if that ever happens. Bug: https://bugzilla.samba.org/show_bug.cgi?id=11300 Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Simo Sorce <simo@redhat.com> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Simo Sorce <idra@samba.org> Autobuild-Date(master): Fri May 29 22:38:50 CEST 2015 on sn-devel-104
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/idl/smbXsrv.idl2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/librpc/idl/smbXsrv.idl b/source3/librpc/idl/smbXsrv.idl
index b3a24a55a1e..4367d724075 100644
--- a/source3/librpc/idl/smbXsrv.idl
+++ b/source3/librpc/idl/smbXsrv.idl
@@ -185,6 +185,8 @@ interface smbXsrv
[ref] smbXsrv_session_global0 *global;
NTSTATUS status;
NTTIME idle_time;
+ hyper nonce_high_random;
+ hyper nonce_high_max;
hyper nonce_high;
hyper nonce_low;
[ignore] gensec_security *gensec;