[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-radius] problem with filters
From: |
Sergey Poznyakoff |
Subject: |
Re: [Help-gnu-radius] problem with filters |
Date: |
Tue, 12 Aug 2003 11:32:19 +0300 |
> I see, then only if Exec-Program-Wait is a script starting with / then it
> must return 0. For the filter when Exec-Progam-Wait it starts with |, script
> should not call exit(). Correct?
Yes, you're right.
> What is more efficient filter or the script?
The script is invoked for each authentication request it is
supposed to handle. The program startup, initialization and
termination take certain time and resources. On the contrary,
the filter starts only once and keeps running until the main
daemon decides to stop it. Thus it is able to handle the requests
faster than the usual Exec-Program-Wait script.
Regards,
Sergey