Hello Christopher -
On Fri, 14 Jan 2000, Christopher Andersson wrote:
>
> I am using a Tigris NAS and it sometimes
> sends Accounting packets with Acct-Status-Type
> set to Accounting-On. What is this?
> Also it sometimes sends one with Acct-Status-
> Type=Alive after one set to Start. Why?
>
Yes this is normal - most NAS's will send some sort of indication when they
start up that they are available. Some also send periodic notification that
they are still available and online. This is what you are seeing.
> How can I make it let users use their own
> IP? UseAddressHint doesn't seem to work.
> We can make it work by using:
>
> AddToReply
> ...
> Framed-IP-Address=255.255.255.255
>
> The client then gets the right IP, but the
> accounting is done with IP=255.255.255.255
>
> Is there anyway to solve this?
>
You will have to check the Tigris documentation to see what the correct reply
attribute is to let the user negotiate their own IP address.
> We also let the Tigris call the modem, and in that
> case the accounting is done without any IP at all.
> How am I supposed to know wich IP to bill?
>
Again, you will have to check the Tigris documentation.
> And finally, is there anyway to tell if a packet is
> of type Authentication Request? Is there any attribute
> that is always present in such a packet, but never in
> an Accounting Request?
>
Sure - check the Request-Type attribute to see if it is an Access-Request or an
Accounting-Request. Note that this is a patch to Radiator 2.14.1:
http://www.open.com.au/radiator/downloads/patches-2.14.1/patches.README
6/9/99 Rolled the AddToReplyIfNotExist.patch into the base code. This code
was contributed by Vincent Gillet <[EMAIL PROTECTED]>, and implemnets
the AddToReplyIfNotExist parameter, which will append an attribute
to a reply if and only if it the attribute is not already present.
Also added new check item Request-Type. This is mostly useful
in Handlers, to allow you to trigger on different types of
requests.
Download AuthGeneric.pm and AttrVal.pm from here.
hth
Hugh
--
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.