Bug #109

Vendor checking in EAP authenticator missing

Added by Ingo Kubbilun almost 2 years ago. Updated almost 2 years ago.

Status:Closed Start date:03.03.2010
Priority:Normal Due date:
Assignee:Martin Willi % Done:

0%

Category:charon
Target version:4.4.0
Affected version:4.6.1

Description

Dear strongSwan developers,

please apply the patch shown below to the EAP authenticator (vendor checking was missing in switch stmt.); this was found and fixed by my colleague Reinhard Pfau (secunet AG).
He created an EAP plugin and ran into this problem.
Btw: thanks for adding get_sa to bus.h/bus.c (we patched this in the past) and thanks for adding experimental draft-eronen-ipsec-ikev2-eap-auth support - great for mutual authentication based on smartcards!

Thank you, Ingo.


--- strongswan-4.3.6/src/charon/sa/authenticators/eap_authenticator.c 2010-01-09 21:43:32.000000000 0100
++ strongswan-4.3.6-modified/src/charon/sa/authenticators/eap_authenticator.c 2010-03-03 12:00:22.000000000 0100
@ -251,7 +251,7 @
case NEED_MORE:
return out;
case SUCCESS:
- if (type EAP_IDENTITY)
if ((!vendor) && (type EAP_IDENTITY)) {
chunk_t data;

patch.txt - Patch file (403 Bytes) Ingo Kubbilun, 03.03.2010 12:10

History

Updated by Ingo Kubbilun almost 2 years ago

Sorry, patch was nuked. Added as attachment.

Updated by Martin Willi almost 2 years ago

  • Status changed from New to Closed
  • Target version changed from 4.3.6 to 4.4.0

please apply the patch shown below

Thanks for the patch, applied to master.

Btw: thanks for adding get_sa to bus.h/bus.c (we patched this in the past) and thanks for adding experimental draft-eronen-ipsec-ikev2-eap-auth support - great for mutual authentication based on smartcards!

You're welcome :-).

Also available in: Atom PDF