freeradius-1.1.5 : Aborted(core dump)

2007-03-16 Thread adreas Polyxronopoulos
.so
b7fb7000-b7fb9000 rw-p b7fb7000 00:00 0 
b7fb9000-b7fd2000 r-xp  03:41 3737318/lib/ld-2.4.so
b7fd2000-b7fd4000 rw-p 00018000 03:41 3737318/lib/ld-2.4.so
bfe21000-bfe52000 rw-p bfe21000 00:00 0  [stack]
e000-f000 ---p  00:00 0  [vdso]
Aborted (core dumped)


thanks for your time...
 
Adreas Polyxronopoulos






___ 
Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. 
http://uk.docs.yahoo.com/nowyoucan.html- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Still having problem with FR-1.1.5

2007-03-14 Thread adreas polyxronopoulos
Hi Alan and list,   


I downloaded yesterday the freeradius-1.1.5 via cvs:

cvs -d :pserver:[EMAIL PROTECTED]:/source checkout -r
branch_1_1 radiusd

After downloading:

cd /radiusd
./configure 
make 
make install

Compilation produced no error.

I checked in the /usr/local/etc/ and raddb dir have created after the 
installation.

However  radiusd -X produce the following output:

[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


/* * */

Running the server with valgrind
valgrind --tool=memcheck --leak-check=full radiusd -X
I got the following output:

/* * */



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
==4258== Conditional jump or move depends on uninitialised value(s)
==4258==at 0x4872492: lrad_rand_seed (radius.c:2416)
==4258==by 0x486B068: my_dict_init (dict.c:1001)
==4258==by 0x486BEB4: dict_init (dict.c:1247)
==4258==by 0xBCFC: read_radius_conf_file (mainconfig.c:1262)
==4258==by 0xBDEF: read_mainconfig (mainconfig.c:1295)
==4258==by 0x10E24: main (radiusd.c:941)
==4258==
==4258== Conditional jump or move depends on uninitialised value(s)
==4258==at 0x4872492: lrad_rand_seed (radius.c:2416)
==4258==by 0x486B068: my_dict_init (dict.c:1001)
==4258==by 0x486B161: my_dict_init (dict.c:1041)
==4258==by 0x486BEB4: dict_init (dict.c:1247)
==4258==by 0xBCFC: read_radius_conf_file (mainconfig.c:1262)
==4258==by 0xBDEF: read_mainconfig (mainconfig.c:1295)
==4258==by 0x10E24: main (radiusd.c:941)
==4258==
==4258== Conditional jump or move depends on uninitialised value(s)
==4258==at 0x4872492: lrad_rand_seed (radius.c:2416)
==4258==by 

Re: Still having problem with FR-1.1.5

2007-03-14 Thread adreas polyxronopoulos

Hi Alan,

I downloaded the freeradius-1.1.5 via cvs and compiled it on 14-03-2007
21:51 but i still have the same problem. I tried to compile
freeradius-1.1.3 and i got the same out after radiusd -X.  What do you
suggest me to do? 

Thanks for you help and your quick replies

On Wed, 2007-03-14 at 15:00 +0100, Alan DeKok wrote:
 adreas polyxronopoulos wrote:
 ...
  cvs -d :pserver:[EMAIL PROTECTED]:/source checkout -r
  branch_1_1 radiusd
 ...
  However  radiusd -X produce the following output:
 ...
  ==4258== Invalid free() / delete / delete[]
  ==4258==at 0x481BFCF: free (vg_replace_malloc.c:235)
  ==4258==by 0x494DCAF: try_dlopen (ltdl.c:3429)
  ==4258==by 0x494E825: lt_dlopenext (ltdl.c:3504)
  ==4258==by 0xD168: find_module_instance (modules.c:207)
  ==4258==by 0xD959: setup_modules (modules.c:879)
  ==4258==by 0x10E65: main (radiusd.c:965)
  ==4258==  Address 0x4E0CFD0 is 0 bytes inside a block of size 12 free'd
  ==4258==at 0x481BFCF: free (vg_replace_malloc.c:235)
  ==4258==by 0x494DC8C: try_dlopen (ltdl.c:3428)
  ==4258==by 0x494E825: lt_dlopenext (ltdl.c:3504)
  ==4258==by 0xD168: find_module_instance (modules.c:207)
  ==4258==by 0xD959: setup_modules (modules.c:879)
  ==4258==by 0x10E65: main (radiusd.c:965)
 
   Hmm... that's a different issue inside of
 
   Ok... I've committed a fix.  A patch from the CVS head was pulled into
 1.1.5, when it wasn't necessary.
 
   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



___ 
Now you can scan emails quickly with a reading pane. Get the 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-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

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 adreas polyxronopoulos
: (within /lib/ld-2.3.6.so)
==16038==by 0x4BBEC75: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==16038==by 0x400B105: (within /lib/ld-2.3.6.so)
==16038==by 0x4BBF937: _dl_open
(in /lib/tls/i686/cmov/libc-2.3.6.so)
==16038==by 0x4917CB7: (within /lib/tls/i686/cmov/libdl-2.3.6.so)
==16038==by 0x400B105: (within /lib/ld-2.3.6.so)
==16038==by 0x49182BA: (within /lib/tls/i686/cmov/libdl-2.3.6.so)
==16038==by 0x4917D10: dlopen (in /lib/tls/i686/cmov/libdl-2.3.6.so)
==16038==by 0x491161B: sys_dl_open (ltdl.c:1110)
==16038==by 0x4911D95: tryall_dlopen (ltdl.c:2445)
==16038==by 0x4911F1D: tryall_dlopen_module (ltdl.c:2512)
 mschapv2: with_ntdomain_hack = no
rlm_eap: Loaded and initialized type mschapv2
Module: Instantiated eap (eap)
Module: Loaded preprocess
 preprocess: huntgroups = /usr/local/etc/raddb/huntgroups
 preprocess: hints = /usr/local/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 realm
 realm: format = suffix
 realm: delimiter = @
 realm: ignore_default = no
 realm: ignore_null = no
Module: Instantiated realm (suffix)
Module: Loaded files
 files: usersfile = /usr/local/etc/raddb/users
 files: acctusersfile = /usr/local/etc/raddb/acct_users
 files: preproxy_usersfile = /usr/local/etc/raddb/preproxy_users
 files: compat = no
Module: Instantiated files (files)
Module: Loaded Acct-Unique-Session-Id
 acct_unique: key = User-Name, Acct-Session-Id, NAS-IP-Address,
Client-IP-Address, NAS-Port
Module: Instantiated acct_unique (acct_unique)
Module: Loaded detail
 detail: detailfile =
/usr/local/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/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: Accounting-Request packet from host 10.0.0.10:2977, id=238,
length=166
Ignoring request from unknown client 10.0.0.10:2977
--- Walking the entire request list ---
Nothing to do.  Sleeping until we see a request.
==16038==
==16038== ERROR SUMMARY: 196 errors from 24 contexts (suppressed: 33
from 1)
==16038== malloc/free: in use at exit: 729,943 bytes in 27,262 blocks.
==16038== malloc/free: 27,866 allocs, 621 frees, 857,273 bytes
allocated.
==16038== For counts of detected errors, rerun with: -v
==16038== searching for pointers to 27,262 not-freed blocks.
==16038== checked 1,280,528 bytes.
==16038==
==16038== LEAK SUMMARY:
==16038==definitely lost: 0 bytes in 0 blocks.
==16038==  possibly lost: 0 bytes in 0 blocks.
==16038==still reachable: 729,943 bytes in 27,262 blocks.
==16038== suppressed: 0 bytes in 0 blocks.
==16038== Reachable blocks (those to which a pointer was found) are not
shown.
==16038== To see them, rerun with: --show-reachable=yes


Is it a big problem? Should i download  other version of freeradius?

Thanks a lot

[EMAIL PROTECTED]@dyndns:~#




On Mon, 2007-03-12 at 11:53 +0100, Alan DeKok wrote:
 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



 
 
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


Freeradius on ubuntu

2007-03-11 Thread adreas Polyxronopoulos
Hi list,

I have tried ubuntu 6.10 desktop with freeradius1.1.3 source  and everything 
work perfect. Now i have installed on another PC ubuntu 6.06 server LAMP and i 
am in the moment where the freeradius should be installed. I can download the 
source of freeradius and compile it or i can download the package of 
freeradius.  The package version is 1.1.0 but for the source of freeradius i 
can choose any version i want (i would choose freeradius 1.1.3 source because i 
have tested).
Which one is better choice ?

thanks
 
Adreas Polyxronopoulos






___ 
Inbox full of unwanted email? Get leading 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

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


Segmentation fault (core dumped) - freeradius-1.1.4

2007-02-12 Thread adreas Polyxronopoulos
-Specific = 0x564c414e2049442069733a2030
Vendor-Specific = 0x4553534944203d206d794150
Vendor-Specific = 0x45415020547970652069733a206e6f7420617661696c61626c65
Acct-Session-Time = 242
Acct-Terminate-Cause = NAS-Request
Finished request 3
Going to the next request
--- Walking the entire request list ---
Cleaning up request 3 ID 12 with timestamp 45d0736b
Nothing to do.  Sleeping until we see a request.
rad_recv: Accounting-Request packet from host 150.140.188.220:1040, id=11, 
length=166
Acct-Status-Type = Interim-Update
Acct-Session-Id = 000475925b2a-000d54fdb5ea-004f
NAS-IP-Address = 150.140.188.220
Acct-Input-Octets = 746
Acct-Output-Octets = 140
Acct-Input-Packets = 10
Acct-Output-Packets = 3
User-Name = not available
Vendor-Specific = 0x564c414e2049442069733a2030
Vendor-Specific = 0x4553534944203d206d794150
Vendor-Specific = 0x45415020547970652069733a206e6f7420617661696c61626c65
Acct-Session-Time = 238
Finished request 4
Going to the next request
--- Walking the entire request list ---
Cleaning up request 4 ID 11 with timestamp 45d0736c
Nothing to do.  Sleeping until we see a request.
rad_recv: Access-Request packet from host 150.140.188.220:1044, id=5, length=168
NAS-IP-Address = 150.140.188.220
NAS-Port-Type = Wireless-802.11
NAS-Port = 1
Framed-MTU = 1400
User-Name = OEM-AWQCRU94F8J\\pitsioris
Calling-Station-Id = 000475925b2a
Called-Station-Id = 000d545c4190
NAS-Identifier = 3Com Access Point
EAP-Message = 
0x0201001e014f454d2d415751435255393446384a5c70697473696f726973
Message-Authenticator = 0xd94d0d9df4c650def97ab37c7713c95a
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 5
Segmentation fault (core dumped)

Could anyone please help me to fix this? Thank you very much.


Adreas Polyxronopoulos


-
 The all-new Yahoo! Mail goes wherever you go - free your email address from 
your Internet provider.- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

freeradius-1.1.3 + snmp...

2007-01-12 Thread adreas Polyxronopoulos
: usersfile = /usr/local/etc/raddb/users
 files: acctusersfile = /usr/local/etc/raddb/acct_users
 files: preproxy_usersfile = /usr/local/etc/raddb/preproxy_users
 files: compat = no
Module: Instantiated files (files) 
Module: Loaded Acct-Unique-Session-Id 
 acct_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 detail 
 detail: detailfile = 
/usr/local/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/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) 
 main: smux_password = public
 main: snmp_write_access = no
SMUX connect try 1
SMUX open oid: 1.3.6.1.4.1.3317.1.3.1
SMUX open progname: radiusd
SMUX open password: public
SMUX register oid: 1.3.6.1.2.1.67.1.1.1.1
SMUX register priority: -1
SMUX register operation: 1
SMUX register oid: 1.3.6.1.2.1.67.2.1.1.1
SMUX register priority: -1
SMUX register operation: 1
[EMAIL PROTECTED]:/usr/local/etc/raddb# 


thanks for help...
 
Adreas Polyxronopoulos






___ 
All New Yahoo! Mail – Tired of unwanted email come-ons? Let our SpamGuard 
protect you. http://uk.docs.yahoo.com/nowyoucan.html- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: freeradius-1.1.3 + snmp...

2007-01-12 Thread adreas Polyxronopoulos
Hi Kevin and thanks for your time,

- In your snmpd.conf file, do you have a line that looks like the following?
smuxpeer .1.3.6.1.4.1.3317.1.3.1 public 

+ No i hadn't in my snmpd.conf a line like the follwing : smuxpeer 
.1.3.6.1.4.1.3317.1.3.1 public
However when i add the line in my snmpd.conf at a random place in the file 
i got the same output. Do i have to write it in a specific place in the 
snmpd.conf ?

- Are there any errors in your log files that might indicate a problem with 
your  snmpd config? 

+ I checked the radiusd.log but nothing useful.

- Does freeradius exit without error or do you press Ctrl-C to kill it? 

+ No my freeradius exits without error and i don't press Ctrl-C to kill it.


 
Adreas Polyxronopoulos


- Original Message 
From: Kevin Bonner [EMAIL PROTECTED]
To: FreeRadius users mailing list freeradius-users@lists.freeradius.org
Sent: Friday, 12 January, 2007 6:43:04 PM
Subject: Re: freeradius-1.1.3 + snmp...

On Friday 12 January 2007 11:13, adreas Polyxronopoulos wrote:
 I have configured the radiusd.conf to support snmp 
 and in snmp.conf i have set the community string to public as it is in
 snmpd.conf.

In your snmpd.conf file, do you have a line that looks like the following?

smuxpeer .1.3.6.1.4.1.3317.1.3.1 public

Are there any errors in your log files that might indicate a problem with your 
snmpd config?

 However when i am running freeradius in debugging mode : 
 radiusd -X , i get the following output and the freeradius does not start.
 Why is that happening ? When i configured the radiusd.conf without snmp
 everything works perfect.

Does freeradius exit without error or do you press Ctrl-C to kill it?

Kevin Bonner

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









___ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk - 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

FreeRadius-package on ubuntu6.10

2007-01-11 Thread adreas Polyxronopoulos
I have noticed a problem when downloading freeradius package for ubuntu6.10. 
After downloading freeradius package and configuring freeradius for 
peap-eap/mschapv2 and running freeradius -X i got the following ouput:

Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /etc/freeradius/proxy.conf
Config:   including file: /etc/freeradius/clients.conf
Config:   including file: /etc/freeradius/snmp.conf
Config:   including file: /etc/freeradius/eap.conf
Config:   including file: /etc/freeradius/sql.conf
 main: prefix = /usr
 main: localstatedir = /var
 main: logdir = /var/log/freeradius
 main: libdir = /usr/lib/freeradius
 main: radacctdir = /var/log/freeradius/radacct
 main: hostname_lookups = 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 = /var/log/freeradius/radius.log
 main: log_auth = no
 main: log_auth_badpass = no
 main: log_auth_goodpass = no
 main: pidfile = /var/run/freeradius/freeradius.pid
 main: bind_address = 10.0.0.15 IP address [10.0.0.15]
 main: user = freerad
 main: group = freerad
 main: usercollide = no
 main: lower_user = no
 main: lower_pass = no
 main: nospace_user = no
 main: nospace_pass = no
 main: checkrad = /usr/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/lib/freeradius
Module: Loaded exec 
 exec: wait = yes
 exec: program = (null)
 exec: input_pairs = request
 exec: output_pairs = (null)
 exec: packet_type = (null)
rlm_exec: Wait=yes but no output defined. Did you mean output=none?
Module: Instantiated exec (exec) 
Module: Loaded expr 
Module: Instantiated expr (expr) 
Module: Loaded MS-CHAP 
 mschap: use_mppe = no
 mschap: require_encryption = yes
 mschap: require_strong = yes
 mschap: with_ntdomain_hack = yes
 mschap: passwd = (null)
 mschap: ntlm_auth = (null)
Module: Instantiated mschap (mschap) 
Module: Loaded eap 
 eap: default_eap_type = peap
 eap: timer_expire = 60
 eap: ignore_unknown_eap_types = no
 eap: cisco_accounting_username_bug = no
rlm_eap: Failed to link EAP-Type/tls: rlm_eap_tls.so: cannot open shared object 
file: No such file or directory
radiusd.conf[10]: eap: Module instantiation failed. 
radiusd.conf[1939] Unknown module eap.
radiusd.conf[1886] Failed to parse authenticate section. 

 In the same machine i have downloaded the source of freeradius-1.1.3 and 
compiled it.
 I have done the same configuration in radiusd.conf , clients.conf , user , 
eap.conf as in the freeradius-package and everything works fine .Why from the 
freeradius-package this configuration does not work?


Adreas Polyxronopoulos






___ 
What kind of emailer are you? Find out today - get a free analysis of your 
email personality. Take the quiz at the Yahoo! Mail Championship. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk - 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Freeradius-1.1.3 + Mysql ?

2007-01-11 Thread adreas Polyxronopoulos
Hi list,

I have found the mysql-server package but i haven't found the mysql-dev package 
could you tell me which one specific because there are many 
 
thanks


Adreas Polyxronopoulos


- Original Message 
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: FreeRadius users mailing list freeradius-users@lists.freeradius.org
Sent: Thursday, 11 January, 2007 7:23:53 PM
Subject: Re: Freeradius-1.1.3 + Mysql ?

Hi,
 Hi list,
 
 I have compiled freeradius-1.1.3 with out any configure option. I don't have 
 mySql server on my pc (ubuntu 6.10) . If i would like to store accounting 
 information in mySql , what i have to do?  When i download mySql server 
 package do i have to configure freeradius again or just configure 
 radiusd.conf ?

if you built from source you will need to build from source again - this is 
because when you
ran ./configure, the automake script checks your compilation environment to see 
what libraries
and headers you have - thus what feature-sets can be enabled.

you will need to install the mysql-devel package to compile in support and 
install the mysql-server
package to have the mysql server and utils to USE mysql

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








___ 
What kind of emailer are you? Find out today - get a free analysis of your 
email personality. Take the quiz at the Yahoo! Mail Championship. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk - 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

which users are connected and when ?

2007-01-10 Thread adreas Polyxronopoulos
Hello list,

I have a wlan using freeradius for authentication. I want to create a 
user-managment application which  will help me in monitoring the wlan. The main 
information i would like to provide with my application  is the following :

1) How many users are connected on my wlan and how many are not connected ?
2) Which users are connected on my wlan and when did the connected ?

As i have studied freeradius until now i can get this information from 
detail-file. But i would like to know if i could export detail-file in a 
mysql-format or if i could have info like detail-file provide in a mySql 
format. I am intersting in mySql because my application will be in php and the 
manipulation of mySql database is much easier. 

Any ideas would be usefulthanks


 
Adreas Polyxronopoulos




Send instant messages to your online friends http://uk.messenger.yahoo.com - 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

My AP does accountig but radwho doesn't work..

2007-01-03 Thread adreas Polyxronopoulos
Hi list,

I am trying to work the radwho command but i get this error : radwho: Error 
reading /usr/local/var/log/radius/radutmp: No such file or directory

My AccessPoint (3com 7250) has the accounting option i have set it enable and i 
have detail files in /usr/local/var/log/radius/radacct/10.0.0.10 . 

In my radiusd.conf :

radutmp {
   filename = ${LOGDIR}/radutmp
   username = %{User-Name}
   case_sensitive = yes
   check_with_nas = yes
   perm = 0600
   callerid = yes
}


accounting {
   detail
   radutmp
}


session {
   radutmp
}

-

and when running radiusd -X :

..

Module: Loaded radutmp
radutmp: filename = /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)

thanks
 
Adreas Polyxronopoulos




Send instant messages to your online friends http://uk.messenger.yahoo.com - 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

About modules rlm_eap_peap , rlm_eap_tls....

2006-12-30 Thread adreas Polyxronopoulos
Hi everyone , 

I am trying to set up freeradius-1.1.3 for a wlan using peap - eap/mschapv2. I 
have downloaded the source of freeradius-1.1.3 and compile it (./configure , 
make , make install) . I am using a guide for setting-up freeradius-1.0.2 . The 
guide after compiling the source of freeradius-1.0.2 it builds 2 modules ( 
rlm_eap_peap , rlm_eap_tls). My question is : Do i have to do this in 
freeradius-1.1.3 source version after i compile it ? Or these modules are build 
from the top level compile ?


thanks 
 
Adreas Polyxronopoulos




Send instant messages to your online friends http://uk.messenger.yahoo.com - 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Help with peap-eap/mschapv2

2006-12-30 Thread adreas Polyxronopoulos

!--
@page { size: 8.5in 11in; margin: 0.79in }
P { margin-bottom: 0.08in }
--Hi everyone  








Merry Christmas and a Happy new year ,

I have 
 
Adreas Polyxronopoulos




Send instant messages to your online friends http://uk.messenger.yahoo.com - 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Help with peap-eap/mschapv2

2006-12-30 Thread adreas Polyxronopoulos
/radius/radacct/10.0.0.10/detail-20061230
  modcall[accounting]: module detail returns ok for request 1
  modcall[accounting]: module unix returns noop for request 1
radius_xlat:  '/usr/local/var/log/radius/radutmp'
radius_xlat:  'not available'
  rlm_radutmp: No NAS-Port seen.  Cannot do anything.
  rlm_radumtp: WARNING: checkrad will probably not work!
  modcall[accounting]: module radutmp returns noop for request 1
modcall: leaving group accounting (returns ok) for request 1
Sending Accounting-Response of id 45 to 10.0.0.10 port 3791
Finished request 1
Going to the next request
--- Walking the entire request list ---
Cleaning up request 1 ID 45 with timestamp 4596dc07
Nothing to do.  Sleeping until we see a request.
..


Why the authentication of  someone user failed ? What does it means : module 
mschap returns noop for request 0 ? Is it important debug info ?

thanks


  
 
Adreas Polyxronopoulos




Send instant messages to your online friends http://uk.messenger.yahoo.com 




Send instant messages to your online friends http://uk.messenger.yahoo.com - 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Can't compile modules rlm_eap_peap and rlm_eap_tls

2006-12-27 Thread adreas Polyxronopoulos
Hi everybody ,

I am trying to set up freeradius-1.1.3 and to support PEAP/MSCHAPV2 i need to 
compile 2 modules which aren't build with ./configure ,make , make install. 
These modules are rlm_eap_peap and rlm_eap_tls in 
   /usr/local/src/freeradius-1.1.3/src/modules/rlm_eap/types/ directory. 
Then i do :
 
[EMAIL 
PROTECTED]:/usr/local/src/freeradius-1.1.3/src/modules/rlm_eap/types/rlm_eap_peap#
 ./configure

and the output is:

checking for OpenSSL support... no
configure: WARNING: silently not building rlm_eap_peap.
configure: WARNING: FAILURE: rlm_eap_peap requires: OpenSSL.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged

I have installed libssl0.9.8 , libssl-dev and openssl .

Can anyone help me because i don't have a lot of time !!!

thanks

Adreas Polyxronopoulos




Send instant messages to your online friends
 http://uk.messenger.yahoo.com 






___ 
Try the all-new Yahoo! Mail. The New Version is radically easier to use – The 
Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html