invoke userdefine module

2009-08-23 Thread shivashankar

hi,

i installed freeradius2.1.6

i added one user define module ..

but i need to invoke this module..to test username and password.
 
could u plz let me know how to invoke that userdefine module

regardi's
shiva shankar

-- 
View this message in context: 
http://www.nabble.com/invoke-userdefine-module-tp25111274p25111274.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.

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


Re: Freeradius help to update /etc/hosts?

2009-08-23 Thread Alan DeKok
Dave wrote:
> Ive been using freeradius for years to authenticate pppoe users for my
> WISP., Customers get dynamic IP addresses from an IP pool.
> Im going to be implementing a new monitoring system, and I need to use
> hostnames to check on customer status.
> Anyone have ideas how freeradius can update a DNS server such as BIND or
> other linux DNS server?

  Use PowerDNS.  Put the host names into SQL.  Use FreeRADIUS (2.1.6) to
do SQL inserts.

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


Freeradius proxy and usename modifications.

2009-08-23 Thread Ville Leinonen
Hi,

I need to modify username before sending access-request/chalege-response
messages my sms-server. My need is modify usern...@domain.com to this
domain-username. Can some on help me how to do this? I can do that regex,
but i dont know how to configure proxy.conf to do this.

Br,

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


RE: rlm_perl / libtool / libltdl problem

2009-08-23 Thread Garber, Neal
Does this mean you are also having this problem with 2.2.6a of libtool/libltdl? 
 There isn't a permanent solution that I know of yet.  However, there is a 
workaround that you can use for now:

LD_PRELOAD=path_to_libperl.so /usr/local/sbin/radiusd

Where path_to_libperl.so is the full path for that file (e.g., it's 
/usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so on one of my systems).

-Original Message-
From: freeradius-users-bounces+neal.garber=energyeast@lists.freeradius.org 
[mailto:freeradius-users-bounces+neal.garber=energyeast@lists.freeradius.org]
 On Behalf Of Anton Brinyov
Sent: Sunday, August 23, 2009 6:17 PM
To: FreeRadius users mailing list
Subject: Re: rlm_perl / libtool / libltdl problem

Hi,

It means, there isn't solution for this problem now?

Thanks,
Anton


2009/8/18 Garber, Neal :
>> Did I mention that I hate libtool and libltdl?  They're close to
>> *causing* more problems than they solve.
>
> Yes, on several occasions that I recall :)  I share your sentiments...
>
>> I actually started removing libltdl a while ago.  See
>> src/main/modules.c.  Look for WITHOUT_LIBLTDL.  I'll bet that if you
>> spent a bit of time hacking the source, you could get it to build && run
>> *without* libltldl.  At that point, the stupid "can't load library"
>> issues will go away.
>
> If I get some spare time (what's that :)), I'll see what I can do..
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>

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

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


Freeradius updating /etc/hosts?

2009-08-23 Thread Dave
Ive been using freeradius for years to authenticate pppoe users for my 
WISP., Customers get dynamic IP addresses from an IP pool.
Im going to be implementing a new monitoring system, and I need to use 
hostnames to check on customer status.
Anyone have ideas how freeradius can update /etc/hosts so a dns server 
such as dnsmasq can serve the hostnames of customers as their IP changes?



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


Freeradius help to update /etc/hosts?

2009-08-23 Thread Dave
Ive been using freeradius for years to authenticate pppoe users for my 
WISP., Customers get dynamic IP addresses from an IP pool.
Im going to be implementing a new monitoring system, and I need to use 
hostnames to check on customer status.
Anyone have ideas how freeradius can update a DNS server such as BIND or 
other linux DNS server?


Is it possible?


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


Re: rlm_perl / libtool / libltdl problem

2009-08-23 Thread Anton Brinyov
Hi,

It means, there isn't solution for this problem now?

Thanks,
Anton


2009/8/18 Garber, Neal :
>> Did I mention that I hate libtool and libltdl?  They're close to
>> *causing* more problems than they solve.
>
> Yes, on several occasions that I recall :)  I share your sentiments...
>
>> I actually started removing libltdl a while ago.  See
>> src/main/modules.c.  Look for WITHOUT_LIBLTDL.  I'll bet that if you
>> spent a bit of time hacking the source, you could get it to build && run
>> *without* libltldl.  At that point, the stupid "can't load library"
>> issues will go away.
>
> If I get some spare time (what's that :)), I'll see what I can do..
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>

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


Re: Proxying accounting to create a 'tee'

2009-08-23 Thread Fajar A. Nugraha
On Sun, Aug 23, 2009 at 11:54 PM, Ivan Kalik wrote:
>> On Sat, Aug 22, 2009 at 5:53 PM, Arran
>> Cudbard-Bell wrote:
>>> Fajar A. Nugraha wrote:
 In that setup, where does one get AcctStartTime and AcctStopTime
 values?
>>
>>> Or just use whatever functions are available in your scripting
>>> environment.
 - is it from the NAS?

>>> No, the NAS doesn't include any timestamps.
>>
>> Your answer is the complete opposite of Ivan's response :D So which
>> one is correct?
>
> His. Packet timestamp is generated by radius server.
>

So %S in dialup.conf is packet timestamp, and if I'm reading from
detail file I should make use of the attribute
Packet-Original-Timestamp (or similar) to get the real packet
timestamp?

Thanks for the help. I'm trying to deploy a setup similar to John's,
proxying acct packets only, where proxying failure should not affect
response to the NAS. Decoupled accounting along with getting the
original packet timestamp seems to be the key of getting this right.

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


Re: Proxying accounting to create a 'tee'

2009-08-23 Thread Ivan Kalik
> On Sat, Aug 22, 2009 at 5:53 PM, Arran
> Cudbard-Bell wrote:
>> Fajar A. Nugraha wrote:
>>> In that setup, where does one get AcctStartTime and AcctStopTime
>>> values?
>
>> Or just use whatever functions are available in your scripting
>> environment.
>>> - is it from the NAS?
>>>
>> No, the NAS doesn't include any timestamps.
>
> Your answer is the complete opposite of Ivan's response :D So which
> one is correct?

His. Packet timestamp is generated by radius server.

Ivan Kalik
Kalik Informatika ISP

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


Re: Proxying accounting to create a 'tee'

2009-08-23 Thread Fajar A. Nugraha
On Sat, Aug 22, 2009 at 5:53 PM, Arran
Cudbard-Bell wrote:
> Fajar A. Nugraha wrote:
>> In that setup, where does one get AcctStartTime and AcctStopTime values?

> Or just use whatever functions are available in your scripting environment.
>> - is it from the NAS?
>>
> No, the NAS doesn't include any timestamps.

Your answer is the complete opposite of Ivan's response :D So which
one is correct?

I'm using freeradius 2.1.6, and on sql/mysql/dialup.conf I found these lines:

accounting_start_query = " \
  INSERT INTO ${acct_table1} \
(acctsessionid,acctuniqueid, username, \
 realm,nasipaddress, nasportid, \
 nasporttype,  acctstarttime,acctstoptime, \
 acctsessiontime,  acctauthentic,connectinfo_start, \
 connectinfo_stop, acctinputoctets,  acctoutputoctets, \
 calledstationid,  callingstationid, acctterminatecause, \
 servicetype,  framedprotocol,   framedipaddress, \
 acctstartdelay,   acctstopdelay,xascendsessionsvrkey) \
  VALUES \
('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', \
 '%{SQL-User-Name}', \
 '%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port}', \
 '%{NAS-Port-Type}', '%S', NULL, \
 '0', '%{Acct-Authentic}', '%{Connect-Info}', \
 '', '0', '0', \
 '%{Called-Station-Id}', '%{Calling-Station-Id}', '', \
 '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', \
 '%{%{Acct-Delay-Time}:-0}', '0', '%{X-Ascend-Session-Svr-Key}')"

I understand that most of them (like %{Acct-Session-Id} or
%{NAS-IP-Address}) should be attributes coming from the NAS, or
calculated by the radius from some attribute coming from the NAS, but
I cant find where "%S" that fills acctstarttime comes from.

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


Invitation to connect on LinkedIn

2009-08-23 Thread Durai C
LinkedIn




   
I'd like to add you to my professional network on LinkedIn.

- Durai

Learn more:
https://www.linkedin.com/e/isd/697365309/f2S--geS/


 
--
(c) 2009, LinkedIn Corporation

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

Re: IPv6 and packet sending

2009-08-23 Thread Alan DeKok
Alan Buxey wrote:
> Hi,
> in particular 10.3 - "This means that applications will use IPv6 in
>preference to IPv4 when the two are equally suitable"
> 
> this statement has been, over the past few years, found to be generally true
> for other services and daemons... which was why what I found earlier
> this week with FR was a little peculiar.

  OK... that's easy enough to fix.

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