hi, anyone can give a hand?

I use radiator as a roaming center, but it seems that when the requests up
to a limit, the response time is too long.

the "radius.cfg" file is below, it's a simple one. pls have a look, and tell
me there is someplace misconfigured.

+ =============================== radius.cfg
=============================================== +
..................
AuthPort        1645

AcctPort        1646

LogDir          /var/radiator/log

DbDir           /usr/local/radiator/raddb

LogFile                 %L/radius.log

DictionaryFile %D/dictionary.cisco

SocketQueueLength 10000000

<Client DEFAULT>
       PreHandlerHook file:"%D/hooks/AddNewAttr.pl"
        Secret  cisco
        DupInterval 10
</Client>

<Handler>
        <AuthBy RADIUS>
                Host 192.168.1.8
                AuthPort 1812
                AcctPort 1813
                Secret  cisco
                RetryTimeout 15
                Retries 0
        </AuthBy>
</Handler>
+ ================================ End of radius.cfg
==========================+

+ =================== file:"%D/hooks/AddNewAttr.pl"
========================== +
sub
{

                my $p = ${$_[0]};
                my $user_name;
                $user_name = $p->get_attr('User-Name');
                if (length($user_name) < 13)
                {
                        $p->add_attr('NewAttr', '1');
                }
                return;
}
+ ============== End of file:"%D/hooks/AddNewAttr.pl"
========================== +

# The requests(auth and accouting) is more than 60/second at peak time

Need Your Kindly Help, thanks in advance.

Ray

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