Re: Help with freeradius 1.1.5

2007-03-13 Thread A . L . M . Buxey
Hi,
> Thanks for your help Alan,
> 
> However i don't undestand what i have to do to fix this bug. Where can i
> found the branch_1_1 and what should i do it? 
> If i download the freeradius-1.1.5 source again and compile it, it should 
> work ?

no. it wont work as 1.1.5 is 1.1.5 and the patch is in the 1.1.x branch 
(branch_1_1) which will hopefully emerge as e.g. 1.1.6 

to source code that will work, you could follow the 'getting source code
via CVS guide' but ensure that you use  '-r branch_1_1' on the fetching line
(though I had a no free space error from the server when i tried using CVS
this morning)

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


Re: Help with freeradius 1.1.5

2007-03-13 Thread adreas polyxronopoulos
Thanks for your help Alan,

However i don't undestand what i have to do to fix this bug. Where can i
found the branch_1_1 and what should i do it? 
If i download the freeradius-1.1.5 source again and compile it, it should work ?


Thanks again , 

On Mon, 2007-03-12 at 16:23 +0100, Alan DeKok wrote:
> adreas polyxronopoulos wrote:
> > Ok i did it. Here is the output of: 
> ...
> > ==16038== Invalid read of size 4
> > ==16038==at 0x4822448: dict_attr_value_cmp (dict.c:146)
> 
>   OK, that's a bug that I fixed recently in the CVS head, and I guess I
> didn't back-port the patch to 1.1.5.  I've committed a fix to CVS under
> "branch_1_1", so if you grab that, it should work.
> 
>   Alan DeKok.
> --
>   http://deployingradius.com   - The web site of the book
>   http://deployingradius.com/blog/ - The blog
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



___ 
Inbox full of spam? Get leading spam protection and 1GB storage with All New 
Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Help with freeradius 1.1.5

2007-03-12 Thread adreas polyxronopoulos
Thanks for your help Alan,

However i don't undestand what i have to do to fix this bug. Where can i
found the branch_1_1 and what should i do it? I have not done this
before

Thanks again

On Mon, 2007-03-12 at 16:23 +0100, Alan DeKok wrote:
> adreas polyxronopoulos wrote:
> > Ok i did it. Here is the output of: 
> ...
> > ==16038== Invalid read of size 4
> > ==16038==at 0x4822448: dict_attr_value_cmp (dict.c:146)
> 
>   OK, that's a bug that I fixed recently in the CVS head, and I guess I
> didn't back-port the patch to 1.1.5.  I've committed a fix to CVS under
> "branch_1_1", so if you grab that, it should work.
> 
>   Alan DeKok.
> --
>   http://deployingradius.com   - The web site of the book
>   http://deployingradius.com/blog/ - The blog
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



___ 
Inbox full of spam? Get leading spam protection and 1GB storage with All New 
Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Help with freeradius 1.1.5

2007-03-12 Thread Alan DeKok
adreas polyxronopoulos wrote:
> Ok i did it. Here is the output of: 
...
> ==16038== Invalid read of size 4
> ==16038==at 0x4822448: dict_attr_value_cmp (dict.c:146)

  OK, that's a bug that I fixed recently in the CVS head, and I guess I
didn't back-port the patch to 1.1.5.  I've committed a fix to CVS under
"branch_1_1", so if you grab that, it should work.

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Help with freeradius 1.1.5

2007-03-12 Thread adreas polyxronopoulos
Ok i did it. Here is the output of: 


# valgrind --tool=memcheck --leak-check=full radiusd -X



==16101== Memcheck, a memory error detector.
==16101== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et
al.
==16101== Using LibVEX rev 1471, a library for dynamic binary
translation.
==16101== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==16101== Using valgrind-3.1.0-Debian, a dynamic binary instrumentation
framework.
==16101== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et
al.
==16101== For more details, rerun with: -v
==16101==
Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /usr/local/etc/raddb/proxy.conf
Config:   including file: /usr/local/etc/raddb/clients.conf
Config:   including file: /usr/local/etc/raddb/snmp.conf
Config:   including file: /usr/local/etc/raddb/eap.conf
Config:   including file: /usr/local/etc/raddb/sql.conf
 main: prefix = "/usr/local"
 main: localstatedir = "/usr/local/var"
 main: logdir = "/usr/local/var/log/radius"
 main: libdir = "/usr/local/lib"
 main: radacctdir = "/usr/local/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 = no
 main: log_file = "/usr/local/var/log/radius/radius.log"
 main: log_auth = no
 main: log_auth_badpass = no
 main: log_auth_goodpass = no
 main: pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
 main: user = "(null)"
 main: group = "(null)"
 main: usercollide = no
 main: lower_user = "no"
 main: lower_pass = "no"
 main: nospace_user = "no"
 main: nospace_pass = "no"
 main: checkrad = "/usr/local/sbin/checkrad"
 main: proxy_requests = yes
 proxy: retry_delay = 5
 proxy: retry_count = 3
 proxy: synchronous = no
 proxy: default_fallback = yes
 proxy: dead_time = 120
 proxy: post_proxy_authorize = no
 proxy: wake_all_if_all_dead = no
 security: max_attributes = 200
 security: reject_delay = 1
 security: status_server = no
 main: debug_level = 0
read_config_files:  reading dictionary
==16038== Conditional jump or move depends on uninitialised value(s)
==16038==at 0x482A462: lrad_rand_seed (radius.c:2416)
==16038==by 0x4823032: my_dict_init (dict.c:1000)
==16038==by 0x4823E84: dict_init (dict.c:1246)
==16038==by 0xBCFC: read_radius_conf_file
(in /usr/local/sbin/radiusd)
==16038==by 0xBDEF: read_mainconfig (in /usr/local/sbin/radiusd)
==16038==by 0x10E24: main (in /usr/local/sbin/radiusd)
==16038==
==16038== Conditional jump or move depends on uninitialised value(s)
==16038==at 0x482A462: lrad_rand_seed (radius.c:2416)
==16038==by 0x4823032: my_dict_init (dict.c:1000)
==16038==by 0x4823130: my_dict_init (dict.c:1040)
==16038==by 0x4823E84: dict_init (dict.c:1246)
==16038==by 0xBCFC: read_radius_conf_file
(in /usr/local/sbin/radiusd)
==16038==by 0xBDEF: read_mainconfig (in /usr/local/sbin/radiusd)
==16038==by 0x10E24: main (in /usr/local/sbin/radiusd)
==16038==
==16038== Conditional jump or move depends on uninitialised value(s)
==16038==at 0x482A462: lrad_rand_seed (radius.c:2416)
==16038==by 0x4823032: my_dict_init (dict.c:1000)
==16038==by 0x4823130: my_dict_init (dict.c:1040)
==16038==by 0x4823130: my_dict_init (dict.c:1040)
==16038==by 0x4823E84: dict_init (dict.c:1246)
==16038==by 0xBCFC: read_radius_conf_file
(in /usr/local/sbin/radiusd)
==16038==by 0xBDEF: read_mainconfig (in /usr/local/sbin/radiusd)
==16038==by 0x10E24: main (in /usr/local/sbin/radiusd)
==16038==
==16038== Invalid read of size 4
==16038==at 0x4822448: dict_attr_value_cmp (dict.c:146)
==16038==by 0x48254D0: list_find (hash.c:193)
==16038==by 0x4825880: lrad_hash_table_find (hash.c:463)
==16038==by 0x48258C2: lrad_hash_table_replace (hash.c:476)
==16038==by 0x4822A04: dict_addattr (dict.c:518)
==16038==by 0x482332F: my_dict_init (dict.c:740)
==16038==by 0x4823130: my_dict_init (dict.c:1040)
==16038==by 0x4823130: my_dict_init (dict.c:1040)
==16038==by 0x4823E84: dict_init (dict.c:1246)
==16038==by 0xBCFC: read_radius_conf_file
(in /usr/local/sbin/radiusd)
==16038==by 0xBDEF: read_mainconfig (in /usr/local/sbin/radiusd)
==16038==by 0x10E24: main (in /usr/local/sbin/radiusd)
==16038==  Address 0x4CC32A8 is 40 bytes inside a block of size 60
free'd
==16038==at 0x481BFCF: free (vg_replace_malloc.c:235)
==16038==by 0x48258D7: lrad_hash_table_replace (hash.c:479)
==16038==by 0x48229EA: dict_addattr (dict.c:502)
==16038==by 0x482332F: my_dict_init (dict.c:740)
==16038==by 0x4823130: my_dict_init (dict.c:1040)
==16038==by 0x4823130: my_dict_init (dict.c:1040)
==16038==by 0x4823E84: dict_init (dict.c:1246)
==16038==by 0xBCFC: read_radius_conf_file
(in /usr/local/sbin/radiusd)
==16038==by 0xBDEF: read_mainconfig (in /usr/local/sbin/ra

Re: Help with freeradius 1.1.5

2007-03-12 Thread Alan DeKok
adreas polyxronopoulos wrote:
..
> bash: valgrind: command not found
> 
> Should i download it?

  Uh... yes?  It's in apt.   Just "apt-get install valgrind"

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Help with freeradius 1.1.5

2007-03-12 Thread adreas polyxronopoulos

I tryied to run the server under the valgrid but it seems tha i don't
have valgrid here is the output:

[EMAIL PROTECTED]@dyndns:~# valgrind --tool=memcheck --leak-check=full
radiusd -X
bash: valgrind: command not found

Should i download it?

thanks for you help

On Mon, 2007-03-12 at 11:28 +0100, Alan DeKok wrote:
> adreas polyxronopoulos wrote:
> > Hi list ,
> > 
> > I have ubuntu 6.06 LAM and i compile freeradius-1.1.5 . In compilation
> > everthing was ok. But whe i ranning freeradius : radiusd -X i get the
> > following output :
> > 
> > can anyone help me ? I don't understand what's happening.
> 
>   It looks like a bug.
> 
>   Can you run the server under valgrind?
> 
> $ valgrind --tool=memcheck --leak-check=full radiusd -X
> 
>   and post the output here.
> 
>   Alan DeKok.
> --
>   http://deployingradius.com   - The web site of the book
>   http://deployingradius.com/blog/ - The blog
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



 
 
Yahoo! Photos is now offering a quality print service from just 7p a photo. 
http://uk.photos.yahoo.com
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Help with freeradius 1.1.5

2007-03-12 Thread Alan DeKok
adreas polyxronopoulos wrote:
> Hi list ,
> 
> I have ubuntu 6.06 LAM and i compile freeradius-1.1.5 . In compilation
> everthing was ok. But whe i ranning freeradius : radiusd -X i get the
> following output :
> 
> can anyone help me ? I don't understand what's happening.

  It looks like a bug.

  Can you run the server under valgrind?

$ valgrind --tool=memcheck --leak-check=full radiusd -X

  and post the output here.

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Help with freeradius 1.1.5

2007-03-11 Thread adreas polyxronopoulos
Hi list ,

I have ubuntu 6.06 LAM and i compile freeradius-1.1.5 . In compilation
everthing was ok. But whe i ranning freeradius : radiusd -X i get the
following output :

can anyone help me ? I don't understand what's happening.


[EMAIL PROTECTED]@dyndns:~# radiusd -X
Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /usr/local/etc/raddb/proxy.conf
Config:   including file: /usr/local/etc/raddb/clients.conf
Config:   including file: /usr/local/etc/raddb/snmp.conf
Config:   including file: /usr/local/etc/raddb/eap.conf
Config:   including file: /usr/local/etc/raddb/sql.conf
 main: prefix = "/usr/local"
 main: localstatedir = "/usr/local/var"
 main: logdir = "/usr/local/var/log/radius"
 main: libdir = "/usr/local/lib"
 main: radacctdir = "/usr/local/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 = no
 main: log_file = "/usr/local/var/log/radius/radius.log"
 main: log_auth = no
 main: log_auth_badpass = no
 main: log_auth_goodpass = no
 main: pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
 main: user = "(null)"
 main: group = "(null)"
 main: usercollide = no
 main: lower_user = "no"
 main: lower_pass = "no"
 main: nospace_user = "no"
 main: nospace_pass = "no"
 main: checkrad = "/usr/local/sbin/checkrad"
 main: proxy_requests = yes
 proxy: retry_delay = 5
 proxy: retry_count = 3
 proxy: synchronous = no
 proxy: default_fallback = yes
 proxy: dead_time = 120
 proxy: post_proxy_authorize = no
 proxy: wake_all_if_all_dead = 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/lib
*** glibc detected *** double free or corruption (fasttop): 0x80104ee8
***
Aborted






___ 
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease 
of use." - PC Magazine 
http://uk.docs.yahoo.com/nowyoucan.html
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html