RE: (RADIATOR) Duplicates Packets

2000-03-08 Thread Mike Nerone
cates (some of the counts for the other NAS's were quite low, as well). Mike Nerone <mailto:[EMAIL PROTECTED]> Network Operations Manager Internet Direct, Inc. <http://www.idworld.net/> > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > B

RE: (RADIATOR) How to make username case-INsensitive?

2000-03-08 Thread Mike Nerone
orizing by the Unix passwd file, you don't know how the case of the stored, encrypted password. You'd have to literally try every possible upper/lowercase combination exhaustively before giving up. Besides, as an security-concious admin, I would say that passwords SHOULD be case-sen

RE: (RADIATOR) Radiator & MAX TNT

2000-03-08 Thread Mike Nerone
minority of our equipment, and I'm not as diligent about keeping them up to date. I really need to upgrade them - they're on 6.1.7 :( ). Mike Nerone <mailto:[EMAIL PROTECTED]> Network Operations Manager Internet Direct, Inc. <http://www.idworld.net/> > -Original Messag

RE: (RADIATOR) How to make username case-INsensitive?

2000-03-08 Thread Mike Nerone
e involved in accessing it any other way would be enormous (you'd have to roll through the whole CDB looking for matches instead of taking advantage of a nice fast hash). But I digress.... Mike Nerone <mailto:[EMAIL PROTECTED]> Network Operations Manager Internet Direct, Inc. &l

RE: IMPORTANT - RE: (RADIATOR) Duplicates Packets

2000-03-08 Thread Mike Nerone
icates. 5. Therefore, Radiator will perforce fail to recognize the duplication of any accounting packets. I know I'm going to kick myself when I hear this. :) Mike Nerone <mailto:[EMAIL PROTECTED]> Network Operations Manager Internet Direct, Inc. <http://www.idworld.net/> >

RE: IMPORTANT - RE: (RADIATOR) Duplicates Packets

2000-03-09 Thread Mike Nerone
Ah...I got ya. But wouldn't it be a small matter to remove the Acct-Delay-Time before computing the MD5 checksums, and so detecting retransmissions, as well, thus killing two birds with one stone? As it stands now, these need to be detected by the billing report software, correct? Mike N

RE: (RADIATOR) Radiator & MAX TNT

2000-03-09 Thread Mike Nerone
It definitely has the autoconfigure. I just can't find a way to turn the "feature" off. It's not crucial, I just like to keep my logs as tidy as possible. :) Mike Nerone <mailto:[EMAIL PROTECTED]> Network Operations Manager Internet Direct, Inc. <http://www.id

RE: (RADIATOR) I need an Handler...

2000-03-09 Thread Mike Nerone
logize if this is a FAQ...I wasn't able to find it. Mike Nerone <mailto:[EMAIL PROTECTED]> Network Operations Manager Internet Direct, Inc. <http://www.idworld.net/> > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Chris

RE: (RADIATOR) Coordinating multiple radiator instances

2000-04-07 Thread Mike Nerone
First, you don't use NFS, you use a SQL database server. Without some additional work, though, this still creates a single point of failure. See a thread currently in progress on this list called "advice requested on high availability configuration" for some more elaboration. Mike

RE: (RADIATOR) Translating names

2000-04-13 Thread Mike Nerone
Well you di put those characters in tr's delete list, so I suppose it would delete them. :) At any rate, it would be much more efficient to do it with s/// instead: RewriteUsername tr/[A-Z]/[a-z]/ RewriteUsername s/[^0-9_-]+//g Mike Nerone <mailto:[EMAIL PROTECTED]&

(RADIATOR) Logging attributes by integer..

2000-05-19 Thread Mike Nerone
When using AcctColumnDef, you can tell Radiator to log a particular attribute by its integer value, which is what I want to do. Unfortunately, I'm not using AcctColumnDef, I'm using my own AcctSQLStatement for more flexibility. Specifically, I'm using the following:    AcctSQLStatement  

Re: (RADIATOR) framed ip-netmask

2000-05-31 Thread Mike Nerone
nd network addresses, which means NO addresses are left over for actual use. Hence, that netmask is invalid in the first place. Christian, if your intention was to assign single static IP addresses to your customers, you want a mask of 255.255.255.255. Mike Nerone - Original Message - F

(RADIATOR) Difficulty with 2.16

2000-05-31 Thread Mike Nerone
$reply->change_attr('Ascend-Maximum-Time',    $reply->get_attr('Session-Timeout'));    $reply->delete_attr('Session-Timeout');    $reply->change_attr('Ascend-Maximum-Channels',    $reply->get_attr('Port-Limit'));    $reply->delete_attr('Port-Limit');    $reply->change_attr('Ascend-PPP-Address',    $reply->get_attr('Ascend-PPP-Address') || '209.142.75.128');    $reply->change_attr('Ascend-Route-IP',    $reply->get_attr('Ascend-Route-IP') || 'Route-IP-Yes');  }    } else {  ${$_[2]} = $denied = 1;  $reply->delete_attr('Framed-IP-Address');  $reply->delete_attr('Framed-IP-Netmask');  $reply->delete_attr('Port-Limit');  my $message = 'Access rejected for ' .  $request->get_attr('User-Name') . ': ';  if ($dialup) {    $message .= "\u$status";  } else {    $message .= 'Not enabled for dialup service';  }  &main::log($main::LOG_INFO, $message);    }  }  $reply->delete_attr('IDI-Dialup-Type');  &main::log($main::LOG_DEBUG, "Exiting PostAuthHook");} Thanks in advance for any help any of you might be able to provide.   Mike Nerone

(RADIATOR) SQL access from within a hook

2000-05-31 Thread Mike Nerone
Hugh,   In answer to another person's question, you mentioned doing SQL accesses from within a PostAuthHook. Can I use the database handle that my AuthBy clause already has open, or do I have to manage my own handle? Either way, can you give me a line or two of code that shows an example of

(RADIATOR) PreClientHook <-> SessSQL interaction, and how it relates to the extendedMacros patch

2000-05-31 Thread Mike Nerone
If you've looked at my config, which I sent in a message to the list a little while ago (and I'll not waste bandwidth on it again - see: Subject: Difficulty with 2.16), then you can see that I have a PreClientHook that does some hoop-races to extrapolate (and store in pseudo-attributes) the

RE: (RADIATOR) Converting Dates to Unix format??

2000-06-07 Thread Mike Nerone
(-mm-dd hh:mm:ss). If you do any programming, you could do almost any sort of massaging in perl you wish, using, for example, the Time::ParseDate module (it understands a textual date in almost any format). The above should suffice even if you don't want to resort to programming. Mike N

RE: (RADIATOR) Authentication via MySQL

2000-06-12 Thread Mike Nerone
quot;mypassword") ... It takes an optional second argument to use as the SALT for the hash, but you shouldn't need that. :) HTH... Mike Nerone <mailto:[EMAIL PROTECTED]> Network Operations Manager Internet Direct, Inc. > -Original Message- > From: [EMAIL PR