(RADIATOR) Removing admin users

2001-08-15 Thread Griff Hamlin
formatted AcctColumnDef date, %f-%g-%i %j:%k:%p, formatted AcctColumnDef session_time, %{Acct-Session-Time}, formatted AcctColumnDef ip_address, %{Framed-IP-Address}, formatted AcctColumnDef phone, %{Called-Station-Id}, formatted AcctColumnDef terminate_cause, %{Term-Cause}, formatted

(RADIATOR) Writing to log file

2001-08-15 Thread Griff Hamlin
Hi all, Is there a way to write a statement to the log file from a PostAuthHook? For example, when a user is authenticated, I'd like to log that. Thanks. Griff Hamlin, III === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email &#

(RADIATOR) logging client IP.

2001-08-23 Thread Griff Hamlin
Hello, I want to have a PreClientHook that logs the client ip address (%c). How can I get the %c character to translate into my code? PreClientHook sub { &main::log($main::LOG_INFO, "Client IP is %c"); } Thanks. Griff Hamlin, III === Archive at http://www.open.com.au/arc

(RADIATOR) forget last question.

2001-08-23 Thread Griff Hamlin
Hugh, I figured out how to use AuthLog better. Sorry for the additional post. Griff Hamlin, III === 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) snmpget question

2001-08-29 Thread Griff Hamlin
o use it: snmpget 209.213.159.61 x .3.2.1.1.1.5.43 Error in packet. Reason: There is no such variable name in this MIB. This name doesn't exist: .3.2.1.1.1.5.43 Does anyone know what this means? I am very unfamiliar with snmp in general. Griff Hamlin, III === Archive at http://www.o

(RADIATOR) return of snmpget.

2001-08-30 Thread Griff Hamlin
computers that will use snmpget.) Griff Hamlin, III === 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) expected return from snmpget

2001-08-30 Thread Griff Hamlin
Hello, I got some replies, and have checked the goodies directory for assistance, but cannot find exactly what radius is expecting from the snmpget command. Griff Hamlin === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email '[

(RADIATOR) Different IP addresses

2001-10-08 Thread Griff Hamlin
imary' hostname and IP address, it works fine. Anyone know why? Griff Hamlin, III === 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) SQL Timeout?

2002-10-22 Thread Griff Hamlin
e from online where (((nasidentifier='%c')&&(nasport='%{NAS-Port}'))||((username='%n')&&(callingid='%{Calling-Station-Id}'))) # SQL # Group AccountingHandled Griff Hamlin, III Quik Internet === 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) NoDefault flag?

2001-03-05 Thread Griff Hamlin
Can anyone tell me in what version the NoDefault flag for an AuthGroup became defined? It is in my manual, but in my config file I get an error that it is not recognized. Griff Hamlin === Archive at http://www.starport.net/~radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email

(RADIATOR) Multiple acceptances

2001-03-14 Thread Griff Hamlin
yone knows why? Griff Hamlin, III [EMAIL PROTECTED] === Archive at http://www.starport.net/~radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radiator' in the body of the message.

(RADIATOR) Client list question

2001-03-20 Thread Griff Hamlin
s are not in the config file. Griff Hamlin, III _ # Radiator configuration file Trace 3 # Directory where logfile and details file are LogDir /var/adm/radacct # Database directory. Should contain: # users The user database # dictionary The dictionary for

(RADIATOR) Max forked processes?

2001-03-26 Thread Griff Hamlin
Does anyone know how to impose a limit on the maximum number of forked processes from a custome AuthBy module? Sometimes when our database server gets swamped, the Radius server can spawn off in excess of 150 processes which will overload our SQL database. Griff Hamlin, III === Archive at

(RADIATOR) Vendor specific attribute question.

2001-04-04 Thread Griff Hamlin
t found in my dictionary. I can see it in my dictionary plain as day though. I guess I'm not understanding something about the dictionary usage. Does anyone know how this is supposed to work? Griff Hamlin, III === Archive at http://www.starport.net/~radiator/ Announcements on [EMAIL PROTECTED] To

(RADIATOR) Simultaneous Dialup question

2001-05-08 Thread Griff Hamlin
it. The problem is, some of our customers use routers that we cannot get to by SNMP or any other means, and we have to just trust the session database but I cannot figure out how to configure Radiator to do that. Any help? Griff Hamlin, III Quik International. === Archive at http

(RADIATOR) Online SQL database

2001-05-09 Thread Griff Hamlin
old, or some specified time. That way, customers whose stop records don't make it to us will still be authenticated when they try back later. Any help is appreciated. Thanks. Griff Hamlin, III Quik International. === Archive at http://www.open.com.au/archives/radiator/ Announcements on [

(RADIATOR) SNMPget program.

2001-05-10 Thread Griff Hamlin
og directive or just a pathname? Do you have any experience with using that snmp program? Thanks Griff Hamlin, III Quik International === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscrib

(RADIATOR) PostAuthHook question.

2001-06-21 Thread Griff Hamlin
ame %L/%c/detail # MaxSessions 1 The error in the log file is: Thu Jun 21 10:10:35 2001: ERR: Compilation error in PostAuthHook: syntax error at (eval 77) line 1, near "if $" syntax error at (eval 77) line 2, at EOF Missing right bracket at (eval 77) line 2, at end of line Thu Jun 21

(RADIATOR) Conditionals?

2001-07-06 Thread Griff Hamlin
Hello, Is it possible to do a different select statement in an AuthBy SQL clause based on the value of a global variable set previously in the config file? If so, how is it done? Griff Hamlin, III === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To

(RADIATOR) restartWrapper

2001-07-06 Thread Griff Hamlin
Can anyone tell me how restartWrapper determines whether or not to restart radius? Is it only of the radiusd process stops or does it restart it if it crashes (for example if it cannot access the mysql database anymore?). Griff Hamlin, III === Archive at http://www.open.com.au/archives/radiator

(RADIATOR) Using client list identifiers in handler

2001-07-09 Thread Griff Hamlin
an I then do #stuff If this is not possible, is it possible to make a handler that utilizes the ip address of the actual radius client instead of the NAS ip address in case they are different which sometimes happens from some of our clients? Griff Hamlin, III === Archive at http:

(RADIATOR) changing the realm.

2001-07-11 Thread Griff Hamlin
me should be used to handle this request Wed Jul 11 10:45:34 2001: DEBUG: Check if Handler should be used to handle this request Wed Jul 11 10:45:34 2001: DEBUG: Handling request with Handler '' Wed Jul 11 10:45:34 2001: DEBUG: Deleting session for [EMAIL PROTECTED], 203.63.154.1, 12

(RADIATOR) PreHandlerHook in ClientList SQL

2001-07-18 Thread Griff Hamlin
o far and received the error: Wed Jul 18 12:05:29 2001: ERR: Error in PreHandlerHook(): Can't use string ("${$_[0]}->add_attr('Router_Group") as a subroutine ref while "strict refs" in use at /usr/local/lib/perl5/site_perl/5.6.1/Radius/Client.pm line 338.

(RADIATOR) service-type=call-check question.

2001-07-24 Thread Griff Hamlin
me AuthBy named by an identifier. I also don't know how to tell it to set the Auth-Type to reject in the event that no rows are returned. Any help is appreciated. Griff Hamlin, III === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email &

(RADIATOR) Variables in Hooks

2001-09-11 Thread Griff Hamlin, III
. Can I have the following: #!/usr/local/bin/perl sub { my $server = %{GlobalVar:DbHost}; ... contact database and retrieve stuff } I've scoured the manual for this, but if you know where it is, please tell me. Griff Hamlin, III === Archive at http://www.open.c

(RADIATOR) Taking too long.

2001-09-13 Thread Griff Hamlin, III
computers time out although eventually they do get authenticated on my end. I thought about trying to fork processes, but is there no way to limit the number of running processes that spawn off? Does anyone have any experience with this type of problem and/or how to solve it? Griff Hamlin, III === Archive

(RADIATOR) Logging elapsed time?

2001-09-17 Thread Griff Hamlin, III
Hello, Is there anyway to log in trace mode 3 the amount of time that elapses between when radiusd receives an auth request and it actually responds to it? Thanks. Griff Hamlin, III === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe

(RADIATOR) Proxy server client id's

2001-09-18 Thread Griff Hamlin, III
ated list of check items, a comma # separated list of reply items from the radius:users table AuthSelect select check_items, reply_items from users \ where (username='%U' && handler_group='%{Handler-Group}') AuthColumnDef 0,GENERIC, chec

(RADIATOR) Variable Settings in Radiator

2001-09-18 Thread Griff Hamlin, III
Cisco and the SNMPCommunity \ } } Thanks. Griff Hamlin, III === 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) using separate databases in one Authby sql.

2001-10-08 Thread Griff Hamlin, III
#x27;. Can I do this? Griff Hamlin, III === 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) Duplicate request id

2001-10-08 Thread Griff Hamlin, III
Hello, I get a ton of these "Duplicate requet id xx received from some ip.. ignored' in my logfile. Should I be concerned about this? Is there some way I can make them go away? Griff Hamlin, III === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PRO

(RADIATOR) CHAP vs. PAP

2001-12-11 Thread Griff Hamlin, III
t? If Radiator doesn't care whether it is using CHAP or PAP, can anyone tell me what part of the chain would (dialup computer, modem, NAS)? Thanks for any help you can give on this matter. Griff Hamlin, III === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PRO

(RADIATOR) Session Database issues.

2002-01-17 Thread Griff Hamlin, III
# name (or GENERIC if list), and whether check, reply, or request (to be # used in later sql statement). AuthColumnDef 0,GENERIC, check AuthColumnDef 1,GENERIC,reply AuthColumnDef 2,Session-Timeout,reply #SQL # # # if db fails # Filename %D/users # # Group PostAuthHook file:"/etc/raddb/prepay_overuse.hook" AuthLog log1 --- end radius.cfg Any help is greatly appreciated. Griff Hamlin, III === 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) regexp in Realm check item

2002-05-02 Thread Griff Hamlin, III
I need the '/' characters, etc: /^sat\..+\.com$/ and all of this after the @ of course. Griff Hamlin, III === 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) Allow command?

2002-05-21 Thread Griff Hamlin, III
;t think it existed. Has anyone heard of the radius server being able to command the router in that way and if so, how it is done? Griff Hamlin, III === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]'

(RADIATOR) Time Check Item format.

2002-06-05 Thread Griff Hamlin, III
Hello all, If I wanted the time restriction to be Monday-Friday from 10am to 6pm, and weekends unlimited, how is the best way to specify that the weekends are to be unlimited? I can do Time="Wk1000-1800" for the weekdays, but how do I handle unlimited weekends? thanks, Griff H

(RADIATOR) Until time reply attribute.

2002-06-05 Thread Griff Hamlin, III
Hello again, How does the "Session-Timeout=until Time" reply attribute work when Session-Timeout is defined as an integer in the dictionary? Do I have to change the dictionary definition or is it not possible for that to work? Griff Hamlin, III Quik International === Archi