Eap in v4

Aleksandr Stepanov alex-eri at ya.ru
Tue Mar 20 15:25:51 CET 2018


Full log

root at 60824a472376:/opt/freeradius/sbin# ./radiusd -X 2>&1 | tee debugfile
Info  : FreeRADIUS Version 4.0.0
Info  : Copyright (C) 1999-2017 The FreeRADIUS server project and contributors
Info  : There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
Info  : PARTICULAR PURPOSE
Info  : You may redistribute copies of FreeRADIUS under the terms of the
Info  : GNU General Public License
Info  : For more information about these matters, see the file named COPYRIGHT
Getting debug state failed: ptrace capability not set.  If debugger detection is required run as root or: setcap cap_sys_ptrace+ep <path_to_radiusd>
Info  : Starting - reading configuration files ...
Debug : Including dictionary file "/opt/freeradius/share/freeradius/dictionary"
Debug : Including configuration file "/opt/freeradius/etc/raddb/radiusd.conf"
Debug : Including files in directory "/opt/freeradius/etc/raddb/mods-enabled/"
Debug : Including configuration file "/opt/freeradius/etc/raddb/mods-enabled/always"
Debug : Including configuration file "/opt/freeradius/etc/raddb/mods-enabled/pap"
Debug : Including configuration file "/opt/freeradius/etc/raddb/mods-enabled/expr"
Debug : Including configuration file "/opt/freeradius/etc/raddb/mods-enabled/eap"
Debug : Including configuration file "/opt/freeradius/etc/raddb/mods-enabled/sql"
Debug : Including configuration file "/opt/freeradius/etc/raddb/sql/driver.conf"
Debug : Including configuration file "/opt/freeradius/etc/raddb/sql/queries.conf"
Debug : Including configuration file "/opt/freeradius/etc/raddb/sql/auth.conf"
Debug : Including configuration file "/opt/freeradius/etc/raddb/sql/acct.conf"
Debug : Including files in directory "/opt/freeradius/etc/raddb/policy.d/"
Debug : Including configuration file "/opt/freeradius/etc/raddb/server.conf"
Debug : Including configuration file "/opt/freeradius/etc/raddb/clients.conf"
Debug : Including configuration file "/opt/freeradius/etc/raddb/auth.conf"
Debug : Parsing security rules to bootstrap UID / GID / chroot / etc.
Debug : main {
Debug :   security {
Debug :     allow_core_dumps = no
Debug :     reject_delay = 1.000000
Debug :     status_server = yes
Debug :     allow_vulnerable_openssl = "no"
Debug :   }
Debug :   prefix = "/usr/local"
Debug :   run_dir = "/var//run/radiusd"
Debug : }
Debug : Parsing main configuration.
Debug : main {
Debug :   security {
Debug :   }
Debug :   sbindir = "/usr/local/sbin"
Debug :   logdir = "/var//log"
Debug :   libdir = "/usr/lib/"
Debug :   radacctdir = "/var//log/radacct"
Debug :   hostname_lookups = no
Debug :   max_request_time = 30
Debug :   cleanup_delay = 5
Debug :   continuation_timeout = 15
Debug :   max_requests = 256
Debug :   pidfile = "/var//run/radiusd/radiusd.pid"
Debug :   debug_level = 0
Debug :   proxy_requests = yes
Debug :   log {
Debug :     stripped_names = no
Debug :     auth = yes
Debug :     auth_badpass = no
Debug :     auth_goodpass = no
Debug :     colourise = yes
Debug :     msg_denied = "You are already logged in - access denied"
Debug :   }
Debug :   resources {
Debug :   }
Debug :   thread {
Debug :     num_networks = 1
Debug :     num_workers = 4
Debug :   }
Debug :   server internet {
Debug :     namespace = "radius"
Info  : Loaded module "proto_radius"
Debug :     listen {
Debug :       type = Access-Request
Info  : Loaded module "proto_radius_auth"
Debug :       type = Status-Server
Info  : Loaded module "proto_radius_status"
Debug :       type = Accounting-Request
Info  : Loaded module "proto_radius_acct"
Debug :       transport = udp
Info  : Loaded module "proto_radius_udp"
Debug :       udp {
Debug :         ipaddr = *
Debug :         port = 1812
Debug :         cleanup_delay = 5
Debug :         connected = no
Debug :         dynamic_clients {
Debug :           network = 0.0.0.0/0
Debug :           max_clients = 65536
Debug :           max_pending_clients = 256
Debug :           max_pending_packets = 4096
Debug :           lifetime = 3600
Debug :         }
Debug :       }
Debug :       max_attributes = 255
Debug :     }
Debug :   }
Debug : }
Info  : Switching to configured log settings
Debug : radiusd: #### Loading Clients ####
Info  : Debug state unknown (cap_sys_ptrace capability not set)
Info  : systemd watchdog is disabled
Debug : #### Bootstrapping listeners ####
Debug : Creating Auth-Type = pap
Debug : Creating Auth-Type = chap
Debug : Creating Auth-Type = mschap
Debug : Creating Auth-Type = digest
Info  : Loaded module "proto_radius_dynamic_client"
Debug : #### Bootstrapping modules ####
Debug :  modules {
Info  : Loaded module "rlm_always"
Debug :     always reject {
Debug :       rcode = "reject"
Debug :       simulcount = 0
Debug :       mpp = no
Debug :     }
Debug :     always fail {
Debug :       rcode = "fail"
Debug :       simulcount = 0
Debug :       mpp = no
Debug :     }
Debug :     always ok {
Debug :       rcode = "ok"
Debug :       simulcount = 0
Debug :       mpp = no
Debug :     }
Debug :     always handled {
Debug :       rcode = "handled"
Debug :       simulcount = 0
Debug :       mpp = no
Debug :     }
Debug :     always invalid {
Debug :       rcode = "invalid"
Debug :       simulcount = 0
Debug :       mpp = no
Debug :     }
Debug :     always userlock {
Debug :       rcode = "userlock"
Debug :       simulcount = 0
Debug :       mpp = no
Debug :     }
Debug :     always notfound {
Debug :       rcode = "notfound"
Debug :       simulcount = 0
Debug :       mpp = no
Debug :     }
Debug :     always noop {
Debug :       rcode = "noop"
Debug :       simulcount = 0
Debug :       mpp = no
Debug :     }
Debug :     always updated {
Debug :       rcode = "updated"
Debug :       simulcount = 0
Debug :       mpp = no
Debug :     }
Info  : Loaded module "rlm_pap"
Debug :     pap {
Debug :       normalise = yes
Debug :     }
Info  : Loaded module "rlm_chap"
Info  : Loaded module "rlm_mschap"
Debug :     mschap {
Debug :       use_mppe = yes
Debug :       require_encryption = no
Debug :       require_strong = no
Debug :       with_ntdomain_hack = yes
Debug :       passchange {
Debug :       }
Debug :       allow_retry = yes
Debug :       winbind_retry_with_normalised_username = no
Debug :     }
Info  : Loaded module "rlm_digest"
Info  : Loaded module "rlm_expr"
Debug :     expr {
Debug :       safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
Debug :     }
Info  : Loaded module "rlm_eap"
Debug :     eap {
Debug :       default_eap_type = peap
Debug :       ignore_unknown_eap_types = yes
Debug :       cisco_accounting_username_bug = no
Debug :     }
Error : /opt/freeradius/etc/raddb/mods-enabled/eap[1]: No EAP method configured, module cannot do anything
Error : /opt/freeradius/etc/raddb/mods-enabled/eap[1]: Bootstrap failed for module "eap"


-- 
Best regards, Aleksandr Stepanov.


20.03.2018, 14:54, "Matthew Newton" <mcn at freeradius.org>:
> On Tue, 2018-03-20 at 14:37 +0300, Aleksandr Stepanov wrote:
>>  I put name to see that file loaded correctly.
>>  Copy pasted wrong lines. I configurations matching in real.
>
> Please send full debug output.
>
> http://wiki.freeradius.org/list-help
>
> But v4 is in development. If you don't know what you're doing with it
> you should be using v3.
>
> --
> Matthew
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list