Using DB instead of radutmp for simultaneous-use tracking

2011-09-29 Thread Det Det
Hi there, In the accounting section, radutmp is used for tracking simultaneous-use. Is there a way to use DB::radacct table instead to check for simultaneous-use? thanks, det - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: 2.1.12 bug/change in behaviour - un-named server {} blocks no longer work?

2011-09-29 Thread Arran Cudbard-Bell
On 30 Sep 2011, at 07:58, Fred MAISON wrote: > Ho Phil, > Could you explain the interest of un-named server ? > It's the default server for anything in clients.conf and the listen section in radiusd.conf. It's mainly in there for backwards compatibility... -Arran Arran Cudbard-Bell a.cudba..

Re: 2.1.12 bug/change in behaviour - un-named server {} blocks no longer work?

2011-09-29 Thread Alan DeKok
Fred MAISON wrote: > Ho Phil, > Could you explain the interest of un-named server ? The "authorize", etc. sections should really be inside of a "server" block. It will make future functionality easier to add. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/u

Re: 2.1.12 bug/change in behaviour - un-named server {} blocks no longer work?

2011-09-29 Thread Fred MAISON
Ho Phil, Could you explain the interest of un-named server ? Best regards, Fred - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Dear Expert (Installation Request)

2011-09-29 Thread Fajar A. Nugraha
On Fri, Sep 30, 2011 at 8:56 AM, sekchel lee wrote: > Dear Expert(Installation Request) > > Cent5 (server) > Freeradius > > cent5(NAS1) > pptp,oepnvpn > > The expenses will be paid by US dollar I'm not sure whether this list is an appropriate place to post a request like that. Anyway, here's some

Dear Expert (Installation Request)

2011-09-29 Thread sekchel lee
Dear Expert(Installation Request) Cent5 (server) Freeradius cent5(NAS1) pptp,oepnvpn The expenses will be paid by US dollar mailto:sekc...@gmail.com My current status -- cent5 install yum update yum install net-sn

[no subject]

2011-09-29 Thread michael lamborn
http://bestserv.ae/go.php - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: rlm_perl

2011-09-29 Thread Alexander Clouter
Alex rsm wrote: > > And added the following in src/modules/rlm_perl/example.pl > > sub authorize { >print "This is a TEST\n"; > . > } > > However, When I send a simple test request I don't see my debug line. > I also don't see the message "perl loaded" when start Freeradius in > de

Re: rlm_perl

2011-09-29 Thread Arran Cudbard-Bell
> However, When I send a simple test request I don't see my debug line. I also > don't see the message "perl loaded" when start Freeradius in debug mode > (radiusd -X). > > Am I missing anything? Could you post the debug. Might be you don't have rlm_perl built, though the server usually compl

RE: rlm_perl

2011-09-29 Thread Alex rsm
Hi Arran, Thank you for the response. I add perl in the sites-available/default file as follow: authorize { # # The preprocess module takes care of sanitizing some bizarre # attributes in the request, and turning them into attributes # which are more standard.

Re: FreeRADIUS 1.1.3 syslog and radacct question

2011-09-29 Thread Tremaine Lea
Yeah, doing things a bit backwards. I'll be looking to upgrade to 2.1.1 as soon as reasonable. I'm hoping that's sooner rather than later. It appears in the short term I can read the radacct log files into the SIEM by parsing the entries into discrete fields. Kind of sub-optimal, but it'll get

Re: FreeRADIUS 1.1.3 syslog and radacct question

2011-09-29 Thread Arran Cudbard-Bell
On 29 Sep 2011, at 18:51, Tremaine Lea wrote: > I have a requirement to get successful and failed radius > authentication logs from FreeRADIUS to a SIEM for audit purposes. I > have updated the config to log to syslog, but I need more information > than is currently appearing. > > Example: > Se

Re: rlm_perl

2011-09-29 Thread Arran Cudbard-Bell
On 29 Sep 2011, at 19:25, Alex rsm wrote: > Hi, > > How can I configure Freeradius to call example.pl perl script in the rlm_perl > module? i.e., I want the perl script to be called when Freeradius receives a > request. > read/modify raddb/modules/perl and list perl in sites-available/defaul

Re: Authentications types by usernames

2011-09-29 Thread Arran Cudbard-Bell
On 29 Sep 2011, at 18:23, andreapepa wrote: > Yes there two kind of mikrotik nas, one is a cpe to connect users lan by 5GHz > wireless bridge and the ohter is a classical access point to give access to > wireless clients. > > I've inserted this at the end of policy section in policy.conf but see

rlm_perl

2011-09-29 Thread Alex rsm
Hi, How can I configure Freeradius to call example.pl perl script in the rlm_perl module? i.e., I want the perl script to be called when Freeradius receives a request. Thanks, ASM - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/u

FreeRADIUS 1.1.3 syslog and radacct question

2011-09-29 Thread Tremaine Lea
I have a requirement to get successful and failed radius authentication logs from FreeRADIUS to a SIEM for audit purposes. I have updated the config to log to syslog, but I need more information than is currently appearing. Example: Sep 29 10:40:56 radiusserver radiusd[13806]: Login incorrect: [a

Re: Authentications types by usernames

2011-09-29 Thread andreapepa
Hi Fajar could be... but i cannot control all the types of authentication that can happens to be configured, i'm looking for some default value that cannot be changed by users -- View this message in context: http://freeradius.1045715.n5.nabble.com/Authentications-types-by-usernames-tp4852921p4

Re: Authentications types by usernames

2011-09-29 Thread andreapepa
Yes there two kind of mikrotik nas, one is a cpe to connect users lan by 5GHz wireless bridge and the ohter is a classical access point to give access to wireless clients. I've inserted this at the end of policy section in policy.conf but seems not to be read: i can still get authenticated with us

Re: 2.1.12 bug/change in behaviour - un-named server {} blocks no longer work?

2011-09-29 Thread Alan DeKok
Phil Mayers wrote: > 2.1.12 seems to not process this config; it seems to completely ignore > the un-named virtual server config: Hmm.. OK > ...and thus nothing works. AFAICT this is a change from 2.1.10/11 > (although I was always running a "pre-release" i.e. a known-good commit) Weird...

Re: Reverting Accept-Reject to Access-Accept

2011-09-29 Thread denizaydin
Sometimes rejecting users won't help. Cisco ISG or Cisco IOS can not apply a default service for rejected PPP user's (they only support for IP session). I now that this is not the desired solution. - Deniz AYDIN Senior Network Engineer -- View this message in context: http://freeradius.104

Re: Reverting Accept-Reject to Access-Accept

2011-09-29 Thread denizaydin
Thanks a lot, that works. - Deniz AYDIN Senior Network Engineer -- View this message in context: http://freeradius.1045715.n5.nabble.com/Reverting-Accept-Reject-to-Access-Accept-tp4811142p4853599.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/

Re: Reverting Accept-Reject to Access-Accept

2011-09-29 Thread Alan DeKok
denizaydin wrote: > Is there any method that you can suggest for reverting Reject message? (a) Don't reject the user. (b) modify the source to the server Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Reverting Accept-Reject to Access-Accept

2011-09-29 Thread Arran Cudbard-Bell
On 29 Sep 2011, at 17:02, Alan DeKok wrote: > denizaydin wrote: >> If I use the Cleartext-Password, the configuration in the Autz-Type section >> is not working. >> >> So I tried to put this config on Post-Auth-Type REJECT section but it's not >> working. It's seems that it is not possible to re

Re: Reverting Accept-Reject to Access-Accept

2011-09-29 Thread denizaydin
Is there any method that you can suggest for reverting Reject message? - Deniz AYDIN Senior Network Engineer -- View this message in context: http://freeradius.1045715.n5.nabble.com/Reverting-Accept-Reject-to-Access-Accept-tp4811142p4853488.html Sent from the FreeRadius - User mailing list a

Re: Reverting Accept-Reject to Access-Accept

2011-09-29 Thread Alan DeKok
denizaydin wrote: > If I use the Cleartext-Password, the configuration in the Autz-Type section > is not working. > > So I tried to put this config on Post-Auth-Type REJECT section but it's not > working. It's seems that it is not possible to revert Access-Reject to > Access-Accept in the post-aut

Re: rlm_ldap & access_attr

2011-09-29 Thread Fred
Hi all, After some more reading of rlm_ldap code, I saw that a static comparison is made with "FALSE" to detect disabled access, which is fairly limitative ... Here is a rlm_ldap small patch I have tested with 2.1.12pre, which allow to configure arbitrary deny value for access_attr. Config paramet

Re: Reverting Accept-Reject to Access-Accept

2011-09-29 Thread denizaydin
If I use the Cleartext-Password, the configuration in the Autz-Type section is not working. So I tried to put this config on Post-Auth-Type REJECT section but it's not working. It's seems that it is not possible to revert Access-Reject to Access-Accept in the post-auth section. Is the configuratio

Re: Authentications types by usernames

2011-09-29 Thread Arran Cudbard-Bell
On 29 Sep 2011, at 16:19, Fajar A. Nugraha wrote: > On Thu, Sep 29, 2011 at 8:56 PM, andreapepa > wrote: >> http://freeradius.1045715.n5.nabble.com/file/n4853189/connection5g.log >> connection5g.log >> http://freeradius.1045715.n5.nabble.com/file/n4853189/connection24.log >> connection24.log >>

Re: Authentications types by usernames

2011-09-29 Thread Fajar A. Nugraha
On Thu, Sep 29, 2011 at 8:56 PM, andreapepa wrote: > http://freeradius.1045715.n5.nabble.com/file/n4853189/connection5g.log > connection5g.log > http://freeradius.1045715.n5.nabble.com/file/n4853189/connection24.log > connection24.log > > These are the logs,  i cant see anty connect-info attribute

Re: Authentications types by usernames

2011-09-29 Thread Arran Cudbard-Bell
On 29 Sep 2011, at 15:56, andreapepa wrote: > http://freeradius.1045715.n5.nabble.com/file/n4853189/connection5g.log > connection5g.log > http://freeradius.1045715.n5.nabble.com/file/n4853189/connection24.log > connection24.log > > These are the logs, i cant see anty connect-info attribute...

Re: Authentications types by usernames

2011-09-29 Thread andreapepa
http://freeradius.1045715.n5.nabble.com/file/n4853189/connection5g.log connection5g.log http://freeradius.1045715.n5.nabble.com/file/n4853189/connection24.log connection24.log These are the logs, i cant see anty connect-info attributehave to add as a reply atttribute or in the nas config?

Re: Authentications types by usernames

2011-09-29 Thread Arran Cudbard-Bell
On 29 Sep 2011, at 14:43, andreapepa wrote: > Hi All, > I'm using Freeradius 2.1, > Users that connects to the my network by wireless clients at 2.4GHz get > authenticated by username and password, but there also CPE that connect at > 5GHz and authenticate thelmselves by username and EAP to g

Authentications types by usernames

2011-09-29 Thread andreapepa
Hi All, I'm using Freeradius 2.1, Users that connects to the my network by wireless clients at 2.4GHz get authenticated by username and password, but there also CPE that connect at 5GHz and authenticate thelmselves by username and EAP to give access to wired lan users ( not supplicant ). Is it

Re: $ENV{HOSTNAME} on debian hosts

2011-09-29 Thread Fred
No, HOSTNAME is not used in default config, as Alan stated before. I believe this is a plateform-specific issue and not really a freeradius issue... Fred 2011/9/29 Ben Brown : >> It seems environment passed to freeradius at startup does not have >> HOSTNAME defined. > > Which version of debian are

Re: $ENV{HOSTNAME} on debian hosts

2011-09-29 Thread Fred
I use squeeze. echo "SHELL:$SHELL HOSTNAME:$HOSTNAME" SHELL:/bin/bash HOSTNAME:radius3.nsslab My shell seems to be bash and hostname is present en my interactive environment but absent form a program environment. Try this code : #include #include int main() { const char *hostname=

avoiding ldap access in authorize

2011-09-29 Thread Fred
Hi all, When using ldap with freeradius, radiusGroupName attributes can be retrived during execution of ldap module. groupname_attribute = "radiusGroupName" groupmembership_filter = "(&(uid=%{%{Stripped-User-Name}:-%{User-Name}})(objectclass=radiusProfile))" groupmembership

Re: $ENV{HOSTNAME} on debian hosts

2011-09-29 Thread Ben Brown
> It seems environment passed to freeradius at startup does not have > HOSTNAME defined. Which version of debian are you using? In squeeze /bin/sh is provided by dash, rather than bash, which doesn't seem to set HOSTNAME. Is HOSTNAME used in the default debian freeradius config? If so I would su

Re: ++[mschap] returns reject

2011-09-29 Thread Alan DeKok
Arran Cudbard-Bell wrote: > Which standard says that the MSCHAPv2 identity and the PEAP Inner identity > have to match? Nothing, really. The issue is more sanity and security. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: $ENV{HOSTNAME} on debian hosts

2011-09-29 Thread Alan DeKok
Fred wrote: > To be able to use this, we have to explicitly set HOSTNAME environment > BEFORE launching freeradius. IIRC, the server doesn't use $ENV{HOSTNAME} by default. But yes, it's annoying that the environment has useful things deleted. Alan DeKok. - List info/subscribe/unsubscribe?

Re: Limit guest/anonymous users for 15 minutes

2011-09-29 Thread CyAndrew
Thank you, I will try to investigate custom sql solution and let you know. Best regards, CyAndrew -- View this message in context: http://freeradius.1045715.n5.nabble.com/Limit-guest-anonymous-users-for-15-minutes-tp4845117p4852330.html Sent from the FreeRadius - User mailing list archive at Nabb

$ENV{HOSTNAME} on debian hosts

2011-09-29 Thread Fred
Hi all, I want to advise everyone of a debian-specific problem using $ENV{HOSTNAME} in freeradius 2 config files : It seems environment passed to freeradius at startup does not have HOSTNAME defined. In fact, it seems only a subset of environment variables are passed to executables ... To be abl

Re: ++[mschap] returns reject

2011-09-29 Thread Arran Cudbard-Bell
On 28 Sep 2011, at 21:18, Alan DeKok wrote: > scoth wrote: >> I'm stuck in my testing. I have configured and reconfigured my freeradius >> and keep getting back to the same error: >> [mschap] ERROR: User-Name (RC24558\jojo) is not the same as MS-CHAP Name >> (jojo) from EAP-MSCHAPv2 > > That d

Re: FreeRADIUS Beginner's Guide

2011-09-29 Thread Alexander Clouter
Alexander Clouter wrote: > > The content is generally rather good, and aside from a few typos, the > book is let only on some relatively *minor* points: > > [snipped] > > * unfortunately short EAP section, ignoring session resumption and why >particular EAP methods meet particular needs