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

BSSID instead of IP-address #17

Closed
torrilhon opened this issue Sep 20, 2022 · 2 comments
Closed

BSSID instead of IP-address #17

torrilhon opened this issue Sep 20, 2022 · 2 comments

Comments

@torrilhon
Copy link

I am very interested in using your module to track attendance of students within Moodle. However, in my university the option of restricting the IP-addresses to avoid external registrations is not possible, because the IPs of the students can not be fixed or assigned to specific locations.

Another possibility is to extract the BSSID of the access points of the student's phone/PC when connected to the universities WiFi. I would like to be able to give a list of admissible BSSID (Mac-adresses) of APs in the vicinity of the class room (instead of IPs) which are cross-checked by moodle on the student's devices when they register their attendance.

Is it possible that you extend the implementation of you module?

@danmarsden
Copy link
Owner

I can't see how this would work - the users SSID is not passed in the request headers from their browser to the web server - so "Moodle" can't find this information out. Usually in this sort of scenario I've seen organisations add the full IP range of known addresses, and then use the QR Code rotation process for marking sessions - that way it forces both the use of the university network, and access to the current QR code... of course that doesn't stop people bringing in multiple devices and taking attendance for their friends.

We only get the users originating IP address - The only way I can think this would be possible is to have some form of API that allows Moodle to ask your network infrastructure "what access point does this IP address use" - but that would be heavily dependent on your network infrastructure and heavily custom to your specific environment (and hard to make it generic/useful for other organisations not using the same infrastructure.)

Of course - I'm open to ideas if you have a network engineer that has further ideas on how we could obtain this information safely and reliably from the webserver/moodle.

Also - keep in mind I don't tend to do "feature development" like this for free.. :-)

@danmarsden
Copy link
Owner

I see you've also posted in the community forums... lets close this here and continue any further discussion there....

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

2 participants