(RADIATOR) PM4 Nas-port ID

Hugh Irvine hugh at open.com.au
Wed Mar 17 01:23:52 CST 2004


Hello Jason -

You don't actually say what the exact problem is, but you will find a 
similar hook in the file "goodies/hooks.txt".

regards

Hugh


On 17 Mar 2004, at 13:38, jason at freemotion.net wrote:

> we are having a problem with a new access server, i am using radiator 
> 3.7.1 in
> the auth-by emerald mode.
>
> the new access-server is a Portmaster 4, the problem is this,
> Starting in ComOS version 4.1 for the PM4 the NAS-Port specifies the 
> slot,
> line, and channel a call came in on instead of just the port. This 
> information
> is encoded into a 32bit number.
>
> NAS-Port Number Format
>
>     0                   1                   2                   3
>     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>    |      Unused (zeros)               | Slot  |   Line  | Channel |
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
> Example of NAS-Port in detail file
>
> Mon Jan 18 09:22:37 1999
>         Acct-Session-Id = "012D000003"
>         User-Name = "tc1"
>         NAS-IP-Address = 192.168.111.25
>         NAS-Port = 1025
>         NAS-Port-Type = 5
>         Acct-Status-Type = Stop
>         Acct-Session-Time = 57
>         Acct-Authentic = RADIUS
>         Connect-Info = "9600 LAPM/V42BIS"
>         Acct-Input-Octets = 67
>         Acct-Output-Octets = 2285
>         Called-Station-Id = "4609993"
>         Calling-Station-Id = "9254600115"
>         Acct-Terminate-Cause = User-Request
>         LE-Terminate-Detail = "User Request - Normal LAPM Disconnect"
>         Service-Type = Login-User
>         Login-Service = Telnet
>         Login-IP-Host = 149.198.1.70
>         Acct-Delay-Time = 0
>         Timestamp = 916680157
>
> this is giving me hell with the call records table, is there an easy 
> whay
> around this??
>
> attached is a perl script that is supposed to give you all the info 
> from it.
>
> thanks
> Jason
>
>
>
> -----------------------------------------------------------------------
> This message was sent using the Freemotion  Internet Messaging Program.
> <parsenas.pl>

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list