Hello, is it possible the combine IPV4 and IPV6 on the same freeradius server. Iam using redis as database, i would like to add new acct type called Start-IPV6 on the rediswho conf file and on rediswho.c when the acct request comes with Framed-IPV6-address i will use the conf section of Start-IPV6 instead of Start Section, is this configuration possible to do? Thanks in advance Bassem
On Jan 19, 2022, at 4:50 AM, Bassem Mettichi <mettichi@gmail.com> wrote:
is it possible the combine IPV4 and IPV6 on the same freeradius server. Iam using redis as database, i would like to add new acct type called Start-IPV6 on the rediswho conf file and on rediswho.c when the acct request comes with Framed-IPV6-address i will use the conf section of Start-IPV6 instead of Start Section, is this configuration possible to do?
You can edit the configuration however you want. But it probably doesn't make any sense to to that. Why not just set up two redis / rediswho / redis_ippool modules? rediswho_ipv4 rediswho_ipv6 Configure one to do IPv4, and the other to do IPv6. Alan DeKok.
Hello Alan, Thanks a lot for your help, could you please clarify more this configuration? do you mean that i must create under src/modules two modules: rlm_rediswho_ipv4 rlm_rediswho_ipv6 and one module rlm_redis ? Thanks Bassem Le mer. 19 janv. 2022 à 14:11, Alan DeKok <aland@deployingradius.com> a écrit :
On Jan 19, 2022, at 4:50 AM, Bassem Mettichi <mettichi@gmail.com> wrote:
is it possible the combine IPV4 and IPV6 on the same freeradius server.
Iam
using redis as database, i would like to add new acct type called Start-IPV6 on the rediswho conf file and on rediswho.c when the acct request comes with Framed-IPV6-address i will use the conf section of Start-IPV6 instead of Start Section, is this configuration possible to do?
You can edit the configuration however you want. But it probably doesn't make any sense to to that.
Why not just set up two redis / rediswho / redis_ippool modules?
rediswho_ipv4 rediswho_ipv6
Configure one to do IPv4, and the other to do IPv6.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Jan 19, 2022, at 8:39 AM, Bassem Mettichi <mettichi@gmail.com> wrote:
Hello Alan,
Thanks a lot for your help, could you please clarify more this configuration? do you mean that i must create under src/modules two modules: rlm_rediswho_ipv4 rlm_rediswho_ipv6 and one module rlm_redis ?
No. Read mods-available/README.rst. This is documented. Alan DeKok.
participants (2)
-
Alan DeKok -
Bassem Mettichi