(RADIATOR) PostAuthHook (Sockets creation)

Hugh Irvine hugh at open.com.au
Fri Oct 3 19:28:51 CDT 2003


Hello Benny -

You could write a StartupHook to set up the socket and then simply use 
it in your PostAuthHook.

See the example hooks in "goodies/hooks.txt".

regards

Hugh


On Friday, Oct 3, 2003, at 18:08 Australia/Melbourne, Benny Chee wrote:

> hi,
>
> 	i m writing a sub-routine in PostAuthHook which will send a string to 
> a server once user in authenticated. I written a client socket program 
> and it was running fine till when i m getting 100 req/sec, and i got 
> lots of re-transmissions.
>
> 	i found out that it's the sub-routine that's causing the problem as 
> it is opening to many sockets and wasn't able to close in time and my 
> box just ran out of buffer.
>
> 	Any solution on this?
>
> 	Possible to create a AuthBy module that will create a client 
> connection to the server and just send the data through PostAuthHook?
>
> benny
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
>
>

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list