-
Notifications
You must be signed in to change notification settings - Fork 780
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
Captive Portal Sessions - Technical Data Storage - GDPR compliance #8304
Comments
You could check: "System: Settings: Logging" And set a remote syslog target for the Application "portalauth (captive portal)" See if that contains the data you need. |
@Monviech Thanks for your answer, We already tried and it's like the local file : there is no enough data to keep |
Maybe the simplest way would be to periodically create an sqlite backup file and then rsync it someplace else. This could be done with |
The suggested solution with a rolling regular backup won't work, as you would need a backup every minute or so and a process to merge the changes in previous databases to an daily one. Kinda complicated. For an workaround: You may change the database to an radius and log those logs. But: Depending on regular state/country laws, you do not have to log this at all or way shorter than one year, like a month. If you already verified with your local regulations, please just ignore this. But generally speaking, this is false in most cases. |
@Monviech Thanks again for your reply :) The thing I was wondering : how often should I sync the sqlite file ? We tried to look the behaviour with two kind of sessions :
So in this case, if the periodicity of the backup is not long enough, we won't even be aware about this second session. @Sibul2k Thanks for your answer too :)
The sqlite database has exactly all the data we need, unfortunately, all data is deleted without historical purpose. Thanks again for your time in this case. Best Regards |
Important notices
Our forum is located at https://forum.opnsense.org , please consider joining discussions there in stead of using GitHub for these matters.
Before you ask a new question, we ask you kindly to acknowledge the following:
Hi,
Hope you are fine.
OPNsense has such a good captive portal we wanted to use, to provide public Internet access to our guests.
To be GDPR compliant, we supposed to keep for 1 year technical information such as client IP addresss, mac adress, etc...
In the WEB UI, https://OPNsenseIPaddress/ui/captiveportal/session we have the perfect data we would like to keep.
After few analysis we found that these data are kept only during the session in a sqlite database.
But once the session is deleted, all the data is gone.
Is there any way to keep the data ? or give us a choice to store them in a file or in a remote database (like mysql) ?
Thanks in advance for your lights regarding this request :)
Best Regards
The text was updated successfully, but these errors were encountered: