Multiple instances of filter program

Bill Neely <[email protected]> Mon, 7 Nov 2005 18:27:37 -0800
Newsgroups gmane.comp.gnu.radius.general
Message-ID <[email protected]>
We are using a filter program to handle auth and accounting issues.

We have the following in the config file:

filters {
    filter port_check {
        exec-path "/usr/local/etc/raddb/port_check.php";
        error-log "myfilter.log";
        auth {
            input-format "auth&%C{User-Name}&%C{Realm-Name} 
&%C{Calling-Station-Id} & %C{Called-Station-Id} &";
            wait-reply yes;
        };
        	acct {
        		  input-format "acct&%C{User-Name}&%C{Realm-Name} 
&%C{Acct-Status-Type} &%C{Acct-Delay-Time} &%C{Acct-Session-Id} 
&%C{NAS-IP-Address} &%C{NAS-Port-Id} &%G &%C{Acct-Authentic} 
&%C{Connect-Info} &%C{Calling-Station-Id} & %C{Called-Station-Id} 
&%C{Service-Type} &%C{Framed-Protocol} &%C{Framed-IP-Address} 
&%C{Acct-Delay-Time} &%C{Acct-Session-Time} &%C{Acct-Input-Octets} 
&%C{Acct-Output-Octets} &%C{Acct-Terminate-Cause} & ";
            wait-reply no;
        };            };  and also the following in the Hints file:

DEFAULT NULL
        Acct-Ext-Program = "|port_check"

and also the folloowing in users:

DEFAULT Auth-Type = Local,
	Password-Location = SQL,
	Simultaneous-Use = 1000
	Service-Type = Framed-User,
	Exec-Program-Wait = "|port_check"

We keep getting multiple instances of the filter program running. Am I 
entering too many things in too many places?

-- 
Bill





----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.