freeradius-1.1.3 + snmp...

2007-01-12 Thread adreas Polyxronopoulos
Hi list,

I have ubuntu 6.10 and i have set-up my freeradius-1.1.3 for peap-eap/mschapv2. 
I have got this packages for snmp : libsnmp9 , libsnmp9-dev , libsnmp-base , 
libsnmp-perl , libsnmp-session-perl , php5-snmp , snmp ,snmpd 
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. 
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.

[EMAIL PROTECTED]:/usr/local/etc/raddb# 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 = yes
 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: bind_address = 10.0.0.15 IP address [10.0.0.15]
 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
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 System 
 unix: cache = no
 unix: passwd = (null)
 unix: shadow = (null)
 unix: group = (null)
 unix: radwtmp = /usr/local/var/log/radius/radwtmp
 unix: usegroup = no
 unix: cache_reload = 600
Module: Instantiated unix (unix) 
Module: Loaded eap 
 eap: default_eap_type = peap
 eap: timer_expire = 60
 eap: ignore_unknown_eap_types = no
 eap: cisco_accounting_username_bug = no
 tls: rsa_key_exchange = no
 tls: dh_key_exchange = yes
 tls: rsa_key_length = 512
 tls: dh_key_length = 512
 tls: verify_depth = 0
 tls: CA_path = (null)
 tls: pem_file_type = yes
 tls: private_key_file = /usr/local/etc/raddb/certs/server_keycert.pem
 tls: certificate_file = /usr/local/etc/raddb/certs/server_keycert.pem
 tls: CA_file = /usr/local/etc/raddb/certs/demoCA/cacert.pem
 tls: private_key_password = whatever
 tls: dh_file = /usr/local/etc/raddb/certs/dh
 tls: random_file = /usr/local/etc/raddb/certs/random
 tls: fragment_size = 1024
 tls: include_length = yes
 tls: check_crl = no
 tls: check_cert_cn = (null)
 tls: cipher_list = (null)
 tls: check_cert_issuer = (null)
rlm_eap_tls: Loading the certificate file as a chain
rlm_eap: Loaded and initialized type tls
 peap: default_eap_type = mschapv2
 peap: copy_request_to_tunnel = yes
 peap: use_tunneled_reply = no
 peap: proxy_tunneled_request_as_eap = yes
rlm_eap: Loaded and initialized type peap
 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 files 
 files: 

Re: freeradius-1.1.3 + snmp...

2007-01-12 Thread Kevin Bonner
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


pgp7UST2LqcE9.pgp
Description: PGP signature
- 
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