Freeradius as a proxy converting EAP to non EAP radius Request
Hi, I have stil the same problem since a week and I don't understand why. Probably because I discover freeradius product, i did a basic error for somebody who know it. I reinstall Debian in the last stable version, i reinstall freeradius after that and the problem is exactly the same . In attach files, you'll find result of compiling/make, raddb configurations files and debug file when i start radiusd and when EAP response is done from radius client This is what I want to do do for those who don't know : I use eap to authenticate Wireless users on an radius server wich don't know EAP protocol. It seems that is possible to do that using a proxy freeradius. The architecture should be : Access Point as a NAS Freeradius as a proxy Radius server without EAP 192.168.0.250 192.168.0.128 192.168.0.252 The idea is to convert an EAP Response/Identity to a radius Access-Request without EAP inside As the first radius i use freeradius Version 2.1.7 As the second one, i use IAS (just to test, but in the final configuration, it will not) I modified these files: eap.conf (peap function), proxy.conf (add realm jacques.net) clients.conf (add 192.168.0.250) sites-enabled/proxy-inner.conf (modify Proxy-to-Realm) sites-enabled/default (comment suffix) remove enabled/proxy-inner.conf Nothing else ! I hope somebody could help me. Jacques
Hi, I have stil the same problem since a week and I don't understand why. Probably because I discover freeradius product, i did a basic error for somebody who know it. I reinstall Debian in the last stable version, i reinstall freeradius after that and the problem is exactly the same . In attach files, you'll find result of compiling/make, raddb configurations files and debug file when i start radiusd and when EAP response is done from radius client This is what I want to do do for those who don't know : I use eap to authenticate Wireless users on an radius server wich don't know EAP protocol. It seems that is possible to do that using a proxy freeradius. The architecture should be : Access Point as a NAS Freeradius as a proxy Radius server without EAP 192.168.0.250 192.168.0.128 192.168.0.252 The idea is to convert an EAP Response/Identity to a radius Access-Request without EAP inside As the first radius i use freeradius Version 2.1.7 As the second one, i use IAS (just to test, but in the final configuration, it will not) I modified these files: eap.conf (peap function), proxy.conf (add realm jacques.net) clients.conf (add 192.168.0.250) sites-enabled/proxy-inner.conf (modify Proxy-to-Realm) sites-enabled/default (comment suffix) remove enabled/proxy-inner.conf Nothing else ! I hope somebody could help me. Jacques -- Jacques FOUCHER
Jacques FOUCHER wrote:
The idea is to convert an EAP Response/Identity to a radius Access-Request without EAP inside
1) install the server, using the default configuration 2) configure clients && home servers 3) configure a *fake* realm that maps to the other RADIUS server... like "realm fake ..." 4) edit eap.conf, and set proxy_tunneled_request_as_eap=no 5) update raddb/users, and add the following to the TOP: DEFAULT FreeRADIUS-Proxied-To == 127.0.0.1, Proxy-To-Realm := fake It will work. Alan DeKok.
Thanks for your help Alan
1) install the server, using the default configuration* *
OK
2) configure clients && home servers
in clients.conf : *client 192.168.0.250 { **(Access Point IP Adress)* * secret = lrnp2tlm shortname = AP1 }* in proxy.conf : *home_server IAS { type = auth ipaddr = 192.168.0.252 (IAS IP Adress) port = 1812 secret = lrnp2tlm require_message_authenticator = no response_window = 20 zombie_period = 40 revive_interval = 120 status_check = status-server check_interval = 30 num_answers_to_alive = 3 coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } }*
3) configure a *fake* realm that maps to the other RADIUS server... like "realm fake ..."
I don't really understand what to do.Is it that in proxy.conf ? *realm jacques.net { }*
4) edit eap.conf, and set proxy_tunneled_request_as_eap=no
OK
5) update raddb/users, and add the following to the TOP:
DEFAULT FreeRADIUS-Proxied-To == 127.0.0.1, Proxy-To-Realm := jacques.net
It doesn't work yet.
Jacques
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Jacques FOUCHER
3) configure a *fake* realm that maps to the other RADIUS server... like "realm fake ..."
I don't really understand what to do.Is it that in proxy.conf ? *realm jacques.net { }*
No. Your names are user@jacques.net. Make realm jack with jacques.net details: realm jack { authhost = 192.168.0.252:1812 accthost = 192.168.0.252:1813 secret = something }
5) update raddb/users, and add the following to the TOP:
DEFAULT FreeRADIUS-Proxied-To == 127.0.0.1, Proxy-To-Realm := jacques.net
It doesn't work yet.
Proxy-To-Realm := "jack" Ivan Kalik Kalik Informatika ISP
Hello guys, allways problems to convert EAP to non EAP requests. I try to do what those who helped me without succes. Is anybody could help me to understand how it works before I become crasy ? This is my configuration files: *clients.conf* client 192.168.0.250 { secret = lrnp2tlm shortname = AP1 } *proxy.conf *realm jack { authhost = 192.168.0.252:1812 accthost = 192.168.0.252:1813 secret = lrnp2tlm } *eap.conf* default_eap_type = md5 (or peap - see tryings) ... peap { default_eap_type = mschapv2 copy_request_to_tunnel = yes *(or no, i don't see any difference)* use_tunneled_reply = yes *(or no, i don't see any difference)* proxy_tunneled_request_as_eap = no virtual_server = "inner-tunnel" } *users* DEFAULT FreeRADIUS-Proxied-To == 127.0.0.1, Proxy-To-Realm := jack *sites-enabled/default and sites-enabled/inner-tunnel* some tryings with or without suffix (see tryings later) That is what i have when "default_eap_type = peap" in eap.conf and suffix commented rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=26, length=239 Acct-Session-Id = "1f15e604-0000006e" NAS-Port = 111 NAS-Port-Type = Wireless-802.11 NAS-Identifier = "AP1" NAS-IP-Address = 192.168.0.250 Framed-MTU = 1496 User-Name = "test@jack" Calling-Station-Id = "00-13-02-C4-80-4C" Called-Station-Id = "00-0F-61-FE-EF-D2" Service-Type = Framed-User EAP-Message = 0x0202000e0174657374406a61636b Colubris-AVPair = "ssid=test2" Colubris-AVPair = "vsc-unique-id=3" Colubris-AVPair = "phytype=IEEE802dot11g" Colubris-Attr-250 = 0x00000000 Colubris-Attr-249 = 0x00000000 Message-Authenticator = 0x62375f6948b6efde2a86ec186367ca77 +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop [suffix] Looking up realm "jack" for User-Name = "test@jack" [suffix] Found realm "jack" [suffix] Adding Stripped-User-Name = "test" [suffix] Adding Realm = "jack" [suffix] Proxying request from user test to realm jack [suffix] Preparing to proxy authentication request to realm "jack" ++[suffix] returns updated [eap] Request is supposed to be proxied to Realm jack. Not doing EAP. ++[eap] returns noop ++[unix] returns notfound ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop ++[pap] returns noop WARNING: Empty section. Using default return values. Sending Access-Request of id 43 to 192.168.0.252 port 1812 Acct-Session-Id = "1f15e604-0000006e" NAS-Port = 111 NAS-Port-Type = Wireless-802.11 NAS-Identifier = "AP1" NAS-IP-Address = 192.168.0.250 Framed-MTU = 1496 User-Name = "test" Calling-Station-Id = "00-13-02-C4-80-4C" Called-Station-Id = "00-0F-61-FE-EF-D2" Service-Type = Framed-User EAP-Message = 0x0202000e0174657374406a61636b Colubris-AVPair = "ssid=test2" Colubris-AVPair = "vsc-unique-id=3" Colubris-AVPair = "phytype=IEEE802dot11g" Colubris-Attr-250 = 0x00000000 Colubris-Attr-249 = 0x00000000 Message-Authenticator = 0x00000000000000000000000000000000 Proxy-State = 0x3236 That is what i have when "default_eap_type = peap" in eap.conf and suffix commented rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=195, length=387 Acct-Session-Id = "1f15e604-00000067" NAS-Port = 104 NAS-Port-Type = Wireless-802.11 NAS-Identifier = "AP1" NAS-IP-Address = 192.168.0.250 Framed-MTU = 1496 User-Name = "test@jack" Calling-Station-Id = "00-13-02-C4-80-4C" Called-Station-Id = "00-0F-61-FE-EF-D2" Service-Type = Framed-User EAP-Message = 0x02c30090190017030100206ef157f1edb209ced6df7284ef870774d1adc808c2f7393a443abde91a4eb99017030100607d4d8d08c8c680d2d06afc57337fa4cce547e386b98106b6c80393c7d131a1279fe2d7a2db1721c7df77a9eaf71cf2a3cad712f2e48dabd36454632ea81428c537a746ae38f08546d6f06766fe8574365a5f87f3689cbde6763580e173ef60ce State = 0x939ea92a945db03a6035c51f15a10082 Colubris-AVPair = "ssid=test2" Colubris-AVPair = "vsc-unique-id=3" Colubris-AVPair = "phytype=IEEE802dot11g" Colubris-Attr-250 = 0x00000000 Colubris-Attr-249 = 0x00000000 Message-Authenticator = 0x89e1bcd7e7ce60181bdb737896d18bbe +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop [eap] EAP packet type response id 195 length 144 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] eaptls_verify returned 7 [peap] Done initial handshake [peap] eaptls_process returned 7 [peap] EAPTLS_OK [peap] Session established. Decoding tunneled attributes. [peap] EAP type mschapv2 [peap] Got tunneled request EAP-Message = 0x02c3004b1a02c300463160397ae5a1c3f5a575162355af3a810a00000000000000001c9fc0b11ba69c8647aef4a10cc29ffece47522c5bc98e94006a6163717565732e6e65745c74657374 server { PEAP: Setting User-Name to jacques.net\test Sending tunneled request EAP-Message = 0x02c3004b1a02c300463160397ae5a1c3f5a575162355af3a810a00000000000000001c9fc0b11ba69c8647aef4a10cc29ffece47522c5bc98e94006a6163717565732e6e65745c74657374 FreeRADIUS-Proxied-To = 127.0.0.1 User-Name = "jacques.net\\test" State = 0xfbacdee0fb6fc428f0638ecd3474d47e Acct-Session-Id = "1f15e604-00000067" NAS-Port = 104 NAS-Port-Type = Wireless-802.11 NAS-Identifier = "AP1" NAS-IP-Address = 192.168.0.250 Framed-MTU = 1496 Calling-Station-Id = "00-13-02-C4-80-4C" Called-Station-Id = "00-0F-61-FE-EF-D2" Service-Type = Framed-User Colubris-AVPair = "ssid=test2" Colubris-AVPair = "vsc-unique-id=3" Colubris-AVPair = "phytype=IEEE802dot11g" Colubris-Attr-250 = 0x00000000 Colubris-Attr-249 = 0x00000000 server inner-tunnel { +- entering group authorize {...} ++[chap] returns noop ++[mschap] returns noop ++[unix] returns notfound ++[control] returns notfound [eap] Request is supposed to be proxied to Realm jack. Not doing EAP. ++[eap] returns noop [files] users: Matched entry DEFAULT at line 1 ++[files] returns ok ++[expiration] returns noop ++[logintime] returns noop ++[pap] returns noop } # server inner-tunnel [peap] Got tunneled reply code 0 PEAP: Calling authenticate in order to initiate tunneled EAP session. +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/mschapv2 [eap] processing type mschapv2 [eap] Not-EAP proxy set. Not composing EAP ++[eap] returns handled PEAP: Tunneled authentication will be proxied to jack PEAP: Remembering to do EAP-MS-CHAP-V2 post-proxy. [eap] Tunneled session will be proxied. Not doing EAP. ++[eap] returns handled WARNING: Empty section. Using default return values. ERROR: Failed to create a new socket for proxying requests. ERROR: Failed inserting request into proxy hash. ERROR: Failed to proxy request 8 There was no response configured: rejecting request 8 Using Post-Auth-Type Reject +- entering group REJECT {...} [attr_filter.access_reject] expand: %{User-Name} -> test@jack attr_filter: Matched entry DEFAULT at line 11 ++[attr_filter.access_reject] returns updated Delaying reject of request 8 for 1 seconds Going to the next request Waking up in 0.9 seconds. Sending delayed reject for request 8 Sending Access-Reject of id 195 to 192.168.0.250 port 32769 Waking up in 3.5 seconds. ^C That is what i have when "default_eap_type = mschapv2" in eap.conf rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=4, length=387 Acct-Session-Id = "1f15e604-00000062" NAS-Port = 99 NAS-Port-Type = Wireless-802.11 NAS-Identifier = "AP1" NAS-IP-Address = 192.168.0.250 Framed-MTU = 1496 User-Name = "test@jack" Calling-Station-Id = "00-13-02-C4-80-4C" Called-Station-Id = "00-0F-61-FE-EF-D2" Service-Type = Framed-User EAP-Message = 0x029c009019001703010020386a87a32d54ce789a58bf0797c8fec2146cab40657d2844f3c669d3ff74437317030100604ab4dde3619f7b2e4b7d8813d7bb491f9cda910d8d648759b9214dba32a2247c5fa5d7341f8f0c61150144b29e4d7d0a05d0afd057ceb43f5bfc81d8ae6b6028063bd44616c025592dbf694424da9e1420d26b07b6a3fd76ac3cba16a8cdc7fe State = 0x9495ab219309b2f8e681988bdb8e38dd Colubris-AVPair = "ssid=test2" Colubris-AVPair = "vsc-unique-id=3" Colubris-AVPair = "phytype=IEEE802dot11g" Colubris-Attr-250 = 0x00000000 Colubris-Attr-249 = 0x00000000 Message-Authenticator = 0x4e5c523271e20690afa7deb40b198fc6 +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop [eap] EAP packet type response id 156 length 144 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] eaptls_verify returned 7 [peap] Done initial handshake [peap] eaptls_process returned 7 [peap] EAPTLS_OK [peap] Session established. Decoding tunneled attributes. [peap] EAP type mschapv2 [peap] Got tunneled request EAP-Message = 0x029c004b1a029c0046311d53cb59aa4d9b9b1bcbe6b548560779000000000000000037033132aa97f5429493f665e083a7691d6524037460f7a8006a6163717565732e6e65745c74657374 server { PEAP: Setting User-Name to jacques.net\test Sending tunneled request EAP-Message = 0x029c004b1a029c0046311d53cb59aa4d9b9b1bcbe6b548560779000000000000000037033132aa97f5429493f665e083a7691d6524037460f7a8006a6163717565732e6e65745c74657374 FreeRADIUS-Proxied-To = 127.0.0.1 User-Name = "jacques.net\\test" State = 0x25cd979825518d94ace7ecd0c04358cd Acct-Session-Id = "1f15e604-00000062" NAS-Port = 99 NAS-Port-Type = Wireless-802.11 NAS-Identifier = "AP1" NAS-IP-Address = 192.168.0.250 Framed-MTU = 1496 Calling-Station-Id = "00-13-02-C4-80-4C" Called-Station-Id = "00-0F-61-FE-EF-D2" Service-Type = Framed-User Colubris-AVPair = "ssid=test2" Colubris-AVPair = "vsc-unique-id=3" Colubris-AVPair = "phytype=IEEE802dot11g" Colubris-Attr-250 = 0x00000000 Colubris-Attr-249 = 0x00000000 server inner-tunnel { +- entering group authorize {...} ++[chap] returns noop ++[mschap] returns noop ++[unix] returns notfound ++[control] returns notfound [eap] Request is supposed to be proxied to Realm jack. Not doing EAP. ++[eap] returns noop [files] users: Matched entry DEFAULT at line 1 ++[files] returns ok ++[expiration] returns noop ++[logintime] returns noop ++[pap] returns noop } # server inner-tunnel [peap] Got tunneled reply code 0 PEAP: Calling authenticate in order to initiate tunneled EAP session. +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/mschapv2 [eap] processing type mschapv2 [eap] Not-EAP proxy set. Not composing EAP ++[eap] returns handled PEAP: Tunneled authentication will be proxied to jack PEAP: Remembering to do EAP-MS-CHAP-V2 post-proxy. [eap] Tunneled session will be proxied. Not doing EAP. ++[eap] returns handled WARNING: Empty section. Using default return values. ERROR: Failed to create a new socket for proxying requests. ERROR: Failed inserting request into proxy hash. ERROR: Failed to proxy request 8
Jacques FOUCHER wrote:
Hello guys, allways problems to convert EAP to non EAP requests. I try to do what those who helped me without succes. Is anybody could help me to understand how it works before I become crasy ?
If you had posted the debug log earlier, that would have helped.
PEAP: Tunneled authentication will be proxied to jack
OK... that works.
PEAP: Remembering to do EAP-MS-CHAP-V2 post-proxy. [eap] Tunneled session will be proxied. Not doing EAP. ++[eap] returns handled WARNING: Empty section. Using default return values. ERROR: Failed to create a new socket for proxying requests.
Uh... that's bad. Which version of the server are you using? How did you possible configure it so that this will happen? *THIS* error is why it's not working. If you had run the server in debugging log as suggested *EVERYWHERE*, you would have seen this error. If you had *READ* the debug log, you might have noticed that there are messages saying *ERROR NOT PROXYING* Maybe that has something to do with why it's not proxying? Maybe?
That is what i have when "default_eap_type = mschapv2" in eap.conf ...
Could you explain why you think that changing random configurations will fix the problem? Why are you "going crazy" trying to figure out what's going on, when there are messages saying *ERROR NOT PROXYING* in the debug output? Could you read them? Please? Think about them? Alan DeKok.
I did some modifications. But there is nothing new really interresting. I assumed that error is normal *"[pap] WARNING! No "known good" password found for the user. Authentication may fail because of this."* until [peap] EAPTLS_HANDLED. Is is right Alan ? Alan told me this message means it is working *"PEAP: Tunneled authentication will be proxied to jack*" but Alan told me too proxying is not made PEAP: Remembering to do EAP-MS-CHAP-V2 post-proxy. [eap] Tunneled session will be proxied. Not doing EAP. ++[eap] returns handled WARNING: Empty section. Using default return values. ERROR: Failed to create a new socket for proxying requests. ERROR: Failed inserting request into proxy hash. ERROR: Failed to proxy request 8 Sorry Alan , i don't have any idea. debian:/usr/local/etc/raddb# radiusd -X FreeRADIUS *Version 2.1.7,* for host i686-pc-linux-gnu, built on Oct 3 2009 at 12:10:20 Copyright (C) 1999-2009 The FreeRADIUS server project and contributors. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License v2. Starting - reading configuration files ... including configuration file /usr/local/etc/raddb/radiusd.conf including configuration file /usr/local/etc/raddb/proxy.conf including configuration file /usr/local/etc/raddb/clients.conf including files in directory /usr/local/etc/raddb/modules/ including configuration file /usr/local/etc/raddb/modules/mac2vlan including configuration file /usr/local/etc/raddb/modules/policy including configuration file /usr/local/etc/raddb/modules/radutmp including configuration file /usr/local/etc/raddb/modules/checkval including configuration file /usr/local/etc/raddb/modules/always including configuration file /usr/local/etc/raddb/modules/pap including configuration file /usr/local/etc/raddb/modules/mac2ip including configuration file /usr/local/etc/raddb/modules/files including configuration file /usr/local/etc/raddb/modules/sradutmp including configuration file /usr/local/etc/raddb/modules/wimax including configuration file /usr/local/etc/raddb/modules/unix including configuration file /usr/local/etc/raddb/modules/cui including configuration file /usr/local/etc/raddb/modules/inner-eap including configuration file /usr/local/etc/raddb/modules/attr_filter including configuration file /usr/local/etc/raddb/modules/perl including configuration file /usr/local/etc/raddb/modules/chap including configuration file /usr/local/etc/raddb/modules/detail.log including configuration file /usr/local/etc/raddb/modules/exec including configuration file /usr/local/etc/raddb/modules/ldap including configuration file /usr/local/etc/raddb/modules/pam including configuration file /usr/local/etc/raddb/modules/etc_group including configuration file /usr/local/etc/raddb/modules/smbpasswd including configuration file /usr/local/etc/raddb/modules/mschap including configuration file /usr/local/etc/raddb/modules/smsotp including configuration file /usr/local/etc/raddb/modules/preprocess including configuration file /usr/local/etc/raddb/modules/passwd including configuration file /usr/local/etc/raddb/modules/realm including configuration file /usr/local/etc/raddb/modules/acct_unique including configuration file /usr/local/etc/raddb/modules/sqlcounter_expire_on_login including configuration file /usr/local/etc/raddb/modules/ippool including configuration file /usr/local/etc/raddb/modules/sql_log including configuration file /usr/local/etc/raddb/modules/logintime including configuration file /usr/local/etc/raddb/modules/echo including configuration file /usr/local/etc/raddb/modules/counter including configuration file /usr/local/etc/raddb/modules/linelog including configuration file /usr/local/etc/raddb/modules/otp including configuration file /usr/local/etc/raddb/modules/expiration including configuration file /usr/local/etc/raddb/modules/detail.example.com including configuration file /usr/local/etc/raddb/modules/digest including configuration file /usr/local/etc/raddb/modules/detail including configuration file /usr/local/etc/raddb/modules/krb5 including configuration file /usr/local/etc/raddb/modules/attr_rewrite including configuration file /usr/local/etc/raddb/modules/expr including configuration file /usr/local/etc/raddb/eap.conf including configuration file /usr/local/etc/raddb/policy.conf including files in directory /usr/local/etc/raddb/sites-enabled/ including configuration file /usr/local/etc/raddb/sites-enabled/default including configuration file /usr/local/etc/raddb/sites-enabled/proxy-inner-tunnel including configuration file /usr/local/etc/raddb/sites-enabled/control-socket including dictionary file /usr/local/etc/raddb/dictionary main { prefix = "/usr/local" localstatedir = "/usr/local/var" logdir = "/usr/local/var/log/radius" libdir = "/usr/local/lib" radacctdir = "/usr/local/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 1024 allow_core_dumps = no pidfile = "/usr/local/var/run/radiusd/radiusd.pid" checkrad = "/usr/local/sbin/checkrad" debug_level = 0 proxy_requests = yes log { stripped_names = no auth = no auth_badpass = no auth_goodpass = no } security { max_attributes = 200 reject_delay = 1 status_server = yes } } radiusd: #### Loading Realms and Home Servers #### proxy server { retry_delay = 5 retry_count = 3 default_fallback = no dead_time = 120 wake_all_if_all_dead = no } home_server IAS { ipaddr = 192.168.0.252 port = 1812 type = "auth" secret = "lrnp2tlm" response_window = 20 max_outstanding = 65536 require_message_authenticator = no zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 num_answers_to_alive = 3 num_pings_to_alive = 3 revive_interval = 120 status_check_timeout = 4 irt = 2 mrt = 16 mrc = 5 mrd = 30 } home_server_pool jack_pool { type = fail-over home_server = IAS } realm jack { auth_pool = jack_pool } realm LOCAL { } radiusd: #### Loading Clients #### client localhost { ipaddr = 127.0.0.1 require_message_authenticator = no secret = "testing123" nastype = "other" } client 192.168.0.250 { require_message_authenticator = no secret = "lrnp2tlm" shortname = "AP1" } radiusd: #### Instantiating modules #### instantiate { Module: Linked to module rlm_exec Module: Instantiating exec exec { wait = no input_pairs = "request" shell_escape = yes } Module: Linked to module rlm_expr Module: Instantiating expr Module: Linked to module rlm_expiration Module: Instantiating expiration expiration { reply-message = "Password Has Expired " } Module: Linked to module rlm_logintime Module: Instantiating logintime logintime { reply-message = "You are calling outside your allowed timespan " minimum-timeout = 60 } } radiusd: #### Loading Virtual Servers #### server proxy-inner-tunnel { modules { Module: Checking authenticate {...} for more modules to load Module: Linked to module rlm_eap Module: Instantiating eap eap { default_eap_type = "mschapv2" timer_expire = 60 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 2048 } Module: Linked to sub-module rlm_eap_md5 Module: Instantiating eap-md5 Module: Linked to sub-module rlm_eap_leap Module: Instantiating eap-leap Module: Linked to sub-module rlm_eap_gtc Module: Instantiating eap-gtc gtc { challenge = "Password: " auth_type = "PAP" } Module: Linked to sub-module rlm_eap_tls Module: Instantiating eap-tls tls { rsa_key_exchange = no dh_key_exchange = yes rsa_key_length = 512 dh_key_length = 512 verify_depth = 0 pem_file_type = yes private_key_file = "/usr/local/etc/raddb/certs/server.pem" certificate_file = "/usr/local/etc/raddb/certs/server.pem" CA_file = "/usr/local/etc/raddb/certs/ca.pem" private_key_password = "whatever" dh_file = "/usr/local/etc/raddb/certs/dh" random_file = "/usr/local/etc/raddb/certs/random" fragment_size = 1024 include_length = yes check_crl = no cipher_list = "DEFAULT" make_cert_command = "/usr/local/etc/raddb/certs/bootstrap" cache { enable = no lifetime = 24 max_entries = 255 } } Module: Linked to sub-module rlm_eap_ttls Module: Instantiating eap-ttls ttls { default_eap_type = "md5" copy_request_to_tunnel = no use_tunneled_reply = no virtual_server = "inner-tunnel" include_length = yes } Module: Linked to sub-module rlm_eap_peap Module: Instantiating eap-peap peap { default_eap_type = "mschapv2" copy_request_to_tunnel = no use_tunneled_reply = no proxy_tunneled_request_as_eap = no virtual_server = "proxy-inner-tunnel" } Module: Linked to sub-module rlm_eap_mschapv2 Module: Instantiating eap-mschapv2 mschapv2 { with_ntdomain_hack = no } Module: Checking authorize {...} for more modules to load Module: Checking post-proxy {...} for more modules to load } # modules } # server server { modules { Module: Checking authenticate {...} for more modules to load Module: Linked to module rlm_pap Module: Instantiating pap pap { encryption_scheme = "auto" auto_header = no } Module: Linked to module rlm_chap Module: Instantiating chap Module: Linked to module rlm_mschap Module: Instantiating mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = no } Module: Linked to module rlm_unix Module: Instantiating unix unix { radwtmp = "/usr/local/var/log/radius/radwtmp" } Module: Checking authorize {...} for more modules to load Module: Linked to module rlm_preprocess Module: Instantiating preprocess preprocess { huntgroups = "/usr/local/etc/raddb/huntgroups" hints = "/usr/local/etc/raddb/hints" with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no with_alvarion_vsa_hack = no } Module: Linked to module rlm_files Module: Instantiating files files { usersfile = "/usr/local/etc/raddb/users" acctusersfile = "/usr/local/etc/raddb/acct_users" preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users" compat = "no" } Module: Checking preacct {...} for more modules to load Module: Linked to module rlm_acct_unique Module: Instantiating acct_unique acct_unique { key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port" } Module: Checking accounting {...} for more modules to load Module: Linked to module rlm_detail Module: Instantiating detail detail { detailfile = "/usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d" header = "%t" detailperm = 384 dirperm = 493 locking = no log_packet_header = no } Module: Linked to module rlm_radutmp Module: Instantiating radutmp radutmp { filename = "/usr/local/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes perm = 384 callerid = yes } Module: Linked to module rlm_attr_filter Module: Instantiating attr_filter.accounting_response attr_filter attr_filter.accounting_response { attrsfile = "/usr/local/etc/raddb/attrs.accounting_response" key = "%{User-Name}" } Module: Checking session {...} for more modules to load Module: Checking post-proxy {...} for more modules to load Module: Checking post-auth {...} for more modules to load Module: Instantiating attr_filter.access_reject attr_filter attr_filter.access_reject { attrsfile = "/usr/local/etc/raddb/attrs.access_reject" key = "%{User-Name}" } } # modules } # server radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 0 } listen { type = "acct" ipaddr = * port = 0 } listen { type = "control" listen { socket = "/usr/local/var/run/radiusd/radiusd.sock" } } Listening on authentication address * port 1812 Listening on accounting address * port 1813 Listening on command file /usr/local/var/run/radiusd/radiusd.sock Listening on proxy address * port 1814 Ready to process requests. rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=64, length=239 Acct-Session-Id = "9e431836-000000bb" NAS-Port = 188 NAS-Port-Type = Wireless-802.11 NAS-Identifier = "AP1" NAS-IP-Address = 192.168.0.250 Framed-MTU = 1496 User-Name = "test@jack" Calling-Station-Id = "00-13-02-C4-80-4C" Called-Station-Id = "00-0F-61-FE-EF-D2" Service-Type = Framed-User EAP-Message = 0x0288000e0174657374406a61636b Colubris-AVPair = "ssid=test2" Colubris-AVPair = "vsc-unique-id=3" Colubris-AVPair = "phytype=IEEE802dot11g" Colubris-Attr-250 = 0x00000000 Colubris-Attr-249 = 0x00000000 Message-Authenticator = 0x6bf0a42140e4199e04a2cad3b6de81c8 +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop [eap] EAP packet type response id 136 length 14 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[unix] returns notfound ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop Found Auth-Type = EAP +- entering group authenticate {...} [eap] EAP Identity [eap] processing type mschapv2 rlm_eap_mschapv2: Issuing Challenge ++[eap] returns handled Sending Access-Challenge of id 64 to 192.168.0.250 port 32769 EAP-Message = 0x018900231a0189001e101283c65b2b3d464aed6caa838f646b9274657374406a61636b Message-Authenticator = 0x00000000000000000000000000000000 State = 0xe52c2b56e5a5316612cb0109c784fb0b Finished request 0. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=49, length=249 Acct-Session-Id = "9e431836-000000bb" NAS-Port = 188 NAS-Port-Type = Wireless-802.11 NAS-Identifier = "AP1" NAS-IP-Address = 192.168.0.250 Framed-MTU = 1496 User-Name = "test@jack" Calling-Station-Id = "00-13-02-C4-80-4C" Called-Station-Id = "00-0F-61-FE-EF-D2" Service-Type = Framed-User EAP-Message = 0x028900060319 State = 0xe52c2b56e5a5316612cb0109c784fb0b Colubris-AVPair = "ssid=test2" Colubris-AVPair = "vsc-unique-id=3" Colubris-AVPair = "phytype=IEEE802dot11g" Colubris-Attr-250 = 0x00000000 Colubris-Attr-249 = 0x00000000 Message-Authenticator = 0x111fb6ef271b8a065e422e8adb711829 +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop [eap] EAP packet type response id 137 length 6 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[unix] returns notfound ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop Found Auth-Type = EAP +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP NAK [eap] EAP-NAK asked for EAP-Type/peap [eap] processing type tls [tls] Initiate [tls] Start returned 1 ++[eap] returns handled Sending Access-Challenge of id 49 to 192.168.0.250 port 32769 EAP-Message = 0x018a00061920 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xe52c2b56e4a6326612cb0109c784fb0b Finished request 1. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=155, length=351 Acct-Session-Id = "9e431836-000000bb" NAS-Port = 188 NAS-Port-Type = Wireless-802.11 NAS-Identifier = "AP1" NAS-IP-Address = 192.168.0.250 Framed-MTU = 1496 User-Name = "test@jack" Calling-Station-Id = "00-13-02-C4-80-4C" Called-Station-Id = "00-0F-61-FE-EF-D2" Service-Type = Framed-User EAP-Message = 0x028a006c190016030100610100005d03014ac76c5936cdef8fe925f5885fd3e327830bc5198e16d2ee6b2121614719112b00003600390038003500160013000a00330032002f0007006600050004006300620061001500120009006500640060001400110008000600030100 State = 0xe52c2b56e4a6326612cb0109c784fb0b Colubris-AVPair = "ssid=test2" Colubris-AVPair = "vsc-unique-id=3" Colubris-AVPair = "phytype=IEEE802dot11g" Colubris-Attr-250 = 0x00000000 Colubris-Attr-249 = 0x00000000 Message-Authenticator = 0xa3d3fecf02d51e202b966d106175f397 +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop [eap] EAP packet type response id 138 length 108 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] eaptls_verify returned 7 [peap] Done initial handshake [peap] (other): before/accept initialization [peap] TLS_accept: before/accept initialization [peap] <<< TLS 1.0 Handshake [length 0061], ClientHello [peap] TLS_accept: SSLv3 read client hello A [peap] >>> TLS 1.0 Handshake [length 002a], ServerHello [peap] TLS_accept: SSLv3 write server hello A [peap] >>> TLS 1.0 Handshake [length 085e], Certificate [peap] TLS_accept: SSLv3 write certificate A [peap] >>> TLS 1.0 Handshake [length 020d], ServerKeyExchange [peap] TLS_accept: SSLv3 write key exchange A [peap] >>> TLS 1.0 Handshake [length 0004], ServerHelloDone [peap] TLS_accept: SSLv3 write server done A [peap] TLS_accept: SSLv3 flush data [peap] TLS_accept: Need to read more data: SSLv3 read client certificate A In SSL Handshake Phase In SSL Accept mode [peap] eaptls_process returned 13 [peap] EAPTLS_HANDLED ++[eap] returns handled Sending Access-Challenge of id 155 to 192.168.0.250 port 32769 EAP-Message = 0x018b040019c000000aad160301002a0200002603014ac76c875aa5f2d4365bcf271e11f464291b3dab89a5a1e4df7db68032d2fc7a00003900160301085e0b00085a0008570003a6308203a23082028aa003020102020101300d06092a864886f70d0101040500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479 EAP-Message = 0x301e170d3039313030333131353530385a170d3130313030333131353530385a307c310b3009060355040613024652310f300d0603550408130652616469757331153013060355040a130c4578616d706c6520496e632e312330210603550403131a4578616d706c65205365727665722043657274696669636174653120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100c977ca845928769c7592684fd76f6e39558f6b08b4b461b9f8367128f7e183bc4543a5b547ed41c73e55b09c841c780c0e970d8d593729286f17dc2ed825 EAP-Message = 0xfe9213084a89be6a440c275a8624b43ca33b44ff5791b43776e88112fdcb27bb8e1ecdb9bb90aeef2c36aa3daaf84fb6e7c470be1d867a78bbd45de58a532850a1450f50c2b62d8cc49dad26eb410382c8b767ad74b682d1e53ac8a804396abdf3d1b121c19ce998bc7b9b572f50edba04444d4266f603bb41d33670267db4a30ad4447575a9f9bb801bcd66a11805f8da193207f80b527e864f8a6f359db31608c073cf8c41a73504c78444e78b9c9682b4292cc8c4c5e685705789b5bfb31fb9830203010001a317301530130603551d25040c300a06082b06010505070301300d06092a864886f70d010104050003820101002b03a99f2ca81069e7 EAP-Message = 0xbfea6c24aa02f80c81556dc5a2663fc30289f5f28baa8999b9c7287a278b11126b48fec1a5324a9efb36a1de6990bb8c5d419b4039d6d7a4c62ec54017e9e7eb5939d7b3a5292dfdc0460850baa44a668bf9eb070a8c919b20233b5f4adca02199e4021de0734fa7ea40fb5b826ee6012dd1e72cc51253981e84fa0cbcec764c905e74a3939880114d103889bfb6349398f35479d54f44acca26f94b797462985bb566939477debd5a58ad4c7b1870ef3777b97fa52aa0e6dbc17e6ac4f4f1124d89f20b4306a415ef9d23251c2bd6f453e34f0c35f1ab3809c560ba63eda3b1c9ffdd7deebb951544e4ba0cf78e74873c133fd95b9d340004ab308204 EAP-Message = 0xa73082038fa0030201020209 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xe52c2b56e7a7326612cb0109c784fb0b Finished request 2. Going to the next request Waking up in 4.7 seconds. rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=53, length=249 Acct-Session-Id = "9e431836-000000bb" NAS-Port = 188 NAS-Port-Type = Wireless-802.11 NAS-Identifier = "AP1" NAS-IP-Address = 192.168.0.250 Framed-MTU = 1496 User-Name = "test@jack" Calling-Station-Id = "00-13-02-C4-80-4C" Called-Station-Id = "00-0F-61-FE-EF-D2" Service-Type = Framed-User EAP-Message = 0x028b00061900 State = 0xe52c2b56e7a7326612cb0109c784fb0b Colubris-AVPair = "ssid=test2" Colubris-AVPair = "vsc-unique-id=3" Colubris-AVPair = "phytype=IEEE802dot11g" Colubris-Attr-250 = 0x00000000 Colubris-Attr-249 = 0x00000000 Message-Authenticator = 0x0c53e57eaf80f88919ae730f5e6fd9a8 +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop [eap] EAP packet type response id 139 length 6 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] Received TLS ACK [peap] ACK handshake fragment handler [peap] eaptls_verify returned 1 [peap] eaptls_process returned 13 [peap] EAPTLS_HANDLED ++[eap] returns handled Sending Access-Challenge of id 53 to 192.168.0.250 port 32769 EAP-Message = 0x018c03fc194000d627db08b1f1d49d300d06092a864886f70d0101050500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3039313030333131353530385a170d3130313030333131353530385a308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504 EAP-Message = 0x071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d01010105000382010f003082010a0282010100d11d9a9ceaf8b5db3897abd05977ba239e08012f8ba4c2a6dc57d77a31abba94c6a58855e2cb3ef60a6d28a3065a375740ccd8ca3d397541449019ba9c2a29906ac3c670de93386e83bba0d31db8d9e5b849ba66fca3d192d8b5980f5f76c0184e69d5f658e1d13a84f5505f002695 EAP-Message = 0x59241a9a597ba51a26ff0dae3408cac7f19be47616e505d482b4f2a201168fb6f16c6aa1ed428620a5ee95534708e0fdd7930f341ab1e23ae8d192358de556bb0de23305e325ba31f990fa05dfef2121c03612b5088ce7b0e5395d8bf14d00bc935e94f84e412e7ee0e2b8d32d18fea8e992d12228da112808e43d49d6181270bcaabf29af18a713a9416117da14c5b5a70203010001a381fb3081f8301d0603551d0e04160414ea220c40c1589ecb14ff7c33bc6f7b99830e26833081c80603551d230481c03081bd8014ea220c40c1589ecb14ff7c33bc6f7b99830e2683a18199a48196308193310b3009060355040613024652310f300d06035504 EAP-Message = 0x0813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479820900d627db08b1f1d49d300c0603551d13040530030101ff300d06092a864886f70d010105050003820101006f640516944f2f29678dfb0c8156c77a6545ea6ab5639e5828ed8871e0d51ba6e5e9a435daca88f17dee45f7070889cd2d558befe32cd240c092fdd543a6ab3e2598146080dee552edbce54a3972a78fc976 EAP-Message = 0xa96ccef88261bd0f Message-Authenticator = 0x00000000000000000000000000000000 State = 0xe52c2b56e6a0326612cb0109c784fb0b Finished request 3. Going to the next request Waking up in 4.7 seconds. rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=61, length=249 Acct-Session-Id = "9e431836-000000bb" NAS-Port = 188 NAS-Port-Type = Wireless-802.11 NAS-Identifier = "AP1" NAS-IP-Address = 192.168.0.250 Framed-MTU = 1496 User-Name = "test@jack" Calling-Station-Id = "00-13-02-C4-80-4C" Called-Station-Id = "00-0F-61-FE-EF-D2" Service-Type = Framed-User EAP-Message = 0x028c00061900 State = 0xe52c2b56e6a0326612cb0109c784fb0b Colubris-AVPair = "ssid=test2" Colubris-AVPair = "vsc-unique-id=3" Colubris-AVPair = "phytype=IEEE802dot11g" Colubris-Attr-250 = 0x00000000 Colubris-Attr-249 = 0x00000000 Message-Authenticator = 0xc635ffa70850a35d8b1c9b6c1a891cf1 +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop [eap] EAP packet type response id 140 length 6 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] Received TLS ACK [peap] ACK handshake fragment handler [peap] eaptls_verify returned 1 [peap] eaptls_process returned 13 [peap] EAPTLS_HANDLED ++[eap] returns handled Sending Access-Challenge of id 61 to 192.168.0.250 port 32769 EAP-Message = 0x018d02c719006b12531915a2f5904be5b1f2e238cad1d151c12c9f10e2d042c571301840bb175b7cac5312747363551a3aec7f54adbbf7ceb62220bc648309d60ae44695bb9183166d96bab11be3b6c48cbc547706294c13f5567d18928d2a8979265216d69763ea8420173f1b882ebd4a8423f647e7ad229007c02f3f56be441751f2f3272ca94aac274b2cee8083a05bacec86ef70c95e9bb53fb9003e1ecf12e60033c5669380395acabc160301020d0c0002090080e0375d772d1f65bcdd181712e0cb05509bfb7d35d97d5a48bbde36a33672b61513cd955faee148506fddf7a33fb13d941ce92dc5129322191d7b9cd3148f2337006411057dce EAP-Message = 0xf75bf80d510dfde8b6ec0075762f740e21d57cee1da32c4c69817802218262aa9aabab4b7239d1a6205fa67ecc1a55205477aa5e87cc4ebcd68b00010200804c1e47b3f8eaf5d37d7e6c7279dd9d6f9e64abdb2b1a9d22d2fd123b18a4f17e9267cc1fd230ecacafd801db23fce81fe24d7fa26ec93723b7ef474c06120f7c9810fa0f3c55e9f7728bf1eeacf1fd88db98eb61bee498d7f5064289fac0235e77c9d8f03ffa953d528b1d2186f6ef96771e1d7251d298664a4a9f4f6e1526bb0100c4edfa8fa41510dcba75f9cb2efd4460db1ac82af3a9038e8fbc44d4e851c2970a1b6d62b176d852e9d846eb3245b45ce47c4ae87c135b5c033628f7 EAP-Message = 0xb1dbca7e82127d15124e272fe96545dca05ca32ed73dd1cc4f70f8ac0a3f02e585bef24b5cc56f3a12392ee3cb324e6019239e9a2942daa34e5b2aeb4088509e5ab4e64773cfedb6b750acf89f319127b5eef2952577985e2eb2781b76f343e50443bc912b92162b44b6dff5ec4b27ed0205e35f6b384a4da4a43e1e561023357bb8e3faeda9c750cd0244bab1743fe009550564c40637d06fc408a69ceb53c9b7338f771ad8555383a5fe1d6ff5b98cbad6e3806043fee084ab1cab1ce0ef9c12ce156916030100040e000000 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xe52c2b56e1a1326612cb0109c784fb0b Finished request 4. Going to the next request Waking up in 4.7 seconds. rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=128, length=447 Acct-Session-Id = "9e431836-000000bb" NAS-Port = 188 NAS-Port-Type = Wireless-802.11 NAS-Identifier = "AP1" NAS-IP-Address = 192.168.0.250 Framed-MTU = 1496 User-Name = "test@jack" Calling-Station-Id = "00-13-02-C4-80-4C" Called-Station-Id = "00-0F-61-FE-EF-D2" Service-Type = Framed-User EAP-Message = 0x028d00cc19001603010086100000820080a2bf7e2e20601d391a29d994714a67e70a0b4133dcbd459b4123103864defd1479f8aaaef3af629a095bee09d0bfdfeb55d8d7242edad5f2c1ef937f2a5cfb0691931bb6e9df105f31c433bfdf6231725eb5c48ba1b475682ffd5e4a064e64f21ec0f0d1cc198a06fa42aaa396b6116b0a6da139b55e6e7c4d7b6062ec08e70e14030100010116030100302c992ae49ac885432cb2b00f4d54dee6f33e6d65ff2e164744d48b3b03bd232438f56dc9e6c6d11e64cec3a5e7f5100e State = 0xe52c2b56e1a1326612cb0109c784fb0b Colubris-AVPair = "ssid=test2" Colubris-AVPair = "vsc-unique-id=3" Colubris-AVPair = "phytype=IEEE802dot11g" Colubris-Attr-250 = 0x00000000 Colubris-Attr-249 = 0x00000000 Message-Authenticator = 0x309e111ca2707b6e0b1164686773d926 +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop [eap] EAP packet type response id 141 length 204 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] eaptls_verify returned 7 [peap] Done initial handshake [peap] <<< TLS 1.0 Handshake [length 0086], ClientKeyExchange [peap] TLS_accept: SSLv3 read client key exchange A [peap] <<< TLS 1.0 ChangeCipherSpec [length 0001] [peap] <<< TLS 1.0 Handshake [length 0010], Finished [peap] TLS_accept: SSLv3 read finished A [peap] >>> TLS 1.0 ChangeCipherSpec [length 0001] [peap] TLS_accept: SSLv3 write change cipher spec A [peap] >>> TLS 1.0 Handshake [length 0010], Finished [peap] TLS_accept: SSLv3 write finished A [peap] TLS_accept: SSLv3 flush data [peap] (other): SSL negotiation finished successfully SSL Connection Established [peap] eaptls_process returned 13 [peap] EAPTLS_HANDLED ++[eap] returns handled Sending Access-Challenge of id 128 to 192.168.0.250 port 32769 EAP-Message = 0x018e0041190014030100010116030100309c6dddc727fa5be972b0028ef606167307058ee382cfcddf5753f17b3eb76a58ab76db4f95d6b7e9538d1a41ceaabffe Message-Authenticator = 0x00000000000000000000000000000000 State = 0xe52c2b56e0a2326612cb0109c784fb0b Finished request 5. Going to the next request Waking up in 4.6 seconds. rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=221, length=249 Acct-Session-Id = "9e431836-000000bb" NAS-Port = 188 NAS-Port-Type = Wireless-802.11 NAS-Identifier = "AP1" NAS-IP-Address = 192.168.0.250 Framed-MTU = 1496 User-Name = "test@jack" Calling-Station-Id = "00-13-02-C4-80-4C" Called-Station-Id = "00-0F-61-FE-EF-D2" Service-Type = Framed-User EAP-Message = 0x028e00061900 State = 0xe52c2b56e0a2326612cb0109c784fb0b Colubris-AVPair = "ssid=test2" Colubris-AVPair = "vsc-unique-id=3" Colubris-AVPair = "phytype=IEEE802dot11g" Colubris-Attr-250 = 0x00000000 Colubris-Attr-249 = 0x00000000 Message-Authenticator = 0x55b12d5f25571aeafdfaaa0f96551d8b +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop [eap] EAP packet type response id 142 length 6 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] Received TLS ACK [peap] ACK handshake is finished [peap] eaptls_verify returned 3 [peap] eaptls_process returned 3 [peap] EAPTLS_SUCCESS ++[eap] returns handled Sending Access-Challenge of id 221 to 192.168.0.250 port 32769 EAP-Message = 0x018f002b1900170301002086695e8114105240318e65f8a3cb63fd39be5dcad072139dd9fdcc4028d9122d Message-Authenticator = 0x00000000000000000000000000000000 State = 0xe52c2b56e3a3326612cb0109c784fb0b Finished request 6. Going to the next request Waking up in 4.6 seconds. rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=35, length=339 Acct-Session-Id = "9e431836-000000bb" NAS-Port = 188 NAS-Port-Type = Wireless-802.11 NAS-Identifier = "AP1" NAS-IP-Address = 192.168.0.250 Framed-MTU = 1496 User-Name = "test@jack" Calling-Station-Id = "00-13-02-C4-80-4C" Called-Station-Id = "00-0F-61-FE-EF-D2" Service-Type = Framed-User EAP-Message = 0x028f006019001703010020978d4d9eca3a710add216f1901a8f26e35d9db1acb5cd6b02dc33aedb51b88611703010030193a7049784a965e6d45f091d94a605f554a8a2c72660ca46566eeb72a60855449f45d034e3baeaf5513fa9bb0aa97c9 State = 0xe52c2b56e3a3326612cb0109c784fb0b Colubris-AVPair = "ssid=test2" Colubris-AVPair = "vsc-unique-id=3" Colubris-AVPair = "phytype=IEEE802dot11g" Colubris-Attr-250 = 0x00000000 Colubris-Attr-249 = 0x00000000 Message-Authenticator = 0xa4d260a89d80c97f64c310c36e9b6e92 +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop [eap] EAP packet type response id 143 length 96 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] eaptls_verify returned 7 [peap] Done initial handshake [peap] eaptls_process returned 7 [peap] EAPTLS_OK [peap] Session established. Decoding tunneled attributes. [peap] Identity - jacques.net\test [peap] Got tunneled request EAP-Message = 0x028f0015016a6163717565732e6e65745c74657374 server { PEAP: Got tunneled identity of jacques.net\test PEAP: Setting default EAP type for tunneled EAP session. PEAP: Setting User-Name to jacques.net\test Sending tunneled request EAP-Message = 0x028f0015016a6163717565732e6e65745c74657374 FreeRADIUS-Proxied-To = 127.0.0.1 User-Name = "jacques.net\\test" server proxy-inner-tunnel { +- entering group authorize {...} ++[control] returns notfound } # server proxy-inner-tunnel [peap] Got tunneled reply code 0 PEAP: Calling authenticate in order to initiate tunneled EAP session. +- entering group authenticate {...} [eap] EAP Identity [eap] processing type mschapv2 rlm_eap_mschapv2: Issuing Challenge ++[eap] returns handled PEAP: Cancelling proxy to realm jack until the tunneled EAP session has been established [peap] Got tunneled reply RADIUS code 11 EAP-Message = 0x0190002a1a0190002510c10f54dab7de15966db1a01a2611a7276a6163717565732e6e65745c74657374 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xec67b216ecf7a849ce57f8738cf9165c [peap] Got tunneled Access-Challenge ++[eap] returns handled Sending Access-Challenge of id 35 to 192.168.0.250 port 32769 EAP-Message = 0x0190004b190017030100403e7cd70c74fcf8396fd718bc480b8a5f3d31feb49ce858b06499b06e0f4610c1b30b9594312ce3942b68cde5a66cce7b10de36ab9457eed2cc345cfb2a0284c2 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xe52c2b56e2bc326612cb0109c784fb0b Finished request 7. Going to the next request Waking up in 4.5 seconds. rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=146, length=387 Acct-Session-Id = "9e431836-000000bb" NAS-Port = 188 NAS-Port-Type = Wireless-802.11 NAS-Identifier = "AP1" NAS-IP-Address = 192.168.0.250 Framed-MTU = 1496 User-Name = "test@jack" Calling-Station-Id = "00-13-02-C4-80-4C" Called-Station-Id = "00-0F-61-FE-EF-D2" Service-Type = Framed-User EAP-Message = 0x02900090190017030100204848b442b8caed161089a0e773f0e8810e605039e31d926db0143fdaca595ba117030100605958c607552620b4702516a62820e815cf0df4daeee444791c36edadd2f3f0540a58d9c8ae800aef7b8abd21eb13c20ef3462433d15ecfc8f4bfcafa927d3edf6a5f34522d19bf71987279be09170a4c1d7c3149dc5f13cf8b256404a93c1a25 State = 0xe52c2b56e2bc326612cb0109c784fb0b Colubris-AVPair = "ssid=test2" Colubris-AVPair = "vsc-unique-id=3" Colubris-AVPair = "phytype=IEEE802dot11g" Colubris-Attr-250 = 0x00000000 Colubris-Attr-249 = 0x00000000 Message-Authenticator = 0x4873f45a1e056622518304c1d0f8d26a +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop [eap] EAP packet type response id 144 length 144 [eap] Continuing tunnel setup. ++[eap] returns ok Found Auth-Type = EAP +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/peap [eap] processing type peap [peap] processing EAP-TLS [peap] eaptls_verify returned 7 [peap] Done initial handshake [peap] eaptls_process returned 7 [peap] EAPTLS_OK [peap] Session established. Decoding tunneled attributes. [peap] EAP type mschapv2 [peap] Got tunneled request EAP-Message = 0x0290004b1a0290004631d21d967b64714af03946b98d24989f64000000000000000043d4de7ac03109b339b2f8da0329c4c554132fc8bd97f6ba006a6163717565732e6e65745c74657374 server { PEAP: Setting User-Name to jacques.net\test Sending tunneled request EAP-Message = 0x0290004b1a0290004631d21d967b64714af03946b98d24989f64000000000000000043d4de7ac03109b339b2f8da0329c4c554132fc8bd97f6ba006a6163717565732e6e65745c74657374 FreeRADIUS-Proxied-To = 127.0.0.1 User-Name = "jacques.net\\test" State = 0xec67b216ecf7a849ce57f8738cf9165c server proxy-inner-tunnel { +- entering group authorize {...} ++[control] returns notfound } # server proxy-inner-tunnel [peap] Got tunneled reply code 0 PEAP: Calling authenticate in order to initiate tunneled EAP session. +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/mschapv2 [eap] processing type mschapv2 [eap] Not-EAP proxy set. Not composing EAP ++[eap] returns handled PEAP: Tunneled authentication will be proxied to jack PEAP: Remembering to do EAP-MS-CHAP-V2 post-proxy. [eap] Tunneled session will be proxied. Not doing EAP. ++[eap] returns handled WARNING: Empty section. Using default return values. ERROR: Failed to create a new socket for proxying requests. ERROR: Failed inserting request into proxy hash. ERROR: Failed to proxy request 8 There was no response configured: rejecting request 8 Using Post-Auth-Type Reject +- entering group REJECT {...} [attr_filter.access_reject] expand: %{User-Name} -> test@jack attr_filter: Matched entry DEFAULT at line 11 ++[attr_filter.access_reject] returns updated Delaying reject of request 8 for 1 seconds Going to the next request Waking up in 0.9 seconds. Sending delayed reject for request 8 Sending Access-Reject of id 146 to 192.168.0.250 port 32769 Waking up in 3.5 seconds. Cleaning up request 0 ID 64 with timestamp +32 Cleaning up request 1 ID 49 with timestamp +32 Waking up in 0.1 seconds. Cleaning up request 2 ID 155 with timestamp +32 Cleaning up request 3 ID 53 with timestamp +32 Cleaning up request 4 ID 61 with timestamp +32 Waking up in 0.1 seconds. Cleaning up request 5 ID 128 with timestamp +32 Cleaning up request 6 ID 221 with timestamp +32 Cleaning up request 7 ID 35 with timestamp +32 Waking up in 1.0 seconds. Cleaning up request 8 ID 146 with timestamp +32 Ready to process requests. ^C debian:/usr/local/etc/raddb# Jacques
Jacques FOUCHER wrote:
but Alan told me too proxying is not made PEAP: Remembering to do EAP-MS-CHAP-V2 post-proxy. [eap] Tunneled session will be proxied. Not doing EAP. ++[eap] returns handled WARNING: Empty section. Using default return values. ERROR: Failed to create a new socket for proxying requests. ERROR: Failed inserting request into proxy hash. ERROR: Failed to proxy request 8
Sorry Alan , i don't have any idea.
Are you sure you're using 2.1.7, and not some other version? It's a little hard to believe that proxying doesn't work in 2.1.7. It seems to be fine for everyone else... Alan DeKok.
Alan, I installed first with apt-get an older version, then remove /etc/freeradius and /etc/raddb and then install the new version 2.1.7 from freeradius.org. Jacques 2009/10/3 Alan DeKok <aland@deployingradius.com>
Jacques FOUCHER wrote:
but Alan told me too proxying is not made PEAP: Remembering to do EAP-MS-CHAP-V2 post-proxy. [eap] Tunneled session will be proxied. Not doing EAP. ++[eap] returns handled WARNING: Empty section. Using default return values. ERROR: Failed to create a new socket for proxying requests. ERROR: Failed inserting request into proxy hash. ERROR: Failed to proxy request 8
Sorry Alan , i don't have any idea.
Are you sure you're using 2.1.7, and not some other version?
It's a little hard to believe that proxying doesn't work in 2.1.7. It seems to be fine for everyone else...
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Jacques FOUCHER
Alan,
I installed first with apt-get an older version, then remove /etc/freeradius and /etc/raddb and then install the new version 2.1.7 from freeradius.org.
Jacques
2009/10/3 Alan DeKok <aland@deployingradius.com>
Jacques FOUCHER wrote:
but Alan told me too proxying is not made PEAP: Remembering to do EAP-MS-CHAP-V2 post-proxy. [eap] Tunneled session will be proxied. Not doing EAP. ++[eap] returns handled WARNING: Empty section. Using default return values. ERROR: Failed to create a new socket for proxying requests. ERROR: Failed inserting request into proxy hash. ERROR: Failed to proxy request 8
Sorry Alan , i don't have any idea.
Are you sure you're using 2.1.7, and not some other version?
It's a little hard to believe that proxying doesn't work in 2.1.7. It seems to be fine for everyone else...
Something is badly broken in your installation. You should remove both versions completely and then do fresh 2.1.7 install. Ivan Kalik Kalik Informatika ISP
Alan, Ivan, and others could help me I reinstalled Debian system and installed new version 2.1.7. Allway the same problem. I think i miss something very basic for you but not for the freeradius beginner I am. That is all what I did : * install last stable debapt-get update apt-get upgrade apt-get install openssh-server apt-get install libcurl4-openssl-dev apt-get install tcpdump apt-get gcc apt-get make* *wget -c ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-2.1.7.tar.gz tar xvzf freeradius-server-2.1.7.tar.gz cd freeradius-server-2.1.7 ./configure;make;make install* add AP1 in clients.conf : *client 192.168.0.250 { secret = lrnp2tlm shortname = AP1 }* add home_server in proxy.conf : *home_server IAS { ipaddr = 192.168.0.252 port = 1812 type = "auth" secret = "lrnp2tlm" response_window = 20 max_outstanding = 65536 require_message_authenticator = no zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 num_answers_to_alive = 3 num_pings_to_alive = 3 revive_interval = 120 status_check_timeout = 4 irt = 2 mrt = 16 mrc = 5 mrd = 30 } home_server_pool jack_pool { type = fail-over home_server = IAS } realm jack { auth_pool = jack_pool } * modify eap.conf : *default_eap_type = mschapv2* and in peap function : *peap { default_eap_type = mschapv2 copy_request_to_tunnel = yes use_tunneled_reply = yes proxy_tunneled_request_as_eap = no virtual_server = "proxy-inner-tunnel" } mschapv2 { }* I remove inner-tunnel link in raddb/sites-enabled Create one for proxy-sites-enabled *debian:/usr/local/etc/raddb/sites-enabled# ls -l total 0 lrwxrwxrwx 1 root staff 33 oct 3 20:51 control-socket -> ../sites-available/control-socket lrwxrwxrwx 1 root staff 26 oct 3 20:51 default -> ../sites-available/default lrwxrwxrwx 1 root staff 37 oct 3 21:00 proxy-inner-tunnel -> ../sites-available/proxy-inner-tunnel* comment suffix twice in default file add jack in proxy-inner-tunnel: *server proxy-inner-tunnel { authorize { update control { Proxy-To-Realm := "jack" } } authenticate { eap } post-proxy { eap } } * That's all. Is something wrong or missing ? Thanks 2009/10/3 Ivan Kalik <tnt@kalik.net>
Alan,
I installed first with apt-get an older version, then remove /etc/freeradius and /etc/raddb and then install the new version 2.1.7 from freeradius.org.
Jacques
2009/10/3 Alan DeKok <aland@deployingradius.com>
Jacques FOUCHER wrote:
but Alan told me too proxying is not made PEAP: Remembering to do EAP-MS-CHAP-V2 post-proxy. [eap] Tunneled session will be proxied. Not doing EAP. ++[eap] returns handled WARNING: Empty section. Using default return values. ERROR: Failed to create a new socket for proxying requests. ERROR: Failed inserting request into proxy hash. ERROR: Failed to proxy request 8
Sorry Alan , i don't have any idea.
Are you sure you're using 2.1.7, and not some other version?
It's a little hard to believe that proxying doesn't work in 2.1.7. It seems to be fine for everyone else...
Something is badly broken in your installation. You should remove both versions completely and then do fresh 2.1.7 install.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Jacques FOUCHER
On 10/03/2009 03:37 PM, Jacques FOUCHER wrote:
Alan, Ivan, and others could help me
I reinstalled Debian system and installed new version 2.1.7. Allway the same problem.
I think i miss something very basic for you but not for the freeradius beginner I am.
That is all what I did : * install last stable debapt-get update apt-get upgrade apt-get install openssh-server apt-get install libcurl4-openssl-dev apt-get install tcpdump apt-get gcc apt-get make*
*wget -c ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-2.1.7.tar.gz tar xvzf freeradius-server-2.1.7.tar.gz cd freeradius-server-2.1.7 ./configure;make;make install*
Look for warning messages in the output of ./configure. A typical problem is not having the development versions of packages installed. configure will detect you're missing the required header files and libraries but it won't fail, it will just issue a warning. So for instance lets say you don't have the openssh developement files installed, the build will run, but you won't get a version of freeradius which can do TLS tunnels because configure will have detected in your build environment you don't have the necessary support for that feature. -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
You will find configure, make and make install results later in this message. I was thinking ... Is using virual machines (VMWare Workstation 6.0.2) could be the problem ? I am installing a different linux version right now (Fedora), just in case Jacques # ./configure | grep -i warn configure: WARNING: snmpget not found - Simultaneous-Use and checkrad.pl may not work configure: WARNING: snmpwalk not found - Simultaneous-Use and checkrad.pl may not work configure: WARNING: pcap library not found, silently disabling the RADIUS sniffer. config.status: WARNING: ./Make.inc.in seems to ignore the --datarootdir setting config.status: WARNING: ./src/include/build-radpaths-h.in seems to ignore the --datarootdir setting configure: WARNING: silently not building rlm_counter. configure: WARNING: FAILURE: rlm_counter requires: libgdbm. configure: WARNING: FAILURE: rlm_dbm requires: (ndbm.h or gdbm/ndbm.h or gdbm-ndbm.h) (libndbm or libgdbm or libgdbm_compat). configure: WARNING: silently not building rlm_dbm. configure: WARNING: the TNCS library isn't found! configure: WARNING: silently not building rlm_eap_tnc. configure: WARNING: FAILURE: rlm_eap_tnc requires: -lTNCS. configure: WARNING: silently not building rlm_eap_ikev2. configure: WARNING: FAILURE: rlm_eap_ikev2 requires: libeap-ikev2 EAPIKEv2/connector.h. configure: WARNING: silently not building rlm_ippool. configure: WARNING: FAILURE: rlm_ippool requires: libgdbm. configure: WARNING: silently not building rlm_pam. configure: WARNING: FAILURE: rlm_pam requires: libpam. Note (probably harmless): No library found for -lperl configure: WARNING: silently not building rlm_perl. configure: WARNING: FAILURE: rlm_perl requires: libperl.so libperl.so. configure: WARNING: silently not building rlm_python. configure: WARNING: FAILURE: rlm_python requires: Python.h libpython2.5. configure: WARNING: silently not building rlm_sql_iodbc. configure: WARNING: FAILURE: rlm_sql_iodbc requires: libiodbc isql.h. configure: WARNING: MySQL libraries not found. Use --with-mysql-lib-dir=<path>. configure: WARNING: MySQL headers not found. Use --with-mysql-include-dir=<path>. configure: WARNING: silently not building rlm_sql_mysql. configure: WARNING: FAILURE: rlm_sql_mysql requires: libmysqlclient_r mysql.h. configure: WARNING: silently not building rlm_sql_postgresql. configure: WARNING: FAILURE: rlm_sql_postgresql requires: libpq-fe.h libpq. configure: WARNING: oracle headers not found. Use --with-oracle-home-dir=<path>. configure: WARNING: silently not building rlm_sql_oracle. configure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h. configure: WARNING: silently not building rlm_sql_unixodbc. configure: WARNING: FAILURE: rlm_sql_unixodbc requires: libodbc sql.h. # make | grep -i warn rlm_krb5.c: In function 'verify_krb5_tgt': rlm_krb5.c:104: warning: passing argument 2 of 'krb5_kt_read_service_key' discards qualifiers from pointer target type rlm_ldap.c: In function 'read_mappings': rlm_ldap.c:727: warning: passing argument 1 of 'gettoken' from incompatible pointer type rlm_ldap.c: In function 'ldap_connect': rlm_ldap.c:2312: warning: implicit declaration of function 'ldap_int_tls_config' rlm_mschap.c: In function 'mschap_detach': rlm_mschap.c:633: warning: passing argument 1 of 'free' discards qualifiers from pointer target type rlm_mschap.c: In function 'mschap_authenticate': rlm_mschap.c:1022: warning: assignment makes integer from pointer without a cast otp_rlm.c: In function 'otp_instantiate': otp_rlm.c:84: warning: pointer targets in passing argument 1 of 'otp_get_random' differ in signedness otp_rlm.c: In function 'otp_authorize': otp_rlm.c:246: warning: pointer targets in passing argument 3 of 'otp_gen_state' differ in signedness otp_rlm.c: In function 'otp_authenticate': otp_rlm.c:339: warning: pointer targets in passing argument 1 of 'otp_a2x' differ in signedness otp_rlm.c:374: warning: pointer targets in passing argument 3 of 'otp_pw_valid' differ in signedness otp_radstate.c: In function 'otp_gen_state': otp_radstate.c:145: warning: pointer targets in passing argument 1 of 'otp_x2a' differ in signedness otp_util.c: In function 'otp_async_challenge': otp_util.c:63: warning: pointer targets in passing argument 1 of 'otp_get_random' differ in signedness otp_mppe.c: In function 'otp_mppe': otp_mppe.c:419: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness otp_mppe.c:421: warning: pointer targets in passing argument 2 of 'pairmake' differ in signedness otp_mppe.c:461: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness otp_mppe.c:463: warning: pointer targets in passing argument 2 of 'pairmake' differ in signedness rlm_pap.c: In function 'pap_authenticate': rlm_pap.c:714: warning: pointer targets in passing argument 1 of 'radius_xlat' differ in signedness rlm_pap.c:719: warning: pointer targets in passing argument 1 of 'fr_hex2bin' differ in signedness rlm_pap.c:739: warning: pointer targets in passing argument 1 of 'radius_xlat' differ in signedness rlm_pap.c:744: warning: pointer targets in passing argument 1 of 'fr_hex2bin' differ in signedness rlm_pap.c:770: warning: pointer targets in passing argument 2 of 'fr_hex2bin' differ in signedness rlm_policy.c: In function 'policy_instantiate': rlm_policy.c:103: warning: passing argument 2 of 'rbtree_create' from incompatible pointer type rlm_policy.c: In function 'rlm_policy_free_item': rlm_policy.c:278: warning: passing argument 1 of 'free' discards qualifiers from pointer target type rlm_policy.c:288: warning: passing argument 1 of 'free' discards qualifiers from pointer target type parse.c: In function 'parse_named_policy': parse.c:1535: warning: passing argument 1 of 'rlm_policy_print' from incompatible pointer type listen.c: In function 'client_listener_find': listen.c:129: warning: passing argument 1 of 'listener->print' discards qualifiers from pointer target type listen.c:209: warning: assignment discards qualifiers from pointer target type In file included from listen.c:1307: command.c: In function 'command_show_client_config': command.c:845: warning: passing argument 2 of 'cf_section2file' discards qualifiers from pointer target type log.c: In function 'radlog_request': log.c:387: warning: assignment discards qualifiers from pointer target type mainconfig.c:391: warning: 'r_mkdir' defined but not used modcall.c: In function 'modcall': modcall.c:588: warning: implicit declaration of function 'radius_get_vp' radiusd.c: In function 'main': radiusd.c:159: warning: passing argument 1 of 'free' discards qualifiers from pointer target type radiusd.c:445: warning: passing argument 1 of 'free' discards qualifiers from pointer target type xlat.c: In function 'xlat_register': xlat.c:548: warning: passing argument 3 of 'xlat_register' discards qualifiers from pointer target type xlat.c:557: warning: passing argument 3 of 'xlat_register' discards qualifiers from pointer target type xlat.c:569: warning: passing argument 3 of 'xlat_register' discards qualifiers from pointer target type xlat.c:577: warning: passing argument 3 of 'xlat_register' discards qualifiers from pointer target type xlat.c:582: warning: passing argument 3 of 'xlat_register' discards qualifiers from pointer target type detail.c: In function 'detail_send': detail.c:175: warning: label 'next' defined but not used debian:/ajac/freeradius-server-2.1.7# # make install | grep -i warn libtool: install: warning: relinking `rlm_acctlog.la' libtool: install: warning: relinking `rlm_acct_unique.la' libtool: install: warning: relinking `rlm_always.la' libtool: install: warning: relinking `rlm_attr_filter.la' libtool: install: warning: relinking `rlm_attr_rewrite.la' libtool: install: warning: relinking `rlm_chap.la' libtool: install: warning: relinking `rlm_checkval.la' libtool: install: warning: relinking `rlm_copy_packet.la' libtool: install: warning: relinking `rlm_detail.la' libtool: install: warning: relinking `rlm_digest.la' libtool: install: warning: relinking `libfreeradius-eap.la' libtool: install: warning: relinking `rlm_eap_gtc.la' libtool: install: warning: relinking `rlm_eap_leap.la' libtool: install: warning: relinking `rlm_eap_md5.la' libtool: install: warning: relinking `rlm_eap_mschapv2.la' libtool: install: warning: relinking `rlm_eap_peap.la' libtool: install: warning: relinking `rlm_eap_sim.la' libtool: install: warning: relinking `rlm_eap_tls.la' libtool: install: warning: relinking `rlm_eap_ttls.la' libtool: install: warning: relinking `rlm_eap.la' libtool: install: warning: relinking `rlm_exec.la' libtool: install: warning: relinking `rlm_expiration.la' libtool: install: warning: relinking `rlm_expr.la' libtool: install: warning: relinking `rlm_fastusers.la' libtool: install: warning: relinking `rlm_files.la' libtool: install: warning: relinking `rlm_krb5.la' libtool: install: warning: relinking `rlm_ldap.la' libtool: install: warning: relinking `rlm_linelog.la' libtool: install: warning: relinking `rlm_logintime.la' libtool: install: warning: relinking `rlm_mschap.la' libtool: install: warning: relinking `rlm_otp.la' libtool: install: warning: relinking `rlm_pap.la' libtool: install: warning: relinking `rlm_passwd.la' libtool: install: warning: relinking `rlm_preprocess.la' libtool: install: warning: relinking `rlm_radutmp.la' libtool: install: warning: relinking `rlm_realm.la' libtool: install: warning: relinking `rlm_sql.la' libtool: install: warning: relinking `rlm_sqlcounter.la' libtool: install: warning: relinking `rlm_sqlippool.la' libtool: install: warning: relinking `rlm_sql_log.la' libtool: install: warning: relinking `rlm_unix.la' libtool: install: warning: relinking `rlm_policy.la' libtool: install: warning: relinking `rlm_dynamic_clients.la' 2009/10/4 John Dennis <jdennis@redhat.com>
On 10/03/2009 03:37 PM, Jacques FOUCHER wrote:
Alan, Ivan, and others could help me
I reinstalled Debian system and installed new version 2.1.7. Allway the same problem.
I think i miss something very basic for you but not for the freeradius beginner I am.
That is all what I did : * install last stable debapt-get update apt-get upgrade apt-get install openssh-server apt-get install libcurl4-openssl-dev apt-get install tcpdump apt-get gcc apt-get make*
*wget -c ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-2.1.7.tar.gz tar xvzf freeradius-server-2.1.7.tar.gz cd freeradius-server-2.1.7 ./configure;make;make install*
Look for warning messages in the output of ./configure. A typical problem is not having the development versions of packages installed. configure will detect you're missing the required header files and libraries but it won't fail, it will just issue a warning. So for instance lets say you don't have the openssh developement files installed, the build will run, but you won't get a version of freeradius which can do TLS tunnels because configure will have detected in your build environment you don't have the necessary support for that feature.
-- John Dennis <jdennis@redhat.com>
Looking to carve out IT costs? www.redhat.com/carveoutcosts/
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Jacques FOUCHER
Jacques FOUCHER wrote:
You will find configure, make and make install results later in this message.
I was thinking ... Is using virual machines (VMWare Workstation 6.0.2) could be the problem ?
I don't see why. The server isn't using the existing proxy socket on port 1814, and the OS is denying it the ability to open a new proxy socket. I have no idea why that is happening. Alan DeKok.
Did you see that friends ! Sending Access-Accept of id 70 to 192.168.0.250 port 32769 User-Name = "test@jacques.net" For that, I installed Fedora Core 9 and freeradius with come with : radiusd: FreeRADIUS Version 2.1.6, for host i386-redhat-linux-gnu, built on Jun 4 2009 at 11:27:13 2009/10/4 Alan DeKok <aland@deployingradius.com>
Jacques FOUCHER wrote:
You will find configure, make and make install results later in this message.
I was thinking ... Is using virual machines (VMWare Workstation 6.0.2) could be the problem ?
I don't see why.
The server isn't using the existing proxy socket on port 1814, and the OS is denying it the ability to open a new proxy socket.
I have no idea why that is happening.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Jacques FOUCHER
participants (4)
-
Alan DeKok -
Ivan Kalik -
Jacques FOUCHER -
John Dennis