Re: [RADIATOR] Using the Monitor interface to Radiator

2015-08-27 Thread Heikki Vatiainen
On 27.8.2015 3.08, Steve Shipway wrote: > Thanks for this information; it would be useful to have more details > on the Monitor interface in the next version of the manual? Noted, thanks. > This is what we call the section; sorry for the > confusion. All of our node/client definitions are in a

Re: [RADIATOR] Using the Monitor interface to Radiator

2015-08-26 Thread Heikki Vatiainen
On 08/24/2015 02:24 AM, Steve Shipway wrote: > n The ‘Average response time’ metric does not appear to be what it says > – it is continually increasing, and is possibly total time spent > handling responses? I cannot find any detailed documentation covering this. This is a moving average over t

[RADIATOR] Using the Monitor interface to Radiator

2015-08-26 Thread Steve Shipway
Hello list - I've been trying to integrate the Radiator monitoring interface with Nagios and MRTG, specifically to graph the request rate and average response times on an ongoing basis. To do this, I'm using Net::Radiator::Monitor to query the Monitor port with StatisticsOnly and LogMicrose

Re: [RADIATOR] Using Radiator and Net-SNMP on the same server?

2014-11-21 Thread Heikki Vatiainen
On 20.11.2014 23.13, Eivind Olsen wrote: > What's an easy way of running both Net-SNMP and Radiator (with its > SNMPAgent). Is there some nice and fancy way of using both at the same > time, or is the best / only way to tell them to listen on different ports > such as UDP 161 for Net-SNMP and some

Re: [RADIATOR] Using Radiator and Net-SNMP on the same server?

2014-11-20 Thread Hugh Irvine
Hello Eivind - You will need to use different port numbers. regards Hugh > On 21 Nov 2014, at 08:13, Eivind Olsen wrote: > > What's an easy way of running both Net-SNMP and Radiator (with its > SNMPAgent). Is there some nice and fancy way of using both at the same > time, or is the best / o

[RADIATOR] Using Radiator and Net-SNMP on the same server?

2014-11-20 Thread Eivind Olsen
What's an easy way of running both Net-SNMP and Radiator (with its SNMPAgent). Is there some nice and fancy way of using both at the same time, or is the best / only way to tell them to listen on different ports such as UDP 161 for Net-SNMP and some other UDP-port for Radiator? Regards Eivind Olse

Re: [RADIATOR] Radiator using WPA2-Enterprise and dynamic VLAN Assignment (Part 1)

2014-03-26 Thread Roberto Pantoja
Thank you, I will try tagging values for the reply... On 03/26/2014 12:47 PM, Sami Keski-Kasari wrote: > Hello Roberto, > > The RFC2868 defines that tunnel attributes includes Tag field before > value. Some NASes are needing that it is defined and some not. > > Try for example with > > mikem2 Use

[RADIATOR] Fwd: Re: Radiator using WPA2-Enterprise and dynamic VLAN Assignment (Part 1)

2014-03-26 Thread Roberto Pantoja
Thank you, I will try using the radius proxy to know what are exactly the attributes Ignition Server sends to WLAN controller. On 03/26/2014 12:02 PM, Klara Mall wrote: > Hi, > > On 03/26/2014 06:40 PM, Roberto Pantoja wrote: >> I have a problem trying to assign dynamic VLANs to users on a >> W

Re: [RADIATOR] Radiator using WPA2-Enterprise and dynamic VLAN Assignment (Part 1)

2014-03-26 Thread Sami Keski-Kasari
Hello Roberto, The RFC2868 defines that tunnel attributes includes Tag field before value. Some NASes are needing that it is defined and some not. Try for example with mikem2 User-Password=fred Service-Type = Framed-User, Tunnel-Private-Group-ID = 0:, Tunnel-Medium-Type

Re: [RADIATOR] Radiator using WPA2-Enterprise and dynamic VLAN Assignment (Part 1)

2014-03-26 Thread Roberto Pantoja
Thank you for your promptly answer, but I have the same effect if I put the VLAN name or numeric ID. Do you have any other idea that can help me to resolve this problem. Best regards. On 03/26/2014 11:37 AM, Hartmaier Alexander wrote: > On 2014-03-26 18:40, Roberto Pantoja wrote: >> I have a prob

Re: [RADIATOR] Radiator using WPA2-Enterprise and dynamic VLAN Assignment (Part 1)

2014-03-26 Thread Klara Mall
Hi, On 03/26/2014 06:40 PM, Roberto Pantoja wrote: > I have a problem trying to assign dynamic VLANs to users on a > WPA2-Enterprise configuration. Users have successful authentication and > if I don't send the Radius Attribute "Tunnel-Private-Group-ID" The > Wireless Controller connects me to th

Re: [RADIATOR] Radiator using WPA2-Enterprise and dynamic VLAN Assignment (Part 1)

2014-03-26 Thread Hartmaier Alexander
On 2014-03-26 18:40, Roberto Pantoja wrote: I have a problem trying to assign dynamic VLANs to users on a WPA2-Enterprise configuration. Users have successful authentication and if I don't send the Radius Attribute "Tunnel-Private-Group-ID" The Wireless Controller connects me to the default VLa

[RADIATOR] Radiator using WPA2-Enterprise and dynamic VLAN Assignment (Part 1)

2014-03-26 Thread Roberto Pantoja
I have a problem trying to assign dynamic VLANs to users on a WPA2-Enterprise configuration. Users have successful authentication and if I don't send the Radius Attribute "Tunnel-Private-Group-ID" The Wireless Controller connects me to the default VLan for the SSID, but when I send "Tunnel-Private

[RADIATOR] Using SQL statements inside a PostAuthHook for COA

2013-07-28 Thread Thomas Kurian
Hello All, I have a perl program which is called from my radiator config file as a PostAuthhook . This below program is meant for COA, when user exceeds his quota (he should be limited to speed2) and also for the monthly reassigning of original subscribed speed to (the user is reassigned to sp

Re: [RADIATOR] Using Radiator as EAP-SIM proxy

2013-07-18 Thread Heikki Vatiainen
On 07/18/2013 04:08 AM, Ryan wrote: > I'm trying to do some testing using authentication with EAP-SIM via > radiator as a proxy. The EAP-SIM authentication is handled by another > radius. > > The wireless is using Cisco WLC, it will send the authentication request > to radiator and radiator will

[RADIATOR] Using Radiator as EAP-SIM proxy

2013-07-17 Thread Ryan
Hi All, I'm trying to do some testing using authentication with EAP-SIM via radiator as a proxy. The EAP-SIM authentication is handled by another radius. The wireless is using Cisco WLC, it will send the authentication request to radiator and radiator will proxy it to another radius that supports

Re: [RADIATOR] Using SQL statements inside a PostAuthHook for COA

2013-04-05 Thread Thomas Kurian
exceeded allocated quota and is been limited to $speed2"); }else &main::log($main::LOG_DEBUG, "The user $username either has not yet exceeded allocated quota or isnt a quota based user"); } --- -- Thanks &

Re: [RADIATOR] Using SQL statements inside a PostAuthHook for COA

2013-04-04 Thread Heikki Vatiainen
On 04/04/2013 10:35 PM, Thomas Kurian wrote: > 1. Can you check if the COA part in the below script is configured the > right way ,advice me if there is anything extra that needs to be added . This depends on the device you are sending CoA to. > 2. I also require to get ($Radius::Radius::

[RADIATOR] Using SQL statements inside a PostAuthHook for COA

2013-04-04 Thread Thomas Kurian
Dear Friends, I am modifed the script we were discussing, to perform COA and assign new bandwidth (speed2) ,to the user who exceeds allocated quota (maxquota) . I have already tested COA manually via radpwtst command, it was successful and was acknowledged by the NAS. I want the below perl sc

[RADIATOR] Using SQL statements inside a PostAuthHook for COA

2013-04-03 Thread Thomas Kurian
Dear Heikki & Michael, I am modifed the script we were discussing, to perform COA and assign new bandwidth (speed2) ,to the user who exceeds allocated quota (maxquota) . I have already tested COA manually via radpwtst command, it was successful and was acknowledged by the NAS. I want the below

Re: [RADIATOR] Using SQL statements inside a PostAuthHook

2013-04-03 Thread Thomas Kurian
Dear Heikki, I am modifying the script we were discussing a bit, to perform COA and assign new bandwidth (speed2) ,to the user who exceeds allocated quota (maxquota) . I have already tested COA manually via radpwtst, it was successful and was acknowledged by the NAS. 1. Can you check if the

Re: [RADIATOR] Using SQL statements inside a PostAuthHook

2013-03-31 Thread Thomas Kurian
Hello Heikki, The script is working now ,traces users who exceeded quota and calls web link with user details. Thank you very much for your help and advice. Following is the clean & complete version of my script. #! /usr/bin/perl -w use strict; use warnings; use diagnostics; use URI::Escape ('

Re: [RADIATOR] Using SQL statements inside a PostAuthHook

2013-03-30 Thread Heikki Vatiainen
On 03/29/2013 07:29 PM, Thomas Kurian wrote: > I appended the additional config lines you sent me in your reply. But i > still did not get the required result. I have included the error logged > in the log file. Please advice me on how to resolve this error based on > the updated script. Here $se

Re: [RADIATOR] Using SQL statements inside a PostAuthHook

2013-03-29 Thread Thomas Kurian
Hi Heikki, I appended the additional config lines you sent me in your reply. But i still did not get the required result. I have included the error logged in the log file. Please advice me on how to resolve this error based on the updated script. I also commented out some config lines in th

Re: [RADIATOR] Using SQL statements inside a PostAuthHook

2013-03-28 Thread Thomas Kurian
Hi Heikki, I appended the additional config lines you sent me in your reply. But i still did not get the desired result. I have included the error logged in the log file. Please advice me on how to resolve this error based on the updated script. I also commented out some config lines in the

Re: [RADIATOR] Using SQL statements inside a PostAuthHook

2013-03-19 Thread Hugh Irvine
Hi Jethro - Because these are defined as statics: >From Radius/Radius.pm: # These are the well known radius attribute numbers that we use # We have these here so we can change the dictioanry to # be anything we like $Radius::Radius::USER_NAME = 1; ….. regards Hugh On 20 Mar 2013, at 09

Re: [RADIATOR] Using SQL statements inside a PostAuthHook

2013-03-19 Thread Jethro R Binks
On Mon, 18 Mar 2013, Heikki Vatiainen wrote: > > my $username= > > $p->getAttrByNum($Radius::Radius::User-Name); > > use $Radius::Radius::USER_NAME instead Heikki, I am curious to know why your method is preferable? Jethro. . . . . . . . . . . . . . . . . .

Re: [RADIATOR] Using SQL statements inside a PostAuthHook

2013-03-18 Thread Heikki Vatiainen
On 03/17/2013 03:48 PM, Thomas Kurian wrote: > Can you please check this hook file configuration with respect to my > radiator configuration file (after the hook file). > &main::log($main::LOG_DEBUG, "Running PostAuthHook: Using Identifier > $identifier"); It's a good idea to add more pl

[RADIATOR] Using SQL statements inside a PostAuthHook

2013-03-17 Thread Thomas Kurian
Hello Friends, With reference to this link ,http://www.mail-archive.com/radiator@open.com.au/msg13497.html , i have developed my own version as seen below, its purpose is to get the user name from accounting requests and to compare it with the corresponding username in the ODBC SQL database t

[RADIATOR] Using SQL statements inside a PostAuthHook

2013-03-15 Thread Thomas Kurian
Hello Friends, With reference to this link ,http://www.mail-archive.com/radiator@open.com.au/msg13497.html , i have developed my own version as seen below, its purpose is to get the user name from accounting requests and to compare it with the corresponding username in the ODBC SQL database t

Re: [RADIATOR] Using 64 bits counters for accounting

2012-11-12 Thread Heikki Vatiainen
On 11/12/2012 11:23 PM, Pascal Beauregard wrote: > We are using Radiator 4.10 and we would like to use 64 bits counters for > accounting (Acct-Input-Octets and Acct-Output-Octets). Could you > please tell us what to do in Radiator to achieve that ? Hello Pascal, the NAS should be sending Acct-

[RADIATOR] Using 64 bits counters for accounting

2012-11-12 Thread Pascal Beauregard
Hi, We are using Radiator 4.10 and we would like to use 64 bits counters for accounting (Acct-Input-Octets and Acct-Output-Octets). Could you please tell us what to do in Radiator to achieve that ? Thanks! __ Pascal Beauregard Analyste en télécommunications Servi

Re: [RADIATOR] Using Storable in a hook

2012-01-26 Thread Alexander Hartmaier
Is it really binary data that your want to store? I suggest you serialize to a variable and log it before guessing what's happening. Also enable DBI trace mode to see what queries get executed: https://metacpan.org/module/DBI#TRACING Best regards, Alex Am 2012-01-25 18:15, schrieb Jared Watkins:

Re: [RADIATOR] Using Storable in a hook

2012-01-25 Thread Jared Watkins
I've tried storing the data a few different ways.. and I always end up with the same 3 byte value stored in the database... which sounds like a memory pointer rather than data. I found a specific reference under DBD:Pg about binary data.. and it suggests that you have to do an explicit bind an

Re: [RADIATOR] Using Storable in a hook

2012-01-25 Thread Heikki Vatiainen
On 01/25/2012 05:44 AM, Jared Watkins wrote: > I figured out that I have to call it directly like Storable::nfreeze(\%x) but > the error I was getting for other way was: > > Bizarre copy of HASH in refgen at > > Now.. I'm passing the value in as a bound parameter in the hook and according > to

Re: [RADIATOR] Using Storable in a hook

2012-01-25 Thread Jared Watkins
The attribute list portion that I want to store is an array. I want to store it for development and debugging reasons since I'll be receiving records from several different kinds of sources and I'm trying to develop logic to clean up and normalize the bits I care about. The alternative.. is to m

Re: [RADIATOR] Using Storable in a hook

2012-01-25 Thread Alexander Hartmaier
Serializing Objects, references and regexes is no easy task. What are you trying to achieve? I suggest you switch to a different format like JSON and only serialize a data structure you created from the request attributes by yourself. The internal representation of a packet could change with every

Re: [RADIATOR] Using Storable in a hook

2012-01-24 Thread Jared Watkins
I figured out that I have to call it directly like Storable::nfreeze(\%x) but the error I was getting for other way was: Bizarre copy of HASH in refgen at Now.. I'm passing the value in as a bound parameter in the hook and according to a length call on the variable.. it's going in with an avera

Re: [RADIATOR] Using Storable in a hook

2012-01-24 Thread Heikki Vatiainen
On 01/24/2012 10:44 PM, Jared Watkins wrote: > I'm seeing some weird errors and behavior trying to use the freeze method > from Storable. Is there a special trick to making it work in hook code? I have not used Storable myself, but if you could reply with some examples I can take a a look. No

[RADIATOR] Using Storable in a hook

2012-01-24 Thread Jared Watkins
I'm seeing some weird errors and behavior trying to use the freeze method from Storable. Is there a special trick to making it work in hook code? I saw a reference on the cpan page for special handling when used in a 'Safe' compartment.. is that what's happening here? For reference.. for de

Re: [RADIATOR] using add_attr with cisco-avpairs

2011-06-09 Thread Matt
be adding it like this: $rad->add_attr('cisco-avpair', "$pairName=$pairValue"); Cheers, Kiernan From: radiator-bounces at open.com.au [mailto:radiator-bounces at open.com.au] On Behalf Of Matt Sent: Friday, 10 June 2011 1:41 PM To: radiator at open.com.au Subject: [RADIAT

Re: [RADIATOR] using add_attr with cisco-avpairs

2011-06-09 Thread Kiernan McColl
On Behalf Of Matt Sent: Friday, 10 June 2011 1:41 PM To: radiator@open.com.au Subject: [RADIATOR] using add_attr with cisco-avpairs Greetings, I have a requirement to re-write certain cisco-avpairs as they are pulled from LDAP and returned to the LNS. Using a PostAuthHook i'm achieving th

[RADIATOR] using add_attr with cisco-avpairs

2011-06-09 Thread Matt
Greetings, I have a requirement to re-write certain cisco-avpairs as they are pulled from LDAP and returned to the LNS. Using a PostAuthHook i'm achieving this, kind of. My problem is it looks like its working but it isnt. In this example I don't need to modify the particular avpair so it works

Re: [RADIATOR] Using EAPBalance with Steel-Belted Radius

2010-09-08 Thread Hugh Irvine
Hello Neil - As far as we are aware there shouldn't be any problem. If you have any trouble with your testing please send us a copy of your configuration file and a trace 4 debug from Radiator showing what is happening. >From the history file for Radiator 4.6 >(http://www.open.com.au/radiator

[RADIATOR] Using EAPBalance with Steel-Belted Radius

2010-09-07 Thread Johnson, Neil M
Has anyone tried using using Steel-Belted Radius as the backend ? I don't think it will work because SBR does not do duplicate detection in standard way. Thanks. -Neil -- Neil Johnson Network Engineer Information Technology Services The University of Iowa Work: 319 384-0938 Mobile: 319 540

Re: (RADIATOR) Using LDAP in PreAuthHook

2003-11-02 Thread Hugh Irvine
Hello Harrison - This topic has been discussed on the list several times: www.open.com.au/archives/radiator And there are some example hooks in the file "goodies/hooks.txt". BTW - it might be simpler to use the Class attribute when processing the access request. regards Hugh On 03/11/2003,

(RADIATOR) Using LDAP in PreAuthHook

2003-11-02 Thread Harrison Ng
Title: Using LDAP in PreAuthHook Hi, My problem is when radiator processing accounting request packets (ie. accounting-start/accounting-stop), it should query external LDAP database for new attribute-value (a-v) pairs, then either append/replace these a-v pairs to/in current request packet.

Re: (RADIATOR) Using Radiator as dchp server for 802.1x users.

2003-10-01 Thread Hugh Irvine
Hello John - I think you will only be able to do this in the inner authentication, with different Handlers for the inner and outer requests. The general method for doing this is to add a pseudo-attribute to the incoming request when you do the authentication, then use that in the address alloc

(RADIATOR) Using Radiator as dchp server for 802.1x users.

2003-10-01 Thread John McFadden
I like to be able to assign an ip address based on business rules that include userid, location , date/time and database flags. In turn the lease would allow us to assign a different dns server which gives us the ability to point to the regular one or a one which redirects all traffic to a cust

Re: (RADIATOR) Using Radius to authenticate windows users?

2003-09-15 Thread Bret Jordan
You could use Samba as your domain controller and then in theroy you could use the PAM mondule to authenitcate against Radius, however, I have found NO documentation on how to get PAM to use Radius (There is documentation for the reverse though which does not really help "Radius to use PAM") B

(RADIATOR) Using Radius to authenticate windows users?

2003-09-15 Thread John McFadden
Does anyone know if/how I can get Windows domain controllers to authenticate against a Radius server? Any comments, suggestions? Thanks in advance John McFadden === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' w

Re: (RADIATOR) Using substrings in AcctColumnDef

2003-09-07 Thread Hugh Irvine
Hello Nick - You could also write a PreClientHook to reduce the length of the attribute. There are some example hooks in the file "goodies/hooks.txt". regards Hugh On Sunday, Sep 7, 2003, at 09:46 Australia/Melbourne, Nick M. Black wrote: Hi, Configuration is Radiator 2.19 (old I know!) ru

(RADIATOR) Using substrings in AcctColumnDef

2003-09-06 Thread Nick M. Black
Hi, Configuration is Radiator 2.19 (old I know!) running under Linux, using FreeTDS to connect to a MS-SQL database for Platypus. I am trying to get a couple of Orinoco AP-1100s to work with Radiator. Authenticaion is working fine, but accounting isn't due to the length of the returned string in A

Re: (RADIATOR) Using "Identifier" in a client clause

2003-07-28 Thread Hugh Irvine
Hello Bob - The parameters that are passed to the external program are the attributes that are contained in the request packet, so you will need to arrange for the Identifier to be added to the incoming request. With recent versions of Radiator you can do this with an AddToRequest in the Clien

(RADIATOR) Using "Identifier" in a client clause

2003-07-28 Thread Bob Shafer
There are certainly other ways to do what I want, but I like the idea of using the "Identifier" in a client clause to pass some parameter's to an authby external program. Something like this: Secret XXX Identifier modem(student or faculty or staff) And while I can see cle

Re: (RADIATOR) Using UseExtendedId

2003-06-19 Thread Hugh Irvine
EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Edge Sent: Thursday, 19 June 2003 5:31 PM To: 'Hugh Irvine' Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: (RADIATOR) Using UseExtendedId I'll see I can find out which products these customers are using.. (pretty su

RE: (RADIATOR) Using UseExtendedId

2003-06-19 Thread h . zuidema
x27; Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: (RADIATOR) Using UseExtendedId I'll see I can find out which products these customers are using.. (pretty sure it's not Radiator) Thanks Martin Martin Edge Senior Applications Engine

RE: (RADIATOR) Using UseExtendedId

2003-06-19 Thread Martin Edge
EMAIL PROTECTED] Subject: RE: (RADIATOR) Using UseExtendedId I'll see I can find out which products these customers are using.. (pretty sure it's not Radiator) Thanks Martin Martin Edge Senior Applications Engineer [EMAIL PROTECTED] KB

RE: (RADIATOR) Using UseExtendedId

2003-06-19 Thread Martin Edge
rvine Sent: Thursday, 19 June 2003 5:12 PM To: Martin Edge Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: (RADIATOR) Using UseExtendedId Hello Martin - Not returning a Proxy-State attribute is quite broken behaviour. regards Hugh On Thursday, Jun 19, 2003, at 17:00 Australia/Melbour

RE: (RADIATOR) Using UseExtendedId

2003-06-19 Thread Martin Edge
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Edge Sent: Thursday, 19 June 2003 5:02 PM To: 'Mike McCauley'; 'Hugh Irvine' Cc: [EMAIL PROTECTED] Subject: RE: (RADIATOR) Using UseExtendedId Thanks, I'll give it a bash.. Martin -Original Message

Re: (RADIATOR) Using UseExtendedId

2003-06-19 Thread Hugh Irvine
this message in error please notify. -Original Message- From: Hugh Irvine [mailto:[EMAIL PROTECTED] Sent: Thursday, 19 June 2003 4:38 PM To: Martin Edge; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: (RADIATOR) Using UseExtendedId Hello Martin - I am curious to know what the problem

RE: (RADIATOR) Using UseExtendedId

2003-06-19 Thread Martin Edge
Thanks, I'll give it a bash.. Martin -Original Message- From: Mike McCauley [mailto:[EMAIL PROTECTED] Sent: Thursday, 19 June 2003 4:57 PM To: Hugh Irvine; Martin Edge Cc: [EMAIL PROTECTED] Subject: Re: (RADIATOR) Using UseExtendedId Hello Martin, On Thu, 19 Jun 2003 04:38 pm,

RE: (RADIATOR) Using UseExtendedId

2003-06-19 Thread Martin Edge
ient of this message you are hereby notified that you must not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify. -Original Message- From: Hugh Irvine [mailto:[EMAIL PROTECTED] Sent: Thursday, 19 June 2003 4:38 PM To: Martin Edge

Re: (RADIATOR) Using UseExtendedId

2003-06-19 Thread Mike McCauley
Hello Martin, On Thu, 19 Jun 2003 04:38 pm, Hugh Irvine wrote: > Hello Martin - > > I am curious to know what the problem is with these customers? What > exactly do they not support? > > I have copied Mike on this mail so he can answer the per-host use of > UseExtendedId. Yes, that should work O

Re: (RADIATOR) Using UseExtendedId

2003-06-18 Thread Hugh Irvine
Hello Martin - I am curious to know what the problem is with these customers? What exactly do they not support? I have copied Mike on this mail so he can answer the per-host use of UseExtendedId. regards Hugh On Thursday, Jun 19, 2003, at 16:23 Australia/Melbourne, Martin Edge wrote: Hey Gu

(RADIATOR) Using UseExtendedId

2003-06-18 Thread Martin Edge
Title: Message Hey Guys,   Having a few issues after implementing UseExtendedId in our network, much like your documentation suggests, it all works fine except when we have a customer that doesn't support it within their RADIUS system.   Do you know whether UseExtendedId will work as a row

(RADIATOR) Using "until Time" in

2003-06-11 Thread newmor
I’ve just started to use Radiator, and I have problem: I don’t know how to reply correctly Session-Timeout in for different clients:   for example -   first Client have time block (e.g. Wk1000-1700) -   second client have only prepaid time and no TimeBl

Re: (RADIATOR) Using the Ascend-data-filter

2003-03-27 Thread Eric Hunter
orward",\ Service-Type = Framed-User,\ Framed-Protocol = PPP,\ Framed-Netmask = 255.255.255.255,\ Framed-Routing = None,\ Framed-MTU = 1500,\ Framed-Compression = Van-Jacobson-TCP-IP Eric - Original Message - From: "John Lubeck" <[EMAIL PROTECTED]> To: <[EMAIL PROTECT

Re: (RADIATOR) Using the Ascend-data-filter

2003-03-27 Thread Hugh Irvine
Hello John - This depends somewhat on what else you are doing in your configuration file, but if you want to add this to every session, you can do something like this: # define Realms or Handlers . AddToReply Ascend-Data-Filter = "ip i

(RADIATOR) Using the Ascend-data-filter

2003-03-27 Thread John Lubeck
Where in the radius.cfg file do I apply the Ascend-Data-Filter command? I need to block outgoing SMTP that is going to mail servers not on my network. These are the Ascend-Data-Filter commands I want to use: Ascend-Data-Filter = "ip in forward tcp est" Ascend-Data-Filter = "ip in forward dstip 19

(RADIATOR) using radcheckpassword and qmail.

2003-03-16 Thread Rabbie Zalaf
Greetings all. I am trying to setup qmail to authenticate users through our radius proxy using radcheckpassword. I have checkpassword, radcheckpassword and qmail installed but I have no idea where to go from here. Has anyone been able to do this before? Thanks in advance for any help. Kind Reg

Re: (RADIATOR) Using SQL statemens inside a PostAuthHook

2003-02-19 Thread Paul O'Shea
$callingstation ne '' && !defined($framedipaddress) || $framedipaddress eq '' ) { # prepare $query = "delete from some_db_tbl where " . "MSISDN= ? "; my $s

Re: (RADIATOR) Using SQL statemens inside a PostAuthHook

2003-02-19 Thread Bogdan TARU
Hi Hugh, What happens if I want to use the database connection from somewhere 'outside' the AuthBy? For example, in a "PostAuthHook"? I have tried the following: -- PostAuthHook sub { \ my $p = ${$_[0]}; \ my $rp = ${$_[1]}; \ my $op = ${$_[2]}; \ my $

Re: (RADIATOR) Using SQL statemens inside a PostAuthHook

2003-02-11 Thread Hugh Irvine
Hello Bogdan - Yes you can use all of the Radiator internal routines on an existing connection to the database established in an AuthBy SQL clause. You just need to get a handle to the AuthBy clause (using find()) and use that handle for your calls. You will find an example of how to get a ha

RE: (RADIATOR) Using SQL statemens inside a PostAuthHook

2003-02-11 Thread Matthew Trout
Title: RE: (RADIATOR) Using SQL statemens inside a PostAuthHook If you use DBI->connect_cached with the same connect string, you should get the handle Radiator's already opened ... > -Original Message- > From: Bogdan TARU [mailto:[EMAIL PROTECTED]] > Sent: Tuesday,

(RADIATOR) Using SQL statemens inside a PostAuthHook

2003-02-11 Thread Bogdan TARU
Hi everyone, I have noticed the following phrase in the Radiator documentation: 6.16.14 PostAuthHook: -skip- PostAuthHook can be an arbitrarily complicated Perl function, that might run external processes, consult databases, change the contents of the current request or many other th

Re: (RADIATOR) Using AcctSQLStatement with integer-date format

2003-01-22 Thread Hugh Irvine
Hello Vangelis - I would be inclined to have Radiator simply store the values and do any calculations in your post-processing. regards Hugh On Wednesday, Jan 22, 2003, at 19:42 Australia/Melbourne, Vangelis Kyriakakis wrote: Hello Hugh, I'm trying to calculate %{Timestamp} - %{Acct-Se

Re: (RADIATOR) Using AcctSQLStatement with integer-date format

2003-01-22 Thread Vangelis Kyriakakis
Hello Hugh, I'm trying to calculate %{Timestamp} - %{Acct-Session-Time} in order to get the Connect Time from the STOP packet. thanks Vangelis Hugh Irvine wrote: > Hello Vangelis - > > Could you explain to me what you are trying to do? In other words, what

Re: (RADIATOR) Using AcctSQLStatement with integer-date format

2003-01-21 Thread Hugh Irvine
Hello Vangelis - Could you explain to me what you are trying to do? In other words, what value are you trying to calculate? thanks Hugh On Monday, Jan 20, 2003, at 23:29 Australia/Melbourne, Vangelis Kyriakakis wrote: Hi again, I'm trying to use something like AcctColumnDef CONNECTTIME,%

Re: (RADIATOR) Using AcctSQLStatement with integer-date format

2003-01-20 Thread Vangelis Kyriakakis
Hi again, I'm trying to use something like AcctColumnDef CONNECTTIME,%b-0%{Acct-Session-Time},integer-date but it doesn't work. It gives a NULL value for the CONNECTTIME attribute. I have also tried AcctColumnDef CONNECTTIME,%{Timestamp}-0%{Acct-Session-Time},integer-date If I write AcctColumnD

Re: (RADIATOR) Using AcctSQLStatement with integer-date format

2003-01-17 Thread Hugh Irvine
Hello Vangelis - You should use AcctColumnDef's for what you show below. See section 6.28.14 in the Radiator 3.5 reference manual. regards Hugh On Saturday, Jan 18, 2003, at 02:55 Australia/Melbourne, Vangelis Kyriakakis wrote: Hello, I want to write the following AcctSQLStatement:

(RADIATOR) Using AcctSQLStatement with integer-date format

2003-01-17 Thread Vangelis Kyriakakis
Hello, I want to write the following AcctSQLStatement: AcctSQLStatement insert into TABLE (LOGIN_TIME, LOGOUT_TIME,.) values (%{Timestamp}-%{Acct-Session-Time}Formatted using integer-date and (%Y%m%d %H:%M) Format,%{Timestamp}Formatted using integer-date and (%Y%m%d %H:%M) Format,...

(RADIATOR) Using PEAP with existing Cisco Accees Points

2002-11-07 Thread Mike McCauley
Hello Mika, On Thu, 7 Nov 2002 18:55, [EMAIL PROTECTED] wrote: > From [EMAIL PROTECTED] Thu Nov 7 01:55:20 2002 > Received: from sjoki.uta.fi (sjoki.uta.fi [192.98.80.1]) > by server1.open.com.au (8.11.0/8.11.0) with ESMTP id gA77tGC09521 > for <[EMAIL PROTECTED]>; Thu, 7 Nov 2002 01:

Re: (RADIATOR) using the already connected DB refs

2002-10-28 Thread Hugh Irvine
Hello Martin - I think from the code below you are referring to the session database? In any case, my answer holds true for an AuthBy SQL as well. You should have a look at the example code in "goodies/hooks.txt", the reply hook that does dynamic address allocation. This is how to find a spec

(RADIATOR) using the already connected DB refs

2002-10-28 Thread Martin Edge
Hey Guys, Little curious, I need to perform an Extra SQL query while processing RADIUS requests, and set the value to an internal Radiator variable, it comes from the same database, so I was wondering how one would utilise the existing DB connection easily, without having to spawn an additional on

Re: (RADIATOR) Using Called ID to make connect 33.6k

2002-08-19 Thread Hugh Irvine
Hello Matthew - Yes, but you will need to configure your NAS's to use Pre-Authentication to do it properly. Do your NAS's support Per-Authentication (and subsequently forcing a connect speed)? regards Hugh On Sunday, August 18, 2002, at 03:40 PM, mhobbs wrote: > Hi > > Is it possible to s

(RADIATOR) Using Called ID to make connect 33.6k

2002-08-17 Thread mhobbs
Hi Is it possible to set up Radiator so that when a customer dials up a differnet no. from the standard dial up no. ie standard is 02991 then they dial 029910001 that Radius sets up the call up at 33.6k only ? My current set up is below .. .. Thanks for your help Matthew === Arc

RE: (RADIATOR) using a postgres database on a remote machine

2002-05-05 Thread Eric Lackey
, May 05, 2002 11:45 PM To: [EMAIL PROTECTED] Subject: (RADIATOR) using a postgres database on a remote machine This might be too obvious but i need help, how do i tell radiator that the database is on a remote machine and not local host, Thanks TDN === Archive at http://www.open.com.au/archives

(RADIATOR) using a postgres database on a remote machine

2002-05-05 Thread tdn
This might be too obvious but i need help, how do i tell radiator that the database is on a remote machine and not local host, Thanks TDN === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radia

Re: (RADIATOR) Using a IP Pool Question

2002-03-20 Thread Hugh Irvine
Hello Tim - Radiator should not allocate an address without a PoolHint, but you should test it just to make sure. How do you recognise which users are which? regards Hugh On Thu, 21 Mar 2002 12:25, Timothy G. Wells wrote: > Greetings, > > I need to have certain users get an IP from a specia

(RADIATOR) Using a IP Pool Question

2002-03-20 Thread Timothy G. Wells
Greetings, I need to have certain users get an IP from a special pool. However, I want the NAS to do most of the work except for these selected users. What happens if I DO NOT place a PoolHint in a users information? Will Radiator return the normal stuff or return a 0.0.0.0 for an address? Thanks,

Re: (RADIATOR) Using /etc/group

2001-12-28 Thread Hugh Irvine
Hello Barry - Yes. You can use cascaded AuthBy clauses to do this sort of thing. # define AuthBy clauses Identifier CheckUsers Filename %D/users Identifier CheckGroup . # define Realm(s) or Handler(s) AuthBy CheckUsers .. And t

(RADIATOR) Using /etc/group

2001-12-27 Thread Barry Andersson
Hi,   Is it possible for Radiator to examine the Unix group that a user is a member of to determine their connection profile (eg session time, idle time, etc.)?   I am currently authenticating to /etc/passwd and writing to a flat detail file but would like to use the user's group to determi

Re: (RADIATOR) using separate databases in one Authby sql.

2001-10-08 Thread Hugh Irvine
Hello Griff - On Tuesday 09 October 2001 04:52, Griff Hamlin, III wrote: > Hello, > > Is it possible to have an AcctSQLStatement that does an UPDATE on a > database other than the one defined by the DBSource entry in an > block? For example I want my accounting to be logged to the > database 'x

(RADIATOR) using separate databases in one Authby sql.

2001-10-08 Thread Griff Hamlin, III
Hello, Is it possible to have an AcctSQLStatement that does an UPDATE on a database other than the one defined by the DBSource entry in an block? For example I want my accounting to be logged to the database 'xyz', but I want to update the remaing_time field in database 'abc'. Can I do this? Gr

(RADIATOR) using Util::format_special() in setVariable

2001-10-05 Thread Mariano Absatz
Hi people, I added one more level of indirection in my config files and everything went nuts... my %{GlobalVar:xxx}'s went crazy. Then I noted that the problem was that I was setting %{GlobalVar:xxx}'s whose contents included other %{GlobalVar:xxx}'s and this ones weren't translated... I mad

(RADIATOR) Using RADIUS as authentication provider for WIN2K RRAS

2001-10-01 Thread Alireza Veiseh
Does anybody know how to setup Routhing and Remote Access (RRAS) of WIN2k to use the radiator as the authentication provider? Do I need to edit the registory to add the raditor as a new service first? Here is what I have done, but it doesn't work: 1. Opened the property window of the RRAS 2.

Re: (RADIATOR) using stored procedures...

2001-09-24 Thread Mariano Absatz
El 24 Sep 2001, a las 16:37, Mariano Absatz escribió: > Hi there... > > I am wondering... is there any way to replace queries in the config file with > calls to stored procedures _with_detached_parameters_? > > That is, I want to say, for instance, instead of: > > FailureQuery INSERT INTO AUT

(RADIATOR) using stored procedures...

2001-09-24 Thread Mariano Absatz
Hi there... I am wondering... is there any way to replace queries in the config file with calls to stored procedures _with_detached_parameters_? That is, I want to say, for instance, instead of: FailureQuery INSERT INTO AUTH_LOG \ (TIME_STAMP,USERNAME,PASSWORD,REASON) \ VALUES \ %t,'

(RADIATOR) Re: Radiator using SQL

2001-07-25 Thread Hugh Irvine
Hello 'Tunde - On Thursday 26 July 2001 05:53, 'Tunde Ogedengbe wrote: > I am reconfiguring Radiator to use an SQL database. Connection is to be > made via ODBC. > > 1.How do I define the data structure in the database to accomodate all > Radius attributes ? > 2.How do I setup Radiator

  1   2   >