Going forward I have looked at the scripts and it shows that TTY is being
used and clients are getting a Nas-Port begining with 0, then 1 for the
second user as shown below.

Sun Aug  1 12:00:49 2004
        Acct-Session-Id = "410C2FFA01F0"
        User-Name = "icepick"
        Acct-Status-Type = Start
        Service-Type = Framed-User
        Framed-Protocol = PPP
        Acct-Authentic = RADIUS
        NAS-Port-Type = Async
        Framed-IP-Address = 219.88.249.85
        NAS-IP-Address = 10.23.19.2
        NAS-Port = 0
        Acct-Delay-Time = 0
        Client-IP-Address = 10.22.19.2
        Acct-Unique-Session-Id = "819283b999345e7d"
        Timestamp = 1091318449

Sun Aug  1 13:26:04 2004
        Acct-Session-Id = "410C43DA0201"
        User-Name = "neil"
        Acct-Status-Type = Start
        Service-Type = Framed-User
        Framed-Protocol = PPP
        Acct-Authentic = RADIUS
        NAS-Port-Type = Async
        Framed-IP-Address = 219.88.249.89
        NAS-IP-Address = 10.23.19.2
        NAS-Port = 1
        Acct-Delay-Time = 0
        Client-IP-Address = 10.22.19.2
        Acct-Unique-Session-Id = "f27a28a784f81cba"
        Timestamp = 1091323564

Barry


----- Original Message ----- 
From: "Barry Murphy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 01, 2004 1:39 PM
Subject: Re: Group ip pools


> NTRadPing confirmed what you mentioned, i'm wondering if anyone has
managed
> to get debian ppp to send the interface number as the NAS-Port?
>
> i.e. ppp0 would be port 0, ppp1 would be Nas-Port=1 etc. Been googling for
> hours for this and days on this topic and come up with nothing.
>
> A link off http://www.chelcom.ru/~anton/projects/pppd-tacacs+radius/
shows:
> RADIUS plugin now uses ppp interface number instead of terminal device
> number as NAS-Port value because interface number is guaranteed to be
> unique.
>
> Barry
> ----- Original Message ----- 
> From: "Kostas Kalevras" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, August 01, 2004 2:42 AM
> Subject: Re: Group ip pools
>
>
> > On Sat, 31 Jul 2004, Barry Murphy wrote:
> >
> > > Could hte problem be because the user is connecting with a "Virtual"
> > > NAS-Port...
> > >
> > > rad_recv: Accounting-Request packet from host 192.168.4.1:1084, id=74,
> > > length=113
> > >         User-Name = "testing"
> > >         Service-Type = Framed-User
> > >         Framed-Protocol = PPP
> > >         Framed-IP-Address = 192.168.44.59
> > >         Framed-IP-Netmask = 255.255.255.255
> > >         NAS-Identifier = "ns.unix.co.nz"
> > >         NAS-Port-Type = Virtual
> > >         Acct-Status-Type = Start
> > >         Acct-Session-Id = "31558-testing1091264221"
> > >         Acct-Multi-Session-Id = ""
> > >         Acct-Delay-Time = 0
> >
> > The accounting packet does not contain a nas-port attribute. You need to
> fix
> > that, or rlm_ippool won't work
> >
> > >
> > >
> > > modcall: group Auth-Type returns ok for request 12
> > > Login OK: [testing] (from client 192.168.4.1 port 0)
> > > modcall: entering group post-auth for request 12
> > > rlm_ippool: Could not find nas port information. Return NOOP.
> > >   modcall[post-auth]: module "mainpool" returns noop for request 12
> > > radius_xlat:  '/var/log/radacct/192.168.4.1/reply-detail-20040731'
> > >
> > >
> > > Barry
> >
> > --
> > Kostas Kalevras Network Operations Center
> > [EMAIL PROTECTED] National Technical University of Athens, Greece
> > Work Phone: +30 210 7721861
> > 'Go back to the shadow' Gandalf
> >
> > -
> > List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
> >
>
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
>


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to