From: Greg Hudson Date: Mon, 2 Jul 2012 22:25:40 +0000 (-0400) Subject: Increase MAX_DGRAM_SIZE X-Git-Tag: krb5-1.11-alpha1~465 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5da0b454caf1057d8dc9669737ffe89be5551e4;p=thirdparty%2Fkrb5.git 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 --- diff --git a/src/include/osconf.hin b/src/include/osconf.hin index 97aae48f0d..3f33cc3bc3 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 */