diff options
author | Peter Johanson <latexer@gentoo.org> | 2005-12-02 09:19:07 +0000 |
---|---|---|
committer | Peter Johanson <latexer@gentoo.org> | 2005-12-02 09:19:07 +0000 |
commit | 8a2867d401804d71bda102f69056dcd0095b834c (patch) | |
tree | 8b9bc548a61540ba9dcedf06cd00128134dc0e70 /net-firewall/ipsec-tools/files | |
parent | Marked ~ppc for bug #113365. (diff) | |
download | gentoo-2-8a2867d401804d71bda102f69056dcd0095b834c.tar.gz gentoo-2-8a2867d401804d71bda102f69056dcd0095b834c.tar.bz2 gentoo-2-8a2867d401804d71bda102f69056dcd0095b834c.zip |
Revision bump for bug #113201.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-firewall/ipsec-tools/files')
-rw-r--r-- | net-firewall/ipsec-tools/files/digest-ipsec-tools-0.6.2-r1 | 1 | ||||
-rw-r--r-- | net-firewall/ipsec-tools/files/ipsec-tools-0.6.2-dos-fix.diff | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/net-firewall/ipsec-tools/files/digest-ipsec-tools-0.6.2-r1 b/net-firewall/ipsec-tools/files/digest-ipsec-tools-0.6.2-r1 new file mode 100644 index 000000000000..3cbe2cbcafae --- /dev/null +++ b/net-firewall/ipsec-tools/files/digest-ipsec-tools-0.6.2-r1 @@ -0,0 +1 @@ +MD5 3d94d4a13daff63c1bd57a4f1f6462d0 ipsec-tools-0.6.2.tar.bz2 663760 diff --git a/net-firewall/ipsec-tools/files/ipsec-tools-0.6.2-dos-fix.diff b/net-firewall/ipsec-tools/files/ipsec-tools-0.6.2-dos-fix.diff new file mode 100644 index 000000000000..5782f1fa3c60 --- /dev/null +++ b/net-firewall/ipsec-tools/files/ipsec-tools-0.6.2-dos-fix.diff @@ -0,0 +1,35 @@ +diff -aur ipsec-tools-0.6.2-orig/src/racoon/isakmp_agg.c ipsec-tools-0.6.2/src/racoon/isakmp_agg.c +--- ipsec-tools-0.6.2-orig/src/racoon/isakmp_agg.c 2005-09-26 09:12:20.000000000 -0700 ++++ ipsec-tools-0.6.2/src/racoon/isakmp_agg.c 2005-12-02 01:04:23.000000000 -0800 +@@ -1,4 +1,4 @@ +-/* $Id: ipsec-tools-0.6.2-dos-fix.diff,v 1.1 2005/12/02 09:19:07 latexer Exp $ */ ++/* $Id: ipsec-tools-0.6.2-dos-fix.diff,v 1.1 2005/12/02 09:19:07 latexer Exp $ */ + + /* + * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. +@@ -488,7 +488,11 @@ + } + + /* payload existency check */ +- /* XXX to be checked each authentication method. */ ++ if (iph1->dhpub_p == NULL || iph1->nonce_p == NULL) { ++ plog(LLV_ERROR, LOCATION, iph1->remote, ++ "few isakmp message received.\n"); ++ goto end; ++ } + + /* verify identifier */ + if (ipsecdoi_checkid1(iph1) != 0) { +@@ -888,7 +892,11 @@ + } + + /* payload existency check */ +- /* XXX to be checked each authentication method. */ ++ if (iph1->dhpub_p == NULL || iph1->nonce_p == NULL) { ++ plog(LLV_ERROR, LOCATION, iph1->remote, ++ "few isakmp message received.\n"); ++ goto end; ++ } + + /* verify identifier */ + if (ipsecdoi_checkid1(iph1) != 0) { |