[26670] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

krb5 commit: Increase MAX_DGRAM_SIZE

daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Jul 2 18:26:56 2012

Date: Mon, 2 Jul 2012 18:26:54 -0400
From: Greg Hudson <ghudson@mit.edu>
Message-Id: <201207022226.q62MQsOx006308@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu

https://github.com/krb5/krb5/commit/b5da0b454caf1057d8dc9669737ffe89be5551e4
commit b5da0b454caf1057d8dc9669737ffe89be5551e4
Author: Greg Hudson <ghudson@mit.edu>
Date:   Mon Jul 2 18:25:40 2012 -0400

    Increase MAX_DGRAM_SIZE
    
    Accept UDP datagrams up to 64K in size.  We should still detect when
    an oversized datagram comes in by comparing against the maximum size,
    but this is trivial and covers 90% of the practical issues.
    
    ticket: 6566
    status: open

 src/include/osconf.hin |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/include/osconf.hin b/src/include/osconf.hin
index 97aae48..3f33cc3 100644
--- a/src/include/osconf.hin
+++ b/src/include/osconf.hin
@@ -106,7 +106,7 @@
     "aes128-cts-hmac-sha1-96:normal "                   \
     "des3-cbc-sha1:normal arcfour-hmac-md5:normal"
 
-#define MAX_DGRAM_SIZE  4096
+#define MAX_DGRAM_SIZE  65536
 
 #define RCTMPDIR        "@KRB5RCTMPDIR" /* directory to store replay caches */
 
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5

home help back first fref pref prev next nref lref last post