]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Increase MAX_DGRAM_SIZE
authorGreg Hudson <ghudson@mit.edu>
Mon, 2 Jul 2012 22:25:40 +0000 (18:25 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 2 Jul 2012 22:25:40 +0000 (18:25 -0400)
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

index 97aae48f0d800a6b4846b89be0d8935814d4e927..3f33cc3bc3ee130d5a129bf8777f1ce289dd774d 100644 (file)
     "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 */