Salut Hugues,

OK, I see what changes I need to make to allocate and deallocate in
Radius/AddressAllocatorSQL.pm. However, I would lke to know where I need to
make changes in order to pass $callerid to those routines ?

Thanks in advance for your help.                        Gildas.

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la
part de Hugh Irvine
Envoyé : jeudi 5 octobre 2000 08:54
À : Gildas PERROT
Cc : [EMAIL PROTECTED]
Objet : RE: (RADIATOR) RE:



Salut Gildas -

On Wed, 04 Oct 2000, Gildas PERROT wrote:
> Salut Hugues !!!
>
> Sorry but you sent a RECEIPE (;-)) for managing RADONLINE and I meant one
> for managing RADPOOL. In fact, I want that a Calling-Station-Id to be add
to
> RADPOOL on the same line where STATE is put to '1' at Access-Request.
Then,
> for Stop packet, I want the state of the IPs of the Calling-Station-Id to
be
> put to 0.
>

OK - well, I think that you will have to take a look at the code in
"Radius/AddressAllocatorSQL.pm" and modify it to do what you want. Check the
routines "allocate" and deallocate".

> I remind you that my problem is that I need that since sometimes my Cisco
> AS5300 doesn't send an Alive packet with the Framed-IP-Address allocated
by
> Radiator so I receive Stop packet like that :
>

As mentioned previously, the correct answer to your problem is to get a new
version of IOS that fixes the bug.

> *** Received from 10.69.1.1 port 1646 ....
> Code:       Accounting-Request
> Identifier: 49
> Authentic:  <158><194>O<169>x{O[{<202><215>al<243>3<16>
> Attributes:
>         NAS-IP-Address = 10.69.1.1
>         NAS-Port = 27
>         NAS-Port-Type = Async
>         User-Name = "Carrefour"
>         Called-Station-Id = "6641"
>         Calling-Station-Id = "670487956"
>         Acct-Status-Type = Stop
>         Acct-Authentic = RADIUS
>         Service-Type = Framed-User
>         Acct-Session-Id = "0000004C"
>         Framed-Protocol = PPP
>         Acct-Input-Octets = 89
>         Acct-Output-Octets = 137
>         Acct-Input-Packets = 3
>         Acct-Output-Packets = 7
>         Acct-Session-Time = 4
>         Acct-Delay-Time = 0
>

hth

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.


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