Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/dist/ipsec-tools/src/racoon From Rainer Weikusat <rwe...



details:   https://anonhg.NetBSD.org/src/rev/d1cccee4f759
branches:  trunk
changeset: 788772:d1cccee4f759
user:      tteras <tteras%NetBSD.org@localhost>
date:      Fri Jul 19 10:54:52 2013 +0000

description:
>From Rainer Weikusat <rweikusat%mobileactivedefense.com@localhost>: Export phase1
remote address as Radius Calling-Station-Id.

diffstat:

 crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r a35f79936ff2 -r d1cccee4f759 crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
--- a/crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c Fri Jul 19 10:53:20 2013 +0000
+++ b/crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c Fri Jul 19 10:54:52 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isakmp_xauth.c,v 1.25 2013/02/05 06:22:29 tteras Exp $ */
+/*     $NetBSD: isakmp_xauth.c,v 1.26 2013/07/19 10:54:52 tteras Exp $ */
 
 /* Id: isakmp_xauth.c,v 1.38 2006/08/22 18:17:17 manubsd Exp */
 
@@ -592,6 +592,10 @@
                return -1;
        }
 
+       if (rad_put_string(radius_auth_state, RAD_CALLING_STATION_ID,
+                          saddr2str(iph1->remote)) != 0)
+               return -1;
+
        if (isakmp_cfg_radius_common(radius_auth_state, iph1->mode_cfg->port) != 0)
                return -1;
 



Home | Main Index | Thread Index | Old Index