PPP+freeRadius problem.

Barney Wolff barney at databus.com
Fri Feb 20 09:51:34 PST 2004


On Fri, Feb 20, 2004 at 07:36:23PM +0200, Anton Blajev wrote:
> Yep, 10x a lot it works when ppp gives the dynamic ips, but the question
> is still the same, how to do ppp to send NAS-Port and why it's not
> sedning it, and instead sending NAS-Port-Type = "Virtual"
> if this is not working then ppp is not sending the standart answer to
> the NAS... any ideas,
> it's not urgent (I'll be using ppp dynamic assignment) but I think this
> should be discussed becasue it doesn't work and it should... kinda bug?

NAS-Port is not required.  From RFC2865 section 4.1:

      An Access-Request SHOULD contain a NAS-Port or NAS-Port-Type
      attribute or both unless the type of access being requested does
      not involve a port or the NAS does not distinguish among its
      ports.

NAS-Port is intended to specify the physical (modem) port on a dialin
server.  It does not mean the UDP port from/to which RADIUS requests
are sent.  The bug, if any, is in whatever is demanding that the
attribute be present.

-- 
Barney Wolff         http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.


More information about the freebsd-net mailing list