rlm_sqlippool

rsg ranil.santhish at gmail.com
Tue Apr 22 16:34:47 CEST 2008


>From sqlippool.c

        :
        if (pairfind(request->packet->vps, PW_NAS_PORT) == NULL) {
                DEBUG("rlm_sqlippool: unknown NAS-Port");
                return RLM_MODULE_NOOP;
        }




2008/4/22 rsg <ranil.santhish at gmail.com>:
> Doesn't acct_unique come after ?
>
>  When the server sees a Access-request  without NAS-Port, it simply
>  gives the result I indicated in my previous mail.
>
>  Then comes a problem of clearing the IP address when Accounting-Stop
>  message is received..
>
>  I tried changing acct_unique by replacing NAS-Port by
>  Calling-Station-Id without any success.
>
>
>
>
>  2008/4/22 Ivan Kalik <tnt at kalik.net>:
>
>
> > Have a look at acct_unique in radiusd.conf and adjust accordingly.
>  >
>  >  Ivan Kalik
>  >  Kalik Informatika ISP
>  >
>  >
>  >  Dana 22/4/2008, "rsg" <ranil.santhish at gmail.com> piše:
>  >
>  >
>  >
>  >  >When there's no NAS-Port in rad_request... the server doesn't assign
>  >  >an IP address; That's why in my opinion there's no Framed-IP-Address
>  >  >in Access-Accept message.
>  >  >
>  >  >If my reasoning is correct, I'd like to highlight that NAS-Port is not
>  >  >a mandatory attribute when it comes to Mobile telephony environment.
>  >  >
>  >  >Is there any workaround once again to bypass this. I can suggest
>  >  >one..i.e to update the Access-Request using unlang and hope it would
>  >  >work.
>  >  >
>  >  >
>  >  >auth: type Local
>  >  >auth: user supplied User-Password matches local User-Password
>  >  >Login OK: [test/test] (from client SSS port 0 cli 44444444488)
>  >  >+- entering group post-auth
>  >  >rlm_sqlippool: unknown NAS-Port
>  >  >++[sqlippool] returns noop
>  >  >} # server example
>  >  >Sending Access-Accept of id 56 to 192.168.1.4 port 1812
>  >  >        Primary-DNS-Server = 192.168.2.2
>  >  >        Secondary-DNS-Server = 192.168.2.2
>  >  >        Proxy-State = 0x30303338
>  >  >Finished request 0.
>  >  >-
>  >  >List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>  >  >
>  >  >
>  >
>  >  -
>  >  List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>  >
>




More information about the Freeradius-Users mailing list