Re: tcp md5 checksums broken in 7.0-beta3
- From: "Bjoern A. Zeeb" <bzeeb-lists@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Nov 2007 15:05:55 +0000 (UTC)
On Wed, 28 Nov 2007, Bjoern A. Zeeb wrote:
Hi,
On Wed, 28 Nov 2007, Bjoern A. Zeeb wrote:
On Wed, 28 Nov 2007, Nick Hilliard wrote:
Hi,
Bjoern A. Zeeb wrote:I'll try to find your bug the next days (in case you find anything let
me know).
At the very least, this will be necessary:
--- tcp_subr.c~ 2007-11-28 01:14:46.000000000 +0000
+++ tcp_subr.c 2007-11-28 01:14:46.000000000 +0000
@@ -1948,7 +1948,7 @@
/*
* Step 4: Update MD5 hash with shared secret.
*/
- MD5Update(&ctx, _KEYBUF(sav->key_auth), _KEYLEN(sav->key_auth));
+ MD5Update(&ctx, sav->key_auth->key_data, _KEYLEN(sav->key_auth));
MD5Final(buf, &ctx);
key_sa_recordxfer(sav, m);
But it doesn't fix the problem.
That fix was committed to HEAD. Thanks!
In addition to that can you try this patch:
http://sources.zabbadoz.net/freebsd/patchset/patch-20071128-03-tcp-md5.diff
I have to admit, I haven't tried it after my last merges so I hope I
got the merges right;-)
--
Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
Software is harder than hardware so better get it right the first time.
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: tcp md5 checksums broken in 7.0-beta3
- From: Nick Hilliard
- Re: tcp md5 checksums broken in 7.0-beta3
- From: Bruce M. Simpson
- Re: tcp md5 checksums broken in 7.0-beta3
- References:
- tcp md5 checksums broken in 7.0-beta3
- From: Nick Hilliard
- Re: tcp md5 checksums broken in 7.0-beta3
- From: Bjoern A. Zeeb
- Re: tcp md5 checksums broken in 7.0-beta3
- From: Nick Hilliard
- Re: tcp md5 checksums broken in 7.0-beta3
- From: Bjoern A. Zeeb
- Re: tcp md5 checksums broken in 7.0-beta3
- From: Bjoern A. Zeeb
- tcp md5 checksums broken in 7.0-beta3
- Prev by Date: Re: tcp md5 checksums broken in 7.0-beta3
- Next by Date: Sleeping on "iwiioctl" with the non-sleepable locks
- Previous by thread: Re: tcp md5 checksums broken in 7.0-beta3
- Next by thread: Re: tcp md5 checksums broken in 7.0-beta3
- Index(es):
Relevant Pages
|
|