Commit Graph

16 Commits

Author SHA1 Message Date
Xavier Henner a82131c8c8 update 2019-08-15 11:19:40 +02:00
Xavier Henner 65496cbce9
save wip 2019-07-30 16:34:12 +02:00
Xavier Henner 0e72c3a242 blank state 2019-07-21 19:23:13 +02:00
Xavier Henner e18aa583d0 improve permissions system 2019-07-17 19:12:00 +02:00
Xavier Henner 657f92a3df check if the ip range is valid 2019-07-14 05:12:28 +02:00
Xavier Henner 24544a6260 optimisations
* use pyke's re cache
* get an unlimited number of ldap attributes
* get a perturbator for the OTP secret, in case of stolen phone
* lowercase the username, to avoid strange behaviour with the OTP
2019-07-12 22:33:22 +02:00
Xavier Henner 3c0434ee1f Use sudo instead of a custom script 2019-07-11 14:40:46 +02:00
Xavier Henner f73b2c117a add stats and kill http calls 2019-07-11 12:20:08 +02:00
Xavier Henner 1c02c700fa manage auth-retry 2019-07-11 08:14:38 +02:00
Xavier Henner 88f5ac3765 finish OTP code 2019-07-10 18:40:15 +02:00
Xavier Henner 68de442333 Add logging, including the json one
get infos from I've been pwned and the API on install.dm.gg/vpn-log.php

and send mail if there is anything strange
2019-07-10 17:47:43 +02:00
Xavier Henner 274e824630 working prototype
can push OTP request
can push routes
2019-07-09 23:37:37 +02:00
Xavier Henner f975a19f65 OTP routines 2019-07-09 12:34:45 +02:00
Xavier Henner 29efc7be3f basic ldap auth algorithm 2019-07-09 01:44:18 +02:00
Xavier Henner dd38706b0b read configuration file 2019-07-08 22:32:12 +02:00
Xavier Henner cdaf0dd68d Initial tests 2019-07-08 16:36:56 +02:00