RE: (RADIATOR) Accounting Question

2003-01-24 Thread Chris Kay

Is there a way to do this with 2 arguments

EG Handler NAS-IP-Address = XXX.XXX.XXX.XXX  Something = Something

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] On Behalf Of Hugh Irvine
 Sent: Friday, 24 January 2003 4:08 PM
 To: Chris Kay
 Cc: [EMAIL PROTECTED]
 Subject: Re: (RADIATOR) Accounting Question
 
 
 
 Hello Chris -
 
 The simplest way to do this is with Handlers:
 
 Handler NAS-IP-Address = XXX.XXX.XXX.XXX
   .
 /Handler
 
 Handler .
   .
 /Handler
 
 Note that you should not mix Realms and Handlers in the same 
 configuration file.
 
 regards
 
 Hugh
 
 
 On Friday, Jan 24, 2003, at 13:12 Australia/Melbourne, Chris 
 Kay wrote:
 
 
  Question I have is this
 
  I am wanting to know if there is a hook or something that could be 
  made to ignore account from a certain NAS-IP
 
  With a supplier I have accounting records coming from the NAS and a 
  Proxy, I would just like to keep the accounting records from the 
  Proxy..
 
  So if IP address does not equal XXX.XXX.XXX.XXX
  I would like it to ignore accounting records only
 
  Can this be done
 
  -
  Chris Kay (Systems Development)
  Techex Communications
  Website: www.techex.com.au Email: [EMAIL PROTECTED]
  Telephone: 1300 88 111 2 - Fax: 1300 882 221
  -
 
  ===
  Archive at http://www.open.com.au/archives/radiator/
  Announcements on [EMAIL PROTECTED]
  To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe 
  radiator' in the body of the message.
 
 
 
 -- 
 Radiator: the most portable, flexible and configurable RADIUS 
 server anywhere. Available on *NIX, *BSD, Windows 95/98/2000, 
 NT, MacOS X.
 -
 Nets: internetwork inventory and management - graphical, 
 extensible, flexible with hardware, software, platform and 
 database independence.
 
 ===
 Archive at http://www.open.com.au/archives/radiator/
 Announcements on [EMAIL PROTECTED]
 To unsubscribe, email '[EMAIL PROTECTED]' with
 'unsubscribe radiator' in the body of the message.
 


===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



(RADIATOR) Accounting Question

2003-01-23 Thread Chris Kay

Question I have is this

I am wanting to know if there is a hook or something that could be made
to ignore account from a certain NAS-IP

With a supplier I have accounting records coming from the NAS and a
Proxy, I would just like to keep the accounting records from the Proxy..

So if IP address does not equal XXX.XXX.XXX.XXX
I would like it to ignore accounting records only

Can this be done

- 
Chris Kay (Systems Development) 
Techex Communications 
Website: www.techex.com.au Email: [EMAIL PROTECTED] 
Telephone: 1300 88 111 2 - Fax: 1300 882 221 
-  

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



(RADIATOR) Radiator

2003-01-21 Thread Chris Kay

I am having a issue installed the latest version of radiator

I can not install Class::DBI:mysql  DBD::mysql

I have obtained the following from the archives and wondering if this is
my problem

Error I am getting is

Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: CSV, ExampleP, File, Proxy.
 at t/mysql.t line 14
Use of uninitialized value in concatenation (.) or string at t/mysql.t
line 149.
Can't call method do on an undefined value at t/mysql.t line 149.
END failed--call queue aborted.
# No tests run!
t/mysqldubious  

quote
Turns out, there is a problem with the MySQL module compiling on my
system.
From the docs in the tarball, the error I am seeing has something to do
with
Perl and MySQL not being comiled with the same comiler. Mysql was
compile
using GCC. I know because I installed MySQL from the tarball. Perl, on
the
other hand, was installed from a binary RPM...the one that came with
RedHat
5.2.
/quote

quote
It's an old problem and I don't know other solution. You must to compile
all the perl and mysql stuff in the same system and with the same
compiler.  If not, you can have problems not only with mysql, but also
with any other perl modules.
/quote

Would the above quotes indicate that is my problems... if not would any
one have any idea as to what it could be

- 
Chris Kay (Systems Development) 
Techex Communications 
Website: www.techex.com.au Email: [EMAIL PROTECTED] 
Telephone: 1300 88 111 2 - Fax: 1300 882 221 
-  

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



(RADIATOR) Handler

2003-01-13 Thread Chris Kay

Hould would I do something like this

I would like to use a handler online if

handler 1
Client-Identifer = Comindico
NAS-IP-Address = 203.194.30.244
/handler

handler 2
Client-Identifer = Comindico
NAS-IP-Address != 203.194.30.244
NAS-IP-Address != 203.222.153.14
/handler

handler 3
Client-Identifer = Max
NAS-IP-Address = 203.222.153.14
/handler

I have the handlers for each but am now lost as to how you use multiple
clauses in a handler or even if you can...

- 
Chris Kay (Systems Development) 
Techex Communications 
Website: www.techex.com.au Email: [EMAIL PROTECTED] 
Telephone: 1300 88 111 2 - Fax: 1300 882 221 
-  

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



(RADIATOR) Error Message

2002-11-18 Thread Chris Kay

Is there a way to manipulate error message that the customer see on 
The clients side, I knows these are windows error messages just not sure
If I can change these

EG: I have a port limit set for groups of users and each limit is
different, and I
Would like to see if I could display a message like 

No more connections from your group is permitted, please visit
http://blah,
For assistance.

Can this be done?

Regards
Chris Kay
Techex Communications Pty Ltd

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



RE: (RADIATOR) Session Limit Question

2002-11-14 Thread Chris Kay
Hugh
 
is there a way i can use the results from Identifier CheckUser, in Identifier 
CheckGroup ect...
 
So in the first authby if the user has a group of Techex can i use Techex in the 
Identifier CheckGroup authby
EG: select * from online where group = $group (where $group = the result of the first 
authby)
 
Regards
   Chris Kay
   Techex Communications Pty Ltd

-Original Message- 
From: Hugh Irvine [mailto:hugh;open.com.au] 
Sent: Tue 5/11/2002 5:50 PM 
To: Chris Kay 
Cc: [EMAIL PROTECTED] 
Subject: Re: (RADIATOR) Session Limit Question




Hello Chris - 

I think you could probably do what you describe with a sequence of 
AuthBy clauses. 

Something like this: 

# define AuthBy clauses 

AuthBy SQL 
Identifier CheckUser 
. 
/AuthBy 

AuthBy SQL 
Identifier CheckGroup 
. 
/AuthBy 

AuthBy SQL 
Identifier CheckLimit 
. 
/AuthBy 

. 

# define Realms or Handlers 

Handler . 
AuthByPolicy ContinueWhileAccept 
AuthBy CheckUser 
AuthBy CheckGroup 
AuthBy CheckLimit 
.. 
/Handler 


The best way to learn about hooks is to look at the file 
goodies/hooks.txt and to study the Radiator source code. 

regards 

Hugh 



On Tuesday, November 5, 2002, at 12:17 PM, Chris Kay wrote: 

 
 Ok here goes 
 
 I wish to check a username to make sure it is in the database, if it is 
 I would then like it to check it again a group to see if its inside a 
 certain group of users, if it is I would then like it to check how many 
 users of that group are currently logged on and using a stored limit in 
 the database, I would like it to log on if under that limit or else 
 fail. 
 
 I need a portlimitcheck for a group of users not all users. 
 
 But still needs to act as a normal server for normal users not 
 belonging 
 to a group, also I cant change the username to a user@host type 
 username, 
 Because the group is already to large. 
 
 I have so far gathered that a pre hook would be the best way to do this 
 but I know nothing about hooks. 
 
 Would I be able to like have it execute a PHP script to do all the 
 checking and if returns 1 continue and if returns 2 fail? 
 
 If that's not possible could someone point me to a place I could learn 
 the above 
 
 Thanks in regards 
 
 - 
 Chris Kay (Systems Development) 
 Techex Communications 
 Website: www.techex.com.au Email: [EMAIL PROTECTED] 
 Telephone: 1300 88 111 2 - Fax: (02) 9970 5788 
 - 
 
 === 
 Archive at http://www.open.com.au/archives/radiator/ 
 Announcements on [EMAIL PROTECTED] 
 To unsubscribe, email '[EMAIL PROTECTED]' with 
 'unsubscribe radiator' in the body of the message. 
 
 

NB: I am travelling this week, so there may be delays in our 
correspondence. 

-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X. 
- 
Nets: internetwork inventory and management - graphical, extensible, 
flexible with hardware, software, platform and database independence. 

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



(RADIATOR) Question

2002-11-12 Thread Chris Kay

Questions is...

I wish to pull some information for a db while auth and then set that
Information in the session db

Would I set this then pull it and enter it, or can I make it global or
something?

Any help is grateful


- 
Chris Kay (Systems Development) 
Techex Communications 
Website: www.techex.com.au Email: [EMAIL PROTECTED] 
Telephone: 1300 88 111 2 - Fax: (02) 9970 5788 
-  

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



(RADIATOR) Setting a Attribute

2002-11-11 Thread Chris Kay

I have set a Attribute-Name for 
X-GroupName = TETRE
How would I call this into the online session database query?

I have tried %{X-GroupName} ect... but no go..

I am setting it like below

AuthColumnDef 0, Encrypted-Password, check
AuthColumnDef 1, Idle-Timeout, reply
AuthColumnDef 2, Framed-IP-Address, reply
AuthColumnDef 3, Framed-IP-Netmask, reply
AuthColumnDef 4, Framed-Route, reply
AuthColumnDef 5, Session-Timeout, reply
AuthColumnDef 6, X-GroupName, reply

This is a sniplet from the log

Framed-IP-Address = 203.123.123.123
Idle-Timeout = 0
Framed-IP-Netmask = 255.255.255.255
Session-Timeout = 0
X-GroupName = TETRE
Ascend-Client-Primary-DNS = 203.000.000.000
Ascend-Client-Secondary-DNS = 203.00.00.00
Ascend-Client-Assign-DNS = DNS-Assign-Yes
Framed-Protocol = PPP
Service-Type = Framed-User

It looks to set it, but I cant call it to add it to the session
database.

Any idea's

- 
Chris Kay (Systems Development) 
Techex Communications 
Website: www.techex.com.au Email: [EMAIL PROTECTED] 
Telephone: 1300 88 111 2 - Fax: (02) 9970 5788 
-  

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



(RADIATOR) Session Limit Question

2002-11-04 Thread Chris Kay

Ok here goes

I wish to check a username to make sure it is in the database, if it is 
I would then like it to check it again a group to see if its inside a
certain group of users, if it is I would then like it to check how many
users of that group are currently logged on and using a stored limit in
the database, I would like it to log on if under that limit or else
fail.

I need a portlimitcheck for a group of users not all users.

But still needs to act as a normal server for normal users not belonging
to a group, also I cant change the username to a user@host type
username,
Because the group is already to large.

I have so far gathered that a pre hook would be the best way to do this
but I know nothing about hooks.

Would I be able to like have it execute a PHP script to do all the
checking and if returns 1 continue and if returns 2 fail?

If that's not possible could someone point me to a place I could learn
the above

Thanks in regards

-
Chris Kay (Systems Development)
Techex Communications
Website: www.techex.com.au Email: [EMAIL PROTECTED]
Telephone: 1300 88 111 2 - Fax: (02) 9970 5788
- 

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



(RADIATOR) Auth Question

2002-09-26 Thread Chris Kay


In regards to AuthSelect, 

Any one have a sites that I could learn hooks.

I am wanting to impement a system where there can be like
50 dialup accounts each with different usernames  password.

But only 15 of those 50 users can be connected together..

Would anyone have any thoughts on how it would be best to do this.

Thanks in advance

-
Chris Kay
Techex Communications
Website: www.techex.com.au Email: [EMAIL PROTECTED]
Telephone: 1300 88 111 2 - Fax: (02) 9970 5788
- 

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.