OK, I can answer to my own question :
* the line auth_log was commented in the authorize {} section
* and the line replly_log was commented in the post-auth {} section
Now everything works fine.
Regards,
Didier Benza a écrit :
Hi everybody,I am a real newbie to FreeRadius, I am migrating from an existing Livington radius.My concern here is this one : I am unable to configure my server to log auth requests.The two Auth-Type I use here are either "Local" or "System", the server doesn't log neither.Here a run with only one request. The log file and the pid file doesn't exists after this run.The directories used for logging are writable for the user under which the server is running.Any clue ? # /usr/local/radius/ppp/sbin/radiusd -X Starting - reading configuration files ... reread_config: reading radiusd.conf Config: including file: /usr/local/radius/ppp/etc/raddb/clients.conf Config: including file: /usr/local/radius/ppp/etc/raddb/snmp.conf main: prefix = "/usr/local/radius/ppp" main: localstatedir = "/usr/local/radius/ppp/var" main: logdir = "/usr/local/radius/ppp/var/log/radius" main: libdir = "/usr/local/radius/ppp/lib" main: radacctdir = "/usr/local/radius/ppp/var/log/radius/radacct" main: hostname_lookups = no main: snmp = no main: max_request_time = 30 main: cleanup_delay = 5 main: max_requests = 1024 main: delete_blocked_requests = 0 main: port = 0 main: allow_core_dumps = no main: log_stripped_names = yes main: log_file = "/usr/local/radius/ppp/var/log/radius/radius.log" main: log_auth = yes main: log_auth_badpass = no main: log_auth_goodpass = no main: pidfile = "/usr/local/radius/ppp/var/run/radiusd/radiusd.pid" main: user = "radiusppp" main: group = "radiusppp" main: usercollide = no main: lower_user = "no" main: lower_pass = "no" main: nospace_user = "no" main: nospace_pass = "no" main: checkrad = "/usr/local/radius/ppp/sbin/checkrad" main: proxy_requests = no security: max_attributes = 200 security: reject_delay = 1 security: status_server = no main: debug_level = 0 read_config_files: reading dictionary read_config_files: reading naslist Using deprecated naslist file. Support for this will go away soon. read_config_files: reading clients read_config_files: reading realms radiusd: entering modules setup Module: Library search path is /usr/local/radius/ppp/lib Module: Loaded expr Module: Instantiated expr (expr) Module: Loaded CHAP Module: Instantiated chap (chap) Module: Loaded System unix: cache = no unix: passwd = "/usr/local/radius/ppp/etc/raddb/passwd" unix: shadow = "(null)" unix: group = "(null)" unix: radwtmp = "/usr/local/radius/ppp/var/log/radius/radwtmp" unix: usegroup = no unix: cache_reload = 600 Module: Instantiated unix (unix) Module: Loaded preprocess preprocess: huntgroups = "/usr/local/radius/ppp/etc/raddb/huntgroups" preprocess: hints = "/usr/local/radius/ppp/etc/raddb/hints" preprocess: with_ascend_hack = no preprocess: ascend_channels_per_line = 23 preprocess: with_ntdomain_hack = no preprocess: with_specialix_jetstream_hack = no preprocess: with_cisco_vsa_hack = no preprocess: with_alvarion_vsa_hack = no Module: Instantiated preprocess (preprocess) Module: Loaded files files: usersfile = "/usr/local/radius/ppp/etc/raddb/users" files: acctusersfile = "/usr/local/radius/ppp/etc/raddb/acct_users"files: preproxy_usersfile = "/usr/local/radius/ppp/etc/raddb/preproxy_users"files: compat = "no" Module: Instantiated files (files) Module: Loaded Acct-Unique-Session-Idacct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"Module: Instantiated acct_unique (acct_unique) Module: Loaded realm realm: format = "suffix" realm: delimiter = "@" realm: ignore_default = no realm: ignore_null = no Module: Instantiated realm (suffix) Module: Loaded detaildetail: detailfile = "/usr/local/radius/ppp/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"detail: detailperm = 384 detail: dirperm = 493 detail: locking = no Module: Instantiated detail (detail) Module: Loaded radutmp radutmp: filename = "/usr/local/radius/ppp/var/log/radius/radutmp" radutmp: username = "%{User-Name}" radutmp: case_sensitive = yes radutmp: check_with_nas = yes radutmp: perm = 384 radutmp: callerid = yes Module: Instantiated radutmp (radutmp) Listening on authentication *:1812 Listening on accounting *:1813 Ready to process requests.rad_recv: Access-Request packet from host 127.0.0.1:35846, id=185, length=47User-Name = "demogw" CHAP-Password = 0xb9f4107bffcf854f69e8eec05eb04cd67f Processing the authorize section of radiusd.conf modcall: entering group authorize for request 0 modcall[authorize]: module "preprocess" returns ok for request 0 rlm_chap: Setting 'Auth-Type := CHAP' modcall[authorize]: module "chap" returns ok for request 0 users: Matched entry demogw at line 54 modcall[authorize]: module "files" returns ok for request 0 modcall: leaving group authorize (returns ok) for request 0 rad_check_password: Found Auth-Type Local auth: type Local auth: user supplied CHAP-Password matches local User-Password Login OK: [demogw] (from client localhost port 0) Sending Access-Accept of id 185 to 127.0.0.1 port 35846 User-Service-Type = Framed-User NAS-Port-Type = ISDN Port-Limit = 8 Framed-Protocol = PPP Framed-IP-Address = 193.48.223.129 Framed-IP-Netmask = 255.255.255.192 Framed-Routing = None Framed-MTU = 1500 Framed-Compression = Van-Jacobson-TCP-IP Finished request 0 Going to the next request --- Walking the entire request list --- Waking up in 6 seconds... --- Walking the entire request list --- Cleaning up request 0 ID 185 with timestamp 451d24bf Nothing to do. Sleeping until we see a request.
-- Didier Benza [EMAIL PROTECTED]Tel : +33 492 38 7167 / Fax : +33 492 38 7602 INRIA 2004, Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex
AC INRIA : http://igc.national.inria.fr/Doc/General/CertAC.html#certif
smime.p7s
Description: S/MIME Cryptographic Signature
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

