[33729] in Kerberos

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

Re: max size for ap-req and ap-rep?

daemon@ATHENA.MIT.EDU (Douglas E. Engert)
Mon Aug 8 09:39:43 2011

Message-ID: <4E3FE719.9070003@anl.gov>
Date: Mon, 08 Aug 2011 08:39:37 -0500
From: "Douglas E. Engert" <deengert@anl.gov>
MIME-Version: 1.0
To: kerberos@mit.edu
In-Reply-To: <1312781916.2242.15.camel@ray>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu



On 8/8/2011 12:38 AM, Greg Hudson wrote:
> On Sun, 2011-08-07 at 03:13 -0400, Chris Hecker wrote:
>> Is there a max size for the AP-REQ and AP-REP packets?  Even a
>> conservative (eg. never>  768 bytes) would be fine.

If you are using Windows AD for the KDC, the authdata Greg refers
to below contains the PAC so could belarge.

http://technet.microsoft.com/en-us/library/active-directory-maximum-limits-scalability(WS.10).aspx
in section "Recommended Maximum Kerberos Settings", says 65,535.

>
> In principal, there is no maximum size for AP-REQ, because tickets can
> get arbitrarily large due to authdata.  If you're not doing anything
> fancy with authdata and can bound the size of client and server
> principal names, you could probably compute a maximum size, but I don't
> have one offhand.
>
> AP-REP packets do not have a lot of variability in size because they
> contain no strings.  If you look at an AP-REP packet containing an
> AES256 subkey, that's probably as large as you're going to see, modulo a
> few bytes to account for variable-length ASN.1 encoding of integers.
> Again, though, I don't have any specific numbers in my head for that.
>
>
> ________________________________________________
> Kerberos mailing list           Kerberos@mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
>
>

-- 

  Douglas E. Engert  <DEEngert@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

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