Subject: Re: IPSEC still fails on BETA2/vax (not anymore!)
To: Jaromir Dolecek <jdolecek@NetBSD.org>
From: Olaf Seibert <rhialto@polderland.nl>
List: current-users
Date: 07/23/2002 23:52:08
On Fri 19 Jul 2002 at 18:55:01 +0200, Jaromir Dolecek wrote:
> Olaf Seibert wrote:
> > Preliminary testing shows that during or after running racoon I get an
> > interrupt stack overflow again (I am not sure which network activity
> > caused it since I didn't turn off any specific services - at least ntp
> > and yp were running). So I didn't get to the NFS-mounting test yet.
> > And this weekend I will be elsewhere, so further testing will be monday
> > at the earliest.
> 
> Hmm :(
> 
> Does the traceback involve rndpool_extract_data() ? When I looked
> previously, that function seemed to consume like 112 B of stack
> (struct SHA1_CTX and 20 bytes of digest[]).

No, it doesn't look like it. Here is the debugging output as applied to
the 1.6D kernel:

texitng SHA1Update
eah_hmac_sha1_result returning
resp_auth returned from algo->result()
iesp_auth returning 0
ng esp4_input
Sesp_algorithm_lookup(3)
Hah_algorithm_lookup 3
Aesp4_input calling esp_auth
1esp_auth entering
Uesp_auth calling ah_algorithm_lookup(3)
pah_algorithm_lookup 3
desp_auth returned from ah_algorithm_lookup(3)
aesp_auth calling algo->sumsiz()
tesp_auth returned from algo->sumsiz()
eesp_auth calling (ah)algo 0x801657fc->init(0x80337ab0, 0x88696a00)
ah_hmac_sha1_init
ah_hmac_sha1_init calling malloc(220)

ah_hmac_sha1_init ipad=0x8867c500 opad=0x8867c540 ctxt=0x8867c580
Jah_hmac_sha1_init NOT 64 < _KEYLEN; SHA1Init()
uah_hmac_sha1_init bzero(ipad=0x8867c500, 64)
lah_hmac_sha1_init bzero(opad=0x8867c540, 64)
 ah_hmac_sha1_init bcopy(key=0x88667748, ipad=0x8867c500, keylen=20)
2ah_hmac_sha1_init bcopy(key=0x88667748, opad=0x8867c500, keylen=20)
3ah_hmac_sha1_init xorloop
 ah_hmac_sha1_init SHA1Init(0x8867c580)
2ah_hmac_sha1_init SHA1Update(0x8867c580, ipad=0x8867c500, 64)
3entering SHA1Update
:p
 85 RESTART SYS
p84 FAIL

 83 BOOT SYS
-DKB0
>> NetBSD/vax boot [1.11 Sat Jun 15 18:30:21 UTC 2002] <<
>> Press any key to abort autoboot 2
Press '?' for help
> 

> Jaromir
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert - rhialto@       -- Woe betide the one who feels
\X/ polderland.nl  -- remorse without sin - Tom Poes, "Het boze oog", 4444.