krb5 commit: Increase MAX_DGRAM_SIZE

Greg Hudson ghudson at MIT.EDU
Mon Jul 2 18:26:54 EDT 2012


https://github.com/krb5/krb5/commit/b5da0b454caf1057d8dc9669737ffe89be5551e4
commit b5da0b454caf1057d8dc9669737ffe89be5551e4
Author: Greg Hudson <ghudson at 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 */
 


More information about the cvs-krb5 mailing list