Hello Blaz -

On Wed, 04 Oct 2000, Blaz Zupan wrote:
> I use the Simultaneous-Use parameter for most of our accounts, but I don't
> want to put requests from a certain radius client into the session database.
> 
> Normally I would just put "NasType ignore" into the <Client> clause. But this
> particular client is the iPass proxy radius, and it is sending accounting
> requests with the NAS-IP-Address set to the address of the real NAS.
> 
> For example, let's say the iPass proxy radius is running on 1.2.3.4 and I put
> "NasType ignore" in the Client caluse for 1.2.3.4. When an accounting packet
> arrives, the NAS-IP-Address claims it is comming from f.e. 5.6.7.8. There is
> no NasType set for that Client (because the client 5.6.7.8 is not even defined
> in my configuration), so the default session database is used (which is the
> SQL session database in my case).
> 
> Because of this, radiator puts those requests into the session database. But
> when a certain accounting stop record is lost somehow (yes, it does happen),
> the session gets stuck in the session database and there is no way to verify
> if the session is still valid (because I don't have SNMP access to all the NAS
> from the various iPass service providers).
> 

The best way to deal with this sort of thing is with Handlers:

<SessionDatabase SQL>
        Identifier SQLSDB
        .....
</SessionDatabase>

<SessionDatabase NULL>
        Identifier NULLSDB
</SesssionDatabase>

<Handler Client-Id = 1.2.3.4>
        SessionDatabase NULLSDB
        .....
</Handler>

<Handler ....>
        ....
</Handler>

If you send me a copy of your configuration file (no secrets) I'll show you
how to set this up (if you need any help).

regards

Hugh

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

Reply via email to