chuckz | 2 Apr 2011 13:59
Picon

Re: eap2 in freeradius

to wrobel2k: Could you show me, how did you solve this problem? I tried to
use LD_PRELOAD too, but with no change.
radiusd: symbol lookup error: /usr/local/lib/rlm_eap2-2.1.10.so: undefined
symbol: eap_server_register_methods continues 

--
View this message in context: http://freeradius.1045715.n5.nabble.com/eap2-in-freeradius-tp2794234p4277617.html
Sent from the FreeRadius - Dev mailing list archive at Nabble.com.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html

Alan DeKok | 2 Apr 2011 17:47
Favicon
Gravatar

Re: eap2 in freeradius

chuckz wrote:
> to wrobel2k: Could you show me, how did you solve this problem? I tried to
> use LD_PRELOAD too, but with no change.
> radiusd: symbol lookup error: /usr/local/lib/rlm_eap2-2.1.10.so: undefined
> symbol: eap_server_register_methods continues 

  The module hasn't been updated in a while.  The hostap code may have
changed.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html

chuckz | 2 Apr 2011 18:30
Picon

Re: eap2 in freeradius

Thanks Allan for your answer, but can I ask some things about building or
linking libeap.so? I have read I guess all comments  you posted about this
thing and I followed them.
but after I used LD_PRELOAD suddenly output changed to: 
radiusd: symbol lookup error: /home/boris/.git/hostap/eap_example/libeap.so:
undefined symbol: wpabuf_put

and when I enter command ldd -d libeap.so, I saw this.

boris <at> bo:~/.git/hostap/eap_example$ ldd -d  libeap.so 
	linux-gate.so.1 =>  (0x00812000)
	libc.so.6 => /lib/libc.so.6 (0x00390000)
	/lib/ld-linux.so.2 (0x00a04000)
undefined symbol: wpabuf_put	(./libeap.so)
undefined symbol: fips186_2_prf	(./libeap.so)
undefined symbol: sha1_vector	(./libeap.so)
undefined symbol: wpa_hexdump_key	(./libeap.so)
undefined symbol: wpa_printf	(./libeap.so)
undefined symbol: wpa_hexdump_ascii	(./libeap.so)
undefined symbol: wpa_hexdump	(./libeap.so)
undefined symbol: hmac_sha1_vector	(./libeap.so)
undefined symbol: aes_128_cbc_decrypt	(./libeap.so)
undefined symbol: os_zalloc	(./libeap.so)
undefined symbol: wpabuf_alloc	(./libeap.so)
undefined symbol: wpabuf_free	(./libeap.so)
undefined symbol: wpabuf_resize	(./libeap.so)
undefined symbol: random_get_bytes	(./libeap.so)
undefined symbol: aes_128_cbc_encrypt	(./libeap.so)
undefined symbol: wpabuf_dup	(./libeap.so)
undefined symbol: sha256_vector	(./libeap.so)
(Continue reading)

Alan DeKok | 4 Apr 2011 07:06
Favicon
Gravatar

Re: eap2 in freeradius

chuckz wrote:
> Thanks Allan for your answer, but can I ask some things about building or
> linking libeap.so?

  Not really.  Building libeap.so is a question for the hostap list.

  Linking it to FreeRADIUS has already been answered: the rlm_eap2 code
is old, and the libeap.so API may have changed.

> but after I used LD_PRELOAD suddenly output changed to: 
> radiusd: symbol lookup error: /home/boris/.git/hostap/eap_example/libeap.so:

  Ask the hostap people about their software.  This is the FreeRADIUS list.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html

aland | 6 Apr 2011 01:33
Favicon
Gravatar

GIT Log for 2011-04-05 23:33 GMT

commit ee85d5dd440df5f6ebf4d46748f2336a0f977713
Author: Alan T. DeKok <aland <at> freeradius.org>
Date:   Tue Apr 5 16:56:33 2011 +0200

    Add -4 and -6 options

    These force NAS-IP-Address or NAS-IPv6-Address

Files changed:
 man/man1/radtest.1  |   12 +++++++++++-
 src/main/radtest.in |   15 ++++++++++++++-
 2 files changed, 25 insertions(+), 2 deletions(-)

======================================================================
commit 8147ce1304531e62804d249f7554e15073891acf
Author: Alan T. DeKok <aland <at> freeradius.org>
Date:   Sat Apr 2 18:17:50 2011 +0200

    Revert "Make event timer callback take el pointer"

    As it turns out, this isn't a good idea.

    This reverts commit 21d97638c32c7619994ca521e4c4f01e420c9a5b.

Files changed:
 src/include/event.h |    2 +-
 src/lib/event.c     |    2 +-
 src/main/command.c  |    2 +-
 src/main/event.c    |   62 +++++++++++++++++++++++++-------------------------
 4 files changed, 34 insertions(+), 34 deletions(-)
(Continue reading)

ziyen | 7 Apr 2011 11:46
Picon

Re: multi language support question?

Hi
When i auth request not english username then
"Invalid user: [\261\342\274\372\301\366\277\370/test01]" happen
when "\261\342\274\372\301\366\277\370" is not englist string
is it a method to solve this?
 
Thanks.
 
 

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
aland | 9 Apr 2011 01:33
Favicon
Gravatar

GIT Log for 2011-04-08 23:33 GMT

commit f3e3212b70e81da6f54d979912a17cd82f3dadc8
Author: Alan T. DeKok <aland <at> freeradius.org>
Date:   Fri Apr 8 13:04:25 2011 +0200

    The file may be closed when there are no VPs

Files changed:
 src/main/detail.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

======================================================================
commit 899024045aecf72adfbd48c386c1f722e129940f
Author: Alan T. DeKok <aland <at> freeradius.org>
Date:   Fri Apr 8 09:36:49 2011 +0200

    Make error sending configurable

Files changed:
 raddb/modules/eap                                  |   17 +++++++++++++++++
 .../rlm_eap/types/rlm_eap_mschapv2/eap_mschapv2.h  |    2 --
 .../types/rlm_eap_mschapv2/rlm_eap_mschapv2.c      |   12 ++++++++++--
 3 files changed, 27 insertions(+), 4 deletions(-)

======================================================================
commit 84fe588bf11671f0ef3b01c7ea5b3a1d87edce21
Author: Alan T. DeKok <aland <at> freeradius.org>
Date:   Thu Apr 7 16:29:20 2011 +0200

    Handle failures

Files changed:
 .../types/rlm_eap_mschapv2/rlm_eap_mschapv2.c      |   29 +++++++++++++------
 1 files changed, 20 insertions(+), 9 deletions(-)

======================================================================
commit e35f3fce3f0ee84fd9c61b7f39b8f03e33ac6690
Author: Alan T. DeKok <aland <at> freeradius.org>
Date:   Thu Apr 7 16:18:27 2011 +0200

    Add allow_retry and retry_msg functionality

    Based on a patch from John Hayward.

    Setting "allow_retry=0" and "retry_msg = hello" seems to help
    with EAP-MSCHAPv2 and cached passwords...

Files changed:
 raddb/modules/mschap                |    7 +++++++
 src/modules/rlm_mschap/rlm_mschap.c |   33 +++++++++++++++++++++++++++------
 2 files changed, 34 insertions(+), 6 deletions(-)

======================================================================
commit 3f1d4a562c63bffc89b35b9c0720b04225792925
Author: Alan T. DeKok <aland <at> freeradius.org>
Date:   Thu Apr 7 16:11:58 2011 +0200

    Allow MS-CHAP-Error in Access-Reject

Files changed:
 raddb/attrs.access_reject |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

======================================================================
commit c2e8b249ecc1bda362cd766292afa37394f971cd
Author: Alan T. DeKok <aland <at> freeradius.org>
Date:   Thu Apr 7 09:44:26 2011 +0200

    Don't over-write a fail code with a success code.

    Closes bug #152

Files changed:
 src/main/valuepair.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

======================================================================
commit 36fd25dbd57899eb03ae653d4bffeae9ae55256a
Author: Alan T. DeKok <aland <at> freeradius.org>
Date:   Wed Apr 6 16:06:18 2011 +0200

    Fix prototype

Files changed:
 src/include/radiusd.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

======================================================================
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html

aland | 11 Apr 2011 01:33
Favicon
Gravatar

GIT Log for 2011-04-10 23:33 GMT

commit a6a1064ae86fb775f1d83077423dee88e16a6eec
Author: Alan T. DeKok <aland <at> freeradius.org>
Date:   Sun Apr 10 08:02:05 2011 +0200

    Don't set "EAP Failure" when sending error message back
 .../types/rlm_eap_mschapv2/rlm_eap_mschapv2.c      |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html

aland | 13 Apr 2011 01:33
Favicon
Gravatar

GIT Log for 2011-04-12 23:33 GMT

commit 9209b7c206316116cabe7b9e1e18cf2ed929fdd5
Author: Alan T. DeKok <aland <at> freeradius.org>
Date:   Tue Apr 12 11:03:59 2011 +0200

    Fix arguments for 3.0 API

Files changed:
 .../types/rlm_eap_mschapv2/rlm_eap_mschapv2.c      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

======================================================================
commit 30d731c60b2e60e4434e9771477b9383b2d5e894
Author: Alan T. DeKok <aland <at> freeradius.org>
Date:   Sun Apr 10 16:28:27 2011 +0200

    Fix arguments to pairmove2

Files changed:
 .../types/rlm_eap_mschapv2/rlm_eap_mschapv2.c      |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

======================================================================
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html

Alan DeKok | 13 Apr 2011 10:12
Favicon
Gravatar

New state machine in the server core.

  I've just pushed a new state machine to the server core.  For people
doing "git pull", this means editing src/main/Makefile, and changing
"event.c" to "process.c".  Or, just re-run "configure"

  The new state machine is about the same amount of code as the old one.
 The difference is that it's conceptually much simpler.  It has all of
the functionality of the old one, and hopefully none of the bugs.

  The old state machine was an inter-connected mess that was getting to
be impossible to extend or debug.  The new one is much, much, better.

  I've attached some SVG diagrams of the state machines, taken from an
automated analysis of the code.  "event.svg" is the old one.
"process.svg" is the new one.  You'll note that "process.svg" doesn't
look a lot simpler...

  So "process-simplified.svg" removes the "book-keeping" functions,
along with the proxy and CoA functions.  The result is a state machine
that handles authentication / accounting / coa requests, processes them,
and replies.  That state machine is much simpler.

  Please test it, and see what you think.  I've done a number of tests
with all packet types, proxying, etc.  I think that the functionality is
identical to the old one, or sometimes even better.

  It also has the ability to debug the internal state machine.  Define a
flag DEBUG_STATE_MACHINE, and it will then print out every state
transition that a request goes through.  It's valuable for understanding
how it all works.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html

Gmane