Hello Bob -

On Thu, 20 Apr 2000, Robert Saunders wrote:
> Hugh,
>          Unfortunately that does not seem to solve my problem.  I must send 
> the following reply to my upstream provider:
>          Ascend-Data-Filter="ip in forward tcp est"
>          Ascend-Data-Filter="ip in forward dstip 254.170.212.0/24"
>          Ascend-Data-Filter="ip in drop tcp dstport = 25"
>          Ascend-Data-Filter="ip in forward"
> 
>          Thanks to your help, I was able to add the attributes, now I must 
> test whether those values exist in the reply from the authenticating radius 
> server.  If they don't then I must add them.
>          I tried using AddToReplyIfNotExist, but it would only insert the 
> first attribute.  I even typed it on one line, seperating the attributes 
> with a comma.
>          What could I put in my "ReplyHook" sub to test if 
> "Ascend-Data-Filter" or one of the Values of an attribute equaled "ip in 
> drop tcp dstport = 25"  already exists.
> 

Ah yes - once the first one is added it exists for all the subsequent ones.

As mentioned in my previous mail, there are some example hooks here:

http://www.open.com.au/radiator/downloads/patches-2.15/hooks.txt

You should be able to modify one of them to do what you require.

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