Re: FR-1.1.2 dies with error

2006-08-16 Thread Alexander Serkin
Alan DeKok wrote: Alexander Serkin [EMAIL PROTECTED] wrote: And i feel that Oracle is not good production server for radius accounting. Or the DB structure is not optimal for our application. I know of Oracle installations with 400k users. And the default schema works with installations of

RE: access reject replies

2006-08-16 Thread Hasan Ovuc
Dear Alan, I added below line after line 458 in src/main/util.c and everything is OK. pairmove2(vps, (packet-vps), PW_VENDOR_SPECIFIC); Thank you... Hasan Ovuc Levent Kurt Superonline.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] dius.org] On Behalf Of

RE: access reject replies

2006-08-16 Thread Hasan Ovuc
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] dius.org] On Behalf Of Alan DeKok Sent: Tuesday, August 15, 2006 5:47 PM To: FreeRadius users mailing list Subject: Re: access reject replies Hasan Ovuc [EMAIL PROTECTED] wrote: I am using FR-1.0.1, unixODBC 2.2.11,

Expiration account

2006-08-16 Thread Ludovic Toussaint
Hi, I got Freeradius working with Chillispot and Mysql. I would like to create account with expiration attribute. For example, I would like to create account with a validity of 24 hours after the first connection. And i would like do to the same with validity of à week. I tryed to done it with

Rép. : Re: Comments problem in huntgroups file

2006-08-16 Thread Thomas BAUDELET
Thanks, I'm not able to change the parser. Is there a problem to use the comments with the comma like this ? FreeRadius may think that #test is an attribute as it follows a comma ? Switchs NAS-IP-Address == 10.195.132.7 ,# test Can I use it like this ? Or maybe a ; or // will work

Re: Rép. : Re: Comments problem in huntgro ups file

2006-08-16 Thread Phil Mayers
Thomas BAUDELET wrote: Thanks, I'm not able to change the parser. Then you can't have comments at the end of a line. Is there a problem to use the comments with the comma like this ? FreeRadius may think that #test is an attribute as it follows a comma ? Switchs NAS-IP-Address ==

Re: sql segmentaiton fault

2006-08-16 Thread Nicolas Baradakis
YvesDM wrote: Created my own debs of freeradius 1.0.5 Please upgrade to 1.1.2. Everything works, but when i try to use mysql i get a segmentation fault running radiusd -X See http://freeradius.org/radiusd/doc/bugs I used the rules file in the debian dir of the tar.gz, but added

Re: FR-1.1.2 dies with error

2006-08-16 Thread Nicolas Baradakis
Alexander Serkin wrote: And i feel that Oracle is not good production server for radius accounting. Or the DB structure is not optimal for our application. Does anybody in the list use the FROracle for the systems serving about 4500 simultaneous connections? It's really not much, but...

Freeradius doesn't read vendor specific dictionary

2006-08-16 Thread SusePersonalTrainer
Hi to all! I have a problem. My freeradius Version 1.0.2 (debian) server doesn't read dictionary.mikrotik file. My configuration includes /usr/share/freeradius/disctionary wich includes dictionary.mikrotik. The dictionary.mikrotik contains the attribute Rate-Limit I use to manage the user's

Second reload Error with module rlm_eap

2006-08-16 Thread Thomas BAUDELET
When I reload my configuration files with rc.radiusd reload, the first reload is ok, but the second one fails with an SSL error. First Reload: Wed Aug 16 11:59:59 2006 : Info: Reloading configuration files. Wed Aug 16 11:59:59 2006 : Info: Using deprecated naslist file. Support for this will go

RE: sql segmentaiton fault

2006-08-16 Thread Hasan Ovuc
Try to start with strace tool, maybe it helps you. strace radiusd -d /etc/raddb -Original Message- From: [EMAIL PROTECTED] radius.org [mailto:[EMAIL PROTECTED] sts.freeradius.org] On Behalf Of Nicolas Baradakis Sent: Wednesday, August 16, 2006 12:09 PM To: FreeRadius users

Re: FR-1.1.2 dies with error

2006-08-16 Thread Alexander Serkin
Nicolas Baradakis wrote: Alexander Serkin wrote: And i feel that Oracle is not good production server for radius accounting. Or the DB structure is not optimal for our application. Does anybody in the list use the FROracle for the systems serving about 4500 simultaneous connections? It's

Oracle is not supported by radsqlrelay?

2006-08-16 Thread Alexander Serkin
Alexander Serkin wrote: Nicolas Baradakis wrote: Maybe you could use radsqlrelay for accounting data, so FreeRADIUS doesn't interact with the database anymore. See the manpages for rlm_sql_log(5) and radsqlrelay(8) for more details. didn't think about this yet. Is it possible to run

Proxy Problem maybe a bug!

2006-08-16 Thread Mitaine Yoann
Dear everybody,I've installed the radius 's CVS version of 08-02-06.I've this architecture : client AP Radius A Radius B proxyingwith proxy.conf file :realm NULL { type = radius authhost = LOCAL accthost = LOCAL}realm AAA { type = radius authhost = LOCAL accthost =

Re: Oracle is not supported by radsqlrelay?

2006-08-16 Thread Nicolas Baradakis
Alexander Serkin wrote: Nicolas Baradakis wrote: Maybe you could use radsqlrelay for accounting data, so FreeRADIUS doesn't interact with the database anymore. See the manpages for rlm_sql_log(5) and radsqlrelay(8) for more details. didn't think about this yet. Is it possible to

Re: sql segmentaiton fault

2006-08-16 Thread YvesDM
On 8/16/06, Nicolas Baradakis [EMAIL PROTECTED] wrote: YvesDM wrote: Created my own debs of freeradius 1.0.5Please upgrade to 1.1.2.I know, but the radius I'm running now (FR 1.0.5, SQL authentication, timevolume accounting) was originally setup by somebody else. It's working fine, but I wanted to

Re: rlm_proxy problems

2006-08-16 Thread Geoff Silver
I'll give it a shot. I'm trying to build 1.1.2 with that patch, but I'm having issues when compiling rlm_eap and rlm_eap_tls: gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes

Re: FR-1.1.2 dies with error

2006-08-16 Thread Alan DeKok
Alexander Serkin [EMAIL PROTECTED] wrote: I know of Oracle installations with 400k users. And the default schema works with installations of millions of users. do you mean 400k active simultaneous connections? And do they use accounting updates (Interim-Update records)? There are no

Re: Rép. : Re: Comments problem in huntgro ups file

2006-08-16 Thread Alan DeKok
Thomas BAUDELET [EMAIL PROTECTED] wrote: Is there a problem to use the comments with the comma like this ? Apparently, yes. Is it impossible for you to put the comments on a separate line above the entry? That's what everyone else does. Alan DeKok. -- http://deployingradius.com

Re: Freeradius doesn't read vendor specific dictionary

2006-08-16 Thread Alan DeKok
SusePersonalTrainer [EMAIL PROTECTED] wrote: I have a problem. My freeradius Version 1.0.2 (debian) server doesn't read dictionary.mikrotik file. My configuration includes /usr/share/freeradius/disctionary wich includes dictionary.mikrotik. The dictionary.mikrotik contains the attribute

Re: Oracle is not supported by radsqlrelay?

2006-08-16 Thread Alexander Serkin
Nicolas Baradakis wrote: radsqlrelay was added in version 1.1.0 and since then it was never changed. (you can check the CVS log if you want) Yes. i was wrong. In my case i've just fed sqllog to sqlplus utility. Finally radsqlrelay works for me with oracle too after patching 2 strings as you

Re: sql segmentaiton fault

2006-08-16 Thread Alan DeKok
YvesDM [EMAIL PROTECTED] wrote: Missing modules are for example downloadlimit When i take a look at radiusd.conf from the existing server, it's in the Authorize section right above the authentication section. snippet: It's a module created in the original configuration. Go read that. Look

Re: rlm_proxy problems

2006-08-16 Thread Alan DeKok
Geoff Silver [EMAIL PROTECTED] wrote: I'll give it a shot. I'm trying to build 1.1.2 with that patch, but I'm having issues when compiling rlm_eap and rlm_eap_tls: Weird. What OS are you bulding it on? What earlier versions of the server built on that OS? Alan DeKok. --

Re: FR-1.1.2 dies with error

2006-08-16 Thread Alexander Serkin
Alan DeKok wrote: Alexander Serkin [EMAIL PROTECTED] wrote: I know of Oracle installations with 400k users. And the default schema works with installations of millions of users. do you mean 400k active simultaneous connections? And do they use accounting updates (Interim-Update records)?

Re: Change RAD_REPLY item in rlm_perl, not add a new pair

2006-08-16 Thread Alex French
Boina,That works fine for me (patching against a clean 1.1.2 tree) I've only tested == and := operators but they seem fine.Only one point to note; if you do not include an element in the hash with the same name as the attribute ( e.g. due to a typo or just a misconfiguration), the server hangs

Re: Freeradius doesn't read vendor specific dictionary

2006-08-16 Thread Angelo Compagnucci
Alle 16:30, mercoledì 16 agosto 2006, Alan DeKok ha scritto:   Are you sure?  It looks like it's spelled Mikrotik-Rate-Limit to me. I changed Rate-Limit to Mikrotik-Rate-Limit. Freeradius says: rlm_sql: unknown attribute Mikrotik-Rate-Limit I don't know why .. - List

Re: Oracle is not supported by radsqlrelay?

2006-08-16 Thread Nicolas Baradakis
Alexander Serkin wrote: Finally radsqlrelay works for me with oracle too after patching 2 strings as you said. Please create a patch with diff -u radsqlrelay.orig radsqlrelay and post it to the list. I'll add it in version 1.1.3. -- Nicolas Baradakis - List info/subscribe/unsubscribe? See

Re: sql segmentaiton fault

2006-08-16 Thread YvesDM
On 8/16/06, Alan DeKok [EMAIL PROTECTED] wrote: YvesDM [EMAIL PROTECTED] wrote: Missing modules are for example downloadlimit When i take a look at radiusd.conf from the existing server, it's in the Authorize section right above the authentication section. snippet: It's a module created in the

how to input data in radius MySQL database for using MAC address authentication

2006-08-16 Thread Edward.Shih
Hi everyone, I read through some of threads about using MAC address authentication, but the issue still wasnt solved. I am new to this field, and I want to implement a FreeRadius server to communicate with Cisco Aironet 1200 Access Point using MAC address authentication method. The

Limiting Bandwidth Usage !?!?

2006-08-16 Thread Calode
I know that this question was answered so many times cause i read almost all the q/a but i am very a beginner to all Linux world and especially custom configuration , compiling editing and so on ... but i am very interested in learning all of this new technic but i need some help ... can u

Re: sql segmentaiton fault

2006-08-16 Thread Alan DeKok
YvesDM [EMAIL PROTECTED] wrote: I don't get it? What should i read? The original radiusd.conf. That snippet in my prior mail came from radiusd.conf from the existing (active) server Yes, go read that again. It's defining those extra modules. Those modules aren't defined in the default

Re: rlm_proxy problems

2006-08-16 Thread Geoff Silver
Alan DeKok wrote: Geoff Silver [EMAIL PROTECTED] wrote: I'll give it a shot. I'm trying to build 1.1.2 with that patch, but I'm having issues when compiling rlm_eap and rlm_eap_tls: Weird. What OS are you bulding it on? Red Hat Enterprise Linux 3.0. Also has the same build issues on

Re: sql segmentaiton fault

2006-08-16 Thread YvesDM
On 8/16/06, Alan DeKok [EMAIL PROTECTED] wrote: YvesDM [EMAIL PROTECTED] wrote: I don't get it? What should i read?The original radiusd.conf. That snippet in my prior mail came from radiusd.conf from the existing (active) serverYes, go read that again.It's defining those extra

Re: Proxy Problem maybe a bug!

2006-08-16 Thread Alan DeKok
Mitaine Yoann [EMAIL PROTECTED] wrote: There was no case of Acces challenge resquest ,I added it (case PW_ACCESS_CHALLENGE). And now the proxy request works ! I would like to know if the change is correct and if somebody already had this error . It's a bug, and a fairly stupid one at

Re: rlm_proxy problems

2006-08-16 Thread Alan DeKok
Geoff Silver [EMAIL PROTECTED] wrote: Red Hat Enterprise Linux 3.0. Also has the same build issues on my RedHat EL4.0 dev system. Weird. It works for me on FC4, and many other OSes. We were previously using FreeRADIUS 1.1.0, which built fine. IIRC, the problem surfaced in 1.1.1, which

Re: Oracle is not supported by radsqlrelay?

2006-08-16 Thread Alexander Serkin
Nicolas Baradakis wrote: Alexander Serkin wrote: Finally radsqlrelay works for me with oracle too after patching 2 strings as you said. Please create a patch with diff -u radsqlrelay.orig radsqlrelay and post it to the list. I'll add it in version 1.1.3. Here it is: --- radsqlrelay.orig