Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for IPv6 #16

Open
jpahullo opened this issue Apr 19, 2024 · 1 comment
Open

Support for IPv6 #16

jpahullo opened this issue Apr 19, 2024 · 1 comment

Comments

@jpahullo
Copy link
Member

From an email:


We would like to use the Authentication plugin restricted by IP. We use Moodle 4.1.

I have the following question:
Is the plugin Authentication by IP working well with IPv6 addresses and domains?

If so, what is the acceptable format?

For example :

2b00:1110:217:d962:0:33:e35e:1f00 - this format seems to be working
2b00:1110:217:d962:0:33:e35e::/96 - not working
2b00:1110:217:d962:0:33:e35e:0000 - not working
2b00:1110:217:d962:0000:0033:e35e:0000/96 - not working

Thank you,
Judit Gyulai

@jpahullo
Copy link
Member Author

Hi Judit:

My reply on the https://moodle.org/plugins/auth_ip site was:


Hi Judit,

This plugin is minimally updated. We added full support for IPv4 adresses and network adressing (CIDR notation). I suppose that full suport for IPv6 notations is not currently implemented. I have not checked it, but from your comment, I understant it does not.

I suggest you to rise an issue on the github repo, and, even better, provide a patch for supporting it.

Thanks,

Jordi


Thanks,

Jordi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant