Re: Conditions for executing module

2010-06-13 Thread Mindaugas Riauba
  How to define some conditions in users/acct_users file when to use our module? It is quite heavy and we'd like to avoid its execution in as many cases as possible.  See man unlang  Put it in the authenticate section, and it should work. Thanks. But in the end I added custom Auth-Type

Re: FR 2.1.7: Error: Failed binding to proxy address

2010-06-11 Thread Mindaugas Riauba
Hello, We are running Freeradius 2.1.7 (on CentOS 5 - freeradius2-2.1.7-7.el5), and are seeing many of these messages in our log files:  Changelog from 2.1.8:        * Proxying large numbers of packets no longer gives error          unable to open proxy socket. I already opened new

Conditions for executing module

2010-06-10 Thread Mindaugas Riauba
Hello, FR 2.1.9 and novice in FR module programming. :) How to define some conditions in users/acct_users file when to use our module? It is quite heavy and we'd like to avoid its execution in as many cases as possible. I tried such configuration in users. Idea comes from

Rewriting Exec-Program-Wait

2010-06-08 Thread Mindaugas Riauba
Hello, Just upgraded to freeradius2 2.1.7 on CentOS 5.5. And Exec-Program-Wait no longer works now for accounting packets. Rewrote to exec module. But for performance reasons we were not executing external program for all the packets before. We used more specific user entries in users and