aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon-cmd/cmd/cmd_options.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2013-07-29 09:00:56 +0200
committerMartin Willi <martin@revosec.ch>2013-07-29 09:00:56 +0200
commit14dfdf7dacfff99aa4ba468e8618afaec1c0657b (patch)
tree17a1c5df0603cd8a093432e4003638e6a256a4b4 /src/charon-cmd/cmd/cmd_options.c
parent7612a6e42fa4779adbeab74ec044bd554d00c3b3 (diff)
parent9d75f04eee7fd4e0f9b14fac3f9a67993d8c2267 (diff)
downloadstrongswan-14dfdf7dacfff99aa4ba468e8618afaec1c0657b.tar.bz2
strongswan-14dfdf7dacfff99aa4ba468e8618afaec1c0657b.tar.xz
Merge branch 'xauth-radius'
Implements verification of XAuth credentials using simple RADIUS User-Name and (encrypted) User-Password attributes. The XAuth backend is implemented in the eap-radius plugin, reusing all existing infrastructure and features found in that plugin, including RADIUS accounting.
Diffstat (limited to 'src/charon-cmd/cmd/cmd_options.c')
-rw-r--r--src/charon-cmd/cmd/cmd_options.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/charon-cmd/cmd/cmd_options.c b/src/charon-cmd/cmd/cmd_options.c
index 175aa4269..597ccda1f 100644
--- a/src/charon-cmd/cmd/cmd_options.c
+++ b/src/charon-cmd/cmd/cmd_options.c
@@ -34,6 +34,10 @@ cmd_option_t cmd_options[CMD_OPT_COUNT] = {
"DNS name or address to connect to", {}},
{ CMD_OPT_IDENTITY, "identity", required_argument, "identity",
"identity the client uses for the IKE exchange", {}},
+ { CMD_OPT_EAP_IDENTITY, "eap-identity", required_argument, "eap-identity",
+ "identity the client uses for EAP authentication", {}},
+ { CMD_OPT_XAUTH_USER, "xauth-username", required_argument, "xauth-username",
+ "username the client uses for XAuth authentication", {}},
{ CMD_OPT_REMOTE_IDENTITY, "remote-identity", required_argument, "identity",
"server identity to expect, defaults to host", {}},
{ CMD_OPT_CERT, "cert", required_argument, "path",