[strongSwan] how to find out the EAP username of the client in the updown script?

Fejes József jozsef.fejes at gmail.com
Tue Jan 1 11:18:59 CET 2013


On Mon, Dec 31, 2012 at 11:17 AM, Martin Willi <martin at strongswan.org>wrote:

> Hi József,
>
> > In the updown script, how do I find out the username of the connected
> > client? Eg. "carol" or "dave" according to the example in the wiki.
>
> Such a variable has just been introduced, but is not part yet of any
> official release. You can apply [1], 5.0.2 will include the patch.
> PLUTO_XAUTH_ID contains the XAUTH identity in IKEv1 and the EAP identity
> in IKEv2.
>
> Regards
> Martin
>
> [1]http://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=5b89e3b0
>
>
Hi Martin,

Thank you very much!

I'm using Debian, they are stuck at 4.6.4. It was easy to backport your
patch, there was a minor conflict at the variable declarations, and I had
to remove the COND_XAUTH_AUTHENTICATED test because it didn't compile.
Anyways, it's working perfectly.

Regards,
József
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20130101/54ce005c/attachment.html>


More information about the Users mailing list