Thanks for corrections, valgrind has shown MUCH less losses. ==9603== 21 bytes in 1 blocks are definitely lost in loss record 27 of 124 ==9603== at 0x1B90659D: malloc (vg_replace_malloc.c:130) ==9603== by 0x1D1A8E1F: ldap_instantiate (rlm_ldap.c:429) ==9603== by 0x80568A6: find_module_instance (modules.c:314) ==9603== by 0x8057192: setup_modules (modules.c:888) ==9603== by 0x80560A0: read_mainconfig (mainconfig.c:1088) ==9603== by 0x805976F: main (radiusd.c:281) ==9603== ==9603== ==9603== 45 bytes in 6 blocks are definitely lost in loss record 44 of 124 ==9603== at 0x1B90659D: malloc (vg_replace_malloc.c:130) ==9603== by 0x1BB4708F: strdup (in /lib/tls/libc-2.3.2.so) ==9603== by 0x804ECF2: cf_item_parse (conffile.c:747) ==9603== by 0x80562AF: read_mainconfig (mainconfig.c:884) ==9603== by 0x805976F: main (radiusd.c:281) ==9603== ==9603== ==9603== 492 (108 direct, 384 indirect) bytes in 3 blocks are definitely lost in loss record 64 of 124 ==9603== at 0x1B90659D: malloc (vg_replace_malloc.c:130) ==9603== by 0x1BBB6EE6: (within /lib/tls/libc-2.3.2.so) ==9603== by 0x1BBB6788: __nss_database_lookup (in /lib/tls/libc-2.3.2.so) ==9603== by 0x1BE0A797: ??? ==9603== by 0x1BB76A4B: getgrnam_r (in /lib/tls/libc-2.3.2.so) ==9603== by 0x1BB76170: getgrnam (in /lib/tls/libc-2.3.2.so) ==9603== by 0x80554AA: switch_users (mainconfig.c:501) ==9603== by 0x8055FDC: read_mainconfig (mainconfig.c:1016) ==9603== by 0x805976F: main (radiusd.c:281) ==9603== ==9603== ==9603== 340 bytes in 5 blocks are possibly lost in loss record 81 of 124 ==9603== at 0x1B906F75: calloc (vg_replace_malloc.c:175) ==9603== by 0x1B8F2678: (within /lib/ld-2.3.2.so) ==9603== by 0x1B8F294B: _dl_allocate_tls (in /lib/ld-2.3.2.so) ==9603== by 0x1B93E24A: allocate_stack (in /lib/tls/libpthread-0.60.so) ==9603== by 0x1B93DC54: pthread_create@@GLIBC_2.1 (in /lib/tls/libpthread-0.60.so) ==9603== by 0x805CD6C: spawn_thread (threads.c:703) ==9603== by 0x805CFDD: thread_pool_init (threads.c:878) ==9603== by 0x80597EB: main (radiusd.c:391) ==9603== ==9603== LEAK SUMMARY: ==9603== definitely lost: 174 bytes in 10 blocks. ==9603== indirectly lost: 384 bytes in 32 blocks. ==9603== possibly lost: 340 bytes in 5 blocks. ==9603== still reachable: 1554785 bytes in 25099 blocks. ==9603== suppressed: 0 bytes in 0 blocks.
"Dmitry V. Pleganoff" <dimple@mail.primorye.ru> wrote:
Thanks for corrections, valgrind has shown MUCH less losses.
==9603== 21 bytes in 1 blocks are definitely lost in loss record 27 of 124 ==9603== at 0x1B90659D: malloc (vg_replace_malloc.c:130) ==9603== by 0x1D1A8E1F: ldap_instantiate (rlm_ldap.c:429)
Fixed.
==9603== 45 bytes in 6 blocks are definitely lost in loss record 44 of 124 ==9603== at 0x1B90659D: malloc (vg_replace_malloc.c:130) ==9603== by 0x1BB4708F: strdup (in /lib/tls/libc-2.3.2.so) ==9603== by 0x804ECF2: cf_item_parse (conffile.c:747)
Fixed.
==9603== 492 (108 direct, 384 indirect) bytes in 3 blocks are definitely lost in loss record 64 of 124 ==9603== at 0x1B90659D: malloc (vg_replace_malloc.c:130) ==9603== by 0x1BBB6EE6: (within /lib/tls/libc-2.3.2.so) ==9603== by 0x1BBB6788: __nss_database_lookup (in /lib/tls/libc-2.3.2.so) ==9603== by 0x1BE0A797: ??? ==9603== by 0x1BB76A4B: getgrnam_r (in /lib/tls/libc-2.3.2.so)
Can't fix.
==9603== 340 bytes in 5 blocks are possibly lost in loss record 81 of 124 ==9603== at 0x1B906F75: calloc (vg_replace_malloc.c:175) ==9603== by 0x1B8F2678: (within /lib/ld-2.3.2.so) ==9603== by 0x1B8F294B: _dl_allocate_tls (in /lib/ld-2.3.2.so) ==9603== by 0x1B93E24A: allocate_stack (in /lib/tls/libpthread-0.60.so) ==9603== by 0x1B93DC54: pthread_create@@GLIBC_2.1 (in
Can't fix. Thanks for the report. Alan DeKok.
Isit posible to authenicate users on LAN with freeradius, without any Access Point ?
debik wrote:
Isit posible to authenicate users on LAN with freeradius, without any Access Point ? Any radius client will work as long as it is properly configured and in the docs as supported. You might want to browse the config files and doc files.
-- Lewis Bergman Texas Communications 4309 Maple St. Abilene, TX 79602-8044 Off. 325-691-1301 Cell 325-439-0533 fax 325-695-6841
yes -----Original Message----- From: freeradius-users-bounces@lists.freeradius.org [mailto:freeradius-users-bounces@lists.freeradius.org] On Behalf Of debik Sent: Wednesday, December 14, 2005 1:15 AM To: FreeRadius users mailing list Subject: (no subject) Isit posible to authenicate users on LAN with freeradius, without any Access Point ? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi All, installing freeradius on Solaris is already a big headache, afterwards i encountered Segmentation fault as well. i am using Freeradius-1.0.5 i guess there should be someth to do with radiusd.conf since the segmentation fault only raise after i replaced the original radiusd.conf with the one we are going to use. but this radiusd.conf is able to work for freeradius-0.8 on solaris or freeradius-1.0.5 on debian. pls advise. thanks in advance. below is what the debug mode shows: ******************************************************* Wed Dec 14 10:15:31 2005 : Info: Starting - reading configuration files ... Wed Dec 14 10:15:31 2005 : Debug: reread_config: reading radiusd.conf Wed Dec 14 10:15:31 2005 : Debug: Config: including file: /usr/local/radius5/raddb/proxy.conf Wed Dec 14 10:15:31 2005 : Debug: Config: including file: /usr/local/radius5/raddb/clients.conf Wed Dec 14 10:15:31 2005 : Debug: Config: including file: /usr/local/radius5/raddb/snmp.conf Wed Dec 14 10:15:31 2005 : Debug: Config: including file: /usr/local/radius5/raddb/sql.conf Wed Dec 14 10:15:31 2005 : Debug: main: prefix = "/usr/local/radius5" Wed Dec 14 10:15:31 2005 : Debug: main: localstatedir = "/usr/local/radius5/var" Wed Dec 14 10:15:31 2005 : Debug: main: logdir = "/usr/local/radius5/log" Wed Dec 14 10:15:31 2005 : Debug: main: libdir = "/usr/local/radius5/lib" Wed Dec 14 10:15:31 2005 : Debug: main: radacctdir = "/usr/local/radius5/radacct" Wed Dec 14 10:15:31 2005 : Debug: main: hostname_lookups = no Wed Dec 14 10:15:31 2005 : Debug: main: max_request_time = 40 Wed Dec 14 10:15:31 2005 : Debug: main: cleanup_delay = 5 Wed Dec 14 10:15:31 2005 : Debug: main: max_requests = 5120 Wed Dec 14 10:15:31 2005 : Debug: main: delete_blocked_requests = 0 Wed Dec 14 10:15:31 2005 : Debug: main: port = 1645 Wed Dec 14 10:15:31 2005 : Debug: main: allow_core_dumps = yes Wed Dec 14 10:15:31 2005 : Debug: main: log_stripped_names = no Wed Dec 14 10:15:31 2005 : Debug: main: log_file = "/usr/local/radius5/log/radius.log" Wed Dec 14 10:15:31 2005 : Debug: main: log_auth = yes Wed Dec 14 10:15:31 2005 : Debug: main: log_auth_badpass = no Wed Dec 14 10:15:31 2005 : Debug: main: log_auth_goodpass = no Wed Dec 14 10:15:31 2005 : Debug: main: pidfile = "/usr/local/radius5/var/run/radiusd.pid" Wed Dec 14 10:15:31 2005 : Debug: main: user = "radius" Wed Dec 14 10:15:31 2005 : Debug: main: group = "radius" Wed Dec 14 10:15:31 2005 : Debug: main: usercollide = no Wed Dec 14 10:15:31 2005 : Debug: main: lower_user = "no" Wed Dec 14 10:15:31 2005 : Debug: main: lower_pass = "no" Wed Dec 14 10:15:31 2005 : Debug: main: nospace_user = "no" Wed Dec 14 10:15:31 2005 : Debug: main: nospace_pass = "no" Wed Dec 14 10:15:31 2005 : Debug: main: checkrad = "/usr/local/radius5/sbin/checkrad" Wed Dec 14 10:15:31 2005 : Debug: main: proxy_requests = yes Wed Dec 14 10:15:31 2005 : Debug: proxy: retry_delay = 5 Wed Dec 14 10:15:31 2005 : Debug: proxy: retry_count = 3 Wed Dec 14 10:15:31 2005 : Debug: proxy: synchronous = no Wed Dec 14 10:15:31 2005 : Debug: proxy: default_fallback = yes Wed Dec 14 10:15:31 2005 : Debug: proxy: dead_time = 120 Wed Dec 14 10:15:31 2005 : Debug: proxy: post_proxy_authorize = yes Wed Dec 14 10:15:31 2005 : Debug: proxy: wake_all_if_all_dead = no Wed Dec 14 10:15:31 2005 : Debug: security: max_attributes = 200 Wed Dec 14 10:15:31 2005 : Debug: security: reject_delay = 0 Wed Dec 14 10:15:31 2005 : Debug: security: status_server = no Wed Dec 14 10:15:31 2005 : Debug: main: debug_level = 0 Wed Dec 14 10:15:31 2005 : Debug: read_config_files: reading dictionary Wed Dec 14 10:15:31 2005 : Debug: read_config_files: reading naslist Wed Dec 14 10:15:31 2005 : Info: Using deprecated naslist file. Support for this will go away soon. Wed Dec 14 10:15:31 2005 : Debug: read_config_files: reading clients Wed Dec 14 10:15:31 2005 : Debug: read_config_files: reading realms Wed Dec 14 10:15:31 2005 : Debug: radiusd: entering modules setup Wed Dec 14 10:15:31 2005 : Debug: Module: Library search path is /usr/local/radius5/lib Segmentation Fault
Hi All,
installing freeradius on Solaris is already a big headache, afterwards i encountered Segmentation fault as well. i am using Freeradius-1.0.5
seems the problem is that it is not able to call any of the modules in radiusd.conf, if i commend up all the modules under 'Authorize' (files, preprocess, ldap, prefix, etc. ) in radiuad.conf, there won't be segmentation faults. and this configuration is able to work for freeradius-0.8 on solaris or freeradius-1.0.5 on debian. pls advise.
thanks in advance.
below is what the debug mode shows:
*******************************************************
Wed Dec 14 10:15:31 2005 : Info: Starting - reading configuration files ...
Wed Dec 14 10:15:31 2005 : Debug: reread_config: reading radiusd.conf
Wed Dec 14 10:15:31 2005 : Debug: Config: including file: /usr/local/radius5/raddb/proxy.conf
Wed Dec 14 10:15:31 2005 : Debug: Config: including file: /usr/local/radius5/raddb/clients.conf
Wed Dec 14 10:15:31 2005 : Debug: Config: including file: /usr/local/radius5/raddb/snmp.conf
Wed Dec 14 10:15:31 2005 : Debug: Config: including file: /usr/local/radius5/raddb/sql.conf
Wed Dec 14 10:15:31 2005 : Debug: main: prefix = "/usr/local/radius5"
Wed Dec 14 10:15:31 2005 : Debug: main: localstatedir = "/usr/local/radius5/var"
Wed Dec 14 10:15:31 2005 : Debug: main: logdir = "/usr/local/radius5/log"
Wed Dec 14 10:15:31 2005 : Debug: main: libdir = "/usr/local/radius5/lib"
Wed Dec 14 10:15:31 2005 : Debug: main: radacctdir = "/usr/local/radius5/radacct"
Wed Dec 14 10:15:31 2005 : Debug: main: hostname_lookups = no
Wed Dec 14 10:15:31 2005 : Debug: main: max_request_time = 40
Wed Dec 14 10:15:31 2005 : Debug: main: cleanup_delay = 5
Wed Dec 14 10:15:31 2005 : Debug: main: max_requests = 5120
Wed Dec 14 10:15:31 2005 : Debug: main: delete_blocked_requests = 0
Wed Dec 14 10:15:31 2005 : Debug: main: port = 1645
Wed Dec 14 10:15:31 2005 : Debug: main: allow_core_dumps = yes
Wed Dec 14 10:15:31 2005 : Debug: main: log_stripped_names = no
Wed Dec 14 10:15:31 2005 : Debug: main: log_file = "/usr/local/radius5/log/radius.log"
Wed Dec 14 10:15:31 2005 : Debug: main: log_auth = yes
Wed Dec 14 10:15:31 2005 : Debug: main: log_auth_badpass = no
Wed Dec 14 10:15:31 2005 : Debug: main: log_auth_goodpass = no
Wed Dec 14 10:15:31 2005 : Debug: main: pidfile = "/usr/local/radius5/var/run/radiusd.pid"
Wed Dec 14 10:15:31 2005 : Debug: main: user = "radius"
Wed Dec 14 10:15:31 2005 : Debug: main: group = "radius"
Wed Dec 14 10:15:31 2005 : Debug: main: usercollide = no
Wed Dec 14 10:15:31 2005 : Debug: main: lower_user = "no"
Wed Dec 14 10:15:31 2005 : Debug: main: lower_pass = "no"
Wed Dec 14 10:15:31 2005 : Debug: main: nospace_user = "no"
Wed Dec 14 10:15:31 2005 : Debug: main: nospace_pass = "no"
Wed Dec 14 10:15:31 2005 : Debug: main: checkrad = "/usr/local/radius5/sbin/checkrad"
Wed Dec 14 10:15:31 2005 : Debug: main: proxy_requests = yes
Wed Dec 14 10:15:31 2005 : Debug: proxy: retry_delay = 5
Wed Dec 14 10:15:31 2005 : Debug: proxy: retry_count = 3
Wed Dec 14 10:15:31 2005 : Debug: proxy: synchronous = no
Wed Dec 14 10:15:31 2005 : Debug: proxy: default_fallback = yes
Wed Dec 14 10:15:31 2005 : Debug: proxy: dead_time = 120
Wed Dec 14 10:15:31 2005 : Debug: proxy: post_proxy_authorize = yes
Wed Dec 14 10:15:31 2005 : Debug: proxy: wake_all_if_all_dead = no
Wed Dec 14 10:15:31 2005 : Debug: security: max_attributes = 200
Wed Dec 14 10:15:31 2005 : Debug: security: reject_delay = 0
Wed Dec 14 10:15:31 2005 : Debug: security: status_server = no
Wed Dec 14 10:15:31 2005 : Debug: main: debug_level = 0
Wed Dec 14 10:15:31 2005 : Debug: read_config_files: reading dictionary
Wed Dec 14 10:15:31 2005 : Debug: read_config_files: reading naslist
Wed Dec 14 10:15:31 2005 : Info: Using deprecated naslist file. Support for this will go away soon.
Wed Dec 14 10:15:31 2005 : Debug: read_config_files: reading clients
Wed Dec 14 10:15:31 2005 : Debug: read_config_files: reading realms
Wed Dec 14 10:15:31 2005 : Debug: radiusd: entering modules setup
Wed Dec 14 10:15:31 2005 : Debug: Module: Library search path is /usr/local/radius5/lib
Segmentation Fault
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (6)
-
Alan DeKok -
debik -
Dmitry V. Pleganoff -
Lewis Bergman -
maruna -
Qin Zhen