So are you rewriting the rlm_ippool already?

The problem with the current module seems very populated and as a matter
of fact It is very persistent.

We needed to write a script to correct the dbs every 10 minutes...



On Sun, 2003-07-27 at 22:31, Paul Hampson wrote:
> > From: Gustavo Lozano
> > Sent: Monday, 28 July 2003 1:19 PM
> 
> > Paul.
> > 
> > Not everybody uses Linux :), inet_aton() is not present in Solaris as
> > example, dont ask my why, I didnt checked, so may be you can use another
> > function to do the translation of the Ip address into data.
> 
> According to my man page, it's a BSD 4.3 thing.
> 
> As is inet_ntoa, which is used extensively in the part I _didn't_ write.
> 
> Mind you, Solaris appears to _have_ inet_ntoa, but not inet_aton...
> *blargh*
> 
> How about inet_addr? It's present in the manpages on both my Linux box
> and the SunOS box I have access to... I just have to extract the IP
> address from the in_addr_t, rather than just storing the result
> directly to a uint32_t. So not a major change, one or two places...
> 
> Feel free to try that and post the patch, I don't mind since it's
> served its purpose for me, and I'm hoping to get my ippool module
> revision completed before its needed again. :-)
> 
> Side note, Linux feels that inet_addr is an obsoleted interface
> to inet_aton... It'd be nice if I could link these into libradius,
> and use whatever it provides (ip_aton and ip_ntoa I think). :-)
> 
> In fact, it'd be nice to have the ippooltool actually use rlm_ippool
> or at least share code... That way updates would be nice and safe,
> but that'll wait until (if) ippooltool joins the FreeRADIUS CVS tree.
> 
> --
> =========================================================
> Paul "TBBle" Hampson
> Bubblesworth Pty Ltd (ABN: 51 095 284 361)
> [EMAIL PROTECTED]
> 
> This is a one line proof...if we start
> sufficiently far to the left.
>       -- Cambridge University Math Department
> ---------------------------------------------------------
> Random signature generator 3.0 by Paul "TBBle" Hampson
> =========================================================
> 
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- 
Gustavo A. Lozano                                 Noldata Corporation
[EMAIL PROTECTED]                               Calle 46 No. 40-19
CTO                                               Bogota D.C. Colombia
Noldata Corporation                               http://noldata.com

            I know not with what weapons World War III will be fought,
               but World War IV will be fought with sticks and stones.
                                                       Albert Einstein




- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to