RE: (RADIATOR) NAS-IP-Address

2002-01-04 Thread Robert Blayzor

This usually happens if your NAS is multihomed or has a loopback
interface set.  You have to tell the NAS the interface you want the
NAS-IP to be identified as.  If this is a Cisco NAS, then you might want
to check your Loopback interface (if you have one set)  If the box is
simply multihomed, then you can force the NAS "source from" by using
something like "ip radius source-interface ".

If you're multihomed, it's probably a good idea to set a loopback
interface as common, then source and send requests from it that way you
don't have to setup two different client connections to RADIUS.  Then
again, this may not solve your problem as you haven't provided enough
information about your NAS.

--
Robert Blayzor, BOFH
INOC, LLC
[EMAIL PROTECTED]

Artificial Intelligence:  Making computers behave like they do in the
movies.



> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf Of Mike McCauley
> Sent: Friday, January 04, 2002 7:02 PM
> To: [EMAIL PROTECTED]
> Subject: (RADIATOR) NAS-IP-Address
> 
> 
> 
> 
> --  Forwarded Message  --
> 
> Subject: BOUNCE [EMAIL PROTECTED]:Non-member 
> submission from ["Alex 
> Fritz" <[EMAIL PROTECTED]>]
> Date: Fri, 4 Jan 2002 16:10:11 -0600
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> 
> From [EMAIL PROTECTED] Fri Jan  4 16:10:10 2002
> Received: from ncninternet.com (ns1.ncninternet.com [63.252.251.123])
>   by server1.open.com.au (8.11.0/8.11.0) with ESMTP id 
> g04MA5318629
>   for <[EMAIL PROTECTED]>; Fri, 4 Jan 2002 16:10:10 -0600
> Received: from cc529972a [65.81.72.44] by ncninternet.com
>   (SMTPD32-7.04) id A0BF380106; Fri, 04 Jan 2002 17:54:39 -0600
> From: "Alex Fritz" <[EMAIL PROTECTED]>
> To: "Radiator NewsGroup" <[EMAIL PROTECTED]>
> Subject: NAS-IP-Address
> Date: Fri, 4 Jan 2002 17:45:22 -0600
> Message-ID: <[EMAIL PROTECTED]>
> MIME-Version: 1.0
> Content-Type: text/plain;
>   charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
> X-Priority: 3 (Normal)
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
> Importance: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.
> 
> We noticed something that has caused a little difficulty for 
> us.. In the
> Radius text logs, when set to Trace 4, it displays the 
> Clients correct IP
> address at the top of the packet, but later in the packet next to
> Nas-Ip-Address it displays some other IP address.  How can we get the
> Clients correct IP address in to the database then for 
> queries?  Please
> help... below is a copy of the log and I place > < 
> around the places
> needing attention..
> 
> Thanks,
> Alex Fritz
> NCN Internet
> 
> Fri Jan  4 07:39:15 2002: INFO: Server started: Radiator 
> 2.18.2 on thor
> Fri Jan  4 07:39:15 2002: DEBUG: Packet dump:
> *** Received from >216.127.139.10< port 3949 .<--- 
> This IP (The
> NAS's)
> Code:   Accounting-Request
> Identifier: 153
> Authentic:  <26><189>d<209>S<253>F<0>[<164>#<183>6<249>}M
> Attributes:
>   User-Name = "[EMAIL PROTECTED]"
>   NAS-IP-Address = >67.208.224.53<<   
> <--- doesn't match this
>   NAS-Port = 182
>   NAS-Port-Type = Async
>   Service-Type = Framed-User
>   Acct-Status-Type = Stop
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.307 / Virus Database: 168 - Release Date: 12/11/2001
> 
> ---
> 
> -- 
> Mike McCauley   [EMAIL PROTECTED]
> Open System Consultants Pty. LtdUnix, Perl, 
> Motif, C++, WWW
> 24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
> Phone +61 3 9598-0985   Fax   +61 3 9598-0955
> 
> Radiator: the most portable, flexible and configurable RADIUS server 
> anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
> Platypus, Freeside, TACACS+, PAM, external, Active Directory etc etc 
> on Unix, Win95/8, 2000, NT, MacOS 9, MacOS X
> ===
> 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.



Re: (RADIATOR) NAS-IP-Address = 203.63.154.1

2000-12-19 Thread Hugh Irvine


Hello Tim -

At 13:08 +1000 19/12/00, Tim McCullagh wrote:
>Hi
>
>Can anyone tell me where the NAS-IP-Address 203.63.154.1 is referenced apart
>from in the portlist file.
>I have commented it out in the portlist file and it still keeps coming up
>when I try and test radiator.
>

Its the default address that is used by radpwtst if you don't specify one.

hth

Hugh

-- 

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

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.

===
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.



Re: (RADIATOR) NAS-IP-Address

1999-05-27 Thread Mike McCauley

Hi Tom,

On May 27, 11:43am, tom wrote:
> Subject: (RADIATOR) NAS-IP-Address
>
> Hi all,
>
> Is it possible to us "hostname" instead of using
> IP addresses?
No. The actual data in the NAS-IP-Address is an IP address.

It might be possible to make a PreHandlerHook that does a reverse lookup on the
NAS-IP-Address and changes it to the DNS name, or adds a NAS-Host?

Something like this (untested):

sub {
 my $p = ${$_[0]};
 my $addr;
 if ($addr = $p->getNasId())
 {
   $p->add_attr('NAS-Host', scalar gethostbyaddr
   ($addr, Socket::AF_INET));
 }
}


>
> Like
>
>joeAuth-type = System, NAS-IP-Address = /^portmaster[0-9]/
>
>
> Or is there a patch or hack to allow NAS-Hostname.
Nice idea.

>
> Regards,
> Tom
>
>
> ===
> Archive at http://www.thesite.com.au/~radiator/
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
>-- End of excerpt from tom



-- 
Mike McCauley   [EMAIL PROTECTED]
Open System Consultants Pty. LtdUnix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985   Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8, 
NT, Rhapsody
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.